Home
last modified time | relevance | path

Searched refs:adv_ad (Results 1 – 13 of 13) sorted by relevance

/tools/test/connectivity/acts/tests/google/ble/filtering/
DUniqueFilteringTest.py44 self.adv_ad = self.android_devices[1]
112 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
113 self.adv_ad.droid.bleSetAdvertiseSettingsAdvertiseMode(
119 generate_ble_advertise_objects(self.adv_ad.droid))
120 self.adv_ad.droid.bleStartBleAdvertising(
123 self.adv_ad.droid.bluetoothGetLocalName())
141 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
175 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
176 self.adv_ad.droid.bleSetAdvertiseDataIncludeTxPowerLevel(True)
178 generate_ble_advertise_objects(self.adv_ad.droid))
[all …]
DFilteringTest.py70 self.adv_ad = self.android_devices[1]
74 self.adv_ad.droid.getBuildModel()))
11958 self.adv_ad.droid.bleSetAdvertiseSettingsIsConnectable(
11963 self.adv_ad.droid.bleSetAdvertiseSettingsAdvertiseMode(
11968 self.adv_ad.droid.bleSetAdvertiseSettingsTxPowerLevel(
11976 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
11978 self.adv_ad.droid.bluetoothGetLocalName())
11986 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(False)
11991 self.adv_ad.droid.bleSetAdvertiseDataIncludeTxPowerLevel(True)
11994 self.adv_ad.droid.bleAddAdvertiseDataManufacturerId(
[all …]
/tools/test/connectivity/acts/tests/google/ble/bt5/
DBt5ScanTest.py66 self.adv_ad = self.android_devices[1]
72 if not self.adv_ad.droid.bluetoothIsLeExtendedAdvertisingSupported():
78 self.scn_ad, self.active_scan_callback_list, self.adv_ad, [])
117 d = self.adv_ad.droid
154 adv_callback = self.adv_ad.droid.bleAdvSetGenCallback()
155 self.adv_ad.droid.bleAdvSetStartAdvertisingSet({
169 adv_device_name = self.adv_ad.droid.bluetoothGetLocalName()
181 self.adv_ad.droid.bleAdvSetStopAdvertisingSet(adv_callback)
184 self.adv_ad.droid.bleAdvSetStopAdvertisingSet(adv_callback)
211 adv_callback = self.adv_ad.droid.bleAdvSetGenCallback()
[all …]
DAdvertisingSetTest.py67 self.adv_ad = self.android_devices[0]
69 if not self.adv_ad.droid.bluetoothIsLeExtendedAdvertisingSupported():
101 adv_callback = self.adv_ad.droid.bleAdvSetGenCallback()
104 self.adv_ad.droid.bleAdvSetStartAdvertisingSet({
113 set_started_evt = self.adv_ad.ed.pop_event(
121 self.adv_ad.droid.bleAdvSetEnableAdvertising(set_id, False, duration,
123 enable_evt = self.adv_ad.ed.pop_event(
132 self.adv_ad.droid.bleAdvSetEnableAdvertising(
134 enable_evt = self.adv_ad.ed.pop_event(
141 enable_evt = self.adv_ad.ed.pop_event(
[all …]
/tools/test/connectivity/acts/tests/google/ble/concurrency/
DConcurrentBleAdvertisingTest.py52 self.adv_ad = self.android_devices[1]
63 self.adv_ad, num_advertisements)
70 teardown_n_advertisements(self.adv_ad,
129 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
131 self.adv_ad.droid.bluetoothGetLocalName())
161 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(False)
163 self.adv_ad.droid.bluetoothGetLocalName())
194 self.adv_ad.droid.bleAddAdvertiseDataManufacturerId(1, [1])
225 self.adv_ad.droid.bleAddAdvertiseDataManufacturerId(1, [1])
259 self.adv_ad.droid.bleAddAdvertiseDataServiceData(
[all …]
DConcurrentBleScanningTest.py45 self.adv_ad = self.android_devices[1]
84 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
89 self.adv_ad.droid.bleSetAdvertiseSettingsAdvertiseMode(
92 generate_ble_advertise_objects(self.adv_ad.droid))
93 self.adv_ad.droid.bleSetAdvertiseSettingsIsConnectable(False)
94 self.adv_ad.droid.bleStartBleAdvertising(
97 self.adv_ad.ed.pop_event(
112 self.adv_ad.droid.bluetoothGetLocalName())
134 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
170 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
[all …]
DConcurrentBleAdvertisementDiscoveryTest.py53 self.adv_ad = self.android_devices[1]
63 self.adv_ad, self.max_advertisements)
71 teardown_n_advertisements(self.adv_ad,
/tools/test/connectivity/acts/tests/google/ble/system_tests/
DBleStressTest.py46 self.adv_ad = self.android_devices[1]
128 self.adv_ad.droid)
129 self.adv_ad.droid.bleStartBleAdvertising(adv_callback, adv_data,
168 self.adv_ad.droid)
169 self.adv_ad.droid.bleStartBleAdvertising(
174 worker = self.adv_ad.ed.handle_event(
190 self.adv_ad.droid.bleStopBleAdvertising(advertise_callback)
221 self.adv_ad.droid)
222 self.adv_ad.droid.bleStartBleAdvertising(
227 worker = self.adv_ad.ed.handle_event(
[all …]
/tools/test/connectivity/acts/tests/google/ble/scan/
DBleOnLostOnFoundTest.py45 self.adv_ad = self.android_devices[1]
48 utils.set_location_service(self.adv_ad, True)
53 self.scn_ad, self.active_adv_callback_list, self.adv_ad,
62 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
63 self.adv_ad.droid.bleSetAdvertiseSettingsAdvertiseMode(
65 advertise_data = self.adv_ad.droid.bleBuildAdvertiseData()
66 advertise_settings = self.adv_ad.droid.bleBuildAdvertiseSettings()
67 advertise_callback = self.adv_ad.droid.bleGenBleAdvertiseCallback()
68 self.adv_ad.droid.bleStartBleAdvertising(
70 self.adv_ad.ed.pop_event(
[all …]
DBleScanScreenStateTest.py48 self.adv_ad = self.android_devices[1]
51 utils.set_location_service(self.adv_ad, True)
55 self.adv_ad.droid.bleSetAdvertiseSettingsAdvertiseMode(
58 generate_ble_advertise_objects(self.adv_ad.droid))
59 self.adv_ad.droid.bleStartBleAdvertising(
62 self.adv_ad.ed.pop_event(adv_succ.format(self.advertise_callback))
124 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
170 self.adv_ad.droid.bleStopBleAdvertising(self.advertise_callback)
200 adv_device_name = self.adv_ad.droid.bluetoothGetLocalName()
202 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
[all …]
DBleBackgroundScanTest.py51 self.adv_ad = self.android_devices[1]
54 utils.set_location_service(self.adv_ad, True)
67 self.scn_ad, self.active_adv_callback_list, self.adv_ad,
73 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
75 self.adv_ad.droid)
76 self.adv_ad.droid.bleStartBleAdvertising(adv_callback, adv_data,
112 self.adv_ad.droid.bluetoothGetLocalName())
164 self.adv_ad.droid.bluetoothGetLocalName())
DBleOpportunisticScanTest.py51 self.adv_ad = self.android_devices[1]
54 utils.set_location_service(self.adv_ad, True)
59 self.scn_ad, self.active_scan_callback_list, self.adv_ad,
69 self.adv_ad.droid)
70 self.adv_ad.droid.bleStartBleAdvertising(adv_callback, adv_data,
668 self.adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
670 adv_device_name = self.adv_ad.droid.bluetoothGetLocalName()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_test_utils.py861 def get_mac_address_of_generic_advertisement(scan_ad, adv_ad): argument
873 adv_ad.droid.bleSetAdvertiseDataIncludeDeviceName(True)
874 adv_ad.droid.bleSetAdvertiseSettingsAdvertiseMode(
876 adv_ad.droid.bleSetAdvertiseSettingsIsConnectable(True)
877 adv_ad.droid.bleSetAdvertiseSettingsTxPowerLevel(
880 generate_ble_advertise_objects(adv_ad.droid))
881 adv_ad.droid.bleStartBleAdvertising(advertise_callback, advertise_data,
884 adv_ad.ed.pop_event(adv_succ.format(advertise_callback),
893 adv_ad.droid.bluetoothGetLocalName())
1513 def setup_n_advertisements(adv_ad, num_advertisements): argument
[all …]