Home
last modified time | relevance | path

Searched refs:mBluetoothManager (Results 1 – 14 of 14) 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()
65 mBluetoothManager = localBluetoothManager; in BluetoothPreferenceController()
80 return mBluetoothManager; in getBluetoothManager()
98 mBluetoothManager.getEventManager().registerCallback(this); in onStartInternal()
104 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/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DSavedBluetoothDeviceUpdaterTest.java73 private LocalBluetoothManager mBluetoothManager; field in SavedBluetoothDeviceUpdaterTest
97 mBluetoothDeviceUpdater.mLocalManager = mBluetoothManager; in setUp()
169 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference()
187 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_findCachedBluetoothDeviceNotMatched_removePreference()
204 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_notFindCachedBluetoothDevice_doNothing()
219 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
242 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mDeviceManager); in forceUpdate_deviceNotContain_removePreference()
DBluetoothDetailsControllerTestBase.java51 protected BluetoothManager mBluetoothManager; field in BluetoothDetailsControllerTestBase
79 mBluetoothManager = new BluetoothManager(mContext); in setUp()
80 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
DBluetoothDetailsHeaderControllerTest.java58 private LocalBluetoothManager mBluetoothManager; field in BluetoothDetailsHeaderControllerTest
69 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setUp()
73 mBluetoothManager); 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()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingController.java56 private LocalBluetoothManager mBluetoothManager; field in BluetoothPairingController
76 mBluetoothManager = Utils.getLocalBtManager(context); in BluetoothPairingController()
80 if (mBluetoothManager == null) { in BluetoothPairingController()
90 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController()
91 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/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/accessibility/
DAccessibilityHearingAidPreferenceControllerTest.java73 private BluetoothManager mBluetoothManager; field in AccessibilityHearingAidPreferenceControllerTest
196 mBluetoothManager = new BluetoothManager(mContext); in setupBluetoothEnvironment()
197 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setupBluetoothEnvironment()
/packages/services/Car/service/src/com/android/car/
DFastPairGattServer.java97 private BluetoothManager mBluetoothManager; field in FastPairGattServer
277 mBluetoothManager = context.getSystemService(BluetoothManager.class); in FastPairGattServer()
279 mBluetoothGattServer = mBluetoothManager in FastPairGattServer()
282 Log.d(TAG, "mBTManager: " + mBluetoothManager.toString() + " GATT: " in FastPairGattServer()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DMediaOutputPreferenceControllerTest.java122 private BluetoothManager mBluetoothManager; field in MediaOutputPreferenceControllerTest
173 mBluetoothManager = new BluetoothManager(mContext); in setUp()
174 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
DAudioOutputSwitchPreferenceControllerTest.java109 private BluetoothManager mBluetoothManager; field in AudioOutputSwitchPreferenceControllerTest
140 mBluetoothManager = new BluetoothManager(mContext); in setUp()
141 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
DHandsFreeProfileOutputPreferenceControllerTest.java105 private BluetoothManager mBluetoothManager; field in HandsFreeProfileOutputPreferenceControllerTest
132 mBluetoothManager = new BluetoothManager(mContext); in setUp()
133 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()