Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 64) sorted by relevance

123

/tools/treble/build/treble_build/local/
Dninja_test.go61 res *app.BuildCommand
65 res *app.BuildQuery
69 res *app.BuildInput
73 res *app.BuildPath
77 res []*app.BuildPath
81 res *app.BuildDeps
85 res *app.BuildCmdResult
103 res: &app.BuildCommand{Target: "test", Cmds: []string{"cmd1", "cmd2", "cmd3"}}},
106 res: &app.BuildQuery{Target: "test", Inputs: []string{"infile"}, Outputs: []string{"outfile"}}},
109res: &app.BuildInput{Target: "test", Files: []string{"file1", "file2", "file3", "file4", "file5"}},
[all …]
Dgit_test.go61 res *app.GitProject
67 res *app.GitCommit
89 res: &app.GitProject{
102 res: &app.GitCommit{Sha: "commit_sha", Files: []app.GitCommitFile{}},
115 res: &app.GitProject{
128 res: &app.GitCommit{
154 if !reflect.DeepEqual(*proj, *test.project.res) {
155 t.Errorf("Project = %+v; want %+v", *proj, *test.project.res)
162 if !reflect.DeepEqual(*c, *test.commit.res) {
163 t.Errorf("Commit = %v; want %v", c, *test.commit.res)
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DBootSector.java481 StringBuilder res = new StringBuilder(1024); in toString() local
482 res.append("Bootsector :\n"); in toString()
483 res.append("oemName="); in toString()
484 res.append(getOemName()); in toString()
485 res.append('\n'); in toString()
486 res.append("medium descriptor = "); in toString()
487 res.append(getMediumDescriptor()); in toString()
488 res.append('\n'); in toString()
489 res.append("Nr heads = "); in toString()
490 res.append(getNrHeads()); in toString()
[all …]
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java116 int res = Integer.compare(packageInfos.size(), other.packageInfos.size()); in compareTo() local
117 if (res != 0) return res; in compareTo()
119 res = packageInfos.get(i).compareTo(other.packageInfos.get(i)); in compareTo()
120 if (res != 0) return res; in compareTo()
122 res = Integer.compare(signatureDigests.size(), other.signatureDigests.size()); in compareTo()
123 if (res != 0) return res; in compareTo()
126 res = cmp.compare(signatureDigests.get(i), other.signatureDigests.get(i)); in compareTo()
127 if (res != 0) return res; in compareTo()
129 return res; in compareTo()
173 int res = Integer.compare(a.length, b.length); in compare() local
[all …]
DAttestationPackageInfo.java71 int res = packageName.compareTo(other.packageName); in compareTo() local
72 if (res != 0) return res; in compareTo()
73 res = Integer.compare(version, other.version); in compareTo()
74 if (res != 0) return res; in compareTo()
75 return res; in compareTo()
/tools/test/connectivity/acts/framework/acts/controllers/pdu_lib/synaccess/
Dnp02b.py80 res = self.tnhelper.cmd('pshow')
81 status_list = re.findall('(ON|OFF)', res)
163 res = self._tn.read_until(utils.ascii_string(self.prompt), 2)
166 if res is None:
168 res = res.decode()
169 if re.search('Invalid', res):
171 res = res.replace(self.prompt, '')
172 res = res.replace(self.tx_cmd_separator, '')
173 res = res.replace(self.rx_cmd_separator, '')
174 res = res.replace(cmd_str, '')
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveRilDataKpiTest.py149 res = self.cycle_cellular_data(ad)
150 cycle_cellular_data_summary.append(res)
151 if not res:
157 res,
163 print_nested_dict(ad, res)
171 res,
176 print_nested_dict(ad, res)
241 res = self.cycle_wfc(ad)
242 cycle_wfc_summary.append(res)
243 if not res:
[all …]
DTelLiveRilMessageKpiTest.py185 res = self.sms_test([ad_mo, ad_mt])
186 sms_test_summary.append(res)
188 if not res:
347 res = self.mms_test([ad_mo, ad_mt])
348 mms_test_summary.append(res)
350 if not res:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_parse_utils.py117 res = re.findall(r'\[(PHONE[\d])\]', msg)
119 phone = res[0]
134 res = re.findall(r'DataProfile=[^/]+/[^/]+/[^/]+/([^/]+)/', msg)
136 apn = res[0]
311 res = re.findall(r'cause=(\d+)', line['log_message'])
313 cause = res[0]
318 res = re.findall(r'cid=(\d+)', line['log_message'])
320 cid = res[0]
325 res = re.findall(r'ifname=(\S+)', line['log_message'])
327 ifname = res[0]
[all …]
Dtel_message_utils.py559 res = True
571 res = False
575 if not res:
770 res = True
784 res = False
788 if not res:
799 res = True
813 res = False
817 if not res:
827 res = True
[all …]
Dtel_ss_utils.py605 res = get_call_forwarding_by_adb(log, ad,
607 if res == "false":
662 res = get_call_forwarding_by_adb(
664 if res == "false":
684 res = get_call_forwarding_by_adb(
686 if res == "false" or res == "unknown":
733 res = get_call_forwarding_by_adb(log, ad,
735 if res == "true":
/tools/test/connectivity/acts/framework/acts/controllers/
Dbluetooth_pts_device.py339 res = self.pts_library.RegisterProfileWithCallbacks(
345 "Profile has been registered with result {0:d}".format(res))
353 res = self.pts_library.InitGetDevInfoWithCallbacks(
357 "GetDevInfo has been initialized with result {0:d}".format(res))
359 res = self.pts_library.VerifyDongleEx()
361 "PTS dongle has been initialized with result {0:d}".format(res))
393 res = self.pts_library.SetParameterEx(
396 if res:
404 res = self.pts_library.SetParameterEx(
407 if res:
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
DBleFuchsiaTest.py47 res = self.fuchsia_adv.sl4f.ble_lib.blePublishService(
49 self.log.info("Publish result: {}".format(res))
68 res = True
80 res = False
85 return res
95 res = self.fuchsia_adv.sl4f.ble_lib.blePublishService(
97 self.log.info("Publish result: {}".format(res))
/tools/test/connectivity/acts/framework/tests/controllers/pdu_lib/synaccess/
Dnp02b_test.py53 res = tnhelper.cmd(VALID_COMMAND_STR)
66 res = tnhelper.cmd(VALID_COMMAND_STR)
67 self.assertEqual(res, VALID_RESPONSE_STR)
78 res = tnhelper.cmd(STATUS_COMMAND_STR)
79 self.assertEqual(res, STATUS_RESPONSE_STR)
90 res = tnhelper.cmd('Some invalid command.')
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py279 res = self.read_serial_port()
281 self.cmd_log = res
287 for line in res:
309 logging.info(res)
332 res = self.cmd('GetPSHex 0x2637')
333 if len(res[0]) == 0:
338 match = re.match(regexp, res[0][0])
348 res = self.cmd('GetPSHex ' + '%0.2x' % i)
349 if len(res[0]) == 0:
354 match = re.search(regexp, res[0][0])
[all …]
/tools/security/remote_provisioning/hwtrust/cxxbridge/
Dhwtrust.cpp29 auto res = rust::VerifyDiceChain({chain.data(), chain.size()}, chainKind); in Verify() local
30 if (!res.error.empty()) { in Verify()
31 return Error() << static_cast<std::string>(res.error); in Verify()
33 BoxedDiceChain boxedChain = { std::move(res.chain) }; in Verify()
35 return DiceChain(std::move(diceChain), res.len); in Verify()
/tools/treble/build/treble_build/report/
Dreport_test.go220 res := &app.BuildTarget{Name: target.name,
237 if _, exists := res.Projects[pName]; !exists {
238 res.Projects[pName] = createProject(pName)
240 res.Projects[pName].Files[bf.Filename] = bf
252 resTargets[res.Name] = res
/tools/repohooks/tools/
Dcheckpatch.pl1484 my $res = '';
1488 $res .= ' ';
1491 $res .= ' ';
1495 $res .= $c;
1499 return $res;
1502 (my $res = shift) =~ tr/\t/ /c;
1503 return $res;
1533 my $res = '';
1541 $res = substr($line, 0, 1);
1551 substr($res, $off, 2, "$;$;");
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/aware/
Daware_test_utils.py414 res = re.match(".* HWaddr (\S+).*", out, re.S)
415 asserts.assert_true(res,
419 return res.group(1).upper().replace(':', '')
432 res = re.match(".*inet6 addr: (\S+)/.*", out, re.S)
433 if not res:
435 return res.group(1)
486 res = re.match(".*mdev = (\S+) .*", ping_result, re.S)
487 asserts.assert_true(res, "Cannot reach the IP address %s", target_ip)
489 result = res.group(1).split("/")
/tools/external_updater/
Dnotifier.py138 for proj, res in results.items():
139 if 'latest' not in res:
141 latest_ver = res['latest']
142 current_ver = res['current']
Dexternal_updater.py197 res = {}
200 res['error'] = updater
202 res['current'] = updater.current_version
203 res['latest'] = updater.latest_version
204 results[str(fileutils.canonicalize_project_path(Path(path)))] = res
/tools/security/fuzzing/orphans/libufdt/
Dlibufdt_fuzzer.cpp66 struct fdt_header *res = in LLVMFuzzerTestOneInput() local
69 if (res) { in LLVMFuzzerTestOneInput()
70 dto_free(res); in LLVMFuzzerTestOneInput()
/tools/test/connectivity/acts_tests/tests/google/net/
DCoreNetworkingTest.py59 res = self.dut.droid.launchForResult(dum_class)
67 % res['extras']['result'])
68 return res['extras']['result']
/tools/asuite/aidegen/lib/
Dclion_project_file_gen_unittest.py582 res = clion_project_file_gen.CLionProjectFileGenerator.get_module_path(
584 self.assertEqual(res, path_b)
585 res = clion_project_file_gen.CLionProjectFileGenerator.get_module_path(
587 self.assertEqual(res, path_b)
588 res = clion_project_file_gen.CLionProjectFileGenerator.get_module_path(
590 self.assertEqual(res, path_c)
591 res = clion_project_file_gen.CLionProjectFileGenerator.get_module_path(
593 self.assertEqual(res, path_d)
/tools/test/connectivity/acts_tests/tests/google/gnss/
DGnssConcurrencyTest.py107 res = self.ad.adb.shell(cmd)
108 if "result 1" in res:
183 res_summary = " ".join([str(res) for res in results[1:]])
403 res = re.search(ttff_regex, search_res[0]["log_message"])
404 ttff = res.group(1)

123