- READ_COMPAT_CHANGE_CONFIG is required to read the current state of the
config
- LOG_COMPAT_CHANGE is required to log the status of a compat change for
a package and/or uid to statsd
- OVERRIDE_COMPAT_CHANGE_CONFIG is required to add overrides
The permissions must be signature|privileged, as there are already
examples of code which this would not be sufficient (e.g.
MediaProvider).
This is a re-landing of https://r.android.com/1209240, which was
reverted due to http://b/142942524. The actual fix was done in
http://ag/10234812.
Bug: 142650523
Test: atest PlatformCompatTest
Test: atest PlatformCompatPermissionsTest
Change-Id: Ie9429477c9a1725b5cb67756787bf742038e5d2b
* changes:
statsd atom: Fix errara and missing item for boottime metrics
Rename FS_MGR_FS_STAT into FS_MGR_FS_STAT_DATA_PARTITION
Add proto definition for boottime metrics
BluetoothAdapter#disconnectAllEnabledProfiles updated to require
BLUETOOTH_PRIVILEGED permission and update documentation to indicate
connection and disconnection is asynchronous
Bug: 147321746
Test: Manual
Change-Id: I961f02a539a247b1397ce4f478b9dc804d9973ab
INetworkMonitorCallbacks defines notifyDataStallSuspected() for
notifying ConnectivityService of networks encountering a potential data
stall. A new event is introduced for ConnectivityDiagnosticsHandler to
process the notification and invoke the relevant
ConnectivityDiagnosticsCallbacks.
Bug: 143187964
Test: compiles
Test: atest CtsNetTestCases FrameworksNetTests
Change-Id: I70320bdda9855dced31e08e6a0b25329fb5cb535
Merged-In: I70320bdda9855dced31e08e6a0b25329fb5cb535
A future commit will take advantage of this flag
Test: Build
Bug: 146206136
Change-Id: I91cde262837b8748a4cf796d66c035aabe779079
Merged-In: I19ac83f5865e8763cd9414c41d4609f79d0db164
- Init's 1st stage has both start time and duration. Add missing duration.
- Fix other errata.
Bug: 132691841
Test: Build
Change-Id: I5ea25cba29ab8b4de630308eaba2b5d6f30a29b7
Merged-In: I5ea25cba29ab8b4de630308eaba2b5d6f30a29b7
- FS_STAT can be returned per each partition mounted. Currently only
/data partition is checked but rename it so that we can add additional
partitions in future.
Bug: 132691841
Test: Build
Change-Id: I3f1280ce84df1137a92ac59b15937a32c7ac8d01
Merged-In: I3f1280ce84df1137a92ac59b15937a32c7ac8d01
- Most of them are for migrating from existing historgram logging.
- Following three items added as those critical information were missing:
SECONDARY_ZYGOTE_INIT_START, LAUNCHER_START, LAUNCHER_SHOWN
Bug: 132691841
Test: build only, follow-up CLs will be added later per each logging components
Change-Id: I26cbca3b6f2d9f990dde31ac0880272ac141ff36
Merged-In: I26cbca3b6f2d9f990dde31ac0880272ac141ff36
INetworkMonitorCallbacks defines notifyNetworkTestedWithExtras() for
notifying ConnectivityService of networks being tested along with a
PersistableBundle of extras. A new event is introduced for
NetworkStateTrackerHandler to notify the ConnectivityDiagnosticsHandler
before continuing with the normal processing for "network tested"
notifications. The event is also used in the
ConnectivityDiagnosticsHandler.
Bug: 143187964
Bug: 147391402
Test: compiles.
Test: atest CtsNetTestCases FrameworksNetTests
Change-Id: Iab29da790c0f5faae68227770bc3a84bbc94f124
Merged-In: Iab29da790c0f5faae68227770bc3a84bbc94f124
To avoid a @Nullable Boolean one method has been split into two. After
some changes in the last release this also removes an optional parameter
from the two new methods as it is now always null.
Bug: 148450671
Test: treehugger
Change-Id: I83be9647943c16ae30af4f8d032db428af1ad5fc
This change corrects a permission check in TimeZoneDetectorService
which is now covered by a test.
A TestHandler common to the timezonedetector and timedetector classes
has been extracted and made less flaky.
There are some changes included to make the equivalent time zone and
time classes consistent and to improve method names.
Bug: 140712361
Test: atest com.android.server.timezonedetector
Test: atest com.android.server.timedetector
Change-Id: Ic380ede6c7276d6b80f0fc74b30bba8c89c07fcc
... so that the build system can distinguish testing APEXes and installable APEXes, and apply
different rules to them.
Bug: 146308764
Test: m
Change-Id: I6ffd1cfe0f83c032d6fe3fa11e38c3c6c763425a
Rename isDataCapable to isDataConnectionEnabled as a System API for
System UI.
Cherry-picking TelephonyManager part of ag/10063635
Test: RILTest; Treehugger; cts
Bug: 147017757
Merged-In: I96b45575eb7f030f3dcb9539c06f8ec25539e2e9
Merged-In: I19ac83f5865e8763cd9414c41d4609f79d0db164
(cherry picked from commit 291415806f)
Change-Id: I96b45575eb7f030f3dcb9539c06f8ec25539e2e9
Added a broadcast for area info changed event, and
also a get method in cell broadcast service to
retrieve the area info.
Test: Cell broadcast sanity tests
Bug: 141318859
Merged-In: I5995e3c5099a1e49cb0c54d33da1dbfcc94d4037
Change-Id: I5995e3c5099a1e49cb0c54d33da1dbfcc94d4037
(cherry picked from commit afaa71d418)
In order to be consistent with other existing APIs.
Test: Build
Bug: 146563563
Merged-In: Iac8d9abe3b011485ffe8220d94f25f99d022014b
Change-Id: Iac8d9abe3b011485ffe8220d94f25f99d022014b
(cherry picked from commit e94a7a4f97)
TelephonyManager.
The purpose is to expose them as @SystemApi as they are used externally.
Bug: 140908357
Test: unittest
Change-Id: I3dabcb853ebbd648b20d97b446db11476780be25
Merged-In: I3dabcb853ebbd648b20d97b446db11476780be25