Searched refs:BATTERY_LEVEL_UNKNOWN (Results 1 – 14 of 14) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | DataProcessorTest.java | 20 import static com.android.settingslib.fuelgauge.BatteryStatus.BATTERY_LEVEL_UNKNOWN; 520 expectedDailyLevels.add(BATTERY_LEVEL_UNKNOWN); in getLevelDataThroughProcessedHistoryMap_MultipleDaysData_returnExpectedResult() 538 expectedHourlyLevels1.add(BATTERY_LEVEL_UNKNOWN); in getLevelDataThroughProcessedHistoryMap_MultipleDaysData_returnExpectedResult() 539 expectedHourlyLevels1.add(BATTERY_LEVEL_UNKNOWN); in getLevelDataThroughProcessedHistoryMap_MultipleDaysData_returnExpectedResult() 541 expectedHourlyLevels2.add(BATTERY_LEVEL_UNKNOWN); in getLevelDataThroughProcessedHistoryMap_MultipleDaysData_returnExpectedResult() 544 expectedHourlyLevels2.add(BATTERY_LEVEL_UNKNOWN); in getLevelDataThroughProcessedHistoryMap_MultipleDaysData_returnExpectedResult() 581 expectedDailyLevels.add(BATTERY_LEVEL_UNKNOWN); in getLevelDataThroughProcessedHistoryMap_daylightSaving25Hour_returnExpectedResult() 582 expectedDailyLevels.add(BATTERY_LEVEL_UNKNOWN); in getLevelDataThroughProcessedHistoryMap_daylightSaving25Hour_returnExpectedResult() 620 expectedHourlyLevels1.add(BATTERY_LEVEL_UNKNOWN); in getLevelDataThroughProcessedHistoryMap_daylightSaving25Hour_returnExpectedResult() 621 expectedHourlyLevels1.add(BATTERY_LEVEL_UNKNOWN); in getLevelDataThroughProcessedHistoryMap_daylightSaving25Hour_returnExpectedResult() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | RemoteDevicesTest.java | 149 int batteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in testUpdateBatteryLevel_errorNegativeValue() 221 mDevice1, BluetoothDevice.BATTERY_LEVEL_UNKNOWN, mIntentArgument); in testResetBatteryLevel_testResetAfterUpdate() 227 BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in testResetBatteryLevel_testResetAfterUpdate() 275 mDevice1, BluetoothDevice.BATTERY_LEVEL_UNKNOWN, mIntentArgument); in testResetBatteryLevelOnHeadsetStateChange() 281 BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in testResetBatteryLevelOnHeadsetStateChange() 371 BluetoothDevice.BATTERY_LEVEL_UNKNOWN, in testResetBatteryLevel_testAclStateChangeCallback() 382 BluetoothDevice.BATTERY_LEVEL_UNKNOWN, in testResetBatteryLevel_testAclStateChangeCallback() 477 BluetoothDevice.BATTERY_LEVEL_UNKNOWN, in testGetBatteryLevelFromXEventVsc() 480 BluetoothDevice.BATTERY_LEVEL_UNKNOWN, in testGetBatteryLevelFromXEventVsc() 483 BluetoothDevice.BATTERY_LEVEL_UNKNOWN, in testGetBatteryLevelFromXEventVsc() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | RemoteDevices.java | 285 private int mBatteryLevelFromHfp = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; 286 private int mBatteryLevelFromBatteryService = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; 581 if (mBatteryLevelFromBatteryService != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) { in getBatteryLevel() 785 BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in resetBatteryLevel() 787 deviceProperties.setBatteryLevelFromHfp(BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in resetBatteryLevel() 835 percent = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in batteryChargeIndicatorToPercentge() 1476 int batteryPercent = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in onVendorSpecificHeadsetEvent() 1485 if (batteryPercent != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) { in onVendorSpecificHeadsetEvent() 1508 return BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getBatteryLevelFromAppleBatteryVsc() 1515 return BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getBatteryLevelFromAppleBatteryVsc() [all …]
|
D | AdapterService.java | 20 import static android.bluetooth.BluetoothDevice.BATTERY_LEVEL_UNKNOWN; 3471 return BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getBatteryLevel() 3476 return BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getBatteryLevel() 6826 if (batteryLevel == BATTERY_LEVEL_UNKNOWN) { in setBatteryLevel()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryLevelData.java | 19 import static com.android.settingslib.fuelgauge.BatteryStatus.BATTERY_LEVEL_UNKNOWN; 65 : BATTERY_LEVEL_UNKNOWN); in PeriodBatteryLevelData()
|
D | BatteryChartView.java | 20 import static com.android.settingslib.fuelgauge.BatteryStatus.BATTERY_LEVEL_UNKNOWN; 737 return viewModel.getLevel(trapezoidIndex) != BATTERY_LEVEL_UNKNOWN in isTrapezoidValid() 738 && viewModel.getLevel(trapezoidIndex + 1) != BATTERY_LEVEL_UNKNOWN; in isTrapezoidValid()
|
D | DataProcessor.java | 22 import static com.android.settingslib.fuelgauge.BatteryStatus.BATTERY_LEVEL_UNKNOWN; 1246 return BATTERY_LEVEL_UNKNOWN; in getLevel() 1596 int startBatteryLevel = BATTERY_LEVEL_UNKNOWN; in getAccumulatedUsageDiffData() 1597 int endBatteryLevel = BATTERY_LEVEL_UNKNOWN; in getAccumulatedUsageDiffData()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/ |
D | BatteryStateMachineTest.java | 19 import static android.bluetooth.BluetoothDevice.BATTERY_LEVEL_UNKNOWN; 341 .handleBatteryChanged(any(BluetoothDevice.class), eq(BATTERY_LEVEL_UNKNOWN)); in testDisconnectResetBatteryLevel()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/ |
D | BatteryStateMachine.java | 19 import static android.bluetooth.BluetoothDevice.BATTERY_LEVEL_UNKNOWN; 260 service.handleBatteryChanged(mDevice, BATTERY_LEVEL_UNKNOWN); in resetBatteryLevel()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderControllerTest.java | 153 when(mBluetoothDevice.getBatteryLevel()).thenReturn(BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderController.java | 464 if (level != BluetoothDevice.BATTERY_LEVEL_UNKNOWN in updateSubLayoutUi()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothDevice.java | 333 @SystemApi public static final int BATTERY_LEVEL_UNKNOWN = -1; field in BluetoothDevice
|
/packages/modules/Bluetooth/framework/api/ |
D | system-current.txt | 236 field public static final int BATTERY_LEVEL_UNKNOWN = -1; // 0xffffffff
|
/packages/modules/Bluetooth/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 281 Landroid/bluetooth/BluetoothDevice;->BATTERY_LEVEL_UNKNOWN:I
|