/test/vts-testcase/kernel/ltp/testcase/tools/common/ |
D | filter_utils.py | 37 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/ |
D | ltp_test_cases.py | 54 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 …]
|
D | gen_ltp_config.py | 24 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/ |
D | csuite_test_utils.py | 78 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
|
D | csuite_crash_detection_test.py | 43 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))
|
D | csuite_cli_test.py | 29 msg=str(completed_process)) 31 msg=str(completed_process))
|
/test/vts/tests/kernel_proc_file_api_test/ |
D | target_file_utils.py | 39 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/ |
D | convert_binary_to_img.py | 23 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/ |
D | ditto2cpp.py | 26 type=str) 28 help="Source .ditto files", type=str)
|
/test/vts-testcase/kernel/sdcardfs/src/com/android/sdcardfs/vts/ |
D | SdcardfsTest.java | 39 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/ |
D | logger.cpp | 100 LOG(LogLevelToAndroidLogLevel(log_level)) << ss.str(); in WriteLogMessage() 106 std::cout << ss.str() << std::endl; in WriteLogMessage()
|
D | syscall.cpp | 152 return ss.str(); in to_string()
|
D | timespec_utils.cpp | 122 return ss.str(); in TimespecToString()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | SubPlanHelper.java | 282 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/ |
D | utils.py | 80 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/ |
D | utils.py | 26 return obj if isinstance(obj, str) else obj.decode("utf-8")
|
/test/mlts/benchmark/results/ |
D | generate_result.py | 96 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/ |
D | vndk_utils.py | 91 return pattern.format(LIB=("lib64" if str(bitness) == "64" else "lib"),
|
/test/vts-testcase/security/system_property/ |
D | vts_treble_sys_prop_test.py | 51 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/ |
D | ProcMemInfoTest.py | 91 logging.error("Required fields not present: %s", str(required_fields))
|
/test/vts-testcase/security/avb/ |
D | kernel_version_test.cpp | 264 *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()
|
D | VtsSecurityAvbTest.cpp | 392 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/ |
D | vts_vndk_abi_test.py | 168 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/ |
D | AppRemoteFileResolverTest.java | 232 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/ |
D | HwBinderLatencyTest.py | 142 row_names = ["P" + str(i) for i in range(pair_cnt)] + [self._ALL]
|