Home
last modified time | relevance | path

Searched refs:volumeType (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetNativeInterface.java353 public boolean setVolume(BluetoothDevice device, int volumeType, int volume) { in setVolume() argument
354 return setVolumeNative(volumeType, volume, Utils.getByteAddress(device)); in setVolume()
507 private native boolean setVolumeNative(int volumeType, int volume, byte[] address); in setVolumeNative() argument
DHeadsetStateMachine.java1658 private void processVolumeEvent(int volumeType, int volume) { in processVolumeEvent() argument
1664 if (volumeType == HeadsetHalConstants.VOLUME_TYPE_SPK) { in processVolumeEvent()
1669 } else if (volumeType == HeadsetHalConstants.VOLUME_TYPE_MIC) { in processVolumeEvent()
1673 Log.e(TAG, "Bad volume type: " + volumeType); in processVolumeEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DNativeInterface.java152 public boolean setVolume(byte[] address, int volumeType, int volume) { in setVolume() argument
153 return setVolumeNative(address, volumeType, volume); in setVolume()
282 private static native boolean setVolumeNative(byte[] address, int volumeType, int volume); in setVolumeNative() argument