Home
last modified time | relevance | path

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

1234567

/tools/test/connectivity/acts/tests/google/wifi/
DWifiIOTTest.py66 SSID = network['SSID'].replace('-','_')
135 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
140 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
145 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
150 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
155 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
160 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
165 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
170 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
175 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
[all …]
DWifiIOTtpeTest.py66 SSID = network['SSID'].replace('-','_')
135 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
140 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
145 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
150 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
155 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
160 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
165 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
170 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
175 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
[all …]
DWifiIOTTwPkg1Test.py76 SSID = network['SSID'].replace('-','_')
281 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
286 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
291 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
296 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
301 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
306 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
311 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
316 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
321 ssid_key = self.current_test_name.replace(self.iot_test_prefix, "")
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt86 s = s.replace(JAVA_LANG_PREFIX, "") in <lambda>()
89 s = s.replace("...", "[]") in <lambda>()
174 cleaned = cleaned.replace("@androidx.annotation.", "@") in <lambda>()
177 cleaned = cleaned.replace("@android.support.annotation.", "@") in <lambda>()
227 cleaned = cleaned.replace(",", ", ").replace(", ", ", ") in <lambda>()
239 return signature.replace(" extends java.lang.Object>", ">") in <lambda>()
266 … string = string.replace(Regex(pattern = """\b$from\b"""), replacement = "___$to") in <lambda>()
269 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/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt126 if (cleanupString(expectedFail, null).replace(".", "").trim() != in <lambda>()
127 actualFail.replace(".", "").trim() in <lambda>()
572 val relative = pkg?.replace('.', File.separatorChar) ?: "." in <lambda>()
584 val relative = pkg?.replace('.', File.separatorChar) ?: "." in <lambda>()
1374 .replace(' ', '\n') in <lambda>()
1386 .replace(' ', '\n') in <lambda>()
1423 "jar:" + SdkUtils.fileToUrlString(output) + "!/" + pkg.replace('.', '/') + in <lambda>()
1430 val xml = String(bytes, UTF_8).replace("\r\n", "\n") in <lambda>()
1442 s = s.replace(project.path, "TESTROOT") in <lambda>()
1443 s = s.replace(project.canonicalPath, "TESTROOT") in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationsMerger.kt452 return parameters.replace(" ", " ").replace(", ", ",").replace("?super", "? super ") in fixParameterString()
453 .replace("?extends", "? extends ") in fixParameterString()
766 var workingString = escaped.replace(QUOT_ENTITY, "\"") in unescapeXml()
767 workingString = workingString.replace(LT_ENTITY, "<") in unescapeXml()
768 workingString = workingString.replace(GT_ENTITY, ">") in unescapeXml()
769 workingString = workingString.replace(APOS_ENTITY, "'") in unescapeXml()
770 workingString = workingString.replace(AMP_ENTITY, "&") in unescapeXml()
DExtractAnnotations.kt113 val name = pkg.qualifiedName().replace('.', '/') + "/annotations.xml" in <lambda>()
451 .replace(" ", "") in <lambda>()
452 .replace("?extends", "? extends ") in <lambda>()
453 .replace("?super", "? super ") in <lambda>()
DJDiffXmlWriter.kt356 return typeString.replace(",", ", ").replace(", ", ", ") in <lambda>()
384 escaped.replace(">", "&gt;") in <lambda>()
/tools/repohooks/tools/
Dcpplint.py786 return header_path.replace('-inl.h', '.h').replace('-', '_').lower()
1110 return os.path.abspath(self._filename).replace('\\', '/')
1285 line = line.replace(r'\\', 'XX') # after this, \\" does not match to \"
1505 collapsed += head + match_literal.group(1).replace("'", '')
1827 filename = filename.replace('C++', 'cpp').replace('c++', 'cpp')
2073 line = line.replace('\\\\', '')
2822 line = line.replace('\\\\', '')
4721 fullname = os.path.abspath(filename).replace('\\', '/')
5454 filename_cc = filename_cc.replace('/public/', '/')
5455 filename_cc = filename_cc.replace('/internal/', '/')
[all …]
/tools/doc_generation/
Dswitcher4.py79 stub = doc.replace(java_source_abs_path, kotlin_source_abs_path)
86 stub = doc.replace(kotlin_source_abs_path, java_source_abs_path)
94 page_path_slug = "sed -i 's/_page_path_/{}/' {}".format(file_path.replace("/","\/"),doc)
141 kotlinsource = doc.replace(java_source_abs_path, kotlin_source_abs_path)
186 javadoc = doc.replace(kotlin_source_abs_path, java_source_abs_path)
/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/aidegen_functional_test/
Daidegen_functional_test_main.py175 src = element.get(_URL).replace(common_util.get_android_root_dir(),
180 jar = element.get(_URL).replace(common_util.get_android_root_dir(),
549 lnew = sample.replace(constant.LINUX_GLIBC_COMMON,
552 lnew = sample.replace(constant.ANDROID_COMMON,
716 cnt2 = cnt2.replace(_BE_REPLACED, _TO_REPLACE)
/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/test/connectivity/acts/framework/acts/controllers/
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('-', '_')
Dfuchsia_device.py862 self.serial, time_stamp.replace(" ", "_").replace(":", "-"))
890 self.serial, time_stamp.replace(" ", "_").replace(":", "-"))
/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/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/
Dclion_project_file_gen.py256 content = templates.CMAKELISTS_HEADER.replace(
258 content = content.replace(_PROJECT_NAME_TOKEN, self.mod_name)
259 content = content.replace(
609 return mod_name[::-1].replace('@', '-', 1)[::-1]
Dproject_file_gen.py194 content = content.replace(_MODULE_TOKEN, module)
216 content = content.replace(_ENABLE_DEBUGGER_MODULE_TOKEN, '')
326 content = content.replace(_ENABLE_DEBUGGER_MODULE_TOKEN, replace_string)
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dui_utils.py93 key = k.replace('class_name', 'class')
95 key = k.replace('text_contains', 'text')
97 key = k.replace('_', '-')
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt280 val comment = body.lines().joinToString(separator = "\n") { " * $it" }.replace("*/", "&#42;/") in packageHtmlToJavadoc()
583 val cleaned = unresolved.replace("\n", "").replace("*", "") in reportUnresolvedDocReference()
584 .replace(" ", " ") in reportUnresolvedDocReference()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DArtRunTest.java122 cmd = cmd.replace("|#BITNESS#|", AbiUtils.getBitness(abi)); in runArtTest()
123 cmd = cmd.replace("|#CLASSPATH#|", ArrayUtil.join(File.pathSeparator, mClasspath)); in runArtTest()
125 cmd = cmd.replace("|#MAINCLASS#|", "Main"); in runArtTest()
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/
Dgnss_test_utils.py797 ad.log.info(prop_basename+"StartTime %s" % time_list[0].replace(" ", "-"))
798 ad.log.info(prop_basename+"EndTime %s" % time_list[-1].replace(" ", "-"))
947 prop_basename = "TestResult "+ttff_mode.replace(" ", "_")+"_TTFF_"
1194 "TestResult GMS_Version %s" % gms_version.replace(" ", ""))

1234567