Searched refs:mBatteryLevel (Results 1 – 4 of 4) sorted by relevance
63 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()
41 String mBatteryLevel; field in BatteryBroadcastReceiver76 if (forceUpdate || !batteryLevel.equals(mBatteryLevel) || !batteryStatus.equals( in updateBatteryStatus()78 mBatteryLevel = batteryLevel; in updateBatteryStatus()
88 private Preference mBatteryLevel; field in Status128 mBatteryLevel.setSummary(Utils.getBatteryPercentage(intent));164 mBatteryLevel = findPreference(KEY_BATTERY_LEVEL); in onCreate()
181 private int mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; field in RemoteDevices.DeviceProperties320 return mBatteryLevel; in getBatteryLevel()329 this.mBatteryLevel = batteryLevel; in setBatteryLevel()