Varun Shah
af8cfe34cd
Update ContentProvider#checkUser access.
...
Packages with INTERACT_ACROSS_USERS_FULL can now access
ContentProvier#checkUser.
Bug: 139188114
Test: atest ContentProviderTest
Change-Id: Ie71387a26da66ebe34f296476c284c33abba6368
2019-08-16 16:39:21 -07:00
Hans Boehm
ff31612e98
Merge "Move Half implementations to libcore to allow ART optimizations" am: 6bf381b5b1 am: eaad9ac3e2 am: 62a0694411 am: 0e3a540d18
...
am: 2cc8b8a8e9
Change-Id: If89cc2e62827e521fb501fc6f7e73e12f8da37ee
2019-08-15 15:54:50 -07:00
Hans Boehm
2cc8b8a8e9
Merge "Move Half implementations to libcore to allow ART optimizations" am: 6bf381b5b1 am: eaad9ac3e2 am: 62a0694411
...
am: 0e3a540d18
Change-Id: I6f52b7d05caa18439ca750630f9d1f0b0d8c61b7
2019-08-15 15:28:22 -07:00
Hans Boehm
0e3a540d18
Merge "Move Half implementations to libcore to allow ART optimizations" am: 6bf381b5b1 am: eaad9ac3e2
...
am: 62a0694411
Change-Id: If244c0b7c851afe2f125014350ce1eb483b3afed
2019-08-15 15:01:03 -07:00
Hans Boehm
62a0694411
Merge "Move Half implementations to libcore to allow ART optimizations" am: 6bf381b5b1
...
am: eaad9ac3e2
Change-Id: I05dd47313bee0bfe3a871a65dbfd28a658cbbd13
2019-08-15 14:38:36 -07:00
Hans Boehm
eaad9ac3e2
Merge "Move Half implementations to libcore to allow ART optimizations"
...
am: 6bf381b5b1
Change-Id: I14db6620050fe8f1bf592961a3472ed0dc6ef368
2019-08-15 14:22:03 -07:00
Hans Boehm
6bf381b5b1
Merge "Move Half implementations to libcore to allow ART optimizations"
2019-08-15 20:35:13 +00:00
Eugene Susla
de70c2ca54
Merge "Document condition when CDM looks at bonded devices"
2019-08-15 19:36:51 +00:00
Anna Trostanetski
1261967c52
Merge "Move IPlatformCompat.aidl definition to framework.jar"
2019-08-15 19:34:09 +00:00
TreeHugger Robot
cf2efde135
Merge "Use PlatformConfig to gate behavior"
2019-08-15 19:08:35 +00:00
Anna Trostanetski
e5b41b7f9e
Merge "Move IPlatformCompat.aidl definition to framework.jar"
2019-08-15 16:50:38 +00:00
Patrick Baumann
dfb121d705
Use PlatformConfig to gate behavior
...
This change moves away from AppOps and explicit targetSdk
checks in favor of PlatformConfig.
Test: atest AppsFilterTest
Test: adb shell device_config put package_manager_service package_query_filtering_enabled true && atest AppEnumerationTests
Fixes: 139348423
Bug: 136675067
Change-Id: If0af198c86210c05c2e10b71f7ae6dc0b7a3ea9a
2019-08-15 09:26:14 -07:00
atrost
4985d76b11
Move IPlatformCompat.aidl definition to framework.jar
...
There are non-app process usecases in framework code that need to have
access to this API.
Created a new package android.compat in frameworks/base/core following
previous definition of android.compat.Compatibility for app processes
(http://cs/android/libcore/luni/src/main/java/android/compat/Compatibility.java ).
Bug: 137769727
Test: m
Change-Id: Ifc1b97ad40c2baf65a86169e101acfa72e3aae5f
Merged-In: Ifc1b97ad40c2baf65a86169e101acfa72e3aae5f
2019-08-15 17:04:03 +01:00
Alex Light
74e8d3be48
Merge "Add agent startup-attach"
2019-08-15 16:00:53 +00:00
Anna Trostanetski
70a984cf56
Merge "Move IPlatformCompat.aidl definition to framework.jar" into stage-aosp-master am: 77a833f3e0 am: eb3326be84
...
am: 684082f5cc
Change-Id: Iad1cc358186f472baa836a2a3895c18bcad2d9ff
2019-08-15 07:32:12 -07:00
Anna Trostanetski
684082f5cc
Merge "Move IPlatformCompat.aidl definition to framework.jar" into stage-aosp-master am: 77a833f3e0
...
am: eb3326be84
Change-Id: I5144f9ae34f74b31d3087d69b40eb1157986adf9
2019-08-15 07:23:06 -07:00
Anna Trostanetski
eb3326be84
Merge "Move IPlatformCompat.aidl definition to framework.jar" into stage-aosp-master
...
am: 77a833f3e0
Change-Id: I8d9d5bcaed39facc14e72289db3b4896b162f54d
2019-08-15 07:02:57 -07:00
Anna Trostanetski
77a833f3e0
Merge "Move IPlatformCompat.aidl definition to framework.jar" into stage-aosp-master
2019-08-15 13:35:29 +00:00
TreeHugger Robot
1b90222214
Merge "Clean up exception usage in LockSettingsService (part 1)"
2019-08-15 11:02:19 +00:00
Oli Lan
860666d431
Merge "Remove INSTALLED_USERS extra from ACTION_PACKAGE_ENABLE_ROLLBACK."
2019-08-15 09:11:22 +00:00
Felipe Leme
fcee9fb574
Fixed SystemServiceRegistry to return a null AppPredictionManager when the service is not defined.
...
am: 87c5855e17
Change-Id: I207ddf77599d9a12609c7b297a58c8ce1b6eab17
2019-08-15 02:09:58 -07:00
TreeHugger Robot
426b942eb1
Merge "Fixed SystemServiceRegistry to return a null AppPredictionManager when the service is not defined."
2019-08-15 07:36:07 +00:00
Treehugger Robot
5937562bfb
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"
2019-08-15 06:13:48 +00:00
Felipe Leme
87c5855e17
Fixed SystemServiceRegistry to return a null AppPredictionManager when the service is not defined.
...
Test: manual verification
Test: atest CtsAssistTestCases
Fixes: 139416391
Change-Id: Ieb2ae3f39bd42dc077ed3db1c6acdf429a39d519
2019-08-15 06:03:24 +00:00
Felipe Leme
6378bd40dd
Fixed SystemServiceRegistry to return a null AppPredictionManager when the service is not defined.
...
Test: manual verification
Test: atest CtsAssistTestCases
Fixes: 139416391
Change-Id: Ieb2ae3f39bd42dc077ed3db1c6acdf429a39d519
2019-08-14 18:15:50 -07:00
Kevin Hufnagle
1710da095c
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am: 81d74c6c72 am: 4125bd9b25 am: e6d042dbb3
...
am: e4ae9c050f
Change-Id: I5a26521c8f8b779d2c380d5375efeccfad5d4567
2019-08-14 18:06:02 -07:00
Kevin Hufnagle
e4ae9c050f
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am: 81d74c6c72 am: 4125bd9b25
...
am: e6d042dbb3
Change-Id: I3a672fe776956617f8090a095098fc3f7641f322
2019-08-14 17:55:58 -07:00
Kevin Hufnagle
e6d042dbb3
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am: 81d74c6c72
...
am: 4125bd9b25
Change-Id: I546bb1192d0cd85a8d8f0df1e723aebdc4718020
2019-08-14 17:44:51 -07:00
Kevin Hufnagle
5b08c4d8b3
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev am: 81d74c6c72
...
am: b9c61e7050
Change-Id: Ida75b1d487b596f6db734f5cbdb3b2d61bf489ac
2019-08-14 17:44:51 -07:00
Kevin Hufnagle
4125bd9b25
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
...
am: 81d74c6c72
Change-Id: I964a029a53fb5f14d872baceee9883391da24cd3
2019-08-14 17:35:05 -07:00
Kevin Hufnagle
b9c61e7050
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
...
am: 81d74c6c72
Change-Id: I75b26b24a1380479c2debe92ac000c75580b00aa
2019-08-14 17:34:01 -07:00
Kevin Hufnagle
81d74c6c72
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
2019-08-14 23:32:22 +00:00
Alex Light
330e8be604
Add agent startup-attach
...
Add ability to give 'startup-agents' that are automatically loaded
when a (debuggable) app starts. These agents are any files in the
'code_cache/startup_agents' directory. The agents are started with the
apps data_directory as an argument.
Test: Install debuggable apk (here com.antonioleiva.bandhookkotlin)
walleye:/ $ run-as com.antonioleiva.bandhookkotlin sh
walleye:/data/data/com.antonioleiva.bandhookkotlin $ mkdir code_cache/startup_agents
walleye:/data/data/com.antonioleiva.bandhookkotlin $ cp /data/local/tmp/libtifasts32.so code_cache
walleye:/data/data/com.antonioleiva.bandhookkotlin $ cp /data/local/tmp/libtifasts64.so code_cache
walleye:/data/data/com.antonioleiva.bandhookkotlin $ cp /data/local/tmp/libchainagentss32.so code_cache/startup_agents/
walleye:/data/data/com.antonioleiva.bandhookkotlin $ cp /data/local/tmp/libchainagentss64.so code_cache/startup_agents/
walleye:/data/data/com.antonioleiva.bandhookkotlin $ echo $PWD/code_cache/libtifasts32.so=log,ClassLoad > chain_agents.txt
walleye:/data/data/com.antonioleiva.bandhookkotlin $ echo $PWD/code_cache/libtifasts64.so=log,ClassLoad >> chain_agents.txt
Start bandhookkotlin
Examine logcat
Bug: 135627501
Change-Id: Ib82b27df90c7964a995288d8b2b3d348a11cdd80
(cherry picked from commit c0fce111c8b7c68ddb397ac7c65ac5c35a40da01)
2019-08-14 15:32:12 -07:00
Kevin Hufnagle
f7a6e1f5c8
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev am: a5e5c177d1 am: 5f38478989 am: 81fc14bb79
...
am: 9b16c56b15
Change-Id: I8c7f2ccccd4a86a09346584386112a30879ff65d
2019-08-14 14:16:57 -07:00
Brian Duddie
98c5f80c67
Merge "docs: Correct sensor runtime permission documentation" into qt-dev am: 119f1220cd am: 7eeb6f60f9 am: 6b15b773a3
...
am: b7fa2d8192
Change-Id: If0f620d197fd2b3e9c0faba5164710026b1c3f2d
2019-08-14 14:00:53 -07:00
Kevin Hufnagle
9b16c56b15
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev am: a5e5c177d1 am: 5f38478989
...
am: 81fc14bb79
Change-Id: If65ed4262150956d22018297e211643bbb618e74
2019-08-14 13:51:35 -07:00
Kevin Hufnagle
5cf3d202b0
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev am: a5e5c177d1
...
am: ae80734298
Change-Id: I7e0d4b86a69c3976cff1e058240c2292891f4951
2019-08-14 13:36:06 -07:00
Brian Duddie
b7fa2d8192
Merge "docs: Correct sensor runtime permission documentation" into qt-dev am: 119f1220cd am: 7eeb6f60f9
...
am: 6b15b773a3
Change-Id: Id7f05c7a0de12d8ee332be9f10cc8de9e6bdfef9
2019-08-14 13:33:40 -07:00
Kevin Hufnagle
81fc14bb79
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev am: a5e5c177d1
...
am: 5f38478989
Change-Id: I76035cd5343f1f1d75a04f276f18bab51ef00a91
2019-08-14 13:32:06 -07:00
Brian Duddie
6b15b773a3
Merge "docs: Correct sensor runtime permission documentation" into qt-dev am: 119f1220cd
...
am: 7eeb6f60f9
Change-Id: Ic6e8d2b490b79b9c62cd374a28fb04504fb34bcc
2019-08-14 13:23:37 -07:00
Kevin Hufnagle
ae80734298
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
...
am: a5e5c177d1
Change-Id: I270a33ab91ec0185bda3c82e600b18c9cca6c8ec
2019-08-14 13:23:33 -07:00
Brian Duddie
e1d3f8e84a
Merge "docs: Correct sensor runtime permission documentation" into qt-dev am: 119f1220cd
...
am: 7eeb6f60f9
Change-Id: Ib01177a1863818238d5998628252dc5c4372e06d
2019-08-14 13:19:42 -07:00
Kevin Hufnagle
5f38478989
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
...
am: a5e5c177d1
Change-Id: I1ce3cc6a79415f1168d514c702b5d4ff673f257e
2019-08-14 13:16:39 -07:00
Brian Duddie
6710441150
Merge "docs: Correct sensor runtime permission documentation" into qt-dev
...
am: 119f1220cd
Change-Id: I61b2d34460edc3986455ef2307f47a431aa751ed
2019-08-14 13:10:45 -07:00
Brian Duddie
7eeb6f60f9
Merge "docs: Correct sensor runtime permission documentation" into qt-dev
...
am: 119f1220cd
Change-Id: I380c1dab916509ac0878e8a60712e7f08e7451a5
2019-08-14 13:09:45 -07:00
Kevin Hufnagle
7ae4cbeeda
Revert "docs: Added desc. of launcher app criteria in Q"
...
This reverts commit 786f22e416 .
Reason for revert: Need further feedback from SMEs
Bug: 130352392
Change-Id: I51b3bd19e27d28fe3aea300893da50bbf889ec73
2019-08-14 19:35:23 +00:00
Roshan Pius
07820f85ac
Merge changes from topic "wifi_mainline_apk_separation"
...
* changes:
Sysui/WifiTracker: Changes to support late starting wifi service
WifiManager: Retrieve IWifiManager service lazily
WifiStackClient: Register wifi API services from system_server
Mainline wifi stack module
NetworkStackClient: Refactor network stack process interaction
2019-08-14 19:33:10 +00:00
Kevin Hufnagle
a5e5c177d1
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
2019-08-14 19:22:11 +00:00
Eugene Susla
5f6bf64107
Document condition when CDM looks at bonded devices
...
As reported in attached bug, there's been some confusion around which
specific kind of request does or does not include bonded devices when
searching.
This mentions the exact condition, and explains the use case when user
might want to take advantage of it.
Fixes: 139376317
Test: presubmit
Change-Id: I98501a235a044a0e184dcbb2363c158cc0d0882c
2019-08-14 10:51:04 -07:00
Brian Duddie
119f1220cd
Merge "docs: Correct sensor runtime permission documentation" into qt-dev
2019-08-14 17:32:05 +00:00