OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mBluetoothManager
(Results
1 - 25
of
39
) sorted by null
1
2
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothSummaryUpdater.java
42
private final LocalBluetoothManager
mBluetoothManager
;
48
mBluetoothManager
= bluetoothManager;
49
mBluetoothAdapter =
mBluetoothManager
!= null
50
?
mBluetoothManager
.getBluetoothAdapter() : null;
94
mBluetoothManager
.getEventManager().registerCallback(this);
96
mBluetoothManager
.getEventManager().unregisterCallback(this);
BluetoothSwitchPreferenceController.java
48
private LocalBluetoothManager
mBluetoothManager
;
66
mBluetoothManager
= bluetoothManager;
75
if (
mBluetoothManager
!= null) {
76
mBluetoothAdapter =
mBluetoothManager
.getBluetoothAdapter();
80
FeatureFactory.getFactory(context).getMetricsFeatureProvider(),
mBluetoothManager
,
BluetoothPairingController.java
52
private LocalBluetoothManager
mBluetoothManager
;
70
mBluetoothManager
= Utils.getLocalBtManager(context);
74
if (
mBluetoothManager
== null) {
82
mDeviceName =
mBluetoothManager
.getCachedDeviceManager().getName(mDevice);
83
mPbapClientProfile =
mBluetoothManager
.getProfileManager().getPbapClientProfile();
/frameworks/base/core/java/android/bluetooth/le/
PeriodicAdvertisingManager.java
55
private final IBluetoothManager
mBluetoothManager
;
69
mBluetoothManager
= bluetoothManager;
142
gatt =
mBluetoothManager
.getBluetoothGatt();
180
gatt =
mBluetoothManager
.getBluetoothGatt();
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DeviceNamePreferenceController.java
57
private LocalBluetoothManager
mBluetoothManager
;
121
mBluetoothManager
= localBluetoothManager;
152
if (
mBluetoothManager
== null) {
156
final LocalBluetoothAdapter localBluetoothAdapter =
mBluetoothManager
.getBluetoothAdapter();
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DeviceNamePreferenceControllerTest.java
55
private LocalBluetoothManager
mBluetoothManager
;
72
when(
mBluetoothManager
.getBluetoothAdapter()).thenReturn(mBluetoothAdapter);
79
mController.setLocalBluetoothManager(
mBluetoothManager
);
92
mController.setLocalBluetoothManager(
mBluetoothManager
);
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
BluetoothLeService.java
45
private BluetoothManager
mBluetoothManager
;
185
if (
mBluetoothManager
== null) {
186
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
187
if (
mBluetoothManager
== null) {
193
mBluetoothAdapter =
mBluetoothManager
.getAdapter();
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
BluetoothLeService.java
45
private BluetoothManager
mBluetoothManager
;
185
if (
mBluetoothManager
== null) {
186
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
187
if (
mBluetoothManager
== null) {
193
mBluetoothAdapter =
mBluetoothManager
.getAdapter();
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
BluetoothLeService.java
45
private BluetoothManager
mBluetoothManager
;
185
if (
mBluetoothManager
== null) {
186
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
187
if (
mBluetoothManager
== null) {
193
mBluetoothAdapter =
mBluetoothManager
.getAdapter();
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
BluetoothPairingController.java
55
private LocalBluetoothManager
mBluetoothManager
;
72
mBluetoothManager
= BluetoothUtils.getLocalBtManager(context);
76
if (
mBluetoothManager
== null) {
84
mDeviceName =
mBluetoothManager
.getCachedDeviceManager().getName(mDevice);
85
mPbapClientProfile =
mBluetoothManager
.getProfileManager().getPbapClientProfile();
/developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserService.java
97
BluetoothManager
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
98
if (
mBluetoothManager
!= null) {
99
BluetoothAdapter mBluetoothAdapter =
mBluetoothManager
.getAdapter();
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserService.java
97
BluetoothManager
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
98
if (
mBluetoothManager
!= null) {
99
BluetoothAdapter mBluetoothAdapter =
mBluetoothManager
.getAdapter();
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
AdvertiserService.java
92
BluetoothManager
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
93
if (
mBluetoothManager
!= null) {
94
BluetoothAdapter mBluetoothAdapter =
mBluetoothManager
.getAdapter();
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
BluetoothDetailsControllerTestBase.java
50
protected BluetoothManager
mBluetoothManager
;
78
mBluetoothManager
= new BluetoothManager(mContext);
79
mBluetoothAdapter =
mBluetoothManager
.getAdapter();
BluetoothDetailsHeaderControllerTest.java
57
private LocalBluetoothManager
mBluetoothManager
;
66
when(
mBluetoothManager
.getCachedDeviceManager()).thenReturn(mCachedDeviceManager);
70
mBluetoothManager
);
BluetoothSwitchPreferenceControllerTest.java
50
private LocalBluetoothManager
mBluetoothManager
;
68
new BluetoothSwitchPreferenceController(mContext,
mBluetoothManager
, mRestrictionUtils,
BluetoothSummaryUpdaterTest.java
57
private LocalBluetoothManager
mBluetoothManager
;
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);
/packages/apps/Settings/tests/unit/src/com/android/settings/bluetooth/
BluetoothDeviceDetailsRotationTest.java
55
private LocalBluetoothManager
mBluetoothManager
;
79
return
mBluetoothManager
;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleAdvertiserService.java
100
private BluetoothManager
mBluetoothManager
;
118
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
119
mBluetoothAdapter =
mBluetoothManager
.getAdapter();
121
mGattServer =
mBluetoothManager
.openGattServer(getApplicationContext(),
BleConnectionPriorityServerService.java
88
private BluetoothManager
mBluetoothManager
;
102
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
103
mAdvertiser =
mBluetoothManager
.getAdapter().getBluetoothLeAdvertiser();
104
mGattServer =
mBluetoothManager
.openGattServer(this, mCallbacks);
112
if (!
mBluetoothManager
.getAdapter().isEnabled()) {
BleScannerService.java
78
private BluetoothManager
mBluetoothManager
;
93
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
94
mAdapter =
mBluetoothManager
.getAdapter();
BleEncryptedServerService.java
95
private BluetoothManager
mBluetoothManager
;
110
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
111
mAdvertiser =
mBluetoothManager
.getAdapter().getBluetoothLeAdvertiser();
112
mGattServer =
mBluetoothManager
.openGattServer(this, mCallbacks);
119
if (!
mBluetoothManager
.getAdapter().isEnabled()) {
/packages/services/Car/TrustAgent/src/com/android/car/trust/
SimpleBleServer.java
112
private BluetoothManager
mBluetoothManager
;
132
mBluetoothManager
= (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
133
mGattServer =
mBluetoothManager
.openGattServer(this, mGattServerCallback);
199
for (BluetoothDevice d :
mBluetoothManager
.getConnectedDevices(GATT_SERVER)) {
CarBleTrustAgent.java
56
private BluetoothManager
mBluetoothManager
;
144
mBluetoothManager
= (BluetoothManager) getSystemService(BLUETOOTH_SERVICE);
199
BluetoothGattServer gattServer =
mBluetoothManager
.openGattServer(
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
GattServer.java
48
private BluetoothManager
mBluetoothManager
;
82
mBluetoothManager
= (BluetoothManager) context.getSystemService(
114
mGattServer =
mBluetoothManager
.openGattServer(mContext, mGattServerCallBack);
Completed in 1417 milliseconds
1
2