Home
last modified time | relevance | path

Searched refs:getBatteryLevelFromXEventVsc (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DRemoteDevicesTest.java369 Assert.assertEquals(42, RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 8))); in testGetBatteryLevelFromXEventVsc()
371 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(10, 11))); in testGetBatteryLevelFromXEventVsc()
373 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(1, 1))); in testGetBatteryLevelFromXEventVsc()
375 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 1))); in testGetBatteryLevelFromXEventVsc()
377 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, 1))); in testGetBatteryLevelFromXEventVsc()
379 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, -1))); in testGetBatteryLevelFromXEventVsc()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java749 batteryPercent = getBatteryLevelFromXEventVsc(args); in onVendorSpecificHeadsetEvent()
823 static int getBatteryLevelFromXEventVsc(Object[] args) { in getBatteryLevelFromXEventVsc() method in RemoteDevices