/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | SilenceDeviceManagerTest.java | 103 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/ |
D | SilenceDeviceManager.java | 180 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()
|
D | AdapterService.java | 3251 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/ |
D | A2dpServiceTest.java | 761 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/ |
D | HeadsetServiceTest.java | 1180 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/ |
D | IBluetooth.aidl | 145 …boolean setSilenceMode(in BluetoothDevice device, boolean silence, in AttributionSource attributio… in setSilenceMode() method
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothDevice.java | 2645 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/ |
D | A2dpService.java | 527 public boolean setSilenceMode(@NonNull BluetoothDevice device, boolean silence) { in setSilenceMode() method in A2dpService
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 1308 public boolean setSilenceMode(BluetoothDevice device, boolean silence) { in setSilenceMode() method in HeadsetService
|
/packages/modules/Bluetooth/framework/api/ |
D | system-current.txt | 219 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public boolean setSilenceMode(boolean);
|