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.java63 mBatteryBroadcastReceiver.mBatteryLevel = BATTERY_INIT_LEVEL; in setUp()
78 assertThat(mBatteryBroadcastReceiver.mBatteryLevel).isEqualTo( in testOnReceive_batteryDataChanged_dataUpdated()
90 mBatteryBroadcastReceiver.mBatteryLevel = batteryLevel; in testOnReceive_batteryDataNotChanged_listenerNotInvoked()
95 assertThat(mBatteryBroadcastReceiver.mBatteryLevel).isEqualTo(batteryLevel); in testOnReceive_batteryDataNotChanged_listenerNotInvoked()
107 assertThat(mBatteryBroadcastReceiver.mBatteryLevel).isEqualTo( in testRegister_updateBatteryStatus()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiver.java41 String mBatteryLevel; field in BatteryBroadcastReceiver
76 if (forceUpdate || !batteryLevel.equals(mBatteryLevel) || !batteryStatus.equals( in updateBatteryStatus()
78 mBatteryLevel = batteryLevel; in updateBatteryStatus()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStatus.java88 private Preference mBatteryLevel; field in Status
128 mBatteryLevel.setSummary(Utils.getBatteryPercentage(intent));
164 mBatteryLevel = findPreference(KEY_BATTERY_LEVEL); in onCreate()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java181 private int mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; field in RemoteDevices.DeviceProperties
320 return mBatteryLevel; in getBatteryLevel()
329 this.mBatteryLevel = batteryLevel; in setBatteryLevel()