Home
last modified time | relevance | path

Searched refs:mAdvertiser (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleAdvertiserService.java102 private BluetoothLeAdvertiser mAdvertiser; field in BleAdvertiserService
120 mAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser(); in onCreate()
154 if (mAdvertiser != null) { in onDestroy()
160 if (mAdvertiser == null) { in stopAdvertiser()
165 mAdvertiser.stopAdvertising(mCallback); in stopAdvertiser()
169 mAdvertiser.stopAdvertising(mPowerCallback.get(t)); in stopAdvertiser()
173 mAdvertiser.stopAdvertising(mScannableCallback); in stopAdvertiser()
176 mAdvertiser.stopAdvertising(mUnscannableCallback); in stopAdvertiser()
202 } else if (mAdvertiser == null) { in handleIntent()
219 mAdvertiser.startAdvertising(setting, data, response, mCallback); in handleIntent()
[all …]
DBleConnectionPriorityServerService.java93 private BluetoothLeAdvertiser mAdvertiser; field in BleConnectionPriorityServerService
103 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate()
106 if ((mGattServer != null) && (mAdvertiser != null)) { in onCreate()
116 } else if (mAdvertiser == null) { in onCreate()
406 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
413 if (mAdvertiser != null) { in stopAdvertise()
414 mAdvertiser.stopAdvertising(mAdvertiseCallback); in stopAdvertise()
DBleEncryptedServerService.java99 private BluetoothLeAdvertiser mAdvertiser; field in BleEncryptedServerService
111 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate()
114 if ((mGattServer != null) && (mAdvertiser != null)) { in onCreate()
123 } else if (mAdvertiser == null) { in onCreate()
469 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
476 if (mAdvertiser != null) { in stopAdvertise()
477 mAdvertiser.stopAdvertising(mAdvertiseCallback); in stopAdvertise()
DBleServerService.java219 private BluetoothLeAdvertiser mAdvertiser; field in BleServerService
245 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate()
259 } else if (mAdvertiser == null) { in onCreate()
311 if (mBluetoothManager.getAdapter().isEnabled() && (mAdvertiser != null)) { in onStartCommand()
1242 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
1249 if (mAdvertiser != null) { in stopAdvertise()
1250 mAdvertiser.stopAdvertising(mAdvertiseCallback); in stopAdvertise()