Salvador Martinez
812ea7554b
Create APIs to interact with DynamicPowerSaver
...
This creates the PowerManager APIs that allow apps with the
appropriate permissions to interact with Dynamic Power Saver.
Bug: 111450127
Test: WIP
Change-Id: I5b9483fa0fba81a4ade622b1f3dbaec580b68a67
2018-11-13 09:33:50 -08:00
Svet Ganov
d03d02f585
Merge "Add owners to the Shell app" am: bc12083aa7 am: 924f4e352d
...
am: 8947d38c39
Change-Id: I7723a2b64d4811bcabbc48c8cbfbe9513a10bd07
2018-11-12 13:02:54 -08:00
Svet Ganov
8947d38c39
Merge "Add owners to the Shell app" am: bc12083aa7
...
am: 924f4e352d
Change-Id: I4ccfecaa7f8b8a2102a5d285ee9848e4fb105a13
2018-11-12 12:52:39 -08:00
Svet Ganov
2ffbacda3d
Add owners to the Shell app
...
The Shell app has elevated privileges as it is used for development
and testing behind the USB debugging developer option. This change
adds owners file to control the changes to the Shell app and more
specifically to its manifest file to ensure only sensible singature
protection permissions are granted to the shell.
Test: manual
bug:80415658
Change-Id: Ic7a442320f052d3c698ed923f1a953e4bee646eb
2018-11-05 17:31:55 -08:00
Bill Yi
ef44016343
Import translations. DO NOT MERGE
...
Change-Id: I595c63f1fe103b3e3fbdaafe7148bd9e99d4638c
Auto-generated-cl: translation import
2018-10-31 09:42:39 -07:00
Phil Weaver
783f1d6e50
Merge "Grant shell permission to manage accessibility" am: cf092a87c2 am: a28031b7da
...
am: 2ca26297c0
Change-Id: I7f641be89ae60d1afe54ffb86611a421ffa3a8d5
2018-10-15 14:56:42 -07:00
Phil Weaver
2ca26297c0
Merge "Grant shell permission to manage accessibility" am: cf092a87c2
...
am: a28031b7da
Change-Id: I690233f012873d333f4ed4931f29e9c27223ab8f
2018-10-15 14:33:55 -07:00
Phil Weaver
1df928ff2b
Grant shell permission to manage accessibility
...
Bug: 116118615
Test: make
Change-Id: I6caa663a09a9119cd62561ed746cd139025edf44
2018-10-12 15:48:34 -07:00
Michael Groover
2c2592052d
Merge "Add READ_PRIVILEGED_PHONE_STATE to used permissions" am: 403813782f am: 25131f86fa
...
am: 1112ebf8ac
Change-Id: Ib377536490b186d57c59fe70a8e4f1c8403d587c
2018-10-10 19:30:36 -07:00
Michael Groover
25131f86fa
Merge "Add READ_PRIVILEGED_PHONE_STATE to used permissions"
...
am: 403813782f
Change-Id: Id778252cc548c20ed05dc59c4a3da85b40cc0b7c
2018-10-09 16:37:23 -07:00
Michael Groover
1248e435a0
Add READ_PRIVILEGED_PHONE_STATE to used permissions
...
Bug: 110099294
Test: cts-tradefed run cts -m CtsTelephonyTestCases -t android.telephony.cts.TelephonyManagerTest
Change-Id: I13fec3d397c200ce92883883c96c07007e823efe
2018-10-08 11:29:03 -07:00
TreeHugger Robot
10efed0b49
Merge "Remove SMS access for apps other than current SMS handler"
2018-10-06 20:14:06 +00:00
Eugene Susla
9351985f7a
Remove SMS access for apps other than current SMS handler
...
Bug: 110098858
Test: atest android.telephony.cts.SmsManagerTest#testContentProviderAccessRestrictions
Change-Id: I9da992565b04ca5fa2656801fd2cfe4b196ef9b4
2018-10-05 16:51:13 -07:00
Nandana Dutt
70509bba06
Merge "Disable the buginfo dialog on AndroidTV"
...
am: 7eaa2cbf51
Change-Id: If32bf9933b2443839391ac7d326778112937de90
2018-10-03 09:56:53 -07:00
Nandana Dutt
7eaa2cbf51
Merge "Disable the buginfo dialog on AndroidTV"
2018-10-03 15:39:22 +00:00
Nandana Dutt
f0f9fab3c8
Merge "Warn about sensitive bugreport contents."
...
am: 702587e787
Change-Id: I4fa68006bf45a0514a153d4373274c12ba10f528
2018-10-03 03:14:48 -07:00
Nandana Dutt
702587e787
Merge "Warn about sensitive bugreport contents."
2018-10-03 09:51:59 +00:00
Nandana Dutt
09087a83fa
Merge "Synchronize access to sNotificationBundle."
...
am: 729ae07a36
Change-Id: I07b54a6252348d998ea0b695f3817059c63e0364
2018-10-03 02:21:18 -07:00
Felipe Leme
ed5e51dbb2
Synchronize access to sNotificationBundle.
...
Otherwise Shell can crash due to ConcurrentModificationException
Test: atest BugreportReceiverTest
Test: manual verification
Fixes:116280360
Change-Id: I138acd43b313d2a7a9d945fb44a9d63e1ad798eb
Merged-In: I138acd43b313d2a7a9d945fb44a9d63e1ad798eb
(cherry picked from commit ee72fa19a9 )
2018-10-02 11:39:42 +01:00
Jeff Sharkey
e70a61d56d
Warn about sensitive bugreport contents.
...
We show this message when clicking a notification, but we also want
to alert users when they're picking files to attach/share.
Bug: 114711671
Test: manual
Change-Id: I23e249c93d6fa9cf960ef2a61d3fe769eb56ddf5
Merged-In: I23e249c93d6fa9cf960ef2a61d3fe769eb56ddf5
(cherry picked from commit 59137825eb )
2018-10-02 11:34:50 +01:00
Kristian Monsen
86f69db5c0
Disable the buginfo dialog on AndroidTV
...
Bug: 113033835
Test: Tested manually on Atom
Change-Id: If65997e28db7c0100018145f9313549494e41a2a
Merged-In: If65997e28db7c0100018145f9313549494e41a2a
(cherry picked from commit cb68d29f03f14b188ccc02b877161173b631685d)
(cherry picked from commit 01badb7874 )
2018-10-02 11:31:27 +01:00
Chad Brubaker
bd175fe891
Allow Shell to access the clipboard
...
A lot of CTS tests involve the clipboard and making all of them input
focus is somewhat wasteful and invasive, instead we will adopt the
shell's permissions when relevant.
Test: atest ClipboardManagerTest
Bug: 6229949
Change-Id: I10f07e89b0baead625464c2afd5da1e229a45473
2018-10-01 16:11:20 -07:00
Felipe Leme
ee72fa19a9
Synchronize access to sNotificationBundle.
...
Otherwise Shell can crash due to ConcurrentModificationException
Test: atest BugreportReceiverTest
Test: manual verification
Fixes:116280360
Change-Id: I138acd43b313d2a7a9d945fb44a9d63e1ad798eb
2018-09-21 16:40:51 -07:00
Jeff Sharkey
59137825eb
Warn about sensitive bugreport contents.
...
We show this message when clicking a notification, but we also want
to alert users when they're picking files to attach/share.
Bug: 114711671
Test: manual
Change-Id: I23e249c93d6fa9cf960ef2a61d3fe769eb56ddf5
2018-09-13 11:49:58 -06:00
Kristian Monsen
01badb7874
Disable the buginfo dialog on AndroidTV
...
Bug: 113033835
Test: Tested manually on Atom
Change-Id: If65997e28db7c0100018145f9313549494e41a2a
(cherry picked from commit cb68d29f03f14b188ccc02b877161173b631685d)
2018-09-12 13:42:40 +02:00
KOUSHIK PANUGANTI
ec8d258c60
Migrated various apps under frameworks/base/packages/Shell to androidx
...
Bug: 76692459
Test: make Shell
Change-Id: If11159cac1bd5aa61c46a346647b97a661abbf11
Merged-In: If11159cac1bd5aa61c46a346647b97a661abbf11
(cherry picked from commit e92135a6e9 )
(cherry picked from commit 474df059db )
(cherry picked from commit e0efaddbeb )
2018-08-28 14:20:24 -07:00
KOUSHIK PANUGANTI
e0efaddbeb
Migrated various apps under frameworks/base/packages/Shell to androidx
...
Bug: 76692459
Test: make Shell
Change-Id: If11159cac1bd5aa61c46a346647b97a661abbf11
Merged-In: If11159cac1bd5aa61c46a346647b97a661abbf11
(cherry picked from commit e92135a6e9 )
(cherry picked from commit 474df059db )
2018-08-28 11:51:32 -07:00
Bill Yi
8e915dbc29
Import translations. DO NOT MERGE
...
Change-Id: I14c08f6f215dcb6edf1e5ffe62248c0302a9c82d
Auto-generated-cl: translation import
2018-08-04 01:57:32 -07:00
Philip P. Moltmann
6c644e620d
Always review permissions before <M app is started the first time
...
This splits the
- review permissions
- individually control permissions
- consent to manage wireleess (wifi + bluetooth)
properties.
Almost all code cares only for the first and it is now always true.
Hence a lot of code can be simplified.
Bug: 110431654
Test: atest PermissionsHostTest
started pre-M app
Change-Id: I733cd476ccd0bf5eaa59e9a9506db34f57c6baee
2018-07-24 11:45:34 -07:00
Bill Yi
962bed181f
Import translations. DO NOT MERGE
...
Change-Id: I7fa6de95026c1eb22cf8284b27879371f81e1c3a
Auto-generated-cl: translation import
2018-07-22 07:20:35 -07:00
Suprabh Shukla
349f9a1ce3
Add SUSPEND_APPS permission to shell
...
Since this permission protects system apis, this is required for
instrumentation tests.
Test: atest com.google.android.suspendapps.gts.SuspendPackagesTest
Bug: 79773970
Change-Id: Ib283018c50cc19c3958bd61e2d19befbf2805cc5
2018-07-17 14:06:21 -07:00
Bill Yi
8fb963413f
Import translations. DO NOT MERGE
...
Change-Id: Iceb272ffa664416b4eafe5eb32098d02e93a095d
Auto-generated-cl: translation import
2018-06-27 02:59:22 -07:00
Bill Yi
f3b6594370
Import translations. DO NOT MERGE
...
Change-Id: Ie0df2d2ccd6c07781d332a973e6401092598391a
Auto-generated-cl: translation import
2018-06-01 09:09:44 -07:00
TreeHugger Robot
4aca62556b
Merge "Migrated various apps under frameworks/base/packages/Shell to androidx"
2018-05-23 01:53:23 +00:00
Bill Yi
f9379bef95
Import translations. DO NOT MERGE
...
Change-Id: I03dce717e8d00086e912229ac6fc7c40dfa16de2
Auto-generated-cl: translation import
2018-05-18 09:45:09 -07:00
Bill Yi
9a594602c1
Import translations. DO NOT MERGE
...
Change-Id: Ib8b8e10bc7035fe194fee520776e3aca9fcf2123
Auto-generated-cl: translation import
2018-05-02 10:18:42 -07:00
KOUSHIK PANUGANTI
e92135a6e9
Migrated various apps under frameworks/base/packages/Shell to androidx
...
Bug: 76692459
Test: make Shell
Change-Id: If11159cac1bd5aa61c46a346647b97a661abbf11
2018-04-23 17:31:10 -07:00
Mathew Inwood
e6e0603f8f
Merge "Enforce permission when disabling API checks." into pi-dev am: 87f521ffe9
...
am: 6614f28da7
Change-Id: Iab6854adff71f3a89fc0b937a9be5f791ecab0f5
2018-04-23 01:24:45 -07:00
Mathew Inwood
6614f28da7
Merge "Enforce permission when disabling API checks." into pi-dev
...
am: 87f521ffe9
Change-Id: I9b87207cc9e337f1d3b293be7d9982f83381f5e6
2018-04-23 01:16:42 -07:00
Bill Yi
b8fc9fbfed
Import translations. DO NOT MERGE
...
Change-Id: If3be4f9f8b73b97e84d30d2135385d152c3dcd2f
Auto-generated-cl: translation import
2018-04-21 00:01:33 -07:00
Mathew Inwood
5f1f29a97a
Enforce permission when disabling API checks.
...
Add a new internal permission required to disable hidden API checks using
"am instrument". Grant this permission to the shell.
Test: $ adb shell am instrument --no-hidden-api-checks mypackage/.MainInstrumentation
Bug: 64382372
Change-Id: I193dba412560f17810ad0c67c733a1eec15fa7b7
2018-04-19 10:08:39 +01:00
Bill Yi
4232d8440e
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: I06dbe1dfd8098c454295925a57df4e1ac7a41d7e
2018-04-15 21:48:28 -07:00
Bill Yi
2a6f10e1a3
Import translations. DO NOT MERGE
...
Change-Id: I5e131097e7b40f499ec303f264149a694bcf03a1
Auto-generated-cl: translation import
2018-04-15 21:41:43 -07:00
Bill Yi
f3fef75aec
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: Ic5c3b8a83e48276c715b767d5a0cb9b61debe0b9
2018-04-13 04:13:26 -07:00
Nicolas Geoffray
b19c2e7451
Merge "Exempt tests for hidden APIs." into pi-dev am: 0e675bd901
...
am: 03ba2d9241
Change-Id: I0e4517312cac9b37537eee55eafd811aff531ea8
2018-04-10 10:11:10 -07:00
Nicolas Geoffray
03ba2d9241
Merge "Exempt tests for hidden APIs." into pi-dev
...
am: 0e675bd901
Change-Id: I012a1ce8483f5fdddf60cfd33ea4303d72455fca
2018-04-10 09:56:52 -07:00
TreeHugger Robot
0e675bd901
Merge "Exempt tests for hidden APIs." into pi-dev
2018-04-10 16:34:05 +00:00
Nicolas Geoffray
b0284fb5de
Exempt tests for hidden APIs.
...
Bug: 64382372
Bug: 74963051
Test: m
Change-Id: I5234dd6230f2bdd6ffccbf12b25a02d929d20161
2018-04-06 14:54:39 +01:00
Bill Yi
d5732b48d8
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: I01e238c2e50777eb025e8ba17f9e7a5fa056adc9
2018-04-06 05:04:06 -07:00
Bill Yi
7899f37af0
Import translations. DO NOT MERGE
...
Change-Id: I0cce19168c70d2d12c0299d0e75cfdb99d7bfa3d
Auto-generated-cl: translation import
2018-04-04 07:59:15 -07:00