Home
last modified time | relevance | path

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

12

/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/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
DTagVerifier.java28 Result verifyTag(Tag tag) throws FormatException, IOException; in verifyTag() argument
/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.java223 String tag = payload.getString(JSON_TAG); in test()
225 Log.e(TAG, tag + (zen ? "" : " not") + " intercepted"); in test()
226 if (found.contains(tag)) { in test()
229 } else if (ALICE.equals(tag)) { in test()
232 } else if (BOB.equals(tag)) { in test()
235 } else if (CHARLIE.equals(tag)) { in test()
314 String tag = payload.getString(JSON_TAG); in test()
316 Log.e(TAG, tag + (zen ? "" : " not") + " intercepted"); in test()
317 if (found.contains(tag)) { in test()
320 } 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()
DNotificationListenerVerifierActivity.java207 String tag = payload.getString(JSON_TAG); in test()
208 if (mTag1.equals(tag)) { in test()
218 } else if (mTag2.equals(tag)) { in test()
228 } else if (mTag3.equals(tag)) { in test()
240 logFail("unexpected notification tag: " + tag); in test()
/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/suite/cts/deviceTests/browserbench/assets/octane/
Dsplay.js49 function GeneratePayloadTree(depth, tag) { argument
53 string : 'String for key ' + tag + ' in leaf node'
57 left: GeneratePayloadTree(depth - 1, tag),
58 right: GeneratePayloadTree(depth - 1, tag)
/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/tests/tests/text/src/android/text/cts/
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/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.java195 private void serialize(KXmlSerializer serializer, String tag, String subTag, in serialize() argument
197 serializer.startTag(ns, tag); in serialize()
217 serializer.endTag(ns, tag); in serialize()
300 private String parseTag(XmlPullParser parser, String tag, String subTag, String delim, in parseTag() argument
302 if (!parser.getName().equals(tag)) { in parseTag()
304 "invalid XML: Expected %s tag but received %s", tag, in parseTag()
321 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(tag)) { in parseTag()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DDumpsysHostTest.java163 private void checkTag(String tag, boolean hasProcess) { in checkTag() argument
164 assertEquals(hasProcess ? 3 : 2, tag.length()); in checkTag()
167 char s = tag.charAt(0); in checkTag()
169 fail("malformed tag: " + tag); in checkTag()
173 char m = tag.charAt(1); in checkTag()
175 fail("malformed tag: " + tag); in checkTag()
179 char p = tag.charAt(2); in checkTag()
180 assertTrue("malformed tag: " + tag, p >= 'a' && p <= 'z'); in checkTag()
930 private static void assertSeenTag(Set<String> seenTags, String tag) { in assertSeenTag() argument
931 assertTrue("No line starting with \"" + tag + ",\"", seenTags.contains(tag)); in assertSeenTag()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DListenerTest.java172 private void createResultString(StringBuilder sb, String tag, in createResultString() argument
174 sb.append(tag); in createResultString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
DSensorTestDetails.java78 public SensorTestDetails(String name, String tag, Throwable cause) { in SensorTestDetails() argument
90 mSummary = String.format("[%s] %s", tag, cause.getMessage()); in SensorTestDetails()
/cts/tests/tests/content/src/android/content/cts/
DMockSRSProvider.java32 public MockSRSProvider(String tag) { in MockSRSProvider() argument
/cts/tests/tests/widget/src/android/widget/cts/
DTabHostCtsActivity.java50 public View createTabContent(String tag) { in createTabContent() argument

12