Home
last modified time | relevance | path

Searched refs:mAdvertiser (Results 1 – 5 of 5) 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.java66 private BluetoothLeAdvertiser mAdvertiser; field in BleConnectionPriorityServerService
78 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate()
87 } else if (mAdvertiser == null) { in onCreate()
252 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
259 if (mAdvertiser != null) { in stopAdvertise()
260 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()
DBleCocServerService.java169 private BluetoothLeAdvertiser mAdvertiser; field in BleCocServerService
209 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate()
221 } else if (mAdvertiser == null) { in onCreate()
266 if (mBluetoothManager.getAdapter().isEnabled() && (mAdvertiser != null)) { in startServerTest()
703 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
710 if (mAdvertiser != null) { in stopAdvertise()
711 mAdvertiser.stopAdvertising(mAdvertiseCallback); in stopAdvertise()
DBleServerService.java229 private BluetoothLeAdvertiser mAdvertiser; field in BleServerService
256 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate()
271 } else if (mAdvertiser == null) { in onCreate()
323 if (mBluetoothManager.getAdapter().isEnabled() && (mAdvertiser != null)) { in onStartCommand()
1293 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
1300 if (mAdvertiser != null) { in stopAdvertise()
1301 mAdvertiser.stopAdvertising(mAdvertiseCallback); in stopAdvertise()