Searched refs:btManager (Results 1 – 9 of 9) sorted by relevance
43 final BluetoothManager btManager = context.getSystemService(BluetoothManager.class); in closeBluetoothHeadsetProxy() local44 if (btManager != null) { in closeBluetoothHeadsetProxy()45 btManager.getAdapter().closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset); in closeBluetoothHeadsetProxy()
56 final BluetoothManager btManager = context.getSystemService(BluetoothManager.class); in closeBluetoothLeCallControlProxy() local57 if (btManager != null) { in closeBluetoothLeCallControlProxy()58 btManager in closeBluetoothLeCallControlProxy()
81 LocalBluetoothManager btManager = Utils.getLocalBtManager(mContext); in setUp() local82 when(btManager.getEventManager()).thenReturn(mBtEventManager); in setUp()83 when(btManager.getProfileManager()).thenReturn(mBtProfileManager); in setUp()
105 BluetoothManager btManager = (BluetoothManager) in resetNetwork() local107 if (btManager != null) { in resetNetwork()108 BluetoothAdapter btAdapter = btManager.getAdapter(); in resetNetwork()
381 final BluetoothManager btManager = getSystemService(BluetoothManager.class); in makeTetheringDependencies()382 if (btManager == null) { in makeTetheringDependencies()385 return btManager.getAdapter(); in makeTetheringDependencies()
193 (Consumer<BluetoothManager>) btManager -> { in resetBluetoothManager()194 BluetoothAdapter btAdapter = btManager.getAdapter(); in resetBluetoothManager()
164 LocalBluetoothManager btManager = Utils.getLocalBtManager(mContext); in setUp() local166 when(btManager.getEventManager()).thenReturn(mBtEventManager); in setUp()167 when(btManager.getProfileManager()).thenReturn(mBtProfileManager); in setUp()168 when(btManager.getCachedDeviceManager()).thenReturn(mCacheManager); in setUp()
145 (context, btManager) -> { in getLocalBtManager()
201 BluetoothManager btManager = mTargetContext.getSystemService(BluetoothManager.class); in setUp() local202 mTargetBluetoothAdapter = btManager.getAdapter(); in setUp()