Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 117) sorted by relevance

12345

/tools/test/connectivity/acts/framework/acts/
Drecords.py121 d = collections.OrderedDict()
122 d[TestResultEnums.RECORD_NAME] = self.test_name
123 d[TestResultEnums.RECORD_CLASS] = self.test_class
124 d[TestResultEnums.RECORD_BEGIN_TIME] = self.begin_time
125 d[TestResultEnums.RECORD_END_TIME] = self.end_time
126 d[TestResultEnums.RECORD_LOG_BEGIN_TIME] = self.log_begin_time
127 d[TestResultEnums.RECORD_LOG_END_TIME] = self.log_end_time
128 d[TestResultEnums.RECORD_RESULT] = self.result
129 d[TestResultEnums.RECORD_UID] = self.uid
130 d[TestResultEnums.RECORD_EXTRAS] = self.extras
[all …]
Dutils.py162 d = datetime.datetime.fromtimestamp(epoch_time / 1000)
163 return d.strftime("%m-%d-%Y %H:%M:%S ")
299 return {d[dict_key]: d for d in list_of_dicts}
1850 d for d in devices
1851 if hasattr(d, 'device_type') and d.device_type == device_type
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/
Dbt_test_utils.py117 d = device_list[device]
118 if d['bonded'] or d['connected']:
119 log.info("Unbonding device: {}".format(d))
120 log.info(fd.bts_lib.forgetDevice(d['id'])['result'])
142 d = device_list[device]
143 name = d['name']
145 print(d)
146 if state == "CONNECTED" and d['connected']:
147 log.info("Found connected device {}".format(d))
150 if state == "BONDED" and d['bonded']:
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py46 d = {}
47 d[records.TestResultEnums.RECORD_NAME] = self.tn
48 d[records.TestResultEnums.RECORD_RESULT] = result
49 d[records.TestResultEnums.RECORD_DETAILS] = details
50 d[records.TestResultEnums.RECORD_EXTRAS] = extras
51 d[records.TestResultEnums.RECORD_BEGIN_TIME] = record.begin_time
52 d[records.TestResultEnums.RECORD_END_TIME] = record.end_time
53 d[records.TestResultEnums.
55 d[records.TestResultEnums.RECORD_LOG_END_TIME] = record.log_end_time
56 d[records.TestResultEnums.RECORD_UID] = None
[all …]
/tools/test/openhst/resources/
Ddevice_config.common.ascii_proto7 regex: "^(\\d+-\\d+ \\d+:\\d+:\\d+.\\d+)"
8 date_format: "%m-%d %H:%M:%S.%f"
18 regex: "^\\d+,\\d+,(\\d+)"
56 regex: "STRESS_TEST: Iteration \d+ complete"
/tools/test/connectivity/acts_tests/tests/google/ble/beacon_tests/
DBeaconSwarmTest.py68 d, e = ad.droid, ad.ed
77 d.bleSetAdvertiseDataIncludeDeviceName(True)
78 d.bleSetAdvertiseSettingsAdvertiseMode(
82 generate_ble_advertise_objects(d))
83 d.bleStartBleAdvertising(advertise_callback, advertise_data,
90 local_bt_name = d.bluetoothGetLocalName()
93 d.bluetoothGetLocalName())
116 d, e = a.droid, a.ed
121 args=(d, e, beacon_count))
145 d, e = a.droid, a.ed
[all …]
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationTest.java124 Log.d(INFO,"Generating key pair..."); in testEcAttestation()
126 Log.d("****", "Start Time is: " + startTime.toString()); in testEcAttestation()
140 Log.d(INFO, "Key pair generated\n\n"); in testEcAttestation()
143 Log.d(INFO, "Retrieved certificate chain of length " + certificates.length + "\n"); in testEcAttestation()
200 Log.d(FINISHED, "Signing completed"); in testEcAttestation()
243 Log.d(INFO, "Key usage:"); in printKeyUsage()
245 Log.d(INFO, " NONE\n"); in printKeyUsage()
249 Log.d(INFO, " sign"); in printKeyUsage()
252 Log.d(INFO, " encrypt_data"); in printKeyUsage()
255 Log.d(INFO, " encrypt_keys"); in printKeyUsage()
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/
DBt5ScanTest.py106 d = self.scn_ad.droid
107 sup2M = d.bluetoothIsLe2MPhySupported()
108 supCoded = d.bluetoothIsLeCodedPhySupported()
109 supExt = d.bluetoothIsLeExtendedAdvertisingSupported()
110 supPeriodic = d.bluetoothIsLePeriodicAdvertisingSupported()
111 maxDataLen = d.bluetoothGetLeMaximumAdvertisingDataLength()
117 d = self.adv_ad.droid
118 sup2M = d.bluetoothIsLe2MPhySupported()
119 supCoded = d.bluetoothIsLeCodedPhySupported()
120 supExt = d.bluetoothIsLeExtendedAdvertisingSupported()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Droute.py115 d = match.groupdict()
118 address = ipaddress.IPv4Address(d['address'])
120 address = ipaddress.IPv4Network(d['address'])
122 pair = (address, d['net_interface'])
190 for a, d in routes:
191 self.remove_route(a, d)
Dip.py63 d = match.groupdict()
64 address = ipaddress.IPv4Interface(d['address'])
65 bcast = ipaddress.IPv4Address(d['bcast'])
70 d = match.groupdict()
71 address = ipaddress.IPv4Interface(d['address'])
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_test_utils.py632 d, e = a.droid, a.ed
633 model = d.getBuildModel()
652 'droid': d,
1108 if addr in {d['address'] for d in devices}:
1124 if addr in {d['address'] for d in devices}:
1140 if addr in {d['address'] for d in devices}:
1156 if addr in {d['address'] for d in devices}:
1172 if addr in {d['address'] for d in devices}:
1371 for d in bonded_devices:
1372 if d['address'] == target_address:
[all …]
/tools/security/gdb/gdb_json_printer/test_examples/
Dobjects2.cpp40 uint32_t d = 4; member in Foo3
41 virtual int get() override { return d; } in get()
57 uint32_t d = 4; member in Foo6
58 virtual int get() override { return d; } in get()
80 Foo1 d = *z; in main() local
Dbasic_types.cpp27 int16_t d = -4; in main() local
42 std::cout << a + b + c + d + e + f + g + h + i + j << std::endl; in main()
49 const int16_t d = -4; in main() local
62 std::cout << a + b + c + d + e + f + g + h + i + j << std::endl; in main()
/tools/test/connectivity/acts_tests/tests/google/bt/car_bt/
DBtCarHfpFuzzTest.py93 for d in self.android_devices:
94 if not car_telecom_utils.wait_for_not_in_call(self.log, d):
97 format(d.serial))
117 for d in self.android_devices:
118 if not car_telecom_utils.wait_for_not_in_call(self.log, d):
121 format(d.serial))
/tools/test/connectivity/acts_tests/tests/google/bt/setup/
DBtPreFlightTest.py33 d = a.droid
36 self.log.info("BOOTLOADER VERSION {}".format(d.getBuildBootloader(
38 self.log.info("BUILD HARDWARE {}".format(d.getBuildHardware()))
39 self.log.info("BUILD PRODUCT {}".format(d.getBuildProduct()))
41 self.log.info(pprint.pformat(d.environment()))
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/
DLittleEndianUtilsTest.java59 for (int d : data) { in readWrite2Le()
60 LittleEndianUtils.writeUnsigned2Le(out, d); in readWrite2Le()
102 for (long d : data) { in readWrite4Le()
103 LittleEndianUtils.writeUnsigned4Le(out, d); in readWrite4Le()
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRttManagerTest.py282 d = r["distance"] / 100.0
283 if d > 0:
285 is_d_valid = (acd - margin) <= d <= acd + (margin)
289 " acceptable range %.2f±%.2fm.") % (d, acd,
294 d = (value / 2) / 1E10 * wutils.SPEED_OF_LIGHT
295 is_rtt_valid = (acd - margin) <= d <= (acd + margin)
300 (value, d, acd, margin))
/tools/test/connectivity/acts/framework/acts/controllers/
Darduino_wifi_dongle.py361 d = {}
370 d.clear()
371 d[SSID] = self.scan_results[i].split(':')[-1].rstrip()
373 d[RSSI] = self.scan_results[i].split(':')[-1].rstrip()
374 scan_networks.append(d)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dbt_utils.py168 for d in bonded_devices:
169 if d['address'] == mac_address:
177 for d in connected_devices:
178 if d['address'] == mac_address:
/tools/asuite/atest-py2/test_finders/
Dtf_integration_finder.py73 tf_dirs = filter(None, [d for x in _TF_TARGETS for d in self._get_mod_paths(x)])
74 gtf_dirs = filter(None, [d for x in _GTF_TARGETS for d in self._get_mod_paths(x)])
Dsuite_plan_finder.py62 return [d for x in constants.SUITE_PLANS for d in
63 self._get_mod_paths(x+'-tradefed') if d is not None]
/tools/test/connectivity/acts_tests/tests/google/native/bt/
DBtNativeTest.py57 d = n.droid
58 d.BtBinderSetName(test_name)
59 name = d.BtBinderGetName()
/tools/asuite/atest/test_finders/
Dsuite_plan_finder.py62 return [d for x in constants.SUITE_PLANS for d in
63 self._get_mod_paths(x+'-tradefed') if d is not None]
Dtf_integration_finder.py81 tf_dirs = list(filter(None, [d for x in _TF_TARGETS for d in self._get_mod_paths(x)]))
82 gtf_dirs = list(filter(None, [d for x in _GTF_TARGETS for d in self._get_mod_paths(x)]))
/tools/test/openhst/
DMakefile82 @for /d %%x in (dsp_*) do rd /s /q "%%x"
83 @for /d %%x in (enroll_*) do rd /s /q "%%x"
84 @for /d %%x in (__pycache*) do rd /s /q "%%x"

12345