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.java756 doReturn(true).when(mA2dpNativeInterface).setSilenceDevice(any(BluetoothDevice.class), in testSetSilenceMode()
763 verify(mA2dpNativeInterface).setSilenceDevice(mTestDevice, true); in testSetSilenceMode()
768 verify(mA2dpNativeInterface).setSilenceDevice(mTestDevice, false); in testSetSilenceMode()
775 verify(mA2dpNativeInterface).setSilenceDevice(otherDevice, true); in testSetSilenceMode()
780 verify(mA2dpNativeInterface).setSilenceDevice(otherDevice, false); in testSetSilenceMode()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpNativeInterface.java117 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.java1023 mHeadsetStateMachine.setSilenceDevice(true); in testSetSilenceDevice()
1024 mHeadsetStateMachine.setSilenceDevice(false); in testSetSilenceDevice()
DHeadsetServiceTest.java848 when(mStateMachines.get(mCurrentDevice).setSilenceDevice( in testSetSilenceMode()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java1105 stateMachine.setSilenceDevice(silence); in setSilenceMode()
DHeadsetStateMachine.java1475 public boolean setSilenceDevice(boolean silence) { in setSilenceDevice() method in HeadsetStateMachine