Searched refs:setSilenceMode (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | SilenceDeviceManagerTest.java | 110 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/ |
D | SilenceDeviceManager.java | 193 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()
|
D | AdapterService.java | 2014 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/ |
D | A2dpServiceTest.java | 763 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/ |
D | HeadsetServiceTest.java | 885 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/ |
D | A2dpService.java | 491 public boolean setSilenceMode(BluetoothDevice device, boolean silence) { in setSilenceMode() method in A2dpService
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 1138 public boolean setSilenceMode(BluetoothDevice device, boolean silence) { in setSilenceMode() method in HeadsetService
|