Home
last modified time | relevance | path

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

12345678910>>...18

/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/location/src/android/location/cts/asn1/supl2/supl_triggered_start/
DVer2_SUPLTRIGGEREDSTART.java299 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 0); in getComponents()
322 return tag == null ? SETCapabilities.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
327 return tag; in getComponents()
342 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 1); in getComponents()
365 return tag == null ? LocationId.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
370 return tag; in getComponents()
385 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 2); in getComponents()
408 return tag == null ? Ver.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
413 return tag; in getComponents()
428 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 3); in getComponents()
[all …]
DTriggerParams.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "TriggerParams: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? PeriodicParams.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? AreaEventParams.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
202 @Nullable final Asn1Tag tag; field in TriggerParams.Select
205 Select(@Nullable Asn1Tag tag, boolean isImplicitTagging) { in Select() argument
[all …]
DGeographicTargetArea.java59 for (Asn1Tag tag : select.getPossibleFirstTags()) {
61 if ((select0 = tagToSelection.put(tag, select)) != null) {
63 "GeographicTargetArea: " + tag + " maps to both " + select0 + " and " + select);
145 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
146 Select select = tagToSelection.get(tag); in createAndSetValue()
148 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
176 return tag == null ? CircularArea.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
194 return tag == null ? EllipticalArea.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
212 return tag == null ? PolygonArea.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
223 @Nullable final Asn1Tag tag; field in GeographicTargetArea.Select
[all …]
DAreaId.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "AreaId: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? GSMAreaId.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? WCDMAAreaId.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
209 return tag == null ? CDMAAreaId.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
227 return tag == null ? HRPDAreaId.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1Object.java74 Asn1Tag tag = getTag(); in getBerLength() local
75 if (tag == null) { in getBerLength()
76 tag = getDefaultTag(); in getBerLength()
80 return tag.getTaggedLength(valueLen); in getBerLength()
99 Asn1Tag tag = getTag(); in encodeBer() local
100 if (tag == null) { in encodeBer()
101 tag = getDefaultTag(); in encodeBer()
105 tag.writeTagAndLength(buf, true, innerValueLen); in encodeBer()
106 tag = getDefaultTag(); in encodeBer()
109 tag.writeTagAndLength(buf, isConstructed(), valueLen); in encodeBer()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/rrlp_components/
DControlHeader.java244 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 0); in getComponents()
267 return tag == null ? ReferenceTime.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
272 return tag; in getComponents()
287 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 1); in getComponents()
310 return tag == null ? RefLocation.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
315 return tag; in getComponents()
330 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 2); in getComponents()
353 return tag == null ? DGPSCorrections.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
358 return tag; in getComponents()
373 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 3); in getComponents()
[all …]
DGANSSTOD_GSMTimeAssociation.java199 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 0); in getComponents()
222 return tag == null ? BCCHCarrier.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
227 return tag; in getComponents()
242 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 1); in getComponents()
265 return tag == null ? BSIC.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
270 return tag; in getComponents()
285 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 2); in getComponents()
308 return tag == null ? FrameNumber.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
313 return tag; in getComponents()
328 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 3); in getComponents()
[all …]
DMethodType.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "MethodType: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? AccuracyOpt.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? Accuracy.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
209 return tag == null ? Accuracy.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
227 return tag == null ? Accuracy.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
[all …]
DMsrAssistBTS.java199 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 0); in getComponents()
222 return tag == null ? BCCHCarrier.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
227 return tag; in getComponents()
242 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 1); in getComponents()
265 return tag == null ? BSIC.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
270 return tag; in getComponents()
285 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 2); in getComponents()
308 return tag == null ? MultiFrameOffset.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
313 return tag; in getComponents()
328 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 3); in getComponents()
[all …]
DGANSSAuxiliaryInformation.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "GANSSAuxiliaryInformation: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? GANSS_ID1.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? GANSS_ID3.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
202 @Nullable final Asn1Tag tag; field in GANSSAuxiliaryInformation.Select
205 Select(@Nullable Asn1Tag tag, boolean isImplicitTagging) { in Select() argument
[all …]
DOTD_MsrsOfOtherSets.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "OTD_MsrsOfOtherSets: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? OTD_Measurement.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? OTD_MeasurementWithID.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
202 @Nullable final Asn1Tag tag; field in OTD_MsrsOfOtherSets.Select
205 Select(@Nullable Asn1Tag tag, boolean isImplicitTagging) { in Select() argument
[all …]
DReferenceIdentityType.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "ReferenceIdentityType: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? BSICAndCarrier.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? CellID.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
209 return tag == null ? RequestIndex.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
227 return tag == null ? SystemInfoIndex.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
[all …]
DNeighborIdentity.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "NeighborIdentity: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? BSICAndCarrier.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? CellID.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
209 return tag == null ? MultiFrameCarrier.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
227 return tag == null ? RequestIndex.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
[all …]
DGANSSAddUTCModel.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "GANSSAddUTCModel: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? UTCmodelSet2.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? UTCmodelSet3.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
209 return tag == null ? UTCmodelSet4.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
220 @Nullable final Asn1Tag tag; field in GANSSAddUTCModel.Select
[all …]
/cts/tests/tests/net/native/qtaguid/src/
DNativeQtaguidTest.cpp51 int getCtrlSkInfo(int tag, uid_t uid, uint64_t* sk_addr, int* ref_cnt) { in getCtrlSkInfo() argument
56 uint64_t full_tag = (uint64_t)tag << 32 | uid; in getCtrlSkInfo()
85 int tag = arc4random(); in checkNoSocketPointerLeaks() local
90 EXPECT_EQ(0, legacy_tagSocket(sockfd, tag, uid)); in checkNoSocketPointerLeaks()
91 EXPECT_EQ(0, getCtrlSkInfo(tag, uid, &sk_addr, &ref_cnt)); in checkNoSocketPointerLeaks()
94 EXPECT_EQ(-ENOENT, getCtrlSkInfo(tag, uid, &sk_addr, &ref_cnt)); in checkNoSocketPointerLeaks()
106 int tag = arc4random(); in TEST() local
109 EXPECT_EQ(0, legacy_tagSocket(sockfd, tag, uid)); in TEST()
110 EXPECT_EQ(0, getCtrlSkInfo(tag, uid, &dummy_sk, &ref_cnt)); in TEST()
113 EXPECT_EQ(-ENOENT, getCtrlSkInfo(tag, uid, &dummy_sk, &ref_cnt)); in TEST()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_triggered_response/
DVer2_SUPLTRIGGEREDRESPONSE.java252 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 0); in getComponents()
275 return tag == null ? PosMethod.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
280 return tag; in getComponents()
295 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 1); in getComponents()
318 return tag == null ? TriggerParams.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
323 return tag; in getComponents()
338 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 2); in getComponents()
361 return tag == null ? SLPAddress.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
366 return tag; in getComponents()
381 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 3); in getComponents()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_components/
DVelocity.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "Velocity: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? Horvel.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? Horandvervel.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
209 return tag == null ? Horveluncert.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
227 return tag == null ? Horandveruncert.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
[all …]
DSLPAddress.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "SLPAddress: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? IPAddress.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? FQDN.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
202 @Nullable final Asn1Tag tag; field in SLPAddress.Select
205 Select(@Nullable Asn1Tag tag, boolean isImplicitTagging) { in Select() argument
[all …]
DCellMeasuredResults.java145 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 0); in getComponents()
168 …return tag == null ? CellMeasuredResults.cellIdentityType.getPossibleFirstTags() : ImmutableList.o… in getComponents()
173 return tag; in getComponents()
188 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 1); in getComponents()
211 …return tag == null ? CellMeasuredResults.modeSpecificInfoType.getPossibleFirstTags() : ImmutableLi… in getComponents()
216 return tag; in getComponents()
346 for (Asn1Tag tag : select.getPossibleFirstTags()) {
348 if ((select0 = tagToSelection.put(tag, select)) != null) {
350 "modeSpecificInfoType: " + tag + " maps to both " + select0 + " and " + select);
432 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
[all …]
DCellInfo.java57 for (Asn1Tag tag : select.getPossibleFirstTags()) {
59 if ((select0 = tagToSelection.put(tag, select)) != null) {
61 "CellInfo: " + tag + " maps to both " + select0 + " and " + select);
143 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
144 Select select = tagToSelection.get(tag); in createAndSetValue()
146 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
174 return tag == null ? GsmCellInformation.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
192 return tag == null ? WcdmaCellInformation.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
210 return tag == null ? CdmaCellInformation.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
221 @Nullable final Asn1Tag tag; field in CellInfo.Select
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ver2_ulp_components/
DVer2_CellInfo_extension.java56 for (Asn1Tag tag : select.getPossibleFirstTags()) {
58 if ((select0 = tagToSelection.put(tag, select)) != null) {
60 "Ver2_CellInfo_extension: " + tag + " maps to both " + select0 + " and " + select);
142 @Override protected ChoiceComponent createAndSetValue(Asn1Tag tag) { in createAndSetValue() argument
143 Select select = tagToSelection.get(tag); in createAndSetValue()
145 throw new IllegalArgumentException("Unknown selection tag: " + tag); in createAndSetValue()
173 return tag == null ? HrpdCellInformation.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
191 return tag == null ? UmbCellInformation.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
209 return tag == null ? LteCellInformation.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
227 return tag == null ? WlanAPInformation.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags()
[all …]
/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/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_version_2_message_extensions/
DVer2_SUPL_INIT_extension.java234 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 0); in getComponents()
257 return tag == null ? NotificationMode.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
262 return tag; in getComponents()
277 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 1); in getComponents()
300 … return tag == null ? SupportedNetworkInformation.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
305 return tag; in getComponents()
320 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 2); in getComponents()
343 return tag == null ? TriggerType.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
348 return tag; in getComponents()
363 Asn1Tag tag = Asn1Tag.fromClassAndNumber(2, 3); in getComponents()
[all …]
/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 …]

12345678910>>...18