Home
last modified time | relevance | path

Searched refs:mBluetoothManager (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPreferenceController.java50 private final LocalBluetoothManager mBluetoothManager; field in BluetoothPreferenceController
56 mBluetoothManager = BluetoothUtils.getLocalBtManager(context); in BluetoothPreferenceController()
70 return mBluetoothManager; in getBluetoothManager()
88 mBluetoothManager.getEventManager().registerCallback(this); in onStartInternal()
94 mBluetoothManager.getEventManager().unregisterCallback(this); in onStopInternal()
DBluetoothPairingController.java55 private LocalBluetoothManager mBluetoothManager; field in BluetoothPairingController
72 mBluetoothManager = BluetoothUtils.getLocalBtManager(context); in BluetoothPairingController()
76 if (mBluetoothManager == null) { in BluetoothPairingController()
84 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController()
85 mPbapClientProfile = mBluetoothManager.getProfileManager().getPbapClientProfile(); in BluetoothPairingController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingController.java56 private LocalBluetoothManager mBluetoothManager; field in BluetoothPairingController
75 mBluetoothManager = Utils.getLocalBtManager(context); in BluetoothPairingController()
79 if (mBluetoothManager == null) { in BluetoothPairingController()
87 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController()
88 mPbapClientProfile = mBluetoothManager.getProfileManager().getPbapClientProfile(); in BluetoothPairingController()
DBluetoothSummaryUpdater.java42 private final LocalBluetoothManager mBluetoothManager; field in BluetoothSummaryUpdater
47 mBluetoothManager = bluetoothManager; in BluetoothSummaryUpdater()
68 mBluetoothManager.getEventManager().registerCallback(this); in register()
70 mBluetoothManager.getEventManager().unregisterCallback(this); in register()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingController.java56 private LocalBluetoothManager mBluetoothManager; field in BluetoothPairingController
75 mBluetoothManager = Utils.getLocalBtManager(context); in BluetoothPairingController()
79 if (mBluetoothManager == null) { in BluetoothPairingController()
87 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController()
88 mPbapClientProfile = mBluetoothManager.getProfileManager().getPbapClientProfile(); in BluetoothPairingController()
DBluetoothSummaryUpdater.java42 private final LocalBluetoothManager mBluetoothManager; field in BluetoothSummaryUpdater
47 mBluetoothManager = bluetoothManager; in BluetoothSummaryUpdater()
68 mBluetoothManager.getEventManager().registerCallback(this); in register()
70 mBluetoothManager.getEventManager().unregisterCallback(this); in register()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsControllerTestBase.java51 protected BluetoothManager mBluetoothManager; field in BluetoothDetailsControllerTestBase
79 mBluetoothManager = new BluetoothManager(mContext); in setUp()
80 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
DBluetoothSummaryUpdaterTest.java60 private LocalBluetoothManager mBluetoothManager; field in BluetoothSummaryUpdaterTest
83 mSummaryUpdater = new BluetoothSummaryUpdater(mContext, mListener, mBluetoothManager); in setUp()
101 verify(mBluetoothManager.getEventManager()).registerCallback(mSummaryUpdater); in register_true_shouldRegisterListener()
108 verify(mBluetoothManager.getEventManager()).unregisterCallback(mSummaryUpdater); in register_false_shouldUnregisterListener()
DBluetoothDetailsHeaderControllerTest.java58 private LocalBluetoothManager mBluetoothManager; field in BluetoothDetailsHeaderControllerTest
69 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setUp()
73 mBluetoothManager); in setUp()
/packages/services/Car/service/src/com/android/car/trust/
DBleManager.java73 private BluetoothManager mBluetoothManager; field in BleManager
112 mBluetoothManager = (BluetoothManager) mContext.getSystemService( in startAdvertising()
134 mGattServer = mBluetoothManager.openGattServer(mContext, mGattServerCallback); in openGattServer()
214 for (BluetoothDevice d : mBluetoothManager.getConnectedDevices(GATT_SERVER)) { in cleanup()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattServer.java48 private BluetoothManager mBluetoothManager; field in GattServer
82 mBluetoothManager = (BluetoothManager) context.getSystemService( in GattServer()
114 mGattServer = mBluetoothManager.openGattServer(mContext, mGattServerCallBack); in startGattServer()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputIndicatorSliceTest.java79 private BluetoothManager mBluetoothManager; field in MediaOutputIndicatorSliceTest
96 mBluetoothManager = new BluetoothManager(mContext); in setUp()
97 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceControllerTest.java73 private BluetoothManager mBluetoothManager; field in AccessibilityHearingAidPreferenceControllerTest
196 mBluetoothManager = new BluetoothManager(mContext); in setupBluetoothEnvironment()
197 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setupBluetoothEnvironment()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DMediaOutputPreferenceControllerTest.java104 private BluetoothManager mBluetoothManager; field in MediaOutputPreferenceControllerTest
131 mBluetoothManager = new BluetoothManager(mContext); in setUp()
132 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
DAudioOutputSwitchPreferenceControllerTest.java112 private BluetoothManager mBluetoothManager; field in AudioOutputSwitchPreferenceControllerTest
143 mBluetoothManager = new BluetoothManager(mContext); in setUp()
144 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
DHandsFreeProfileOutputPreferenceControllerTest.java104 private BluetoothManager mBluetoothManager; field in HandsFreeProfileOutputPreferenceControllerTest
131 mBluetoothManager = new BluetoothManager(mContext); in setUp()
132 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()