Home
last modified time | relevance | path

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

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMetadataTest.java52 validateMetatData(mp3_test_file.ID3V1V2.ordinal(), MediaNames.META_DATA_MP3); in testID3V1V2Metadata()
57 validateMetatData(mp3_test_file.ID3V2.ordinal(), MediaNames.META_DATA_MP3); in testID3V2Metadata()
62 validateMetatData(mp3_test_file.ID3V1.ordinal(), MediaNames.META_DATA_MP3); in testID3V1Metadata()
84 assertEquals(TAG, meta_data_file[fileIndex][meta.CD_TRACK.ordinal()], value); in validateMetatData()
88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value); in validateMetatData()
92 assertEquals(TAG, meta_data_file[fileIndex][meta.ARTIST.ordinal()], value); in validateMetatData()
96 assertEquals(TAG, meta_data_file[fileIndex][meta.AUTHOR.ordinal()], value); in validateMetatData()
100 assertEquals(TAG, meta_data_file[fileIndex][meta.COMPOSER.ordinal()], value); in validateMetatData()
104 assertEquals(TAG, meta_data_file[fileIndex][meta.DATE.ordinal()], value); in validateMetatData()
108 assertEquals(TAG, meta_data_file[fileIndex][meta.GENRE.ordinal()], value); in validateMetatData()
[all …]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableEnum.java175 int ordinal = enumValue.ordinal(); in getEnumValue() local
177 return values[ordinal]; in getEnumValue()
180 return ordinal; in getEnumValue()
191 int ordinal; in getEnumFromValue() local
195 ordinal = -1; in getEnumFromValue()
199 ordinal = i; in getEnumFromValue()
204 ordinal = value; in getEnumFromValue()
209 if (ordinal < 0 || ordinal >= values.length) { in getEnumFromValue()
218 return values[ordinal]; in getEnumFromValue()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccCardStatusTest.java56 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_ABSENT.ordinal()); in testSetCardState()
60 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_PRESENT.ordinal()); in testSetCardState()
64 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_ERROR.ordinal()); in testSetCardState()
72 mIccCardStatus.setUniversalPinState(IccCardStatus.PinState.PINSTATE_UNKNOWN.ordinal()); in testSetPinState()
77 IccCardStatus.PinState.PINSTATE_ENABLED_BLOCKED.ordinal()); in testSetPinState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccServiceTable.java71 int ordinal = (i * 8) + bit; in toString() local
72 if (ordinal < values.length) { in toString()
73 builder.append(values[ordinal]); in toString()
75 builder.append('#').append(ordinal + 1); // service number (one-based) in toString()
DUsimServiceTable.java129 return super.isAvailable(service.ordinal()); in isAvailable()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DGenerationalClassUtil.java54 return sCache[filter.ordinal()]; in loadObjects()
66 sCache[filter.ordinal()] = new ArrayList(); in buildCache()
102 sCache[filter.ordinal()].add(item); in loadFromDirectory()
135 sCache[filter.ordinal()].add(item); in loadFomZipFile()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DVenueNameElement.java32 if (group >= VenueGroup.Reserved.ordinal()) { in VenueNameElement()
38 if (type >= VenueType.Reserved.ordinal()) { in VenueNameElement()
189 sGroupBases.put(VenueGroup.values()[index++], venue.ordinal()); in VenueGroup.values()
/frameworks/base/packages/Osu/src/com/android/
DMainActivity.java256 if (method != OSUProvider.OSUMethod.SoapXml.ordinal()) { in onHandleIntent()
261 int ordinal = in onHandleIntent() local
263 if (ordinal >= 0 && ordinal < PasspointMatch.values().length) { in onHandleIntent()
264 match = PasspointMatch.values()[ordinal]; in onHandleIntent()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DWifiNetworkAdapter.java177 int ordinal = wifiManager.matchProviderWithCurrentNetwork(fqdn); in matchProviderWithCurrentNetwork() local
178 return ordinal >= 0 && ordinal < PasspointMatch.values().length ? in matchProviderWithCurrentNetwork()
179 PasspointMatch.values()[ordinal] : null; in matchProviderWithCurrentNetwork()
/frameworks/base/core/java/android/net/
DIpConfiguration.java168 17 * ipAssignment.ordinal() + in hashCode()
169 47 * proxySettings.ordinal() + in hashCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcAsyncChannel.java101 if (value == NONE.ordinal()) { in fromInt()
103 } else if (value == CHANGED.ordinal()) { in fromInt()
105 } else if (value == RESET.ordinal()) { in fromInt()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DDuration.java64 dest.writeInt(timeUnit.ordinal()); in writeToParcel()
DTone.java175 dest.writeInt(ordinal()); in writeToParcel()
DMenu.java95 dest.writeInt(presentationType.ordinal()); in writeToParcel()
DCatCmdMessage.java173 dest.writeInt(mBrowserSettings.mode.ordinal()); in writeToParcel()
/frameworks/volley/src/main/java/com/android/volley/
DRequest.java581 right.ordinal() - left.ordinal(); in compareTo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIccServiceTableTest.java42 return super.isAvailable(service.ordinal()); in isAvailable()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStateTracker.java306 if (mLoopDetectIndex > state.ordinal()) { in processMessage()
316 mLoopDetectIndex = state.ordinal(); in processMessage()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBlendComposite.java100 return Float.floatToIntBits(alpha) * 31 + mode.ordinal(); in hashCode()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java1245 mPatternDisplayMode.ordinal(),
1476 int ordinal = virtualViewId - VIRTUAL_BASE_VIEW_ID;
1478 final int row = ordinal / 3;
1479 final int col = ordinal % 3;
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java84 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance()
DMultiTapKeyListener.java72 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance()
DQwertyKeyListener.java59 int off = cap.ordinal() * 2 + (autoText ? 1 : 0); in getInstance()
/frameworks/opt/telephony/src/java/android/telephony/gsm/
DSmsMessage.java363 int index = mWrappedSmsMessage.getMessageClass().ordinal(); in getMessageClass()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java504 .append("#H").append(maxHeight).append("#S").append(scaleType.ordinal()).append(url)

12