Home
last modified time | relevance | path

Searched refs:BATTERY_LEVEL (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawableTest.java35 private static final int BATTERY_LEVEL = 15; field in BluetoothDeviceLayerDrawableTest
50 mContext, RES_ID, BATTERY_LEVEL); in testCreateLayerDrawable_configCorrect()
63 mContext, RES_ID, BATTERY_LEVEL, BATTERY_ICON_SCALE); in testCreateLayerDrawable_withIconScale_configCorrect()
77 R.color.meter_background_color, BATTERY_LEVEL); in testBatteryMeterDrawable_configCorrect()
81 assertThat(batteryDrawable.getBatteryLevel()).isEqualTo(BATTERY_LEVEL); in testBatteryMeterDrawable_configCorrect()
87 mContext, RES_ID, BATTERY_LEVEL); in testConstantState_returnTwinBluetoothLayerDrawable()
100 mContext, RES_ID, BATTERY_LEVEL); in testCreateLayerDrawable_bluetoothDrawable_hasCorrectFrameColor()
/frameworks/base/cmds/statsd/src/external/
DResourceHealthManagerPuller.cpp94 } else if (mTagId == android::util::BATTERY_LEVEL) { in PullInternal()
95 auto ptr = make_shared<LogEvent>(android::util::BATTERY_LEVEL, wallClockTimestampNs, in PullInternal()
DStatsPullerManager.cpp134 {android::util::BATTERY_LEVEL,
135 {.puller = new ResourceHealthManagerPuller(android::util::BATTERY_LEVEL)}},
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java968 proto.write(BatterySaverStateMachineProto.BATTERY_LEVEL, mBatteryLevel); in dumpProto()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java573 EventLog.writeEvent(EventLogTags.BATTERY_LEVEL, in processValuesLocked()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3600 proto.write(PowerManagerServiceDumpProto.BATTERY_LEVEL, mBatteryLevel); in dumpProto()