Home
last modified time | relevance | path

Searched refs:btManager (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DBluetoothHeadsetProxy.java43 final BluetoothManager btManager = context.getSystemService(BluetoothManager.class); in closeBluetoothHeadsetProxy() local
44 if (btManager != null) { in closeBluetoothHeadsetProxy()
45 btManager.getAdapter().closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset); in closeBluetoothHeadsetProxy()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DBluetoothLeCallControlProxy.java56 final BluetoothManager btManager = context.getSystemService(BluetoothManager.class); in closeBluetoothLeCallControlProxy() local
57 if (btManager != null) { in closeBluetoothLeCallControlProxy()
58 btManager in closeBluetoothLeCallControlProxy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsQrCodeFragmentTest.java81 LocalBluetoothManager btManager = Utils.getLocalBtManager(mContext); in setUp() local
82 when(btManager.getEventManager()).thenReturn(mBtEventManager); in setUp()
83 when(btManager.getProfileManager()).thenReturn(mBtProfileManager); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkConfirmFragment.java105 BluetoothManager btManager = (BluetoothManager) in resetNetwork() local
107 if (btManager != null) { in resetNetwork()
108 BluetoothAdapter btAdapter = btManager.getAdapter(); in resetNetwork()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java381 final BluetoothManager btManager = getSystemService(BluetoothManager.class); in makeTetheringDependencies()
382 if (btManager == null) { in makeTetheringDependencies()
385 return btManager.getAdapter(); in makeTetheringDependencies()
/packages/apps/Settings/src/com/android/settings/network/
DResetNetworkOperationBuilder.java193 (Consumer<BluetoothManager>) btManager -> { in resetBluetoothManager()
194 BluetoothAdapter btAdapter = btManager.getAdapter(); in resetBluetoothManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingCallAudioPreferenceControllerTest.java164 LocalBluetoothManager btManager = Utils.getLocalBtManager(mContext); in setUp() local
166 when(btManager.getEventManager()).thenReturn(mBtEventManager); in setUp()
167 when(btManager.getProfileManager()).thenReturn(mBtProfileManager); in setUp()
168 when(btManager.getCachedDeviceManager()).thenReturn(mCacheManager); in setUp()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothUpdateWorker.java145 (context, btManager) -> { in getLocalBtManager()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DFastPairGattServerTest.java201 BluetoothManager btManager = mTargetContext.getSystemService(BluetoothManager.class); in setUp() local
202 mTargetBluetoothAdapter = btManager.getAdapter(); in setUp()