Home
last modified time | relevance | path

Searched refs:mAdvertiser (Results 1 – 7 of 7) 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()
DBleAdvertisingSetTestActivity.java85 private BluetoothLeAdvertiser mAdvertiser; field in BleAdvertisingSetTestActivity
123 mAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser(); in onCreate()
166 mAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser(); in onCreate()
171 mAdvertiser.startAdvertisingSet(ADVERTISING_SET_PARAMETERS, in startAdvertisingSet()
310 mAdvertiser.stopAdvertisingSet(mCallback); in stopAdvertisingSet()
DBleServerService.java229 private BluetoothLeAdvertiser mAdvertiser; field in BleServerService
256 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate()
271 } else if (mAdvertiser == null) { in onCreate()
320 if (mBluetoothManager.getAdapter().isEnabled() && (mAdvertiser != null)) { in onStartCommand()
1321 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
1328 if (mAdvertiser != null) { in stopAdvertise()
1329 mAdvertiser.stopAdvertising(mAdvertiseCallback); in stopAdvertise()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeAdvertiserTest.java74 private BluetoothLeAdvertiser mAdvertiser; field in BluetoothLeAdvertiserTest
90 mAdvertiser = mAdapter.getBluetoothLeAdvertiser(); in setUp()
96 if (mAdvertiser != null) { in tearDown()
97 mAdvertiser.stopAdvertisingSet(mCallback); in tearDown()
100 mAdvertiser = null; in tearDown()
112 mAdvertiser.startAdvertisingSet(ADVERTISING_SET_PARAMETERS, null, null, null, null, in startAdvertisingSetWithCallbackAndHandler()
122 mAdvertiser.startAdvertisingSet(ADVERTISING_SET_PARAMETERS, null, null, null, null, in startAdvertisingSetWithDurationAndCallback()
133 mAdvertiser.startAdvertisingSet(ADVERTISING_SET_PARAMETERS, null, null, null, null, in startAdvertisingSetWithDurationCallbackAndHandler()
148 … () -> mAdvertiser.startAdvertisingSet(ADVERTISING_SET_USING_NRPA_PARAMETERS, null, null, in startAdvertisingSetWithDurationCallbackGattServerAndHandler()
154 mAdvertiser.startAdvertisingSet(ADVERTISING_SET_USING_NRPA_PARAMETERS, null, null, in startAdvertisingSetWithDurationCallbackGattServerAndHandler()
[all …]