Home
last modified time | relevance | path

Searched refs:advertise_callback (Results 1 – 12 of 12) 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.py138 advertise_callback = adv_ad.droid.bleGenBleAdvertiseCallback()
139 advertise_callback_list.append(advertise_callback)
140 adv_ad.droid.bleStartBleAdvertising(advertise_callback, advertise_data,
144 adv_succ.format(advertise_callback), bt_default_timeout)
198 advertise_callback = droid.bleGenBleAdvertiseCallback()
201 return advertise_callback, advertise_data, advertise_settings
407 advertise_callback = android_device.droid.bleGenBleAdvertiseCallback()
408 advertise_callback_list.append(advertise_callback)
411 advertise_callback, advertise_data, advertise_settings)
414 advertise_callback) + "|" + adv_fail.format(
[all …]
/tools/test/connectivity/acts/tests/google/ble/filtering/
DUniqueFilteringTest.py117 advertise_callback, advertise_data, advertise_settings = (
120 advertise_callback, advertise_data, advertise_settings)
136 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
172 advertise_callback, advertise_data, advertise_settings = (
175 advertise_callback, advertise_data, advertise_settings)
193 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
223 advertise_callback, advertise_data, advertise_settings = (
226 advertise_callback, advertise_data, advertise_settings)
242 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
279 advertise_callback, advertise_data, advertise_settings = (
[all …]
/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)
514 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
544 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)
313 advertise_callback, advertise_data, advertise_settings = (
328 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.py41 advertise_callback = -1 variable in BleScanScreenStateTest
60 self.advertise_callback, advertise_data, advertise_settings = (
63 self.advertise_callback, advertise_data, advertise_settings)
65 self.adv_ad.ed.pop_event(adv_succ.format(self.advertise_callback))
127 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
173 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
225 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
280 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
336 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
396 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/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.py1056 advertise_callback = self.per_ad.droid.bleGenBleAdvertiseCallback()
1060 advertise_callback, advertise_data, advertise_settings)
1095 self.per_ad.droid.bleStopBleAdvertising(advertise_callback)
1097 advertise_callback, advertise_data, advertise_settings)