Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 83) sorted by relevance

1234

/tools/test/connectivity/acts/tests/google/tel/lab/
DTelLabSmsTest.py234 text = self.insert_string_into_message(
237 text, DIRECTION_MOBILE_ORIGINATED)
250 text = self.insert_string_into_message(
253 text, DIRECTION_MOBILE_TERMINATED)
267 text = self.insert_string_into_message(
271 text, DIRECTION_MOBILE_ORIGINATED)
285 text = self.insert_string_into_message(
289 text, DIRECTION_MOBILE_TERMINATED)
303 text = self.insert_string_into_message(
307 text, DIRECTION_MOBILE_ORIGINATED)
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiItem.kt84 val text = docTag.text in isCloned() constant
87 var index = text.length - 1 in isCloned()
89 val c = text[index] in isCloned()
96 return if (index < text.length) { in isCloned()
97 text.substring(0, index) in isCloned()
99 text in isCloned()
166 sb.append(curr.text) in fullyQualifiedDocumentation()
175 val text = tag.text in getExpanded() constant
179 var referenceText = reference?.element?.text in getExpanded()
191 referenceText = innerReference?.element?.text in getExpanded()
[all …]
DPsiCompilationUnit.kt43 return file.text.substring(0, pkg.startOffset) in getHeaderComments()
49 val text = curr.text in getHeaderComments() constant
51 comment + "\n" + text in getHeaderComments()
53 text in getHeaderComments()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFixedByteArrayOutputStreamTest.java52 private String writeTextIntoStreamAndReturn(String text) throws IOException { in writeTextIntoStreamAndReturn() argument
53 mOutStream.write(text.getBytes()); in writeTextIntoStreamAndReturn()
63 String text = TEXT.substring(0, BUF_SIZE - 5); in testLessThanBuffer() local
64 assertEquals(text, writeTextIntoStreamAndReturn(text)); in testLessThanBuffer()
71 String text = TEXT.substring(0, BUF_SIZE); in testEqualsBuffer() local
72 assertEquals(text, writeTextIntoStreamAndReturn(text)); in testEqualsBuffer()
79 String text = TEXT.substring(0, BUF_SIZE + 1); in testBufferPlusOne() local
80 String expected = text.substring(1); in testBufferPlusOne()
81 assertEquals(expected, writeTextIntoStreamAndReturn(text)); in testBufferPlusOne()
112 String text = TEXT.substring(0, BUF_SIZE); in testLessThanBufferWithOffset() local
[all …]
DStreamUtilTest.java131 String text = getLargeText(); in testCopyStreams() local
132 ByteArrayInputStream bais = new ByteArrayInputStream(text.getBytes()); in testCopyStreams()
137 assertEquals(text, baos.toString()); in testCopyStreams()
141 String text = getLargeText(); in testCopyStreamToWriter() local
142 ByteArrayInputStream bais = new ByteArrayInputStream(text.getBytes()); in testCopyStreamToWriter()
149 assertEquals(text, baos.toString()); in testCopyStreamToWriter()
156 String text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " in getLargeText() local
165 sb.append(text); in getLargeText()
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
D_anritsu_utils.py178 def gsm_encode(text): argument
186 for char in text:
193 def gsm_decode(text): argument
200 coded_str = text
202 if char in text:
206 def cdma_encode(text): argument
214 for char in text:
/tools/tradefederation/core/src/com/android/tradefed/util/
DTableBuilder.java65 Separator(char end, char pipe, String text) { in Separator() argument
68 mText = text; in Separator()
94 SingleColumn(String text) { in SingleColumn() argument
95 mText = text; in SingleColumn()
101 String text = mText; in build() local
102 while (text != null) { in build()
106 if (text.length() > width) { in build()
107 mBuilder.append(text.substring(0, width)); in build()
108 text = text.substring(width); in build()
110 mBuilder.append(text); in build()
[all …]
DSimplePerfUtil.java168 private final String text; field in SimplePerfUtil.SimplePerfType
170 SimplePerfType(final String text) { in SimplePerfType() argument
171 this.text = text; in SimplePerfType()
176 return text; in toString()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationTest.java62 String text = new String(se.read(), Charsets.US_ASCII); in elementaryManifestGeneration() local
63 text = text.trim(); in elementaryManifestGeneration()
64 String lines[] = text.split(System.getProperty("line.separator")); in elementaryManifestGeneration()
98 String text = new String(se.read(), Charsets.US_ASCII); in manifestGenerationOnHalfWrittenFile() local
99 text = text.trim(); in manifestGenerationOnHalfWrittenFile()
100 String lines[] = text.split(System.getProperty("line.separator")); in manifestGenerationOnHalfWrittenFile()
136 String text = new String(se.read(), Charsets.US_ASCII); in manifestGenerationOnExistingFile() local
137 text = text.trim(); in manifestGenerationOnExistingFile()
138 String lines[] = text.split(System.getProperty("line.separator")); in manifestGenerationOnExistingFile()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DEncodeUtilsTest.java40 String text = "foo"; in asciiEncodeAndDecode() local
43 byte[] encoded = EncodeUtils.encode(text, flags); in asciiEncodeAndDecode()
45 assertEquals(text, EncodeUtils.decode(encoded, flags)); in asciiEncodeAndDecode()
69 String text = EncodeUtils.decode(greatWallChinese, flags); in asciiDecodeAsUtf8() local
70 assertEquals("\u9577\u57ce", text); in asciiDecodeAsUtf8()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DJacocoCodeCoverageTest.java165 String text = StreamUtil.getStringFromStream(template); in getBuildXml() local
169 text = text.replaceAll(Pattern.quote("${jacocoant}"), jacocoFile.getAbsolutePath()); in getBuildXml()
170 text = text.replaceAll(Pattern.quote("${classfileset}"), getFileTags(allclassesJars)); in getBuildXml()
171 text = text.replaceAll(Pattern.quote("${execfileset}"), getFileTags(executionFiles)); in getBuildXml()
172 text = text.replaceAll(Pattern.quote("${reportdestdirs}"), in getBuildXml()
175 FileUtil.writeToFile(text, buildXml); in getBuildXml()
/tools/loganalysis/src/com/android/loganalysis/parser/
DSystemPropsParser.java39 final String text = ArrayUtil.join("\n", lines).trim(); in parse() local
40 if ("".equals(text)) { in parse()
45 item.setText(text); in parse()
DMemInfoParser.java40 final String text = ArrayUtil.join("\n", lines).trim(); in parse() local
41 if ("".equals(text)) { in parse()
46 item.setText(text); in parse()
DTopParser.java47 final String text = ArrayUtil.join("\n", lines).trim(); in parse() local
48 if ("".equals(text)) { in parse()
53 item.setText(text); in parse()
DProcrankParser.java51 final String text = ArrayUtil.join("\n", lines).replaceAll("\\s+$", ""); in parse() local
52 if ("".equals(text.trim())) { in parse()
57 item.setText(text); in parse()
/tools/metalava/src/main/java/com/android/tools/metalava/
DAndroidApiChecks.kt177 val text = method.documentation in checkRequiresPermission() constant
196 if (text.contains(perm)) { in checkRequiresPermission()
206 … } else if (text.contains("android.Manifest.permission") || text.contains("android.permission.")) { in checkRequiresPermission()
223 val text = field.documentation in checkIntentAction() constant
225 if (text.contains("Broadcast Action:") || in checkIntentAction()
226 text.contains("protected intent") && text.contains("system") in checkIntentAction()
242 if (text.contains("Activity Action:")) { in checkIntentAction()
/tools/loganalysis/src/com/android/loganalysis/item/
DMemInfoItem.java44 public void setText(String text) { in setText() argument
45 mText = text; in setText()
DSystemPropsItem.java44 public void setText(String text) { in setText() argument
45 mText = text; in setText()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogDataType.java65 LogDataType(String fileExt, String contentType, boolean compressed, boolean text) { in LogDataType() argument
68 mIsText = text; in LogDataType()
DRetentionFileSaver.java23 import java.text.ParseException;
24 import java.text.SimpleDateFormat;
DXmlResultReporter.java32 import java.text.SimpleDateFormat;
192 serializer.text(stackText); in print()
202 private String sanitize(String text) { in sanitize() argument
203 return text.replace("\0", "<\\0>"); in sanitize()
/tools/repohooks/rh/
Dterminal.py78 def color(self, color, text): argument
90 return text
95 return start + text + self.RESET
/tools/test/connectivity/acts/tests/google/bt/pts/
Dcmd_input.py411 def complete_gatts_setup_database(self, text, line, begidx, endidx): argument
412 if not text:
418 if s.startswith(text)
422 def complete_gatts_send_response(self, text, line, begidx, endidx): argument
424 if not text:
428 s for s in gatt_server_responses.keys() if s.startswith(text)
432 def complete_gatts_send_continuous_response(self, text, line, begidx, argument
435 if not text:
439 s for s in gatt_server_responses.keys() if s.startswith(text)
443 def complete_gatts_send_continuous_response_data(self, text, line, begidx, argument
[all …]
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
D.gitattributes1 * -text
/tools/apkzlib/src/test/resources/testData/packaging/
Droot1 A text file in the root.

1234