Home
last modified time | relevance | path

Searched refs:advertise_callback (Results 1 – 14 of 14) sorted by relevance

/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dble_lib.py43 def _verify_ble_adv_started(self, advertise_callback): argument
46 adv_succ.format(advertise_callback),
47 adv_fail.format(advertise_callback))
53 if event[0]["name"] == adv_succ.format(advertise_callback):
68 advertise_callback, advertise_data, advertise_settings = (
72 advertise_callback, advertise_data, advertise_settings,
76 advertise_callback, advertise_data, advertise_settings)
77 if self._verify_ble_adv_started(advertise_callback):
79 "Tracking Callback ID: {}".format(advertise_callback))
80 self.advertisement_list.append(advertise_callback)
[all …]
Dbt_test_utils.py387 advertise_callback = android_device.droid.bleGenBleAdvertiseCallback()
388 advertise_callback_list.append(advertise_callback)
391 advertise_callback, advertise_data, advertise_settings)
394 advertise_callback) + "|" + adv_fail.format(
395 advertise_callback) + ")"
399 if evt[0]["name"] == adv_succ.format(advertise_callback):
558 advertise_callback = droid.bleGenBleAdvertiseCallback()
561 return advertise_callback, advertise_data, advertise_settings
724 advertise_callback, advertise_data, advertise_settings = (
726 adv_ad.droid.bleStartBleAdvertising(advertise_callback, advertise_data,
[all …]
/tools/test/connectivity/acts/tests/google/ble/filtering/
DUniqueFilteringTest.py118 advertise_callback, advertise_data, advertise_settings = (
121 advertise_callback, advertise_data, advertise_settings)
141 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
177 advertise_callback, advertise_data, advertise_settings = (
180 advertise_callback, advertise_data, advertise_settings)
201 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
232 advertise_callback, advertise_data, advertise_settings = (
235 advertise_callback, advertise_data, advertise_settings)
254 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
291 advertise_callback, advertise_data, advertise_settings = (
[all …]
DFilteringTest.py12029 advertise_callback, advertise_data, advertise_settings = (
12056 advertise_callback, advertise_data, advertise_settings)
12058 advertise_callback) + "|" + adv_fail.format(
12059 advertise_callback) + ")"
12067 if event[0]["name"] == adv_succ.format(advertise_callback):
12098 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
/tools/test/connectivity/acts/tests/google/ble/concurrency/
DConcurrentBleAdvertisingTest.py414 advertise_callback, advertise_data, advertise_settings = (
417 advertise_callback, advertise_data, advertise_settings)
420 adv_succ.format(advertise_callback), self.default_timeout)
430 advertise_callback, advertise_data, advertise_settings)
432 adv_succ.format(advertise_callback), self.default_timeout)
471 advertise_callback, advertise_data, advertise_settings = (
474 advertise_callback, advertise_data, advertise_settings)
477 adv_succ.format(advertise_callback), self.default_timeout)
516 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
546 advertise_callback, advertise_data, advertise_settings = (
[all …]
DConcurrentBleScanningTest.py91 advertise_callback, advertise_data, advertise_settings = (
95 advertise_callback, advertise_data, advertise_settings)
98 adv_succ.format(advertise_callback), self.default_timeout)
134 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
177 advertise_callback, advertise_data, advertise_settings = (
192 advertise_callback, advertise_data, advertise_settings)
195 adv_succ.format(advertise_callback), self.default_timeout)
219 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
308 advertise_callback, advertise_data, advertise_settings = (
323 advertise_callback, advertise_data, advertise_settings)
[all …]
DConcurrentGattConnectTest.py103 advertise_callback = ad.droid.bleGenBleAdvertiseCallback()
104 ad.droid.bleStartBleAdvertising(advertise_callback, advertise_data,
106 self.advertise_callbacks.append((ad, advertise_callback))
/tools/test/connectivity/acts/tests/google/ble/scan/
DBleScanScreenStateTest.py40 advertise_callback = -1 variable in BleScanScreenStateTest
59 self.advertise_callback, advertise_data, advertise_settings = (
62 self.advertise_callback, advertise_data, advertise_settings)
64 self.adv_ad.ed.pop_event(adv_succ.format(self.advertise_callback))
126 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
172 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
224 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
279 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
335 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
395 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
[all …]
DBleOnLostOnFoundTest.py69 advertise_callback = self.adv_ad.droid.bleGenBleAdvertiseCallback()
71 advertise_callback, advertise_data, advertise_settings)
73 adv_succ.format(advertise_callback), self.default_timeout)
74 self.active_adv_callback_list.append(advertise_callback)
75 return advertise_callback
/tools/test/connectivity/acts/tests/google/ble/system_tests/
DBleStressTest.py166 advertise_callback, advertise_data, advertise_settings = generate_ble_advertise_objects(
169 advertise_callback, advertise_data, advertise_settings)
172 str(advertise_callback), "onSuccess"])
189 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
219 advertise_callback, advertise_data, advertise_settings = generate_ble_advertise_objects(
222 advertise_callback, advertise_data, advertise_settings)
225 str(advertise_callback), "onSuccess"])
246 advertise_callback, advertise_data, advertise_settings)
/tools/test/connectivity/acts/tests/google/fuchsia/bt/
DBleFuchsiaAndroidTest.py59 advertise_callback = self.ad.droid.bleGenBleAdvertiseCallback()
61 advertise_callback, advertise_data, advertise_settings)
63 adv_succ.format(advertise_callback), self.default_timeout)
64 self.active_adv_callback_list.append(advertise_callback)
65 return advertise_callback
/tools/test/connectivity/acts/tests/google/ble/examples/
DBleExamplesTest.py139 advertise_callback = self.adv_droid.bleGenBleAdvertiseCallback()
141 advertise_callback, advertise_data, advertise_settings)
142 self.adv_ed.pop_event(adv_succ.format(advertise_callback))
/tools/test/connectivity/acts/tests/google/ble/beacon_tests/
DBeaconSwarmTest.py84 advertise_callback, advertise_data, advertise_settings = (
86 d.bleStartBleAdvertising(advertise_callback, advertise_data,
90 adv_succ.format(advertise_callback),
/tools/test/connectivity/acts/tests/google/ble/gatt/
DGattConnectTest.py1069 advertise_callback = self.per_ad.droid.bleGenBleAdvertiseCallback()
1073 advertise_callback, advertise_data, advertise_settings)
1108 self.per_ad.droid.bleStopBleAdvertising(advertise_callback)
1110 advertise_callback, advertise_data, advertise_settings)
1181 self.per_ad.droid.bleStopBleAdvertising(advertise_callback)