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 | 224 private SilenceDeviceManager mSilenceDeviceManager; field in AdapterService 478 mSilenceDeviceManager = new SilenceDeviceManager(this, new ServiceFactory(), in onCreate() 480 mSilenceDeviceManager.start(); in onCreate() 770 if (mSilenceDeviceManager != null) { in cleanup() 771 mSilenceDeviceManager.cleanup(); in cleanup() 1725 return service.mSilenceDeviceManager.getSilenceMode(device); in getSilenceMode() 1738 service.mSilenceDeviceManager.setSilenceMode(device, silence); in setSilenceMode() 2942 mSilenceDeviceManager.dump(fd, writer, args); in dump()
|