Home
last modified time | relevance | path

Searched defs:batteryState (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/
DStylusUsiPowerStartableTest.kt117 val batteryState = FixedCapacityBatteryState(0.1f) in onStylusUsiBatteryStateChanged_batteryPresentValidCapacity_refreshesNotification() constant
126 val batteryState = FixedCapacityBatteryState(0f) in onStylusUsiBatteryStateChanged_batteryPresentInvalidCapacity_noop() constant
135 val batteryState = mock(BatteryState::class.java) in onStylusUsiBatteryStateChanged_batteryNotPresent_noop() constant
DStylusManagerTest.kt60 @Mock lateinit var batteryState: BatteryState in <lambda>() variable in com.android.systemui.stylus.StylusManagerTest
/frameworks/base/core/java/android/hardware/input/
DIInputDeviceBatteryListener.aidl28 void onBatteryStateChanged(in IInputDeviceBatteryState batteryState); in onBatteryStateChanged()
DInputManager.java1328 int deviceId, long eventTimeMillis, @NonNull BatteryState batteryState); in onBatteryStateChanged()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMultiStateStatsTest.java246 private State state(boolean batteryState, boolean screenState, int procstate) { in state()
255 public boolean batteryState; field in MultiStateStatsTest.State
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryLayersDrawable.kt78 var batteryState = batteryState variable
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsAggregator.java98 int batteryState = in aggregatePowerStats() local
/frameworks/base/tests/Input/src/com/android/server/input/
DBatteryControllerTests.kt448 val batteryState = batteryController.getBatteryState(DEVICE_ID) in testGetBatteryState() constant
464 val batteryState = batteryController.getBatteryState(DEVICE_ID) in testGetBatteryStateWithListener() constant
/frameworks/base/tests/Input/src/android/hardware/input/
DInputDeviceBatteryListenerTest.kt143 deviceId: Int, eventTime: Long, batteryState: BatteryState -> in <lambda>() method