Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 140) sorted by relevance

123456

/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiIOTTest.py66 SSID = network['SSID'].replace('-','_')
133 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
138 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
143 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
148 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
153 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
158 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
163 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
168 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
173 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
[all …]
DWifiIOTtpeTest.py66 SSID = network['SSID'].replace('-','_')
133 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
138 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
143 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
148 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
153 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
158 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
163 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
168 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
173 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
[all …]
DWifiIOTTwPkg1Test.py76 SSID = network['SSID'].replace('-','_')
279 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
284 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
289 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
294 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
299 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
304 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
309 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
314 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
319 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
[all …]
/tools/external_updater/
Dcrates_updater.py170 line = line[1:-1].replace("\\\\", "\n").replace("\\b", "")
171 line = line.replace("\\t", " ").replace("\\n", " ").replace("\\f", " ")
172 line = line.replace("\\r", "").replace("\\\"", "\"").replace("\n", "\\")
174 return line.replace("’", "'").strip()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt90 s = s.replace(JAVA_LANG_PREFIX, "") in <lambda>()
93 s = s.replace("...", "[]") in <lambda>()
179 cleaned = cleaned.replace("@androidx.annotation.", "@") in <lambda>()
182 cleaned = cleaned.replace("@android.support.annotation.", "@") in <lambda>()
232 cleaned = cleaned.replace(",", ", ").replace(", ", ", ") in <lambda>()
244 return signature.replace(" extends java.lang.Object>", ">") in <lambda>()
272 string.replace(Regex(pattern = """\b$from\b"""), replacement = "___$to") in <lambda>()
275 string = string.replace("___", "") in <lambda>()
DCodebase.kt176 val className = owner.replace('/', '.').replace('$', '.') in <lambda>()
198 sb.append(type.className.replace('/', '.').replace('$', '.')) in <lambda>()
222 sb.append(type.className.replace('/', '.').replace('$', '.')) in <lambda>()
DClassItem.kt75 return fullName().replace('.', '$') in <lambda>()
78 return curr.containingPackage().qualifiedName() + "." + fullName().replace('.', '$') in <lambda>()
89 return fullName().replace('.', '$') in <lambda>()
92 return curr.containingPackage().qualifiedName().replace('.', '/') + "/" + in <lambda>()
93 fullName().replace('.', '$') in <lambda>()
/tools/doc_generation/
Dswitcher4.py101 stub = doc.replace(java_source_abs_path, kotlin_source_abs_path)
108 stub = doc.replace(kotlin_source_abs_path, java_source_abs_path)
116 page_path_slug = "sed -i 's/_page_path_/{}/' {}".format(file_path.replace("/","\/"),doc)
163 kotlinsource = doc.replace(java_source_abs_path, kotlin_source_abs_path)
208 javadoc = doc.replace(kotlin_source_abs_path, java_source_abs_path)
/tools/test/connectivity/acts/framework/acts/controllers/
Dopenwrt_ap.py200 wifi_status = yaml.load(str_output.replace("\t", "").replace("\n", ""),
216 wifi_status = yaml.load(str_output.replace("\t", "").replace("\n", ""),
247 wifi_status = yaml.load(str_output.replace("\t", "").replace("\n", ""),
Dbluetooth_pts_device.py512 addr = (ctypes.c_char_p(addr_str).value).replace(b'\xed',
514 name = (ctypes.c_char_p(name_str).value).replace(b'\xed',
516 cod = (ctypes.c_char_p(cod_str).value).replace(b'\xed',
692 formatted_test_name = test_name.replace('/', '_')
693 formatted_test_name = formatted_test_name.replace('-', '_')
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationsMerger.kt457 return parameters.replace(" ", " ").replace(", ", ",").replace("?super", "? super ") in fixParameterString()
458 .replace("?extends", "? extends ") in fixParameterString()
771 var workingString = escaped.replace(QUOT_ENTITY, "\"") in unescapeXml()
772 workingString = workingString.replace(LT_ENTITY, "<") in unescapeXml()
773 workingString = workingString.replace(GT_ENTITY, ">") in unescapeXml()
774 workingString = workingString.replace(APOS_ENTITY, "'") in unescapeXml()
775 workingString = workingString.replace(AMP_ENTITY, "&") in unescapeXml()
DExtractAnnotations.kt112 val name = pkg.qualifiedName().replace('.', '/') + "/annotations.xml" in <lambda>()
450 .replace(" ", "") in <lambda>()
451 .replace("?extends", "? extends ") in <lambda>()
452 .replace("?super", "? super ") in <lambda>()
DJDiffXmlWriter.kt356 return typeString.replace(",", ", ").replace(", ", ", ") in <lambda>()
384 escaped.replace(">", "&gt;") in <lambda>()
/tools/test/connectivity/acts/framework/acts/controllers/pdu_lib/synaccess/
Dnp02b.py171 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, '')
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt118 if (cleanupString(expectedFail, null).replace(".", "").trim() != in <lambda>()
119 actualFail.replace(".", "").trim() in <lambda>()
581 val relative = pkg?.replace('.', File.separatorChar) ?: "." in <lambda>()
593 val relative = pkg?.replace('.', File.separatorChar) ?: "." in <lambda>()
1399 .replace(' ', '\n') in <lambda>()
1411 .replace(' ', '\n') in <lambda>()
1448 "jar:" + SdkUtils.fileToUrlString(output) + "!/" + pkg.replace('.', '/') + in <lambda>()
1455 val xml = String(bytes, UTF_8).replace("\r\n", "\n") in <lambda>()
1467 s = s.replace(project.path, "TESTROOT") in <lambda>()
1468 s = s.replace(project.canonicalPath, "TESTROOT") in <lambda>()
[all …]
DRewriteAnnotationsTest.kt34 val source = File("stub-annotations".replace('/', File.separatorChar)) in Test copying private annotations from one of the stubs()
86 """.trimIndent().trim(), recentlyNull.readText(UTF_8).trim().replace("\r\n", "\n") in Test copying private annotations from one of the stubs()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dui_utils.py93 key = k.replace('class_name', 'class')
95 key = k.replace('text_contains', 'text')
97 key = k.replace('_', '-')
267 input_text = input_text.replace(c, '\\%s' % c)
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt69 val path = root.path.replace('\\', '/') + "/" in <lambda>()
70 sourceList.toString().replace(path, "") in <lambda>()
81 sourceList.append(sourceFile.path.replace('\\', '/')) in <lambda>()
150 val relative = packageItem.qualifiedName().replace('.', File.separatorChar) in <lambda>()
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py190 src = element.get(_URL).replace(common_util.get_android_root_dir(),
195 jar = element.get(_URL).replace(common_util.get_android_root_dir(),
566 lnew = sample.replace(constant.LINUX_GLIBC_COMMON,
569 lnew = sample.replace(constant.ANDROID_COMMON,
734 cnt2 = cnt2.replace(_BE_REPLACED, _TO_REPLACE)
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt913 val cleanKey = key.replace("libcore.util.", "").replace("androidx.annotation.", "") in <lambda>()
927 .replace("androidx.annotation.", "") in <lambda>()
928 .replace("libcore.util.", "")) in <lambda>()
/tools/asuite/aidegen/lib/
Dproject_file_gen.py193 content = content.replace(_MODULE_TOKEN, module)
215 content = content.replace(_ENABLE_DEBUGGER_MODULE_TOKEN, '')
325 content = content.replace(_ENABLE_DEBUGGER_MODULE_TOKEN, replace_string)
Dclion_project_file_gen.py256 content = templates.CMAKELISTS_HEADER.replace(
258 content = content.replace(_PROJECT_NAME_TOKEN, self.mod_name)
259 content = content.replace(
612 return mod_name[::-1].replace('@', '-', 1)[::-1]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py356 mac_address = match.group('Mac').replace(' ', '').upper()
363 types['flags'] = match.group('Flags').replace(' ', '')
364 types['link_key'] = match.group('Linkkey').replace(' ', '')
462 return float.fromhex(line.split()[6].replace(',', ''))
477 return float.fromhex(line.split()[6].replace(',', ''))
978 pskey += LOG_REGEX.match(result).group('msg').replace(' ',
/tools/asuite/atest/test_finders/
Dtest_info.py130 str(build_target).replace(
131 constants.MODULES_IN, '').replace('-', '/'))
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dagsa_acts.py144 if (not (version.replace('alpha', '').replace('release', '')

123456