Searched refs:mBluetoothManager (Results 1 - 18 of 18) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothSummaryUpdater.java42 private final LocalBluetoothManager mBluetoothManager; field in class:BluetoothSummaryUpdater
48 mBluetoothManager = bluetoothManager;
49 mBluetoothAdapter = mBluetoothManager != null
50 ? mBluetoothManager.getBluetoothAdapter() : null;
94 mBluetoothManager.getEventManager().registerCallback(this);
96 mBluetoothManager.getEventManager().unregisterCallback(this);
H A DBluetoothSwitchPreferenceController.java48 private LocalBluetoothManager mBluetoothManager; field in class:BluetoothSwitchPreferenceController
66 mBluetoothManager = bluetoothManager;
75 if (mBluetoothManager != null) {
76 mBluetoothAdapter = mBluetoothManager.getBluetoothAdapter();
80 FeatureFactory.getFactory(context).getMetricsFeatureProvider(), mBluetoothManager,
H A DBluetoothPairingController.java52 private LocalBluetoothManager mBluetoothManager; field in class:BluetoothPairingController
70 mBluetoothManager = Utils.getLocalBtManager(context);
74 if (mBluetoothManager == null) {
82 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice);
83 mPbapClientProfile = mBluetoothManager.getProfileManager().getPbapClientProfile();
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DDeviceNamePreferenceController.java57 private LocalBluetoothManager mBluetoothManager; field in class:DeviceNamePreferenceController
121 mBluetoothManager = localBluetoothManager;
152 if (mBluetoothManager == null) {
156 final LocalBluetoothAdapter localBluetoothAdapter = mBluetoothManager.getBluetoothAdapter();
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
H A DDeviceNamePreferenceControllerTest.java55 private LocalBluetoothManager mBluetoothManager; field in class:DeviceNamePreferenceControllerTest
72 when(mBluetoothManager.getBluetoothAdapter()).thenReturn(mBluetoothAdapter);
79 mController.setLocalBluetoothManager(mBluetoothManager);
92 mController.setLocalBluetoothManager(mBluetoothManager);
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothPairingController.java55 private LocalBluetoothManager mBluetoothManager; field in class:BluetoothPairingController
72 mBluetoothManager = BluetoothUtils.getLocalBtManager(context);
76 if (mBluetoothManager == null) {
84 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice);
85 mPbapClientProfile = mBluetoothManager.getProfileManager().getPbapClientProfile();
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothDetailsControllerTestBase.java50 protected BluetoothManager mBluetoothManager; field in class:BluetoothDetailsControllerTestBase
78 mBluetoothManager = new BluetoothManager(mContext);
79 mBluetoothAdapter = mBluetoothManager.getAdapter();
H A DBluetoothDetailsHeaderControllerTest.java57 private LocalBluetoothManager mBluetoothManager; field in class:BluetoothDetailsHeaderControllerTest
66 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager);
70 mBluetoothManager);
H A DBluetoothSwitchPreferenceControllerTest.java50 private LocalBluetoothManager mBluetoothManager; field in class:BluetoothSwitchPreferenceControllerTest
68 new BluetoothSwitchPreferenceController(mContext, mBluetoothManager, mRestrictionUtils,
H A DBluetoothSummaryUpdaterTest.java57 private LocalBluetoothManager mBluetoothManager; field in class:BluetoothSummaryUpdaterTest
82 when(mBluetoothManager.getBluetoothAdapter()).thenReturn(mBtAdapter);
85 mSummaryUpdater = new BluetoothSummaryUpdater(mContext, mListener, mBluetoothManager);
99 verify(mBluetoothManager.getEventManager()).registerCallback(mSummaryUpdater);
106 verify(mBluetoothManager.getEventManager()).unregisterCallback(mSummaryUpdater);
H A DBluetoothEnablerTest.java79 private LocalBluetoothManager mBluetoothManager; field in class:BluetoothEnablerTest
93 when(mBluetoothManager.getBluetoothAdapter()).thenReturn(mBluetoothAdapter);
101 mBluetoothManager,
/packages/apps/Settings/tests/unit/src/com/android/settings/bluetooth/
H A DBluetoothDeviceDetailsRotationTest.java55 private LocalBluetoothManager mBluetoothManager; field in class:BluetoothDeviceDetailsRotationTest
79 return mBluetoothManager;
/packages/services/Car/TrustAgent/src/com/android/car/trust/
H A DSimpleBleServer.java112 private BluetoothManager mBluetoothManager; field in class:SimpleBleServer
132 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
133 mGattServer = mBluetoothManager.openGattServer(this, mGattServerCallback);
199 for (BluetoothDevice d : mBluetoothManager.getConnectedDevices(GATT_SERVER)) {
H A DCarBleTrustAgent.java56 private BluetoothManager mBluetoothManager; field in class:CarBleTrustAgent
144 mBluetoothManager = (BluetoothManager) getSystemService(BLUETOOTH_SERVICE);
199 BluetoothGattServer gattServer = mBluetoothManager.openGattServer(
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
H A DGattServer.java48 private BluetoothManager mBluetoothManager; field in class:GattServer
82 mBluetoothManager = (BluetoothManager) context.getSystemService(
114 mGattServer = mBluetoothManager.openGattServer(mContext, mGattServerCallBack);
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
H A DAudioOutputSwitchPreferenceControllerTest.java118 private BluetoothManager mBluetoothManager; field in class:AudioOutputSwitchPreferenceControllerTest
149 mBluetoothManager = new BluetoothManager(mContext);
150 mBluetoothAdapter = mBluetoothManager.getAdapter();
H A DHandsFreeProfileOutputPreferenceControllerTest.java103 private BluetoothManager mBluetoothManager; field in class:HandsFreeProfileOutputPreferenceControllerTest
130 mBluetoothManager = new BluetoothManager(mContext);
131 mBluetoothAdapter = mBluetoothManager.getAdapter();
H A DMediaOutputPreferenceControllerTest.java105 private BluetoothManager mBluetoothManager; field in class:MediaOutputPreferenceControllerTest
132 mBluetoothManager = new BluetoothManager(mContext);
133 mBluetoothAdapter = mBluetoothManager.getAdapter();

Completed in 298 milliseconds