/tools/test/connectivity/acts/tests/google/tel/lab/ |
D | TelLabSmsTest.py | 234 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/ |
D | PsiItem.kt | 84 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 …]
|
D | PsiCompilationUnit.kt | 43 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/ |
D | FixedByteArrayOutputStreamTest.java | 52 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 …]
|
D | StreamUtilTest.java | 131 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.py | 178 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/ |
D | TableBuilder.java | 65 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 …]
|
D | SimplePerfUtil.java | 168 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/ |
D | ManifestGenerationTest.java | 62 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/ |
D | EncodeUtilsTest.java | 40 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/ |
D | JacocoCodeCoverageTest.java | 165 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/ |
D | SystemPropsParser.java | 39 final String text = ArrayUtil.join("\n", lines).trim(); in parse() local 40 if ("".equals(text)) { in parse() 45 item.setText(text); in parse()
|
D | MemInfoParser.java | 40 final String text = ArrayUtil.join("\n", lines).trim(); in parse() local 41 if ("".equals(text)) { in parse() 46 item.setText(text); in parse()
|
D | TopParser.java | 47 final String text = ArrayUtil.join("\n", lines).trim(); in parse() local 48 if ("".equals(text)) { in parse() 53 item.setText(text); in parse()
|
D | ProcrankParser.java | 51 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/ |
D | AndroidApiChecks.kt | 177 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/ |
D | MemInfoItem.java | 44 public void setText(String text) { in setText() argument 45 mText = text; in setText()
|
D | SystemPropsItem.java | 44 public void setText(String text) { in setText() argument 45 mText = text; in setText()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogDataType.java | 65 LogDataType(String fileExt, String contentType, boolean compressed, boolean text) { in LogDataType() argument 68 mIsText = text; in LogDataType()
|
D | RetentionFileSaver.java | 23 import java.text.ParseException; 24 import java.text.SimpleDateFormat;
|
D | XmlResultReporter.java | 32 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/ |
D | terminal.py | 78 def color(self, color, text): argument 90 return text 95 return start + text + self.RESET
|
/tools/test/connectivity/acts/tests/google/bt/pts/ |
D | cmd_input.py | 411 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 | .gitattributes | 1 * -text
|
/tools/apkzlib/src/test/resources/testData/packaging/ |
D | root | 1 A text file in the root.
|