- fs_mgr reports fs_stat int value during bootup when mounting
an ext4 partition.
- This includes information like:
if previous shutdown was clean
if e2fsck has fixed any fs issue
if any mounting or quota related operations has failed.
- Each information is set as flag. Flag definitions are avaiable from
FsStatFlags in system/core/fs_mgr/fs_mgr.cpp
- log ro.boottime.init.mount_all.[early|default|late] which represent
time duration for each mount stage. Depending on device's config, some of
these stages may not exist. So do not log if value is 0, which means not existing.
bug: 32246772
bug: 35949600
bug: 35329915
Test: manual, check log after boot-up.
Change-Id: I4ceca88776119d88d5352d6793be122e82688279
Some names can include commas, and if they're not surrounded by quotes,
then CSV parsing breaks, as was the case in
https://github.com/google/battery-historian/issues/94#issuecomment-282790498
and several other circumstances.
Test: flashed local device and ran batterystats output through Historian
Change-Id: I070c5d873d9f79996a581bf0a5f664136c0af454
- When a PiP activity calls moveTaskToBack(), we should fall through to
the same behaviour as dismissing the PiP if there are no other tasks
to show.
Bug: 36034065
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testMovePipToBackWithNoFullscreenStack
Test: #testMovePipToBackWithVisibleFullscreenStack
Test: #testMovePipToBackWithHiddenFullscreenStack
Change-Id: I83c3d27dabc031546f9f1cf20b808bb8f13d4646
Signed-off-by: Winson Chung <winsonc@google.com>
Needed to check if gnssNiIface was a nullptr
before calling setCallback on it.
Bug: 36052760
Test: make
Change-Id: I4d725bd30310353fb7d248f9bf247ac55f94c765
The BatterySaverPolicy is designed to consolidate all battery saver
knobs into a central location. Usually it is consistent to
mLowPowerModeEnabled unless it gets different data for specific
service. By adding these knobs, we can effectively tune the battery
saver.
This cl sets up the framework for BatterySaverPolicy and updates
following service to get battery saver data from BatterySaverPolicy
1. GnssLocationProvider
2. VibratorService
3. WindowManagerService
4. BackupManagerService
5. SoundTriggerService
6. NetworkPolicyManagerService
Screen brightness will come in a following cl.
Bug: 34693888
Test: FrameworksServicesTests
Change-Id: I6b040e93391614b44d136a485faa4a332c396e51
Adds an explicit id for visibleToInstantApps attr.
This fix is to enable Instant Apps to use the gcore that will ship
with Android O. Gcore is not building against the O SDK, so to
enable them to use the visibleToInstantApps attribute, we are going
to provide them with a modified public.xml to use in the api 25
SDK.
Test: Ensured coretests / FontResourcesParserTest continues to pass.
Bug: 36036242
Change-Id: I5a9b878cdbffe9323b299e8dbe82c599e33a6834
This info is surfaced by the page indicator so it isn't needed here.
Change-Id: I7e9aea3c6493592c1f33ecdf563542b44e3f9d2b
Fixes: 35255217
Test: Select QS panel background