Searched refs:deviceBatteryState (Results 1 – 10 of 10) sorted by relevance
94 final DeviceBatteryState deviceBatteryState = batteryInformation.getDeviceBatteryState(); in BatteryHistEntry() local95 mBatteryLevel = deviceBatteryState.getBatteryLevel(); in BatteryHistEntry()96 mBatteryStatus = deviceBatteryState.getBatteryStatus(); in BatteryHistEntry()97 mBatteryHealth = deviceBatteryState.getBatteryHealth(); in BatteryHistEntry()124 final DeviceBatteryState deviceBatteryState = batteryInformation.getDeviceBatteryState(); in BatteryHistEntry() local125 mBatteryLevel = deviceBatteryState.getBatteryLevel(); in BatteryHistEntry()126 mBatteryStatus = deviceBatteryState.getBatteryStatus(); in BatteryHistEntry()127 mBatteryHealth = deviceBatteryState.getBatteryHealth(); in BatteryHistEntry()
632 final DeviceBatteryState deviceBatteryState = in constructBatteryInformation() local640 .setDeviceBatteryState(deviceBatteryState) in constructBatteryInformation()
113 final DeviceBatteryState deviceBatteryState = batteryInformation.getDeviceBatteryState(); in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues() local139 assertThat(deviceBatteryState.getBatteryLevel()).isEqualTo(12); in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()140 assertThat(deviceBatteryState.getBatteryStatus()) in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()142 assertThat(deviceBatteryState.getBatteryHealth()) in convertBatteryEntryToContentValues_appEntry_returnsExpectedContentValues()179 final DeviceBatteryState deviceBatteryState = batteryInformation.getDeviceBatteryState(); in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues() local205 assertThat(deviceBatteryState.getBatteryLevel()).isEqualTo(12); in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()206 assertThat(deviceBatteryState.getBatteryStatus()) in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()208 assertThat(deviceBatteryState.getBatteryHealth()) in convertBatteryEntryToContentValues_systemEntry_returnsExpectedContentValues()228 final DeviceBatteryState deviceBatteryState = batteryInformation.getDeviceBatteryState(); in convertBatteryEntryToContentValues_nullBatteryEntry_returnsExpectedContentValues() local232 assertThat(deviceBatteryState.getBatteryLevel()).isEqualTo(12); in convertBatteryEntryToContentValues_nullBatteryEntry_returnsExpectedContentValues()[all …]
564 final DeviceBatteryState deviceBatteryState = batteryInformation.getDeviceBatteryState(); in verifyBatteryEntryContentValues() local566 assertThat(deviceBatteryState.getBatteryLevel()).isEqualTo(20); in verifyBatteryEntryContentValues()567 assertThat(deviceBatteryState.getBatteryStatus()) in verifyBatteryEntryContentValues()569 assertThat(deviceBatteryState.getBatteryHealth()) in verifyBatteryEntryContentValues()577 final DeviceBatteryState deviceBatteryState = batteryInformation.getDeviceBatteryState(); in verifyFakeBatteryEntryContentValues() local578 assertThat(deviceBatteryState.getBatteryLevel()).isEqualTo(20); in verifyFakeBatteryEntryContentValues()579 assertThat(deviceBatteryState.getBatteryStatus()) in verifyFakeBatteryEntryContentValues()581 assertThat(deviceBatteryState.getBatteryHealth()) in verifyFakeBatteryEntryContentValues()
272 final DeviceBatteryState deviceBatteryState = in insert_batteryState_returnsExpectedResult() local280 .setDeviceBatteryState(deviceBatteryState) in insert_batteryState_returnsExpectedResult()326 final DeviceBatteryState deviceBatteryState = in insert_partialFieldsContentValues_returnsExpectedResult() local333 BatteryInformation.newBuilder().setDeviceBatteryState(deviceBatteryState).build(); in insert_partialFieldsContentValues_returnsExpectedResult()
398 DeviceBatteryState deviceBatteryState = in createBatteryHistEntry() local406 .setDeviceBatteryState(deviceBatteryState) in createBatteryHistEntry()
464 final DeviceBatteryState deviceBatteryState = in getContentValuesWithBatteryLevel() local467 BatteryInformation.newBuilder().setDeviceBatteryState(deviceBatteryState).build(); in getContentValuesWithBatteryLevel()
2371 final DeviceBatteryState deviceBatteryState = in getContentValuesWithBatteryLevel() local2374 BatteryInformation.newBuilder().setDeviceBatteryState(deviceBatteryState).build(); in getContentValuesWithBatteryLevel()
43 final DeviceBatteryState deviceBatteryState = in setUp() local51 .setDeviceBatteryState(deviceBatteryState) in setUp()
117 DeviceBatteryState deviceBatteryState = in insertDataToBatteryStateTable() local125 .setDeviceBatteryState(deviceBatteryState) in insertDataToBatteryStateTable()