Making battery stats final broke telephony unit tests (old mockito does
not allow mocking final objects).
Bug: 148282682
Test: Compiles
Change-Id: Id65ba702aa551c7c23bbd6efa527ef2b930478f5
Create a wrapper class to access binder objects
published by statsd mainline module
Bug: 147923515
Test: atest com.google.android.statsd.gts.StatsdHostTestCases
Change-Id: I9ea3677d88c790c856e4e89318ae2ce67ac7df1e
Adds a static display configuration file for specifying static display
configurations as a sustainable API.
Bug: 131813802
Test: Verify brightness changes work as expected. Verify changes going
through system to HAL conversion.
Exempt-From-Owner-Approval: I am new owner of lights, but OWNERS rights hasnt yet propogated.
Change-Id: I17922267f4695bc042d7c0687d4dcc10554e1b85
Added 4 methods:
boolean isAmbientDisplayAvailable()
void suppressAmbientDisplay(String token, boolean suppress)
boolean isAmbientDisplaySuppressedForToken(String token)
boolean isAmbientDisplaySuppressed()
This CL simply adds the API to toggle SUPPRESS_DOZE. The code for
actually turning off doze when the secure setting is updated will be
implemented in a follow-up CL.
Test: manual, atest FrameworksServicesTests:PowerManagerServiceTest
Bug: 147584235, 147587449
Change-Id: I54f46f75fb84aae2ae806690e73eeb427ad8e8e1
Mark incident report section registration and unregistration as public
APIs, and protect them with
android.permission.REGISTER_INCIDENT_REPORT_SECTION.
Bug: 144789854
Test: Build
Change-Id: I0d79ca12054292412e10a63ba2e6f45a149066a9
This change implements the following APIs with a few TODOs:
- BlobStoreManager.{create,open,delete}Sesison()
- BlobStoreManager.Session.{openWrite,openRead,close,abandon}()
- BlobStoreManager.Session.allow*Access()
- BlobStoreManager.Session.commit()
- BlobStoreManager.openBlob()
- BlobStoreManager.{acquire,release}Lease()
Bug: 143559646
Test: atest cts/tests/BlobStore/src/com/android/cts/blob/BlobStoreManagerTest.java
Change-Id: Id4eb8269f013b5c0ffca63c8251a2553e818091d
Added @SystemApi to all APIs currently used by TvProfileService that were @hide only.
Bug: 139914710
Test: Apps built with stable_system or experimental_system can use the APIs
Change-Id: I3499244b4d545a7a9401c7941663045bcd89c6fe
And use this API to wait for the death of a process from
the system_server side.
Bug: 145838141
Test: Manual
Change-Id: I594843a383c3375d967e608e0c6f8d36fa2e78a3
Adding new API to request the end of quiet mode without asking the user
for their credentials.
Bug: 145732320
Change-Id: I80f313d269d46400fdb21ef9265fa7c0c3b5c7d0
Test: atest 'com.android.cts.devicepolicy.QuietModeHostsideTest#testQuietMode_noCredentialRequest'
Add an API for priv and system app to register a dump callback with
Incident Service.
Bug: 145924375
Test: Register a callback dumping a string. Capture an incident report
and verify that the customized section exist.
Change-Id: I6fff6c1ee97e25963068d284ba37adce1bb5ec31