Searched refs:mSilenceDeviceManager (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | SilenceDeviceManagerTest.java | 54 private SilenceDeviceManager mSilenceDeviceManager; field in SilenceDeviceManagerTest 79 mSilenceDeviceManager = new SilenceDeviceManager(mAdapterService, mServiceFactory, mLooper); in setUp() 80 mSilenceDeviceManager.start(); in setUp() 85 mSilenceDeviceManager.cleanup(); in tearDown() 112 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, true)); in testSetGetDeviceSilenceConnectedCase() 121 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, enableSilence)); in testSetGetDeviceSilenceConnectedCase() 123 Assert.assertEquals(enableSilence, mSilenceDeviceManager.getSilenceMode(mTestDevice)); in testSetGetDeviceSilenceConnectedCase() 138 Assert.assertFalse(mSilenceDeviceManager.getSilenceMode(mTestDevice)); in testSetGetDeviceSilenceConnectedCase() 152 Assert.assertTrue(mSilenceDeviceManager.setSilenceMode(mTestDevice, enableSilence)); in testSetGetDeviceSilenceDisconnectedCase() 154 Assert.assertFalse(mSilenceDeviceManager.getSilenceMode(mTestDevice)); in testSetGetDeviceSilenceDisconnectedCase() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachineTest.java | 72 @Mock private SilenceDeviceManager mSilenceDeviceManager; field in A2dpStateMachineTest 79 doReturn(mSilenceDeviceManager).when(mAdapterService).getSilenceDeviceManager(); in setUp()
|
D | A2dpServiceTest.java | 92 @Mock private SilenceDeviceManager mSilenceDeviceManager; field in A2dpServiceTest 128 doReturn(mSilenceDeviceManager).when(mAdapterService).getSilenceDeviceManager(); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceAndStateMachineTest.java | 101 @Mock private SilenceDeviceManager mSilenceDeviceManager; field in HeadsetServiceAndStateMachineTest 150 doReturn(mSilenceDeviceManager).when(mAdapterService).getSilenceDeviceManager(); in setUp() 1846 verify(mSilenceDeviceManager) in connectTestDevice() 1871 verify(mSilenceDeviceManager) in connectTestDevice()
|
D | HeadsetServiceTest.java | 85 @Mock private SilenceDeviceManager mSilenceDeviceManager; field in HeadsetServiceTest 125 doReturn(mSilenceDeviceManager).when(mAdapterService).getSilenceDeviceManager(); in setUp()
|
D | HeadsetStateMachineTest.java | 100 @Mock private SilenceDeviceManager mSilenceDeviceManager; field in HeadsetStateMachineTest 128 doReturn(mSilenceDeviceManager).when(mAdapterService).getSilenceDeviceManager(); in setUp()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 291 private final SilenceDeviceManager mSilenceDeviceManager; field in AdapterService 371 mSilenceDeviceManager = new SilenceDeviceManager(this, new ServiceFactory(), mLooper); in AdapterService() 746 mSilenceDeviceManager.start(); in init() 824 return mSilenceDeviceManager; in getSilenceDeviceManager() 1470 mSilenceDeviceManager.cleanup(); in cleanup() 3247 return service.mSilenceDeviceManager.getSilenceMode(device); in getSilenceMode() 3262 service.mSilenceDeviceManager.setSilenceMode(device, silence); in setSilenceMode() 6038 mSilenceDeviceManager.profileActiveDeviceChanged(profile, device); in handleActiveDeviceChange() 6330 mSilenceDeviceManager.dump(fd, writer, args); in dump()
|