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.java365 Assert.assertEquals(42, RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 8))); in testGetBatteryLevelFromXEventVsc()
367 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(10, 11))); in testGetBatteryLevelFromXEventVsc()
369 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(1, 1))); in testGetBatteryLevelFromXEventVsc()
371 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 1))); in testGetBatteryLevelFromXEventVsc()
373 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, 1))); in testGetBatteryLevelFromXEventVsc()
375 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, -1))); in testGetBatteryLevelFromXEventVsc()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java761 batteryPercent = getBatteryLevelFromXEventVsc(args); in onVendorSpecificHeadsetEvent()
835 static int getBatteryLevelFromXEventVsc(Object[] args) { in getBatteryLevelFromXEventVsc() method in RemoteDevices