Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java110 doReturn(true).when(mA2dpService).setSilenceMode(mTestDevice, enableSilence); in testSetGetDeviceSilenceConnectedCase()
111 doReturn(true).when(mHeadsetService).setSilenceMode(mTestDevice, enableSilence); in testSetGetDeviceSilenceConnectedCase()
119 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, true)); in testSetGetDeviceSilenceConnectedCase()
127 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, enableSilence)); in testSetGetDeviceSilenceConnectedCase()
156 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, enableSilence)); in testSetGetDeviceSilenceDisconnectedCase()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DSilenceDeviceManager.java193 setSilenceMode(a2dpActiveDevice, false); in handleMessage()
204 setSilenceMode(hfpActiveDevice, false); in handleMessage()
245 boolean setSilenceMode(BluetoothDevice device, boolean silence) { in setSilenceMode() method in SilenceDeviceManager
276 a2dpService.setSilenceMode(device, state); in handleSilenceDeviceStateChanged()
280 headsetService.setSilenceMode(device, state); in handleSilenceDeviceStateChanged()
DAdapterService.java2014 public boolean setSilenceMode(BluetoothDevice device, boolean silence, in setSilenceMode() method in AdapterService.AdapterServiceBinder
2026 service.mSilenceDeviceManager.setSilenceMode(device, silence); in setSilenceMode()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java763 Assert.assertTrue(mA2dpService.setSilenceMode(mTestDevice, true)); in testSetSilenceMode()
768 Assert.assertTrue(mA2dpService.setSilenceMode(mTestDevice, false)); in testSetSilenceMode()
775 Assert.assertTrue(mA2dpService.setSilenceMode(otherDevice, true)); in testSetSilenceMode()
780 Assert.assertTrue(mA2dpService.setSilenceMode(otherDevice, false)); in testSetSilenceMode()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java885 Assert.assertTrue(mHeadsetService.setSilenceMode(mCurrentDevice, true)); in testSetSilenceMode()
889 Assert.assertTrue(mHeadsetService.setSilenceMode(mCurrentDevice, false)); in testSetSilenceMode()
895 Assert.assertTrue(mHeadsetService.setSilenceMode(otherDevice, true)); in testSetSilenceMode()
899 Assert.assertTrue(mHeadsetService.setSilenceMode(otherDevice, false)); in testSetSilenceMode()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java491 public boolean setSilenceMode(BluetoothDevice device, boolean silence) { in setSilenceMode() method in A2dpService
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java1138 public boolean setSilenceMode(BluetoothDevice device, boolean silence) { in setSilenceMode() method in HeadsetService