/tools/test/connectivity/acts_tests/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/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | Javadoc.kt | 190 return docComment.findTagsByName("param").firstOrNull { it.valueElement?.text == paramName } in findParamTag() 592 sb.append(element.text) in expand() 596 val text = element.text in expand() constant 598 if (text.startsWith("R.styleable#") && owner.documentation.contains("@attr")) { in expand() 602 sb.append(text) in expand() 605 val text = element.text in expand() constant 612 if (PREPEND_LOCAL_CLASS && text.startsWith("#")) { in expand() 613 var end = text.indexOf('(') in expand() 616 end = text.length in expand() 617 val fieldName = text.substring(1, end) in expand() [all …]
|
D | PsiItem.kt | 109 val text = docTag.text in isCloned() constant 112 var index = text.length - 1 in isCloned() 114 val c = text[index] in isCloned() 121 return if (index < text.length) { in isCloned() 122 text.substring(0, index) in isCloned() 124 text in isCloned() 243 it.text in javadoc() 251 return first.text in javadoc() 257 return element.docComment?.text ?: "" in javadoc()
|
D | PsiCompilationUnit.kt | 55 val text = uComment.text in getHeaderComments() constant 57 comment + "\n" + text in getHeaderComments() 59 text in getHeaderComments() 68 return file.text.substring(0, pkg.startOffset) in getHeaderComments() 74 val text = curr.text in getHeaderComments() constant 76 comment + "\n" + text in getHeaderComments() 78 text in getHeaderComments()
|
D | PsiAnnotationItem.kt | 238 sb.append(value.text) in <lambda>() 245 sb.append(value.operationSign.text) in <lambda>() 273 sb.append(value.text) in <lambda>() 313 override val valueSource: String = psiValue.text in toString() 317 return psiValue.value ?: psiValue.text.removeSurrounding("\"") in toString() 325 return psiValue.text ?: psiValue.text.removeSurrounding("\"") in toString() 330 override fun toSource(): String = psiValue.text in toString() 350 override fun toSource(): String = value.text
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ |
D | command_input.py | 227 def complete_ble_adv_data_include_name(self, text, line, begidx, endidx): argument 229 if not text: 232 completions = [s for s in roles if s.startswith(text)] 249 def complete_ble_adv_data_set_appearance(self, text, line, begidx, endidx): argument 250 if not text: 255 if s.startswith(text) 266 def complete_ble_adv_data_include_tx_power_level(self, text, line, begidx, argument 269 if not text: 272 completions = [s for s in options if s.startswith(text)] 292 def complete_ble_adv_include_scan_response(self, text, line, begidx, argument [all …]
|
/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/test/connectivity/acts_tests/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/tradefederation/core/tests/src/com/android/tradefed/util/ |
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 …]
|
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 …]
|
/tools/dexter/testdata/expected/ |
D | medium.wrap_invoke | 115 39| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 125 55| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 179 …33| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 185 …43| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2285 10| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2291 20| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2297 30| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2622 …13| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2625 …18| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2628 …23| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… [all …]
|
D | medium.rewrite | 115 39| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 125 55| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 179 …33| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 185 …43| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2285 10| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2291 20| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2297 30| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2622 …13| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2625 …18| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2628 …23| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… [all …]
|
D | medium.entry_hook | 122 42| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 132 58| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 188 …36| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 194 …46| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2417 13| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2423 23| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2429 33| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2762 …16| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2765 …21| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2768 …26| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… [all …]
|
D | medium.exit_hook | 125 39| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 135 55| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 192 …33| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 198 …43| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2490 10| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2496 20| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2502 30| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2843 …13| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2846 …18| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2849 …23| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… [all …]
|
D | medium.scratch_regs | 148 57| sget-object v11, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 158 73| sget-object v11, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 224 …60| invoke-static {v9,v12,v10}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, andro… 230 …70| invoke-static {v9,v12,v10}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, andro… 2927 28| sget-object v10, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2933 38| sget-object v10, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2939 48| sget-object v10, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 3351 …40| invoke-static {v9,v12,v13}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, andro… 3354 …45| invoke-static {v9,v12,v13}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, andro… 3357 …50| invoke-static {v9,v12,v13}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, andro… [all …]
|
D | medium.compact_cfg | 128 39| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 138 55| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 196 …33| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 202 …43| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2708 10| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2714 20| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2720 30| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 3113 …13| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 3116 …18| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 3119 …23| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… [all …]
|
D | medium.verbose_cfg | 172 39| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 194 55| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 294 …33| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 308 …43| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 3608 10| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 3622 20| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 3636 30| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 4239 …13| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 4246 …18| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 4253 …23| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… [all …]
|
D | medium.asm | 115 39| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 125 55| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 179 …33| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 185 …43| invoke-static {v0,v3,v1}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2285 10| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2291 20| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2297 30| sget-object v0, android.text.TextUtils.CHAR_SEQUENCE_CREATOR 2622 …13| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2625 …18| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… 2628 …23| invoke-static {v0,v3,v4}, android.text.TextUtils.writeToParcel(java.lang.CharSequence, android… [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 …]
|
/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/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/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/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/metalava/src/main/java/com/android/tools/metalava/ |
D | AndroidApiChecks.kt | 176 val text = method.documentation in checkRequiresPermission() constant 195 if (text.contains(perm)) { in checkRequiresPermission() 205 … } else if (text.contains("android.Manifest.permission") || text.contains("android.permission.")) { in checkRequiresPermission() 222 val text = field.documentation in checkIntentAction() constant 224 if (text.contains("Broadcast Action:") || in checkIntentAction() 225 text.contains("protected intent") && text.contains("system") in checkIntentAction() 241 if (text.contains("Activity Action:")) { in checkIntentAction()
|
/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:
|