/tools/test/connectivity/acts/tests/google/tel/lab/ |
D | TelLabSmsTest.py | 300 text = self.insert_string_into_message( 303 text, DIRECTION_MOBILE_ORIGINATED) 316 text = self.insert_string_into_message( 319 text, DIRECTION_MOBILE_TERMINATED) 333 text = self.insert_string_into_message( 337 text, DIRECTION_MOBILE_ORIGINATED) 351 text = self.insert_string_into_message( 355 text, DIRECTION_MOBILE_TERMINATED) 369 text = self.insert_string_into_message( 373 text, DIRECTION_MOBILE_ORIGINATED) [all …]
|
/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 | 177 String text = getLargeText(); in testCopyStreams() local 178 ByteArrayInputStream bais = new ByteArrayInputStream(text.getBytes()); in testCopyStreams() 183 assertEquals(text, baos.toString()); in testCopyStreams() 191 String text = getLargeText(); in testCopyStreams_partialSuccess() local 195 builder.append(text); in testCopyStreams_partialSuccess() 214 String text = getLargeText(); in testCopyStreams_partialFail() local 215 bais = new ByteArrayInputStream(text.getBytes()); in testCopyStreams_partialFail() 217 StreamUtil.copyStreams(bais, baos, 10, text.length() + 1024); in testCopyStreams_partialFail() 227 String text = getLargeText(); in testCopyStreamToWriter() local 228 ByteArrayInputStream bais = new ByteArrayInputStream(text.getBytes()); in testCopyStreamToWriter() [all …]
|
/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/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | _anritsu_utils.py | 179 def gsm_encode(text): argument 187 for char in text: 194 def gsm_decode(text): argument 201 coded_str = text 203 if char in text: 207 def cdma_encode(text): argument 215 for char in text:
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 229 sb.append(performanceReport.text); in getInvocationSummary() 288 String text; field in GameQualificationResultReporter.Report 290 public Report(boolean success, String text) { in Report() argument 292 this.text = text; in Report() 302 StringBuilder text = new StringBuilder(); in createPerformanceReport() local 309 text.append("Warning: "); in createPerformanceReport() 310 text.append(testId.getTestName()); in createPerformanceReport() 311 text.append(" was executed, but performance metrics was ignored because " in createPerformanceReport() 323 text.append( in createPerformanceReport() 336 text.append("Warning: runtime specification allowed for exactly 2 loops to be " in createPerformanceReport() [all …]
|
/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/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | contest.py | 249 if col.text == '2D position error [m]': 251 'min': float(next(col_iterator).text), 252 'med': float(next(col_iterator).text), 253 'avg': float(next(col_iterator).text), 254 'max': float(next(col_iterator).text) 256 elif col.text == 'Time to first fix [s]': 258 'min': float(next(col_iterator).text), 259 'med': float(next(col_iterator).text), 260 'avg': float(next(col_iterator).text), 261 'max': float(next(col_iterator).text) [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationFilter.kt | 119 val text = source.replace("@", "") in fromSource() constant 120 val index = text.indexOf("(") in fromSource() 123 text in fromSource() 125 text.substring(0, index) in fromSource() 132 text.substring(index + 1, text.lastIndexOf(')')) in fromSource()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiItem.kt | 107 val text = docTag.text in isCloned() constant 110 var index = text.length - 1 in isCloned() 112 val c = text[index] in isCloned() 119 return if (index < text.length) { in isCloned() 120 text.substring(0, index) in isCloned() 122 text in isCloned() 249 return first.text in javadoc() 255 return element.docComment?.text ?: "" in javadoc()
|
/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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | PerfettoGenericPostProcessorTest.java | 90 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testNoMetricsByDefault() 112 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testMetricsFilterWithRegEx() 139 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testMetricsFilterWithRegExAndReplacePrefix() 170 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testAllMetricsOptionIgnoresFilter() 192 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testParsingTestMetrics() 213 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testParsingWithAllMetricsPrefix() 235 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testParsingRunMetrics() 258 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testParsingWithoutIndexing() 282 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testParsingWithIndexing() 313 setupPerfettoMetricFile(METRIC_FILE_FORMAT.text, true); in testParsingWithKeyPrefixing() [all …]
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/ |
D | ProcessLabel.kt | 22 class ProcessLabel(text: String) : JLabel(text) {
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | bluetooth_pts_device.py | 273 version.text = "2.0" 276 self.xml_pts_pixit.text = "" 278 self.xml_pts_running_log.text = "" 280 self.xml_pts_running_summary.text = "" 311 self.xml_pts_pixit.text = "ICS VALUES:\n\n" 313 self.xml_pts_pixit.text += "{} {}\n".format( 315 self.xml_pts_pixit.text += "\nIXIT VALUES:\n\n" 317 self.xml_pts_pixit.text += "{} {}\n".format( 533 self.xml_pts_running_summary.text += "\t- {}".format(log_msg) 535 self.xml_pts_running_summary.text += "{}{}\n".format( [all …]
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | SystemPropsItem.java | 44 public void setText(String text) { in setText() argument 45 mText = text; in setText()
|
D | MemInfoItem.java | 44 public void setText(String text) { in setText() argument 45 mText = text; in setText()
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_datastore_utils.py | 82 if result_str in response.text: 135 if 'error' in response.text: 148 if 'error' in response.text:
|
/tools/ndkports/src/main/kotlin/com/android/ndkports/ |
D | NdkVersion.kt | 43 fun fromSourcePropertiesText(text: String): NdkVersion { in fromSourcePropertiesText() 44 for (line in text.lines().map { it.trim() }) { in fromSourcePropertiesText()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeParameterItemTest.kt | 17 package com.android.tools.metalava.model.text 20 import com.android.tools.metalava.model.text.TextTypeParameterItem.Companion.bounds
|
/tools/tradefederation/core/common_util/com/android/tradefed/result/ |
D | LogDataType.java | 71 LogDataType(String fileExt, String contentType, boolean compressed, boolean text) { in LogDataType() argument 74 mIsText = text; in LogDataType()
|
/tools/repohooks/rh/ |
D | terminal.py | 78 def color(self, color, text): argument 90 return text 95 return start + text + self.RESET
|