Home
last modified time | relevance | path

Searched refs:absVol (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerNativeInterface.java76 void sendAbsVolRsp(byte[] address, int absVol, int label) { in sendAbsVolRsp() argument
77 sendAbsVolRspNative(address, absVol, label); in sendAbsVolRsp()
80 void sendRegisterAbsVolRsp(byte[] address, byte rspType, int absVol, int label) { in sendRegisterAbsVolRsp() argument
81 sendRegisterAbsVolRspNative(address, rspType, absVol, label); in sendRegisterAbsVolRsp()
161 void handleSetAbsVolume(byte[] address, byte absVol, byte label) { in handleSetAbsVolume() argument
165 mAvrcpController.handleSetAbsVolume(device, absVol, label); in handleSetAbsVolume()
408 private native void sendAbsVolRspNative(byte[] address, int absVol, int label); in sendAbsVolRspNative() argument
418 byte[] address, byte rspType, int absVol, int label); in sendRegisterAbsVolRspNative() argument
DAvrcpControllerStateMachine.java1208 private void handleAbsVolumeRequest(int absVol, int label) { in handleAbsVolumeRequest() argument
1209 debug("handleAbsVolumeRequest: absVol = " + absVol + ", label = " + label); in handleAbsVolumeRequest()
1212 absVol = ABS_VOL_BASE; in handleAbsVolumeRequest()
1216 setAbsVolume(absVol); in handleAbsVolumeRequest()
1218 mNativeInterface.sendAbsVolRsp(mDeviceAddress, absVol, label); in handleAbsVolumeRequest()
1226 private void setAbsVolume(int absVol) { in setAbsVolume() argument
1229 int reqLocalVolume = (maxLocalVolume * absVol) / ABS_VOL_BASE; in setAbsVolume()
1232 + absVol in setAbsVolume()
DAvrcpControllerService.java407 synchronized void handleSetAbsVolume(BluetoothDevice device, byte absVol, byte label) { in handleSetAbsVolume() argument
411 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ABS_VOL_CMD, absVol, label); in handleSetAbsVolume()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerServiceTest.java385 byte absVol = 15; in handleSetAbsVolume()
388 mService.handleSetAbsVolume(mDevice, absVol, label); in handleSetAbsVolume()
392 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ABS_VOL_CMD, absVol, label); in handleSetAbsVolume()