Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DRemoteDevicesTest.java473 Assert.assertEquals(42, RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 8))); in testGetBatteryLevelFromXEventVsc()
475 100, RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(10, 11))); in testGetBatteryLevelFromXEventVsc()
478 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(1, 1))); in testGetBatteryLevelFromXEventVsc()
481 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 1))); in testGetBatteryLevelFromXEventVsc()
484 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, 1))); in testGetBatteryLevelFromXEventVsc()
487 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, -1))); in testGetBatteryLevelFromXEventVsc()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DRemoteDevices.java1479 batteryPercent = getBatteryLevelFromXEventVsc(args); in onVendorSpecificHeadsetEvent()
1558 static int getBatteryLevelFromXEventVsc(Object[] args) { in getBatteryLevelFromXEventVsc() method in RemoteDevices