Home
last modified time | relevance | path

Searched refs:setSilenceDevice (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java791 doReturn(true).when(mA2dpNativeInterface).setSilenceDevice(any(BluetoothDevice.class), in testSetSilenceMode()
798 verify(mA2dpNativeInterface).setSilenceDevice(mTestDevice, true); in testSetSilenceMode()
804 verify(mA2dpNativeInterface).setSilenceDevice(mTestDevice, false); in testSetSilenceMode()
812 verify(mA2dpNativeInterface).setSilenceDevice(otherDevice, true); in testSetSilenceMode()
818 verify(mA2dpNativeInterface).setSilenceDevice(otherDevice, false); in testSetSilenceMode()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpNativeInterface.java115 public boolean setSilenceDevice(BluetoothDevice device, boolean silence) { in setSilenceDevice() method in A2dpNativeInterface
DA2dpService.java489 if (!mA2dpNativeInterface.setSilenceDevice(device, silence)) { in setSilenceMode()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java1019 mHeadsetStateMachine.setSilenceDevice(true); in testSetSilenceDevice()
1020 mHeadsetStateMachine.setSilenceDevice(false); in testSetSilenceDevice()
DHeadsetServiceTest.java858 when(mStateMachines.get(mCurrentDevice).setSilenceDevice( in testSetSilenceMode()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java1035 stateMachine.setSilenceDevice(silence); in setSilenceMode()
DHeadsetStateMachine.java1447 public boolean setSilenceDevice(boolean silence) { in setSilenceDevice() method in HeadsetStateMachine