Searched refs:mSilenceDeviceManager (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | SilenceDeviceManagerTest.java | 55 private SilenceDeviceManager mSilenceDeviceManager; field in SilenceDeviceManagerTest 83 mSilenceDeviceManager = new SilenceDeviceManager(mAdapterService, mServiceFactory, in setUp() 85 mSilenceDeviceManager.start(); in setUp() 90 mSilenceDeviceManager.cleanup(); in tearDown() 117 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, true)); in testSetGetDeviceSilenceConnectedCase() 125 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, enableSilence)); in testSetGetDeviceSilenceConnectedCase() 127 Assert.assertEquals(enableSilence, mSilenceDeviceManager.getSilenceMode(mTestDevice)); in testSetGetDeviceSilenceConnectedCase() 141 Assert.assertFalse(mSilenceDeviceManager.getSilenceMode(mTestDevice)); in testSetGetDeviceSilenceConnectedCase() 154 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, enableSilence)); in testSetGetDeviceSilenceDisconnectedCase() 156 Assert.assertFalse(mSilenceDeviceManager.getSilenceMode(mTestDevice)); in testSetGetDeviceSilenceDisconnectedCase() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 198 private SilenceDeviceManager mSilenceDeviceManager; field in AdapterService 431 mSilenceDeviceManager = new SilenceDeviceManager(this, new ServiceFactory(), in onCreate() 433 mSilenceDeviceManager.start(); in onCreate() 728 if (mSilenceDeviceManager != null) { in cleanup() 729 mSilenceDeviceManager.cleanup(); in cleanup() 2306 mSilenceDeviceManager.setSilenceMode(device, silence); in setSilenceMode() 2313 return mSilenceDeviceManager.getSilenceMode(device); in getSilenceMode() 2809 mSilenceDeviceManager.dump(fd, writer, args); in dump()
|