Test: end-to-end test with dev aiai and wellbeing apks
Bug: 218708840
Change-Id: Ia1c6a3575d85df274b4e6fcbed4881e576fcbfac
Ignore-AOSP-First: to prevent new feature leak.
Allow Shell to have MANAGE_GAME_ACTIVITY permission in order to run CTS.
Bug: b/202414447
Test: atest GameServiceTest
Ignore-AOSP-First: not-yet-published new permission.
Change-Id: I11a64d4e2819e5a94ae59d280eaa165dce51f518
This reverts commit 9d9268e635.
Reason for revert: DroidMonitor: Potential culprit for Bug b/217792792 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Change-Id: I8f0f469a8fd83b8096e2d2c595a588a762443a88
Allow Shell to have MANAGE_GAME_ACTIVITY permission in order to run CTS.
Bug: b/202414447
Test: atest GameServiceTest
Ignore-AOSP-First: not-yet-published new permission.
Change-Id: I595c3b36c79c08b6c4092b6eb3fad8f704a11d65
* changes:
Add API to configure LPS maintenance mode behavior
Add TestApi to force Low Power Standby to be active
Add TestApi wakelock flag to have system acquire wakelock
Allowlist active voice interaction session from Low Power Standby
Introduce Low Power Standby API and wakelock restrictions
In Low Power Standby, additional restrictions are placed on apps that
are in a process state of FOREGROUND_SERVICE or less important
during standby (while the device is non-interactive):
- Wakelocks are disabled
- Network access is blocked
During doze maintenance windows the restrictions are lifted temporarily.
This change introduces the APIs for Low Power Standby, as well as
the wakelock restrictions.
This feature is targeting TVs. To prevent Low Power Standby from being
enabled on other devices, the feature is guarded by the config flag
config_lowPowerStandbySupported.
Bug: 190822356
Test: atest LowPowerStandbyControllerTest PowerManagerServiceTest
Ignore-AOSP-First: New permission only added internally for now.
Change-Id: Ia40f8a0fc4b366860af58ad76c988f93a5d41936
This is so that CTS tests can be run against a test GameService
rather than against whatever GameService a particular device
has set as its default.
Ignore-AOSP-First: GameService incomplete in AOSP
Test: atest CtsGameServiceTestCases GameServiceProviderSelectorImplTest
Bug: 202417555
Bug: 206128693
Change-Id: I5d0d1a4047949117850818c14b5df617314efcf5
These 2 permissions are needed for app streaming, so add them to the
APP_STREAMING role. They are also added to the Shell for CTS testing.
Fixes: 205062006
Bug: 204606917
Test: ag/16633813
Change-Id: I66903ba11694e1a57aecf1a12ed1f7e0f6eab811
Ignore-AOSP-First: Permissions are for features not in AOSP yet
Changes:
* Add SEND_LOST_MODE_LOCATION_UPDATES permission.
* Add DPM.sendLostModeLocationUpdate API.
* Add intent action and extras to send lost mode
location updates to the DPC.
* Add DPM attribution tag
Manual testing:
* Add lost mode receiver to TestDPC
* Call new API in GmsCore using reflection
* Verify API call is successful and the
lost mode receiver receives the location update
Bug: 206945072
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
manual testing
Change-Id: I9374a53c1146143c8f5bff3ac38cfe18d3f0bf2f
This seems to have been mistakenly added back in
I591b98578dbb94ca8b5be8a553b81d23a143ee16 after being removed
in I51ffbfe5ddc89008d660fab7cfd5808cb827d300
Gets Android to boot without crashing the system process
Fixes: 215527822
Change-Id: I5bc4920166101042ee36a97fe17a574b88caf29a
1. Proposes the public APIs to get and the system APIs to set the
status of the captions and UI show/hide, and notify the status change.
2. Creates a new class, CaptioningManagerImpl, to get/set the value
of the secure setting keys through the A11yManagerService.
3. Adds a new permission, to protect the setter methods which can't
be used by 3rd party apps.
Bug: 136282740
Test: a11y CTS & unit tests
Change-Id: I591b98578dbb94ca8b5be8a553b81d23a143ee16
Ignore-AOSP-First: new permissions (not yet in AOSP)
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
Adding MANAGE_WEAK_ESCROW_TOKEN and to Shell so the API can be called from tests.
Bug: 209632699
Test: Builds, boots. atest WeakEscrowTokenAutoFeatureTest
Ignore-AOSP-First: brand new permissions
Change-Id: If0a157903c605347a5b26625a735433caf27bcb1
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 (with new tests in change I661d4b7132291950c8bcb4690d90154a78751b1e)
Ignore-AOSP-First: seeking internal review on WIP change prior to merging in AOSP
Change-Id: I4f368ec1a5facc0a95efee06b56522db853ff6d8
Bug: 207117478
Add the revokePostNotificationPermissionWithoutKillForTest API, which
will allow the shell to revoke the POST_NOTIFICATIONS permission without
killing this app. Gate this permission behind the
REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL permission, which is
signature|privileged, accessible only to the shell.
Ignore-AOSP-First: Contains information about unreleased features
Test: manual
Bug: 194833441
Change-Id: I3177d1aeb338591c1d736aa6b4f073b6db6227e7
Only for use by SafetyCenter (PermissionController), and shell for CTS
tests.
Test: atest CtsSafetyCenterTestCases
Bug: 203205376
Ignore-AOSP-First: Not announced yet, and permission hasn't been merged
in AOSP
Change-Id: I0f2ac01a0fc340b48d30b3e2006c2726a88c52a9
Fixes: 213574164
Test: none
Ignore-AOSP-First: This new permission is part of a T-targeting feature
Change-Id: I9deebbb9721232ba29cbc5a8267a240761a2bc82
These are not yet used, and are obsolete now because We will no longer
be shipping SLS in T.
Ignore-AOSP-First: tied to launch of new upcoming hardware.
Test: atest FrameworksMockingServicesTests:CommunalManagerServiceTest
Bug: 206054365
Change-Id: I51ffbfe5ddc89008d660fab7cfd5808cb827d300
Also giving it to the Shell for Cts purposes.
Test: atest CtsSafetyCenterTestCases
Bug: 208421513
Ignore-AOSP-First: Not announced yet, and need to use a permission
that hasn't been merged in AOSP
Change-Id: I2c63c54efac0add7c412fa43b77fa18ba2e486c3
The permission allows the holder to update certain device management
related system resources
Bug: 188410712
Bug: 203548565
Test: N/A
Change-Id: I3930612e513bc1708ef2837c78204e1ba8c83c24