Home
last modified time | relevance | path

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

12

/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/tests/tests/os/src/android/os/cts/
DNoExecutePermissionTest.java51 String tag = fields[5]; in testNoExecutePermission() local
52 if ("[heap]".equals(tag)) { in testNoExecutePermission()
54 } else if ("[stack]".equals(tag)) { in testNoExecutePermission()
DTokenWatcherTest.java186 public MockTokenWatcher(Handler h, String tag) { in MockTokenWatcher() argument
187 super(h, tag); in MockTokenWatcher()
/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/tools/utils/cts/
Dtools.py183 def GetAndroidAttr(self, tag, attr_name): argument
193 element = self.doc.getElementsByTagName(tag)[0]
196 def GetAttr(self, tag, attr_name): argument
206 element = self.doc.getElementsByTagName(tag)[0]
/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/apps/CtsVerifier/src/com/android/cts/verifier/nls/
DMockListener.java184 public static void clearOne(Context context, String tag, int code) { in clearOne() argument
185 sendCommand(context, SERVICE_CLEAR_ONE, tag, code); in clearOne()
192 private static void sendCommand(Context context, String action, String tag, int code) { in sendCommand() argument
194 if (tag != null) { in sendCommand()
195 broadcast.putExtra(EXTRA_TAG, tag); in sendCommand()
DNotificationListenerVerifierActivity.java257 private PendingIntent makeIntent(int code, String tag) { in makeIntent() argument
258 Intent intent = new Intent(tag); in makeIntent()
454 String tag = payload.getString(JSON_TAG); in testDataIntact()
455 if (mTag1.equals(tag)) { in testDataIntact()
465 } else if (mTag2.equals(tag)) { in testDataIntact()
475 } else if (mTag3.equals(tag)) { in testDataIntact()
487 logWithStack("failed on unexpected notification tag: " + tag); in testDataIntact()
/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()
DSimpleReaderActivity.java84 public void onTagDiscovered(Tag tag) { in onTagDiscovered() argument
86 IsoDep isoDep = IsoDep.get(tag); 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/tradefed-host/src/com/android/cts/tradefed/result/
DDeviceInfoResult.java193 private void serialize(KXmlSerializer serializer, String tag, String subTag, in serialize() argument
195 serializer.startTag(ns, tag); in serialize()
215 serializer.endTag(ns, tag); in serialize()
298 private String parseTag(XmlPullParser parser, String tag, String subTag, String delim, in parseTag() argument
300 if (!parser.getName().equals(tag)) { in parseTag()
302 "invalid XML: Expected %s tag but received %s", tag, in parseTag()
319 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(tag)) { in parseTag()
/cts/tools/utils/
Dandroid_api_description_splitter.py93 def split(self, tag): argument
95 elemlist = self.doc.getElementsByTagName(tag)
/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/tests/src/android/content/cts/
DMockSRSProvider.java32 public MockSRSProvider(String tag) { in MockSRSProvider() argument
/cts/tests/src/android/widget/cts/
DTabHostStubActivity.java50 public View createTabContent(String tag) { in createTabContent() argument
/cts/tests/tests/widget/src/android/widget/cts/
DTabHost_TabSpecTest.java202 public View createTabContent(String tag) { in createTabContent() argument
204 tv.setText(tag); in createTabContent()
210 public View createTabContent(String tag) { in createTabContent() argument
DTabHostTest.java376 public View createTabContent(String tag) { in createTabContent() argument
378 tv.setText(tag); in createTabContent()
384 public View createTabContent(String tag) { in createTabContent() argument
DListViewTest.java642 protected View findViewWithTagTraversal(Object tag) { in findViewWithTagTraversal() argument
643 return super.findViewWithTagTraversal(tag); in findViewWithTagTraversal()
801 final Object tag = new Object(); in testTransientStateStableIds() local
806 oldItem.setTag(tag); in testTransientStateStableIds()
823 Assert.assertEquals(tag, newItem.getTag()); in testTransientStateStableIds()
/cts/suite/cts/utils/
Dget_csv_report.py33 def getText(tag): argument
34 return str(tag.firstChild.nodeValue)

12