Dave McCloskey
911482e768
Merge "Add TRUST_LISTENER to the shell for use in CTS tests" am: f4a4508e64 am: 9845deb4e9
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962480
Change-Id: I1e44c4359dabe2333353f55e0c42afe04efedc78
2022-02-04 23:28:44 +00:00
Dave McCloskey
f4a4508e64
Merge "Add TRUST_LISTENER to the shell for use in CTS tests"
2022-02-04 22:58:26 +00:00
Treehugger Robot
c144be7ef4
Merge "Add NEARBY_WIFI_DEVICES to shell permissions for CTS" am: 5d4effbd23 am: e4ee7f0e2e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966019
Change-Id: I20ad89d1047717a8c5df66581be7014e3d10631e
2022-02-03 02:06:03 +00:00
Treehugger Robot
5d4effbd23
Merge "Add NEARBY_WIFI_DEVICES to shell permissions for CTS"
2022-02-03 00:51:24 +00:00
Antonio Kantek
952554a16f
Merge "(TouchMode Permission) Update shell permission" am: 9d625f5392 am: 74927c2995
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1959747
Change-Id: I8d44811b771bb7ddc2c3e61b5d7567ef064869e7
2022-02-01 21:32:00 +00:00
Antonio Kantek
e06f3d2e3f
(TouchMode Permission) Update shell permission
...
Update shell permission with MODIFY_TOUCH_MODE_STATE
Bug: 198487159
Test: manual
Change-Id: Ib5d5fd6298f281fe1339781026f4a2f471267747
2022-02-01 17:00:54 +00:00
xshu
a8460ad918
Add NEARBY_WIFI_DEVICES to shell permissions for CTS
...
Bug: 197776854
Test: build
Change-Id: I51f8441e3744a4137042abe602d700a4ab757fe1
2022-01-28 17:05:48 -08:00
Dave McCloskey
e0b7e861cd
Add TRUST_LISTENER to the shell for use in CTS tests
...
Bug: 213631677
Test: m
Change-Id: I66eced84399147c4f182d250cd64598794b9c93b
2022-01-27 00:48:14 +00:00
Nate(Qiang) Jiang
8a4f65b48b
Merge "Add OVERRIDE_WIFI_CONFIG permission to Shell for CTS" am: dbe634a784 am: 93be545cde
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1959813
Change-Id: I6b801218b1f79bfb456f6a0fefa0592594c33085
2022-01-26 21:07:15 +00:00
Nate Jiang
a6e72cf3e2
Add OVERRIDE_WIFI_CONFIG permission to Shell for CTS
...
Bug: 216433840
Test: build
Change-Id: I18500abe0e98030bd291aca536f6a70b0f6acafd
2022-01-26 03:00:50 -08:00
Treehugger Robot
6ce69e06a3
Merge "Add permissions to the shell to allow creation of CTS tests for trust." am: 139e007dc5 am: d9b1d582b4
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1955633
Change-Id: I51843ba8e7426a0a86f7227acba97051706e86f6
2022-01-21 13:47:08 +00:00
Treehugger Robot
139e007dc5
Merge "Add permissions to the shell to allow creation of CTS tests for trust."
2022-01-21 13:17:35 +00:00
Sharon Su
e6f7842767
Merge "Add new MANAGE_WALLPAPER_EFFECTS_GENERATION permission for the cts test" am: d1dfefffec am: 92bea7818d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1955201
Change-Id: Ib765020d85d1b0bdd8c9b2c377898120cbe9e54b
2022-01-21 05:26:32 +00:00
Dave McCloskey
48ae5a7790
Add permissions to the shell to allow creation of CTS tests for trust.
...
Test: m TrustTestCases in separate CL
Bug: 213631672
Change-Id: Ie215e988eebe4103458b8be4d00698ae1121f75d
2022-01-20 15:48:11 -08:00
Sharon Su
5f97f2237c
Add new MANAGE_WALLPAPER_EFFECTS_GENERATION permission for the cts test
...
Bug: 213238425
Test: build and presubmit
Change-Id: If6507ac871e01bebb770e85bc4572b7e3d2cb5d9
2022-01-20 00:35:57 +00:00
Gareth Vaughan
84f6837779
Merge "Add new permission START_CROSS_PROFILE_ACTIVITIES" am: 0702622783 am: 8051cf324f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1949116
Change-Id: I25565b7a04ac1eac63843f4ec39ce8a0dd347a95
2022-01-18 19:32:26 +00:00
Gareth Vaughan
d8c3b65041
Add new permission START_CROSS_PROFILE_ACTIVITIES
...
This allows holders of START_CROSS_PROFILE_ACTIVITIES permission to start an activity of the caller package in the other profile.
The "android.app.role.SYSTEM_WELLBEING" role will get this permission.
Test: atest CrossProfileAppsHostSideTest
Bug: 207117478
Change-Id: I9f554e937a653a51d5bbdaf19a7a90a9073d1aca
Merged-In: I4f368ec1a5facc0a95efee06b56522db853ff6d8
2022-01-13 22:51:29 +00:00
Bill Yi
e5aea73516
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Id4693c75727f7f10ebd91c85d1b706b661c1ba3a
2022-01-10 15:24:52 +00:00
Hui Wu
bc8204f93c
Merge "Add new MANAGE_CLOUDSEARCH permission for the cts test" am: d15fe6e622 am: 22a35c2185
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1921037
Change-Id: Ia724f729f3aa402248adc0ac736dcd21ad17214c
2021-12-14 21:29:03 +00:00
Hui Wu
d15fe6e622
Merge "Add new MANAGE_CLOUDSEARCH permission for the cts test"
2021-12-14 20:35:51 +00:00
Xin Li
85d715bac3
Merge "Merge Android 12 QPR1"
2021-12-14 20:25:23 +00:00
Alex Buynytskyy
eabf24b25e
Merge "Allow shell/CTS to be package verifier." am: 99ada16f28 am: 6f6c520b90
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1920519
Change-Id: Ia480bbf461f0009eb5573db36d8b0d7f4133eb69
2021-12-14 15:13:46 +00:00
Alex Buynytskyy
6f6c520b90
Merge "Allow shell/CTS to be package verifier." am: 99ada16f28
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1920519
Change-Id: Id62d814b8f3b451d6bb1929218e99300bfbdc7d5
2021-12-14 14:59:43 +00:00
Alex Buynytskyy
b4dc01e32a
Allow shell/CTS to be package verifier.
...
Bug: 204810986
Test: device boots
Test: atest PackageManagerShellCommandTest ChecksumsTest
Change-Id: I0b379714a946c18afdeca4ec02469d26646544df
2021-12-14 01:18:16 +00:00
Hui Wu
a6324ff99e
Add new MANAGE_CLOUDSEARCH permission for the cts test
...
Bug: 210528288
Test: cts test runs only with this CL
Change-Id: Ie4d262beb3b5054f4a9cf26001113ceabb5d793e
2021-12-13 23:30:47 +00:00
Treehugger Robot
37643533d3
Merge "Add DEVICE_LOCK permission to Shell to support ATS test" am: 00b14576ba am: 8dc3be6249
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909557
Change-Id: Ica48fc74b73c4d54f39fff315ecd8ffc03989e9a
2021-12-03 01:37:21 +00:00
Treehugger Robot
8dc3be6249
Merge "Add DEVICE_LOCK permission to Shell to support ATS test" am: 00b14576ba
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909557
Change-Id: I3929ce59312776fb513e9754eb7b24852ca82bbe
2021-12-03 01:14:21 +00:00
Anthony Hugh
b4cce59e37
Add DEVICE_LOCK permission to Shell to support ATS test
...
Adds DEVICE_LOCK permission to Shell to support the
CarDevicePolicyManagerTest. This permission is needed to call
DevicePolicyManager#lockNow which locks the device.
Bug: 187199256
Test: atest CarDevicePolicyManagerTest
Merged-In: I3fa20b53b929c97a6760d65b432a74c3415d6a08
Change-Id: I3fa20b53b929c97a6760d65b432a74c3415d6a08
2021-12-02 23:49:22 +00:00
Treehugger Robot
467fc19198
Merge "Add LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK permission to Shell" am: 9b6a363c8c am: c15f518369
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1892999
Change-Id: I814281ec1817d61b5a8d454cf422c57963c8acb0
2021-11-19 03:45:31 +00:00
Treehugger Robot
c15f518369
Merge "Add LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK permission to Shell" am: 9b6a363c8c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1892999
Change-Id: I178d7c006f1f4be80b02a49d90b4be8237129aa3
2021-11-19 03:33:15 +00:00
Xin Li
10d9972786
Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
...
Bug: 205056467
Merged-In: I13199bc39e9445929195f3d15579cbffe94e92b0
Change-Id: I35fa3c6c2abf679c51033f1395a08d511ed8739f
2021-11-18 17:00:37 +00:00
Arc Wang
0d7cc7a8a6
Add LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK permission to Shell
...
So we can test system APIs in cts.
Bug: 201017875
Test: atest android.settings.cts.SettingsMultiPaneDeepLinkTest
Change-Id: I8bedd571a4d3385042533fe7dd5ded250894d14a
Merged-In: I8bedd571a4d3385042533fe7dd5ded250894d14a
2021-11-17 07:01:56 +00:00
Yi Kong
b324a7418a
Rename upload action to com.android.shell.action.PROFCOLLECT_UPLOAD
...
The new name better aligns with the component and permission names.
Follow up review comments on https://r.android.com/1784487
Bug: 183487233
Test: presubmit
Change-Id: Ibe3a3e51b0dc154ee3e43b27e561fd541b62cc54
2021-11-08 06:16:22 +00:00
Yi Kong
ca33a22bc6
profcollect/betterbug integration with content uri
...
Test: manual
Bug: 183487233
Bug: 194155753
Change-Id: I6bdec2d090126c53d3cf2fa9deece2441eeafd98
2021-10-13 05:34:00 +00:00
Jiyong Park
da0ffb8e4f
Merge "Implement permission check for virtualizationservice" am: 1ce000ff84 am: 01dfd737f5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1763365
Change-Id: I81519001e9e2dae4eef2b38327858281e44d1886
2021-07-13 16:09:29 +00:00
Jiyong Park
a8cc7f17bf
Implement permission check for virtualizationservice
...
For the service to be able to check permission, the AIDL interface is
exported to the virt APEX where virtualizationservice is in.
In addition, the VM permissions are granted to shell so that developers
can use the 'vm' tool on the shell.
Bug: 168588769
Test: /apex/com.android.virt/bin/vm run-app --log /dev/null
/data/local/tmp/virt/MicrodroidDemoApp.apk
/data/local/tmp/virt/MicrodroidDemoApp.apk.idsig assets/vm_config.json
Change-Id: I00db58ba9cef3b83f43db68ef86f062b59a0e6e1
2021-07-13 08:25:28 +09:00
Nikita Ioffe
ffcc75b181
Merge "Grant INSTALL_PACKAGE_UPDATES permission to Shell" into sc-dev am: 1d2cbb6f50
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15235316
Change-Id: I4f39d26a3c086f186240411e31052011a262b963
2021-07-12 20:19:21 +00:00
Nikita Ioffe
65eb22cc56
Grant INSTALL_PACKAGE_UPDATES permission to Shell
...
Bug: 188062003
Test: m
Change-Id: I342f64e666afa4202b8af69f04d64b05d40fac40
2021-07-09 00:52:08 +01:00
Bill Yi
904b805a3b
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I3119b126448d6baaff32b055f23079a01b84574d
2021-07-03 19:25:33 -07:00
Bill Yi
0948be6a56
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I3b359da04d6f3c8f8f4f6ba47a35a587ab4f0c80
2021-07-02 10:22:39 +00:00
TreeHugger Robot
268e58afe4
Merge "Remove SCHEDULE_EXACT_ALARM from Shell" into sc-dev
2021-06-30 00:42:40 +00:00
Suprabh Shukla
d50bc69f94
Remove SCHEDULE_EXACT_ALARM from Shell
...
Shell doesn't need this permission and it confusing to the user
if visible in Settings.
Test: Shell doesn't appear in Settings under
Settings -> Apps -> Special app access -> Alarms & Reminders ->
3 dot menu -> Show system
Bug: 190775895
Change-Id: I98b051f37f3edf4f616f8847f691b956dafbdd12
Merged-In: I98b051f37f3edf4f616f8847f691b956dafbdd12
2021-06-29 16:27:28 -07:00
TreeHugger Robot
866fdeaa20
Merge "Give Shell the NOTIFY_PENDING_SYSTEM_UPDATE permission" into sc-dev am: 69a0939764
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15107816
Change-Id: I6a58650e3553227b5a858a0dbb26d2c0a1380a9a
2021-06-29 17:03:50 +00:00
TreeHugger Robot
69a0939764
Merge "Give Shell the NOTIFY_PENDING_SYSTEM_UPDATE permission" into sc-dev
2021-06-29 16:57:01 +00:00
Alex Kershaw
1f5ef8e31d
Give Shell the NOTIFY_PENDING_SYSTEM_UPDATE permission
...
This is required for GTS testing it, rather than having to instrument
GMS Core.
Bug: 182271592
Test: tested as part of other CLs in this topic
Change-Id: Id56e0d206afe0a9069d1510a3dae9a07141fff60
2021-06-29 11:52:04 +01:00
TreeHugger Robot
849af2a984
Merge "Allow Shell more permissions for TvInputManagerTest." into sc-dev am: 7058f9948f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15098677
Change-Id: If58599b99b81fb0a5272c02ee16354b697156c47
2021-06-28 11:21:46 +00:00
TreeHugger Robot
7058f9948f
Merge "Allow Shell more permissions for TvInputManagerTest." into sc-dev
2021-06-28 11:05:00 +00:00
Bill Yi
a9c04b5bd6
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Iaacad6ae55e075d8f5dfcb74618062d248cb4686
2021-06-26 12:24:35 +00:00
Hongguang
757d741cd7
Allow Shell more permissions for TvInputManagerTest.
...
Bug: 171024152
Test: android.media.tv.cts.TvInputManagerTest
Change-Id: Iabea3ea72a5476892c848eaa8ebf4f93ad9b1000
2021-06-25 00:50:51 +00:00
Lucas Lin
fbc5d5d588
Add OBSERVE_NETWORK_POLICY for shell to test CTS
...
Both of NetworkPolicyManager#isUidNetworkingBlocked() and
NetworkPolicyManager#isUidRestrictedOnMeteredNetworks() are
required OBSERVE_NETWORK_POLICY but OBSERVE_NETWORK_POLICY is a
signature permission that CTS cannot acquire.
So add this permission for shell and call these 2 APIs with
shell identity to fix the problem.
Bug: 176289731
Test: atest CtsHostsideNetworkTests:HostsideNetworkPolicyManagerTests
Original-Change: https://android-review.googlesource.com/1737413
Merged-In: Iba7321c82e1a3ed773f99ccd4b9e3c24c607353f
Change-Id: Iba7321c82e1a3ed773f99ccd4b9e3c24c607353f
2021-06-22 05:46:59 +00:00