/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() 247 it.text in javadoc() 255 return first.text in javadoc() 261 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 | 239 sb.append(value.text) in <lambda>() 246 sb.append(value.operationSign.text) in <lambda>() 274 sb.append(value.text) in <lambda>() 314 override val valueSource: String = psiValue.text in toString() 318 return psiValue.value ?: psiValue.text.removeSurrounding("\"") in toString() 326 return psiValue.text ?: psiValue.text.removeSurrounding("\"") in toString() 331 override fun toSource(): String = psiValue.text in toString() 351 override fun toSource(): String = value.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/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/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/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/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/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/metalava/src/main/java/com/android/tools/metalava/ |
D | AndroidApiChecks.kt | 175 val text = method.documentation in checkRequiresPermission() constant 194 if (text.contains(perm)) { in checkRequiresPermission() 204 … } else if (text.contains("android.Manifest.permission") || text.contains("android.permission.")) { in checkRequiresPermission() 221 val text = field.documentation in checkIntentAction() constant 223 if (text.contains("Broadcast Action:") || in checkIntentAction() 224 text.contains("protected intent") && text.contains("system") in checkIntentAction() 240 if (text.contains("Activity Action:")) { in checkIntentAction()
|
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()
|
D | Reporter.kt | 29 import com.android.tools.metalava.model.text.TextItem in <lambda>() 271 getLineNumber(psiFile.text, range.startOffset) + 1 in elementToLocation() 277 private fun getLineNumber(text: String, offset: Int): Int { in getLineNumber() 280 val target = offset.coerceAtMost(text.length) in getLineNumber() 282 if (text[curr++] == '\n') { in getLineNumber()
|
/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_tests/tests/google/net/ |
D | CaptivePortalTest.py | 76 uutils.has_element(self.dut, text="Network & internet"), 78 uutils.wait_and_click(self.dut, text="Network & internet") 79 uutils.wait_and_click(self.dut, text="Not connected") 112 uutils.wait_and_click(self.dut, text="%s" % network["SSID"]) 113 if uutils.has_element(self.dut, text="%s" % click_accept): 114 uutils.wait_and_click(self.dut, text="%s" % click_accept)
|
/tools/test/connectivity/acts_tests/tests/google/nr/cbr/ |
D | CellBroadcastTest.py | 107 node = uutils.wait_and_get_xml_node(ad, timeout=30, text=alert_text) 160 if not uutils.has_element(ad, text=alert_text): 163 if not uutils.has_element(ad, text=alert_text): 185 if not uutils.has_element(ad, text=alert_text): 188 if not uutils.has_element(ad, text=alert_text): 193 uutils.wait_and_click(ad, text=alert_text) 198 uutils.wait_and_click(ad, text=alert_text) 204 uutils.wait_and_click(ad, text=alert_text)
|
/tools/dexter/testdata/expected/ |
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.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.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.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.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 …]
|
/tools/asuite/atest-py2/ |
D | atest_utils.py | 297 def colorize(text, color, highlight=False): argument 317 clr_str = "%s%dm%s%s" % (clr_pref, ansi_shift, text, clr_suff) 319 clr_str = text 323 def colorful_print(text, color, highlight=False, auto_wrap=True): argument 333 output = colorize(text, color, highlight)
|