Home
last modified time | relevance | path

Searched refs:mBatteryLevel (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiverTest.java68 mBatteryBroadcastReceiver.mBatteryLevel = BATTERY_INIT_LEVEL; in setUp()
87 assertThat(mBatteryBroadcastReceiver.mBatteryLevel) in testOnReceive_batteryLevelChanged_dataUpdated()
115 mBatteryBroadcastReceiver.mBatteryLevel = batteryLevel; in testOnReceive_batteryDataNotChanged_listenerNotInvoked()
120 assertThat(mBatteryBroadcastReceiver.mBatteryLevel).isEqualTo(batteryLevel); in testOnReceive_batteryDataNotChanged_listenerNotInvoked()
136 assertThat(mBatteryBroadcastReceiver.mBatteryLevel) in testRegister_updateBatteryStatus()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiver.java68 String mBatteryLevel; field in BatteryBroadcastReceiver
108 } else if(!batteryLevel.equals(mBatteryLevel)) { in updateBatteryStatus()
113 mBatteryLevel = batteryLevel; in updateBatteryStatus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryBroadcastReceiver.java68 String mBatteryLevel; field in BatteryBroadcastReceiver
108 } else if(!batteryLevel.equals(mBatteryLevel)) { in updateBatteryStatus()
113 mBatteryLevel = batteryLevel; in updateBatteryStatus()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java216 private int mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; field in RemoteDevices.DeviceProperties
367 return mBatteryLevel; in getBatteryLevel()
376 this.mBatteryLevel = batteryLevel; in setBatteryLevel()