Home
last modified time | relevance | path

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

123456

/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabSmsTest.py300 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/
DJavadoc.kt190 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 …]
DPsiItem.kt109 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()
DPsiCompilationUnit.kt55 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()
DPsiAnnotationItem.kt239 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/
DGameQualificationResultReporter.java229 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/
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/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcontest.py249 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.py179 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/
Dcommand_input.py227 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/
Dbluetooth_pts_device.py273 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/
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/metalava/src/main/java/com/android/tools/metalava/
DAndroidApiChecks.kt175 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()
DAnnotationFilter.kt119 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()
DReporter.kt29 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/
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/test/connectivity/acts_tests/tests/google/net/
DCaptivePortalTest.py76 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/
DCellBroadcastTest.py107 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/
Dmedium.rewrite115 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 …]
Dmedium.wrap_invoke115 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 …]
Dmedium.entry_hook122 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 …]
Dmedium.exit_hook125 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 …]
Dmedium.compact_cfg128 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 …]
Dmedium.scratch_regs148 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/
Datest_utils.py297 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)

123456