TreeHugger Robot
6572539f65
Merge "Check "BIND_HOTWORD_DETECTION_SERVICE" permission before binding HotwordDetectionService" into sc-dev
2021-05-25 13:24:35 +00:00
Patrick Baumann
43628ca24c
Updates OWNERS files
...
Bug: 186864416
Test: Builds
Change-Id: I04dfc5c2c7143825334ebc62742e335b8c889492
2021-05-21 14:13:18 -07:00
lpeter
e66524d14f
Check "BIND_HOTWORD_DETECTION_SERVICE" permission before binding HotwordDetectionService
...
Bug: 187914415
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: I4ccd8fd5b153f28fa4b1463f7412bb8067cc4ffd
2021-05-21 10:49:56 +08:00
Neil Fuller
bc9061fdf3
Merge "Add permission to shell for CTS test" into sc-dev
2021-05-19 16:11:12 +00:00
Neil Fuller
bc4a843f18
Add permission to shell for CTS test
...
This grants the shell app the SUGGEST_EXTERNAL_TIME permission needed
for the TimeManagerTest (CTS) to invoke the
TimeManager.suggestExternalTime() method during tests.
Bug: 184947690
Bug: 177079827
Test: See associated cts change
Merged-In: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
Change-Id: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
2021-05-18 14:04:55 +01:00
TreeHugger Robot
f477c8fb75
Merge "Don't allow non-system window overlays for bug report warnings." into sc-dev
2021-05-14 14:36:32 +00:00
Cassie Wang
7c41518fc2
Merge "Have the shell request AppSearch global query permission." am: f37a782378 am: 6e11df3fe7 am: 4dbd446328
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1704125
Change-Id: Ib0e16ff2dbcdb5655723058c02eab414b7beaf6d
2021-05-14 03:35:10 +00:00
Cassie Wang
4dbd446328
Merge "Have the shell request AppSearch global query permission." am: f37a782378 am: 6e11df3fe7
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1704125
Change-Id: Ife300434e555167d8e8808f8304f3e7761b17dfe
2021-05-14 03:15:56 +00:00
Cassie Wang
6e11df3fe7
Merge "Have the shell request AppSearch global query permission." am: f37a782378
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1704125
Change-Id: I17c5b35ac84d031ce259bb65ee49e4e619eab76f
2021-05-14 02:54:08 +00:00
Bill Yi
de447927b4
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I682a43f38f5f5f68d1ce54e1d85647a1f0b8a325
2021-05-13 16:07:45 +00:00
Varun Shah
d172b896ae
Don't allow non-system window overlays for bug report warnings.
...
Bug: 175614079
Test: test PoC app
Change-Id: Ie4543c95a6b2d7de47360737b82a6dadde704053
2021-05-12 15:11:14 -07:00
Cassie Wang
aa50faacb7
Have the shell request AppSearch global query permission.
...
Permission to be defined in follow-ups.
Bug: 187113133
Change-Id: I74cd919d9ed19a1aac2e75397cb0d6d20b8bee02
Test: presubmit
2021-05-11 20:13:27 +00:00
Bill Yi
212fd2b7a0
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I5000390039e9495fe1aea6d6578e844b8d3fd593
2021-05-02 09:18:01 +00:00
Kholoud Mohamed
d4f1cb46f3
Merge "Add a new permission to install testOnly apps" am: 71d89f5d0d am: bc7a72187d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689746
Change-Id: Iddb8ddbd27e4a21dbd34420501797c190480d45a
2021-04-29 10:03:44 +00:00
Kholoud Mohamed
bc7a72187d
Merge "Add a new permission to install testOnly apps" am: 71d89f5d0d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689746
Change-Id: I337626f46f9e44322c537ad2243dc0185f45b83e
2021-04-29 09:43:10 +00:00
kholoud mohamed
f01ffd8b53
Add a new permission to install testOnly apps
...
Added a new permission INSTALL_TEST_ONLY_PACKAGE
and granted it to shell, this will allow installing
testOnly apps from a testAPI.
Test: N/A
Bug: 183716601
Merged-In: I047a4013fb3462db3487eab2d1635ea75ae29264
Change-Id: I047a4013fb3462db3487eab2d1635ea75ae29264
2021-04-28 10:32:03 +01:00
Bill Yi
b38bca309b
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I764d57b36763c51604c38e297e8eb324d706d780
2021-04-22 09:23:32 -07:00
Treehugger Robot
71d1186b1b
Merge "Shell: Allow usage of UwbManager ranging API" am: d0c859c58f am: 8125586204 am: 3897959f77
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1680127
Change-Id: Ib84bc63ccf536686aa0d17ff97e3dcddf73819a9
2021-04-21 19:30:58 +00:00
Treehugger Robot
3897959f77
Merge "Shell: Allow usage of UwbManager ranging API" am: d0c859c58f am: 8125586204
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1680127
Change-Id: I47cfd0a6d943037b40864df415b56222ff0cdd30
2021-04-21 19:02:58 +00:00
Treehugger Robot
8125586204
Merge "Shell: Allow usage of UwbManager ranging API" am: d0c859c58f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1680127
Change-Id: I92b3071f8a9c88b3f9ff067ea55fd61ef402bb3e
2021-04-21 18:37:45 +00:00
Treehugger Robot
d0c859c58f
Merge "Shell: Allow usage of UwbManager ranging API"
2021-04-21 18:26:11 +00:00
TreeHugger Robot
16472322f9
Merge "Pipe start op throught app ops policy and delegate" into sc-dev
2021-04-21 15:06:11 +00:00
Kholoud Mohamed
48cf9cdfb0
Merge "Add a new permission to install testOnly apps" into sc-dev
2021-04-21 11:07:50 +00:00
Svet Ganov
8b1aad623e
Pipe start op throught app ops policy and delegate
...
bug: 185504196
Test: atest CtsAppOpsTestCases
atest CtsPermissionTestCases
atest CtsPermission2TestCases
atest CtsPermission3TestCases
atest CtsPermission4TestCases
atest CtsPermission5TestCases
Change-Id: I5869a3e9719830f59624519f2d54f0765119cf5f
2021-04-21 08:06:35 +00:00
Treehugger Robot
fd03622048
Merge "Adding a permission to Shell for testing" am: 7342dafaa5 am: 23f9ef4d2b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679721
Change-Id: I6f02958325c6c6a5f944bf4220338e950b7b0d10
2021-04-21 02:52:28 +00:00
Treehugger Robot
23f9ef4d2b
Merge "Adding a permission to Shell for testing" am: 7342dafaa5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679721
Change-Id: I8d412d08c63660956b282566ef3ecd09add58c12
2021-04-21 02:15:13 +00:00
Hyundo Moon
013cf241a1
Merge changes from topic "system_mr2_media_content_control" into sc-dev
...
* changes:
System MediaRouter2: Resolve API review
Change MODIFY_AUDIO_ROUTING permission to MEDIA_CONTENT_CONTROL
2021-04-21 01:45:42 +00:00
Suprabh Shukla
508e114192
Adding a permission to Shell for testing
...
Adding UPDATE_DEVICE_STATS to enable testing alarms with WorkSource
objects.
Test: atest CtsAlarmManagerTestCases
Bug: 185530825
Change-Id: Ia0f8afa6dc1a13c95553b691f352c6d8c7ae5ccf
Merged-In: Ia0f8afa6dc1a13c95553b691f352c6d8c7ae5ccf
2021-04-20 15:32:03 -07:00
Shubang Lu
c505cc19a2
Merge "TIF: Change the isForeground API to isVisible and isMainSession" into sc-dev
2021-04-20 20:19:42 +00:00
kholoud mohamed
dead379e48
Add a new permission to install testOnly apps
...
Added a new permission INSTALL_TEST_ONLY_PACKAGE
and granted it to shell, this will allow installing
testOnly apps from a testAPI.
Test: N/A
Bug: 183716601
Change-Id: I047a4013fb3462db3487eab2d1635ea75ae29264
2021-04-20 15:37:30 +00:00
Ken Chen
e6565f57fc
resolve merge conflicts of a3e32c8b4f to sc-dev
...
Bug: 185071689
Change-Id: I1524a534590361a585469ddf959e582484493e4e
2021-04-20 09:22:10 +00:00
Ken Chen
a3e32c8b4f
Merge "Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to shell" am: 1b06ec2530 am: a96493b7a5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675632
Change-Id: I9a94931334fe162c5f05c6c3a1628a41468a2d82
2021-04-20 08:14:40 +00:00
Ken Chen
a96493b7a5
Merge "Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to shell" am: 1b06ec2530
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675632
Change-Id: I5ec3328b8bd782bfc184bcbddc7572671e826cbe
2021-04-20 07:38:50 +00:00
Ken Chen
1b06ec2530
Merge "Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to shell"
2021-04-20 07:12:33 +00:00
shubang
e8c3a42409
TIF: Change the isForeground API to isVisible and isMainSession
...
isForeground is not a good approach to indentify current channel info
And add a permission for tuned info.
Bug: 180482268
Test: atest CtsPermission2TestCases
Test: atest TvInputManagerTest#testGetCurrentTunedInfos
Change-Id: Ib1c1f2da719336ae856684e843b06f8b9b442723
2021-04-20 05:49:14 +00:00
Suprabh Shukla
b0db699780
Adding a permission to Shell for testing
...
Adding UPDATE_DEVICE_STATS to enable testing alarms with WorkSource
objects.
Test: atest CtsAlarmManagerTestCases
Bug: 185530825
Change-Id: Ia0f8afa6dc1a13c95553b691f352c6d8c7ae5ccf
2021-04-19 23:35:39 +00:00
Roshan Pius
0662c37218
Shell: Allow usage of UwbManager ranging API
...
This permission is needed for uwb CTS ranging specific tests.
Is the minimally scoped permission that needs to be added?
- Yes, this only allows the app to range to uwb devices.
What options did you explore that did not need this permission?
- Without this permission, it would be impossible to test the raning
UwbManager API which is protected by UWB_RANGING + UWB_PRIVILEGED.
Bug: 183747097
Test: Compiles
Change-Id: I23fc60a111fd7d868e3982d71ffa354ea9957bfb
2021-04-19 13:45:13 -07:00
Sally Yuen
1c3ac31a23
Merge "Add UiAutomation shell permission tests to Shell presubmit tests" am: afbb23d1d3 am: 6f15edb618 am: 90c6d1bde6
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677306
Change-Id: I03e2e8ac8d2342b1a7c39183135a800baafc586b
2021-04-19 19:16:28 +00:00
Sally Yuen
90c6d1bde6
Merge "Add UiAutomation shell permission tests to Shell presubmit tests" am: afbb23d1d3 am: 6f15edb618
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677306
Change-Id: I99febbaed087b186b87fa12404cc7f1d984e7d51
2021-04-19 19:11:01 +00:00
Sally Yuen
6f15edb618
Merge "Add UiAutomation shell permission tests to Shell presubmit tests" am: afbb23d1d3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677306
Change-Id: I35c9a9af4a35dda4246b51ba25b07e34f80e7b9b
2021-04-19 18:45:32 +00:00
Sally Yuen
afbb23d1d3
Merge "Add UiAutomation shell permission tests to Shell presubmit tests"
2021-04-19 16:14:01 +00:00
Alex Buynytskyy
e7339d98df
API feedback: make DataLoader API System.
...
Bug: 184713911
Fixes: 184713911
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I00107102eb2e98004ed0a5db2a318a052ab60220
2021-04-18 15:48:21 +00:00
Bill Yi
732437f3a5
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I47920fa7efc471010dc8a78d70bc6d5f1285dc1d
2021-04-16 19:43:32 +00:00
Ken Chen
81b55fbe8c
Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to shell
...
The shell *already had* the privileges granted by this permission due to
specific code in netd, and it lost those privileges when it gained the
CHANGE_NETWORK_STATE permission. Explicitly add
CONNECTIVITY_USE_RESTRICTED_NETWORKS so that it can obtain sufficient
permission in netd no matter CHANGE_NETWORK_STATE is set or not.
Remove a duplicate row by the way.
Bug: 185071689
Test: atest NetdClientTest#protectFromVpnTcp6
Change-Id: I64bc321de2c83378ce7bc8d9eb3044ae7772faca
2021-04-16 05:48:47 +00:00
Sally
8724e0eb75
Add UiAutomation shell permission tests to Shell presubmit tests
...
Bug: 185174828
Test: (on internal branch) run atest in packages/Shell, tests run
Change-Id: I3e53116239ec39e4c6cb3325dbfb8aa1a501377f
2021-04-16 00:57:49 +00:00
Hyundo Moon
6ffbb9568c
Change MODIFY_AUDIO_ROUTING permission to MEDIA_CONTENT_CONTROL
...
As changing the permission for MediaRouter2 system APIs, this CL
changes the permission in shell accordingly.
The permission was added by ag/13959439.
Bug: 183428114
Test: Passed CTS tests
Change-Id: I3aee256a11db730dd786e69821f3bb8bd590074f
2021-04-15 20:01:06 +09:00
Treehugger Robot
7a37d828de
Merge "Grant shell missing permissions" am: 51e5e80876 am: e2919bf071
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1670006
Change-Id: I6f59648db0f0a2eaf62bfb4b1f00fba14b2eb21b
2021-04-15 02:16:04 +00:00
Treehugger Robot
e2919bf071
Merge "Grant shell missing permissions" am: 51e5e80876
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1670006
Change-Id: I7da950a176408ded482230d21df0fc772192de3a
2021-04-15 01:32:01 +00:00
Treehugger Robot
51e5e80876
Merge "Grant shell missing permissions"
2021-04-15 00:52:03 +00:00
Treehugger Robot
290be221d5
Merge "Shell: Allow usage of UwbManager APIs" am: 762a92d755 am: b6dd284973
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675747
Change-Id: I9f89544359bc20a67bf86e65e0cf4f29860591f8
2021-04-15 00:13:38 +00:00