Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java103 doReturn(true).when(mA2dpService).setSilenceMode(mTestDevice, enableSilence); in testSetGetDeviceSilenceConnectedCase()
104 doReturn(true).when(mHeadsetService).setSilenceMode(mTestDevice, enableSilence); in testSetGetDeviceSilenceConnectedCase()
112 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, true)); in testSetGetDeviceSilenceConnectedCase()
121 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, enableSilence)); in testSetGetDeviceSilenceConnectedCase()
152 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, enableSilence)); in testSetGetDeviceSilenceDisconnectedCase()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DSilenceDeviceManager.java180 setSilenceMode(a2dpActiveDevice, false); in handleMessage()
188 setSilenceMode(hfpActiveDevice, false); in handleMessage()
216 boolean setSilenceMode(BluetoothDevice device, boolean silence) { in setSilenceMode() method in SilenceDeviceManager
251 a2dpService.setSilenceMode(device, state); in handleSilenceDeviceStateChanged()
255 headsetService.setSilenceMode(device, state); in handleSilenceDeviceStateChanged()
DAdapterService.java3251 public boolean setSilenceMode( in setSilenceMode() method in AdapterService.AdapterServiceBinder
3262 service.mSilenceDeviceManager.setSilenceMode(device, silence); in setSilenceMode()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java761 assertThat(mA2dpService.setSilenceMode(sTestDevice, true)).isTrue(); in testSetSilenceMode()
766 assertThat(mA2dpService.setSilenceMode(sTestDevice, false)).isTrue(); in testSetSilenceMode()
773 assertThat(mA2dpService.setSilenceMode(otherDevice, true)).isTrue(); in testSetSilenceMode()
778 assertThat(mA2dpService.setSilenceMode(otherDevice, false)).isTrue(); in testSetSilenceMode()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java1180 Assert.assertTrue(mHeadsetService.setSilenceMode(mCurrentDevice, true)); in testSetSilenceMode()
1184 Assert.assertTrue(mHeadsetService.setSilenceMode(mCurrentDevice, false)); in testSetSilenceMode()
1190 Assert.assertTrue(mHeadsetService.setSilenceMode(otherDevice, true)); in testSetSilenceMode()
1194 Assert.assertTrue(mHeadsetService.setSilenceMode(otherDevice, false)); in testSetSilenceMode()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetooth.aidl145 …boolean setSilenceMode(in BluetoothDevice device, boolean silence, in AttributionSource attributio… in setSilenceMode() method
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothDevice.java2645 public boolean setSilenceMode(boolean silence) { in setSilenceMode() method in BluetoothDevice
2652 return service.setSilenceMode(this, silence, mAttributionSource); in setSilenceMode()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpService.java527 public boolean setSilenceMode(@NonNull BluetoothDevice device, boolean silence) { in setSilenceMode() method in A2dpService
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java1308 public boolean setSilenceMode(BluetoothDevice device, boolean silence) { in setSilenceMode() method in HeadsetService
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt219 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setSilenceMode(boolean);