Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 33) sorted by relevance

12

/test/vts-testcase/kernel/ltp/testcase/tools/common/
Dfilter_utils.py37 def ExpandBitness(input_list: Iterable[str]) -> Set[str]: argument
59 result.add(str(item))
67 def ExpandAppendix(input_list: Iterable[str], appendix_list: Iterable[str], filter_pattern: str) ->… argument
111 def SplitFilterList(input_list: Iterable[str]) -> Tuple[Set[str], List[str]]: argument
147 def SplitNegativePattern(input_list: Iterable[str]) -> Tuple[Set[str], Set[str]]: argument
171 def InRegexList(item: str, regex_list: List[str]) -> bool: argument
190 def IsRegexFilter(item: str) -> bool: argument
290 def ExpandAppendix(self, appendix_list: Iterable[str], filter_pattern: str): argument
306 def Filter(self, item: str) -> bool: argument
336 def IsInIncludeFilter(self, item: str) -> bool: argument
[all …]
/test/vts-testcase/kernel/ltp/testcase/tools/
Dltp_test_cases.py54 def ValidateDefinition(self, line: str) -> Optional[List[str]]: argument
75 def ReadConfigTemplateFile(self) -> str:
84 …rnelModuleControllerOption(self, arch: str, n_bit: int, is_low_mem: bool = False, is_hwasan: bool … argument
101 n_bit_string = str(n_bit) if arch == 'arm' or arch == 'riscv' else ('_'+str(n_bit))
108 str(is_low_mem).lower(),
109 str(is_hwasan).lower())
126 def IsLtpBinaryExist(self, commands: str) -> bool: argument
145 arch: str, argument
148 output_file: str, argument
197 test_display_name = "{}_{}bit".format(str(testcase), n_bit)
[all …]
Dgen_ltp_config.py24 def run(arch: str, n_bit: int, is_low_mem: bool, is_hwasan: bool, run_staging: bool, output_file: s… argument
43 type=str,
55 type=str,
61 type=str,
67 type=str,
76 n_bit=str(args.bitness),
/test/app_compat/csuite/integration_tests/
Dcsuite_test_utils.py78 def run_and_wait(self, flags: Sequence[str]) -> subprocess.CompletedProcess: argument
137 def add_package_apks(self, package_name: str, apks: Sequence[str]): argument
161 device_serial: str = None): argument
169 args: Sequence[str], argument
188 args: Sequence[str], argument
193 def uninstall(self, package_name: str, check: bool = None): argument
197 def list_packages(self) -> Sequence[str]:
210 args_str = [str(t) for t in args]
227 def _shlex_join(split_command: Sequence[str]) -> str: argument
Dcsuite_crash_detection_test.py43 msg=str(completed_process))
44 self.expect_app_launched(test_app_package, msg=str(completed_process))
46 msg=str(completed_process))
57 msg=str(completed_process))
60 msg=str(completed_process))
62 msg=str(completed_process))
Dcsuite_cli_test.py29 msg=str(completed_process))
31 msg=str(completed_process))
/test/vts/tests/kernel_proc_file_api_test/
Dtarget_file_utils.py39 raise ValueError("Invalid group: %s" % str(groupIndex))
42 raise ValueError("Invalid permission bits: %s" % str(permission_bits))
54 raise ValueError("Invalid permission bit: %s" % str(perm))
/test/mlts/benchmark/tools/
Dconvert_binary_to_img.py23 def convert_file(filename: str, h: int, w: int, d: int): argument
44 …parser.add_argument('-i','--input', type=str, required=True, help='Path to input binary file. File…
/test/dittosuite/
Dditto2cpp.py26 type=str)
28 help="Source .ditto files", type=str)
/test/vts-testcase/kernel/sdcardfs/src/com/android/sdcardfs/vts/
DSdcardfsTest.java39 private boolean should_run(String str) throws DeviceNotAvailableException { in should_run() argument
48 Scanner versionScanner = new Scanner(str).useDelimiter("\\."); in should_run()
/test/dittosuite/src/
Dlogger.cpp100 LOG(LogLevelToAndroidLogLevel(log_level)) << ss.str(); in WriteLogMessage()
106 std::cout << ss.str() << std::endl; in WriteLogMessage()
Dsyscall.cpp152 return ss.str(); in to_string()
Dtimespec_utils.cpp122 return ss.str(); in TimespecToString()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java282 String str = include.toString(); in addIncludeToSubPlan() local
284 subPlan.addIncludeFilter(str); in addIncludeToSubPlan()
287 subPlan.addIncludeFilter(str.substring(0, str.lastIndexOf(PARAM_START))); in addIncludeToSubPlan()
300 String str = exclude.toString(); in addExcludeToSubPlan() local
302 subPlan.addExcludeFilter(str); in addExcludeToSubPlan()
/test/vts-testcase/vndk/
Dutils.py80 if not isinstance(out, str):
82 if not isinstance(err, str):
114 out = self._GetProp("ro.product.cpu.abilist" + str(bitness))
/test/vts/vndk_utils/library/elf/
Dutils.py26 return obj if isinstance(obj, str) else obj.decode("utf-8")
/test/mlts/benchmark/results/
Dgenerate_result.py96 s = self.read_typed(str).lower()
139 result['name'] = self.read_typed(str)
140 result['backend_type'] = self.read_typed(str)
146 result['evaluator_keys'] = self.read_typed_array(str, evaluator_keys_count)
148 result['validation_errors'] = self.read_typed_array(str, validation_error_count)
280 raise ScoreException('Unknown accuracy headers for: ' + str(result))
360 raise ScoreException('Unknown accuracy values for: ' + str(result))
/test/vts/vndk_utils/vndk/
Dvndk_utils.py91 return pattern.format(LIB=("lib64" if str(bitness) == "64" else "lib"),
/test/vts-testcase/security/system_property/
Dvts_treble_sys_prop_test.py51 raise ValueError("Invalid group: %s" % str(groupIndex))
54 raise ValueError("Invalid permission bits: %s" % str(permission_bits))
66 raise ValueError("Invalid permission bit: %s" % str(perm))
443 assertIsNone(e, "Failed to assert permissions: %s" % str(e))
/test/vts/tests/kernel_proc_file_api_test/proc_tests/
DProcMemInfoTest.py91 logging.error("Required fields not present: %s", str(required_fields))
/test/vts-testcase/security/avb/
Dkernel_version_test.cpp264 *error = error_stream.str(); in KernelVersionIsSupported()
277 GTEST_LOG_(ERROR) << str() << " This will be an error upon release."; in ~ExpectTrueOnRelease()
279 ADD_FAILURE() << str(); in ~ExpectTrueOnRelease()
DVtsSecurityAvbTest.cpp392 static size_t NextWord(const std::string &str, size_t *pos) { in NextWord() argument
394 size_t start = str.find_first_not_of(whitespaces, *pos); in NextWord()
398 *pos = str.find_first_of(whitespaces, start); in NextWord()
400 *pos = str.size(); in NextWord()
/test/vts-testcase/vndk/abi/
Dvts_vndk_abi_test.py168 logging.debug("\n\n".join(str(vtable)
227 (vtable_symbol, str(entry_offset), entry_symbol,
358 assert_lines.append("Total number of errors: " + str(error_count))
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/config/
DAppRemoteFileResolverTest.java232 private static File uriToFile(String str) { in uriToFile() argument
237 setter.setOptionValue(FileOptionSource.OPTION_NAME, str); in uriToFile()
/test/vts-testcase/performance/hwbinder_latency_test/
DHwBinderLatencyTest.py142 row_names = ["P" + str(i) for i in range(pair_cnt)] + [self._ALL]

12