Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 54) sorted by relevance

123

/tools/acloud/internal/lib/
Dcvd_utils.py316 key: val for key, val in avd_spec.remote_image.items() if val}
323 {"kernel_" + key: val
324 for key, val in avd_spec.kernel_build_info.items() if val}
327 {"system_" + key: val
328 for key, val in avd_spec.system_build_info.items() if val}
331 {"bootloader_" + key: val
332 for key, val in avd_spec.bootloader_build_info.items() if val}
/tools/acloud/public/actions/
Dcreate_cuttlefish_action.py104 key: val for key, val in utils.GetDictItems(self.build_info) if val}
107 {"kernel_%s" % key: val
108 for key, val in utils.GetDictItems(self.kernel_build_info) if val}
111 {"system_%s" % key: val
112 for key, val in utils.GetDictItems(self.system_build_info) if val}
115 {"bootloader_%s" % key: val
116 for key, val in utils.GetDictItems(self.bootloader_build_info) if val}
Dcreate_goldfish_action.py127 key: val for key, val in utils.GetDictItems(self.build_info) if val}
130 {"emulator_%s" % key: val
131 for key, val in utils.GetDictItems(self.emulator_build_info) if val}
135 {"kernel_%s" % key: val
136 for key, val in utils.GetDictItems(self.kernel_build_info) if val}
/tools/test/connectivity/acts/framework/acts/controllers/
Dasus_axe11000_ap.py253 for key, val in CHANNELS_2G.items():
254 if val == ch_val:
291 for key, val in CHANNELS_5G.items():
292 if val == ch_val:
319 for key, val in CHANNELS_6G.items():
320 if val == ch_val:
644 def _configure_hidden_network(self, band, val): argument
673 state = True if val == "1" else False
676 css_selector = "input[name='%s'][value='%s']" % (WL_CLOSED, val)
690 val = "1" if state else "0"
[all …]
Darduino_wifi_dongle.py296 val = data.split(':')[-1].lstrip().rstrip()
305 self.ip_addr = None if val == '0.0.0.0' else val
307 self.ssid = val
309 self.status = int(val)
311 self.ping = int(val) != 0
/tools/test/connectivity/tools/
Dread_acts_results.py107 print(' '.join((val.ljust(width) for val, width in zip(row,
120 print(' '.join((val.ljust(width) for val, width in zip(row,
126 print(' '.join((val.ljust(width) for val, width in zip(row,
132 print(' '.join((val.ljust(width)
133 for val, width in zip(row, widths))))
/tools/security/remote_provisioning/cert_validator/src/
Ddeviceinfo.rs7 mod val { module
36 verified_info.check_arr_val_if_key_in_map(String::from("vb_state"), &val::VBSTATE)?; in check()
39 &val::BOOTLOADER_STATE, in check()
54 verified_info.check_arr_val_for_key_in_map(String::from("vb_state"), &val::VBSTATE)?; in check()
57 &val::BOOTLOADER_STATE, in check()
67 ensure!(val::FUSED.iter().any(|&x| x == fused)); in check()
73 ensure!(val::SECURITY_LEVEL.iter().any(|&x| x.eq(&security_level))); in check()
Dlib.rs121 let val = &file_value("testdata/device-info/_CBOR_device_info_0.cert").unwrap(); in deviceinfo_validation() localVariable
122 let deviceinfo = deviceinfo::extract(val); in deviceinfo_validation()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/cellular/
Dcellular_base_test.py253 for key, val in self.test_configs.items():
257 sim_params[idx][key] = val
404 for val in calibration_table.values():
405 if isinstance(val, dict):
406 self.ensure_valid_calibration_table(val)
407 elif not isinstance(val, float) and not isinstance(val, int):
409 elif val < 0.0:
/tools/dexter/slicer/export/slicer/
Dcode_ir.h263 bool Visit(T* val) override { in CastOperand()
264 converted = val; in CastOperand()
286 bool Visit(String* val) override {
287 converted = val;
290 bool Visit(Type* val) override {
291 converted = val;
294 bool Visit(Field* val) override {
295 converted = val;
298 bool Visit(Method* val) override {
299 converted = val;
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiDppTest.py558 val = dut_event[self.DPP_TEST_EVENT_DATA][
560 if val == self.DPP_EVENT_SUCCESS_CONFIGURATION_SENT:
562 if val == self.DPP_EVENT_SUCCESS_CONFIGURATION_APPLIED:
568 val = dut_event[self.DPP_TEST_EVENT_DATA][self.DPP_TEST_MESSAGE_STATUS]
569 if val == self.DPP_EVENT_PROGRESS_AUTHENTICATION_SUCCESS:
571 elif val == self.DPP_EVENT_PROGRESS_RESPONSE_PENDING:
573 elif val == self.DPP_EVENT_PROGRESS_CONFIGURATION_SENT_WAITING_RESPONSE:
575 elif val == self.DPP_EVENT_PROGRESS_CONFIGURATION_ACCEPTED:
704 val = dut_event[self.DPP_TEST_EVENT_DATA][self.DPP_TEST_MESSAGE_STATUS]
705 if val == 0:
[all …]
DWifiRoamingPerformanceTest.py271 for val in vals:
272 if val in {0} or math.isnan(val):
647 val for val in temp_section
DWifiRssiTest.py172 for key, val in postprocessed_results.items():
176 filtered_error = [x for x in val['error'] if not math.isnan(x)]
245 for key, val in postprocessed_results.items():
281 for key, val in postprocessed_results.items():
357 for key, val in rssi_time_series.items():
/tools/security/fuzzing/system_fuzzers/libwatchdog_perf_service/
Dlibwatchdog_perf_service_fuzzer.cpp49 uint64_t val = fdp.ConsumeIntegral<uint64_t>(); in LLVMFuzzerTestOneInput() local
50 uidIoStatsSnapshot += (((count % 11) == 0 ? "" : " ") + std::to_string(val)); in LLVMFuzzerTestOneInput()
74 uint64_t val = fdp.ConsumeIntegral<uint64_t>(); in LLVMFuzzerTestOneInput() local
75 procStatsSnapshot += " " + std::to_string(val); in LLVMFuzzerTestOneInput()
/tools/test/connectivity/acts/framework/tests/event/
Devent_bus_test.py209 val = event_bus.unregister(subscription)
211 self.assertTrue(val)
225 val = event_bus.unregister(registration_id)
227 self.assertTrue(val)
239 val = event_bus.unregister(9)
240 self.assertFalse(val)
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_proxy.py315 val = 1023 - int((i / 8) * 1023)
316 self._send_struct('BBB', 0x01, 0x0a, val & 0xff)
317 self._send_struct('BBB', 0x01, 0x0b, val >> 8)
324 val = 1023 - int((current / 8) * 1023)
325 self._send_struct('BBB', 0x01, 0x08, val & 0xff)
326 self._send_struct('BBB', 0x01, 0x09, val >> 8)
/tools/test/connectivity/acts_tests/tests/google/gnss/
DAGNSSPerformanceTest.py148 for key, val in results.items():
156 if isinstance(val, dict):
157 metric = val['avg']
159 metric = val
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/
Dqcom_utils.py139 for key, val in connected_rssi.copy().items():
140 if 'data' not in val:
142 filtered_rssi_values = [x for x in val['data'] if not math.isnan(x)]
177 for key, val in scan_rssi.items():
178 filtered_rssi_values = [x for x in val['data'] if not math.isnan(x)]
Dbrcm_utils.py231 for key, val in connected_rssi.copy().items():
232 if 'data' not in val:
234 filtered_rssi_values = [x for x in val['data'] if not math.isnan(x)]
270 for key, val in scan_rssi.items():
271 filtered_rssi_values = [x for x in val['data'] if not math.isnan(x)]
/tools/loganalysis/src/com/android/loganalysis/item/
DGenericItem.java134 Object val = getAttribute(attribute); in hashCode() local
135 result += 37 * (val == null ? 0 : val.hashCode()); in hashCode()
/tools/security/fuzzing/example_rust_fuzzer/
Dfuzzer.rs21 let val = unsafe { *xs.as_ptr().offset(4) }; in heap_oob() localVariable
22 println!("Out-of-bounds heap value: {}", val); in heap_oob()
/tools/security/fuzzing/orphans/libcppbor/
Dcppbor_fuzzer.cpp24 cppbor::Tstr val(contents); in FuzzStringParsing() local
25 cppbor::parse(val.encode()); in FuzzStringParsing()
/tools/test/connectivity/acts_tests/tests/google/net/
DDataCostTest.py132 def _check_if_multipath_preference_valid(self, val, exp): argument
140 asserts.assert_true(val == exp, "Multipath value should be 0")
142 asserts.assert_true(val >= exp,
/tools/asuite/aidegen/lib/
Dproject_info.py568 for key, val in self.path_to_sources[mod_path].items():
569 val.extend([v for v in getattr(module, key) if v not in val])
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/aware/
Daware_test_utils.py387 for val in all_values:
389 x.append(val)
392 if x[-1] == val:
395 x.append(val)

123