Searched refs:mDeviceManager (Results 1 – 4 of 4) sorted by relevance
274 mDeviceManager.disconnectAudio(); in processMessage()387 mDeviceManager.disconnectAudio(); in processMessage()449 private BluetoothDeviceManager mDeviceManager; field in BluetoothRouteManager460 mDeviceManager = deviceManager; in BluetoothRouteManager()461 mDeviceManager.setBluetoothRouteManager(this); in BluetoothRouteManager()497 return mDeviceManager.getNumConnectedDevices() > 0; in isBluetoothAvailable()551 mDeviceManager.disconnectSco(); in disconnectSco()555 mDeviceManager.cacheHearingAidDevice(); in cacheHearingAidDevice()559 mDeviceManager.restoreHearingAidDevice(); in restoreHearingAidDevice()610 return mDeviceManager.getUniqueConnectedDevices(); in getConnectedDevices()[all …]
238 @Mock private BluetoothDeviceManager mDeviceManager; field in BluetoothRouteTransitionTests278 }).when(mDeviceManager).disconnectAudio(); in testTransitions()327 verify(mDeviceManager, never()).connectAudio(nullable(String.class)); in testTransitions()330 verify(mDeviceManager).connectAudio(mParams.expectedConnectionDevice.getAddress()); in testTransitions()331 verify(mDeviceManager, never()).disconnectAudio(); in testTransitions()334 verify(mDeviceManager, never()).connectAudio(nullable(String.class)); in testTransitions()335 verify(mDeviceManager).disconnectAudio(); in testTransitions()345 when(mDeviceManager.getNumConnectedDevices()).thenReturn(devices.length); in setupConnectedDevices()346 when(mDeviceManager.getConnectedDevices()).thenReturn(Arrays.asList(devices)); in setupConnectedDevices()361 when(mDeviceManager.getHeadsetService()).thenReturn(mHeadsetProxy); in setupStateMachine()[all …]
63 @Mock private BluetoothDeviceManager mDeviceManager; field in BluetoothRouteManagerTest167 new TelecomSystem.SyncRoot() { }, mDeviceManager, mTimeoutsAdapter); in setupStateMachine()181 when(mDeviceManager.getNumConnectedDevices()).thenReturn( in setupConnectedDevices()187 when(mDeviceManager.getConnectedDevices()).thenReturn(allDevices); in setupConnectedDevices()218 reset(mDeviceManager, mListener, mHeadsetProxy, mTimeoutsAdapter); in resetMocks()219 when(mDeviceManager.getHeadsetService()).thenReturn(mHeadsetProxy); in resetMocks()220 when(mDeviceManager.getHearingAidService()).thenReturn(mBluetoothHearingAid); in resetMocks()230 verify(mDeviceManager, times(numTimes)).connectAudio(device.getAddress()); in verifyConnectionAttempt()
46 private CachedBluetoothDeviceManager mDeviceManager; field in BluetoothDetailsHeaderController53 mDeviceManager = mLocalManager.getCachedDeviceManager(); in BluetoothDetailsHeaderController()80 mDeviceManager.getSubDeviceSummary(mCachedDevice)); in setHeaderProperties()