Searched refs:strs (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/tools/cpu_perf/ |
D | config.py | 32 strs = [] 33 strs.append("CpuSettings:{") 34 add_line_with_indentation(strs, "allcores:", 4) 35 strs.append(str(self.allcores)) 36 add_line_with_indentation(strs, "onlines:", 4) 37 strs.append(str(self.onlines)) 38 add_line_with_indentation(strs, "governor:", 4) 39 strs.append(str(self.governor)) 40 add_line_with_indentation(strs, "governors:[", 4) 42 add_line_with_indentation(strs, str(k), 8) [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | CodesArrayParser.java | 50 final String[] strs = codesArraySpec.split(VERTICAL_BAR_REGEX, -1); in getLabelSpec() local 51 if (strs.length <= 1) { in getLabelSpec() 54 return strs[0]; in getLabelSpec() 68 final String[] strs = codesArraySpec.split(VERTICAL_BAR_REGEX, -1); in getCodeSpec() local 69 if (strs.length <= 1) { in getCodeSpec() 72 return TextUtils.isEmpty(strs[1]) ? strs[0] : strs[1]; in getCodeSpec() 76 final String[] strs = codesArraySpec.split(VERTICAL_BAR_REGEX, -1); in getMinSupportSdkVersion() local 77 if (strs.length <= 2) { in getMinSupportSdkVersion() 81 return Integer.parseInt(strs[2]); in getMinSupportSdkVersion()
|
/packages/modules/Virtualization/authfs/src/ |
D | main.rs | 149 let strs: Vec<&str> = option.split(':').collect(); in parse_remote_ro_file_option() localVariable 150 if strs.len() != 2 { in parse_remote_ro_file_option() 153 if let Some(digest) = strs[1].strip_prefix("sha256-") { in parse_remote_ro_file_option() 154 Ok(OptionRemoteRoFile { remote_fd: strs[0].parse::<i32>()?, digest: String::from(digest) }) in parse_remote_ro_file_option() 156 bail!("Unsupported hash algorithm or invalid format: {}", strs[1]); in parse_remote_ro_file_option() 161 let strs: Vec<&str> = option.split(':').collect(); in parse_remote_new_ro_dir_option() localVariable 162 if strs.len() != 3 { in parse_remote_new_ro_dir_option() 166 remote_dir_fd: strs[0].parse::<i32>().unwrap(), in parse_remote_new_ro_dir_option() 167 mapping_file_path: PathBuf::from(strs[1]), in parse_remote_new_ro_dir_option() 168 prefix: String::from(strs[2]), in parse_remote_new_ro_dir_option()
|
/packages/modules/Virtualization/authfs/tests/ |
D | open_then_run.rs | 65 let strs: Vec<&str> = option.split(':').collect(); in parse_and_create_file_mapping() localVariable 66 if strs.len() != 2 { in parse_and_create_file_mapping() 69 let fd = strs[0].parse::<PseudoRawFd>().context("Invalid FD format")?; in parse_and_create_file_mapping() 70 let path = strs[1]; in parse_and_create_file_mapping()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 149 char **strs = backtrace_symbols(callstack, frames); in showStackTrace() local 155 AKLOGI("%s", strs[i]); in showStackTrace() 157 free(strs); in showStackTrace()
|
/packages/modules/Virtualization/tests/hostside/helper/java/android/virt/test/ |
D | CommandRunner.java | 92 private static String join(String... strs) { in join() argument 93 return String.join(" ", Arrays.asList(strs)); in join()
|
D | VirtualizationTestCaseBase.java | 189 private static String join(String... strs) { in join() argument 190 return String.join(" ", Arrays.asList(strs)); in join()
|
/packages/modules/Bluetooth/ |
D | build.py | 306 def to_gn_list(strs): argument 307 return '[%s]' % ','.join([to_gn_string(s) for s in strs])
|