Home
last modified time | relevance | path

Searched refs:ordinal (Results 1 – 25 of 93) sorted by relevance

1234

/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1Enumerated.java37 int ordinal(); // Standard enum method. in ordinal() method
57 protected abstract Value lookupValue(int ordinal); in lookupValue() argument
62 protected abstract Value lookupExtensionValue(int ordinal); in lookupExtensionValue() argument
104 PerAlignedUtils.encodeNormallySmallWholeNumber(value.ordinal())); in encodePerImpl()
107 PerUnalignedUtils.encodeNormallySmallWholeNumber(value.ordinal())); in encodePerImpl()
115 value.ordinal(), 0, getValueCount() - 1)); in encodePerImpl()
119 value.ordinal(), 0, getValueCount() - 1)); in encodePerImpl()
/cts/tests/tests/permission3/UsePermissionApp30WithBluetooth/src/android/permission3/cts/usepermission/
DAccessBluetoothOnCommand.kt80 res.putInt(Intent.EXTRA_INDEX, Result.ERROR.ordinal) in call()
85 0 -> res.putInt(Intent.EXTRA_INDEX, Result.EMPTY.ordinal) in call()
86 1 -> res.putInt(Intent.EXTRA_INDEX, Result.FILTERED.ordinal) in call()
87 5 -> res.putInt(Intent.EXTRA_INDEX, Result.FULL.ordinal) in call()
88 else -> res.putInt(Intent.EXTRA_INDEX, Result.UNKNOWN.ordinal) in call()
92 res.putInt(Intent.EXTRA_INDEX, Result.EXCEPTION.ordinal) in call()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/ver2_ulp_components/
DLocationEncodingDescriptor.java105 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
106 return Value.values()[ordinal]; in lookupValue()
109 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
110 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DRTDUnits.java108 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
109 return Value.values()[ordinal]; in lookupValue()
112 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
113 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DUTRANGPSDriftRate.java118 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
119 return Value.values()[ordinal]; in lookupValue()
122 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
123 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/rrlp_components/
DErrorCodes.java109 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
110 return Value.values()[ordinal]; in lookupValue()
113 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
114 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DReferenceRelation.java106 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
107 return Value.values()[ordinal]; in lookupValue()
110 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
111 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DUseMultipleSets.java105 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
106 return Value.values()[ordinal]; in lookupValue()
109 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
110 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DPositionMethod.java106 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
107 return Value.values()[ordinal]; in lookupValue()
110 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
111 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DMpathIndic.java107 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
108 return Value.values()[ordinal]; in lookupValue()
111 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
112 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_triggered_start/
DAreaEventType.java107 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
108 return Value.values()[ordinal]; in lookupValue()
111 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
112 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DAreaIdSetType.java105 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
106 return Value.values()[ordinal]; in lookupValue()
109 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
110 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DTriggerType.java105 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
106 return Value.values()[ordinal]; in lookupValue()
109 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
110 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/ulp_version_2_message_extensions/
DAllowedReportingType.java106 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
107 return Value.values()[ordinal]; in lookupValue()
110 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
111 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DNotificationMode.java105 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
106 return Value.values()[ordinal]; in lookupValue()
109 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
110 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DProtLevel.java105 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
106 return Value.values()[ordinal]; in lookupValue()
109 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
110 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_start/
DPrefMethod.java106 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
107 return Value.values()[ordinal]; in lookupValue()
110 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
111 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/ulp_components/
DTAResolution.java106 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
107 return Value.values()[ordinal]; in lookupValue()
110 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
111 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DStatus.java106 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
107 return Value.values()[ordinal]; in lookupValue()
110 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
111 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DChipRate.java106 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
107 return Value.values()[ordinal]; in lookupValue()
110 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
111 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_init/
DSLPMode.java105 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
106 return Value.values()[ordinal]; in lookupValue()
109 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
110 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
DEncodingType.java106 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
107 return Value.values()[ordinal]; in lookupValue()
110 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
111 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_report/
DResultCode.java110 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
111 return Value.values()[ordinal]; in lookupValue()
114 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
115 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_triggered_response/
DRepMode.java106 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
107 return Value.values()[ordinal]; in lookupValue()
110 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
111 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_notify_response/
DNotificationResponse.java105 @Override protected Asn1Enumerated.Value lookupValue(int ordinal) { in lookupValue() argument
106 return Value.values()[ordinal]; in lookupValue()
109 @Override protected Asn1Enumerated.Value lookupExtensionValue(int ordinal) { in lookupExtensionValue() argument
110 return ExtensionValue.values()[ordinal]; in lookupExtensionValue()

1234