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.java757 doReturn(true).when(mA2dpNativeInterface).setSilenceDevice(any(BluetoothDevice.class), in testSetSilenceMode()
764 verify(mA2dpNativeInterface).setSilenceDevice(mTestDevice, true); in testSetSilenceMode()
769 verify(mA2dpNativeInterface).setSilenceDevice(mTestDevice, false); in testSetSilenceMode()
776 verify(mA2dpNativeInterface).setSilenceDevice(otherDevice, true); in testSetSilenceMode()
781 verify(mA2dpNativeInterface).setSilenceDevice(otherDevice, false); in testSetSilenceMode()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpNativeInterface.java118 public boolean setSilenceDevice(BluetoothDevice device, boolean silence) { in setSilenceDevice() method in A2dpNativeInterface
DA2dpService.java501 if (!mA2dpNativeInterface.setSilenceDevice(device, silence)) { in setSilenceMode()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java1060 mHeadsetStateMachine.setSilenceDevice(true); in testSetSilenceDevice()
1061 mHeadsetStateMachine.setSilenceDevice(false); in testSetSilenceDevice()
DHeadsetServiceTest.java876 when(mStateMachines.get(mCurrentDevice).setSilenceDevice( in testSetSilenceMode()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java1154 stateMachine.setSilenceDevice(silence); in setSilenceMode()
DHeadsetStateMachine.java1512 public boolean setSilenceDevice(boolean silence) { in setSilenceDevice() method in HeadsetStateMachine