Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 64) sorted by relevance

123

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DLogt.java22 public static void i(String tag, String msg) { in i() argument
24 Log.i(tag, String.format("[%d] %s", t, msg)); in i()
26 public static void e(String tag, String msg) { in e() argument
28 Log.e(tag, String.format("[%d] %s", t, msg)); in e()
30 public static void w(String tag, String msg) { in w() argument
32 Log.w(tag, String.format("[%d] %s", t, msg)); in w()
34 public static void e(String tag, String msg, Throwable tr) { in e() argument
36 Log.e(tag, String.format("[%d] %s", t, msg), tr); in e()
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessErrorStateInfoTest.java44 String tag = "tag"; in testWriteToParcel() local
52 mErrorStateInfo.tag = tag; in testWriteToParcel()
66 assertEquals(tag, values.tag); in testWriteToParcel()
78 String tag = "tag"; in testReadFromParcel() local
86 mErrorStateInfo.tag = tag; in testReadFromParcel()
100 assertEquals(tag, values.tag); in testReadFromParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DNdefTagTester.java52 public boolean isTestableTag(Tag tag) { in isTestableTag() argument
53 if (tag != null) { in isTestableTag()
54 for (String tech : tag.getTechList()) { in isTestableTag()
56 Ndef ndef = Ndef.get(tag); in isTestableTag()
65 public TagVerifier writeTag(Tag tag) throws IOException, FormatException { in writeTag() argument
71 writeMessage(tag, expectedMessage); in writeTag()
78 public Result verifyTag(Tag tag) throws IOException, FormatException { in writeTag()
80 NdefMessage message = readMessage(tag); in writeTag()
107 private void writeMessage(Tag tag, NdefMessage message) throws IOException, FormatException {
110 ndef = Ndef.get(tag);
[all …]
DMifareUltralightTagTester.java37 public boolean isTestableTag(Tag tag) { in isTestableTag() argument
38 if (tag != null) { in isTestableTag()
39 for (String tech : tag.getTechList()) { in isTestableTag()
49 public TagVerifier writeTag(Tag tag) throws IOException { in writeTag() argument
51 MifareUltralight ultralight = MifareUltralight.get(tag); in writeTag()
66 public Result verifyTag(Tag tag) throws IOException { in writeTag()
67 MifareUltralight ultralight = MifareUltralight.get(tag); in writeTag()
DTagTester.java25 boolean isTestableTag(Tag tag); in isTestableTag() argument
28 TagVerifier writeTag(Tag tag) throws Exception; in writeTag() argument
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java359 for (String tag : tags) { in testMarkupFromHtml()
360 String source = String.format("Hello <%s>struck</%s> world", tag, tag); in testMarkupFromHtml()
378 for (String tag : tags) { in testTextAlignCssFromHtml()
382 tag, tag, tag, tag, tag, tag); in testTextAlignCssFromHtml()
403 tag, tag, tag, tag, tag, tag); in testTextAlignCssFromHtml()
413 tag, tag, tag, tag, tag, tag, tag, tag); in testTextAlignCssFromHtml()
DAlteredCharSequenceTest.java143 public int getSpanEnd(Object tag) { in getSpanEnd() argument
146 public int getSpanFlags(Object tag) { in getSpanFlags() argument
149 public int getSpanStart(Object tag) { in getSpanStart() argument
/cts/tests/tests/location/src/android/location/cts/
DTestGnssMeasurementListener.java43 TestGnssMeasurementListener(String tag) { in TestGnssMeasurementListener() argument
44 this(tag, 0); in TestGnssMeasurementListener()
47 TestGnssMeasurementListener(String tag, int eventsToCollect) { in TestGnssMeasurementListener() argument
48 mTag = tag; in TestGnssMeasurementListener()
DTestGnssNavigationMessageListener.java44 TestGnssNavigationMessageListener(String tag, int eventsToCollect) { in TestGnssNavigationMessageListener() argument
45 mTag = tag; in TestGnssNavigationMessageListener()
DSoftAssert.java167 public static void failAsWarning(String tag, String message) { in failAsWarning() argument
168 Log.w(tag, message + " [NOTE: in a future release this feature might become mandatory, and" in failAsWarning()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMultipleTracksTestActivity.java73 Integer tag = (Integer) mSelectAudioItem.getTag(); in onClick()
74 if (tag == 0) { in onClick()
76 } else if (tag == 1) { in onClick()
88 Integer tag = (Integer) mSelectAudioItem.getTag(); in onClick()
89 if (tag == 0) { in onClick()
91 } else if (tag == 1) { in onClick()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java238 String tag = payload.getString(JSON_TAG); in test()
240 Log.e(TAG, tag + (zen ? "" : " not") + " intercepted"); in test()
241 if (found.contains(tag)) { in test()
244 } else if (ALICE.equals(tag)) { in test()
247 } else if (BOB.equals(tag)) { in test()
250 } else if (CHARLIE.equals(tag)) { in test()
329 String tag = payload.getString(JSON_TAG); in test()
331 Log.e(TAG, tag + (zen ? "" : " not") + " intercepted"); in test()
332 if (found.contains(tag)) { in test()
335 } else if (ALICE.equals(tag)) { in test()
[all …]
DMockListener.java133 String tag = intent.getStringExtra(EXTRA_TAG); in onCreate()
134 String key = mNotificationKeys.get(tag); in onCreate()
138 Log.w(TAG, "Notification does not exist: " + tag); in onCreate()
274 public static void clearOne(Context context, String tag, int code) { in clearOne() argument
275 sendCommand(context, SERVICE_CLEAR_ONE, tag, code); in clearOne()
282 private static void sendCommand(Context context, String action, String tag, int code) { in sendCommand() argument
284 if (tag != null) { in sendCommand()
285 broadcast.putExtra(EXTRA_TAG, tag); in sendCommand()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DTagVerifierActivity.java152 Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG); in onNewIntent() local
153 if (tag != null) { in onNewIntent()
154 mTag = tag; in onNewIntent()
155 updateTechListAdapter(tag); in onNewIntent()
158 handleWriteStep(tag); in onNewIntent()
168 private void handleWriteStep(Tag tag) { in handleWriteStep() argument
169 if (mTagTester.isTestableTag(tag)) { in handleWriteStep()
190 private void updateTechListAdapter(Tag tag) { in updateTechListAdapter() argument
192 String[] techList = tag.getTechList(); in updateTechListAdapter()
/cts/tools/dasm/src/java_cup/runtime/
Dlr_parser.java389 short tag; in get_action() local
398 tag = row[probe++]; in get_action()
399 if (tag == sym || tag == -1) in get_action()
444 short tag; in get_reduce() local
454 tag = row[probe++]; in get_reduce()
455 if (tag == sym || tag == -1) in get_reduce()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSmallStructsTest.java202 String tag = type1 + "_" + type2; in testSmallStructsOfHeterogeneousTypes() local
204 "android.renderscript.cts.ScriptField_two_element_struct_" + tag); in testSmallStructsOfHeterogeneousTypes()
228 "forEach_modify_two_element_struct_" + tag, in testSmallStructsOfHeterogeneousTypes()
232 "invoke_verify_two_element_struct_" + tag, in testSmallStructsOfHeterogeneousTypes()
/cts/common/host-side/util/src/com/android/compatibility/common/util/
DMonitoringUtils.java54 String tag) throws DeviceNotAvailableException { in checkDeviceConnectivity() argument
58 listener.testLog(String.format("bugreport-connectivity-%s", tag), in checkDeviceConnectivity()
/cts/tools/utils/cts/
Dtools.py226 def GetAndroidAttr(self, tag, attr_name): argument
236 element = self.doc.getElementsByTagName(tag)[0]
239 def GetAttr(self, tag, attr_name): argument
249 element = self.doc.getElementsByTagName(tag)[0]
/cts/tests/tests/view/src/android/view/cts/
DActionModeTest.java84 Object tag = new Object(); in testSetAndGetTag() local
89 actionMode.setTag(tag); in testSetAndGetTag()
90 assertSame(tag, actionMode.getTag()); in testSetAndGetTag()
DLayoutInflaterTest.java376 private void verifyThemeType(View container, String tag, int id, int type) { in verifyThemeType() argument
379 assertNotNull("Found " + tag, view); in verifyThemeType()
382 assertTrue("Resolved themeType for " + tag, resolved); in verifyThemeType()
383 assertEquals(tag + " has themeType " + type, type, outValue.data); in verifyThemeType()
399 final Object tag = target.getTag(tagId); in checkViewTag() local
400 assertNotNull("Tag is set", tag); in checkViewTag()
401 assertTrue("Tag is a character sequence", tag instanceof CharSequence); in checkViewTag()
405 assertEquals(tagId + " has tag " + expectedValue, expectedValue, tag); in checkViewTag()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DProtocolParamsReaderActivity.java178 public void onTagDiscovered(Tag tag) { in onTagDiscovered() argument
180 IsoDep isoDep = IsoDep.get(tag); in onTagDiscovered()
181 NfcA nfcA = NfcA.get(tag); in onTagDiscovered()
189 success = parseProtocolParameters(sb, tag.getId(), nfcA.getSak(), nfcA.getAtqa(), ats); in onTagDiscovered()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/reporting/
DGnssTestDetails.java76 public GnssTestDetails(String name, String tag, Throwable cause) { in GnssTestDetails() argument
85 mSummary = String.format("[%s] %s", tag, cause.getMessage()); in GnssTestDetails()
/cts/tools/utils/
Dandroid_api_description_splitter.py93 def split(self, tag): argument
95 elemlist = self.doc.getElementsByTagName(tag)
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DDeviceInfoResult.java207 private void serialize(KXmlSerializer serializer, String tag, String subTag, in serialize() argument
209 serializer.startTag(ns, tag); in serialize()
229 serializer.endTag(ns, tag); in serialize()
312 private String parseTag(XmlPullParser parser, String tag, String subTag, String delim, in parseTag() argument
314 if (!parser.getName().equals(tag)) { in parseTag()
316 "invalid XML: Expected %s tag but received %s", tag, in parseTag()
333 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(tag)) { in parseTag()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DDumpsysHostTest.java168 private void checkTag(String tag, boolean hasProcess) { in checkTag() argument
169 assertEquals(hasProcess ? 3 : 2, tag.length()); in checkTag()
172 char s = tag.charAt(0); in checkTag()
174 fail("malformed tag: " + tag); in checkTag()
178 char m = tag.charAt(1); in checkTag()
180 fail("malformed tag: " + tag); in checkTag()
184 char p = tag.charAt(2); in checkTag()
185 assertTrue("malformed tag: " + tag, p >= 'a' && p <= 'z'); in checkTag()
980 private static void assertSeenTag(Set<String> seenTags, String tag) { in assertSeenTag() argument
981 assertTrue("No line starting with \"" + tag + ",\"", seenTags.contains(tag)); in assertSeenTag()

123