Home
last modified time | relevance | path

Searched refs:mSilenceDeviceManager (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java54 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/
DA2dpStateMachineTest.java72 @Mock private SilenceDeviceManager mSilenceDeviceManager; field in A2dpStateMachineTest
79 doReturn(mSilenceDeviceManager).when(mAdapterService).getSilenceDeviceManager(); in setUp()
DA2dpServiceTest.java92 @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/
DHeadsetServiceAndStateMachineTest.java101 @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()
DHeadsetServiceTest.java85 @Mock private SilenceDeviceManager mSilenceDeviceManager; field in HeadsetServiceTest
125 doReturn(mSilenceDeviceManager).when(mAdapterService).getSilenceDeviceManager(); in setUp()
DHeadsetStateMachineTest.java100 @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/
DAdapterService.java291 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()