/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaMetadataTest.java | 52 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/ |
D | MarshalQueryableEnum.java | 175 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/ |
D | IccCardStatusTest.java | 56 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/ |
D | IccServiceTable.java | 71 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()
|
D | UsimServiceTable.java | 129 return super.isAvailable(service.ordinal()); in isAvailable()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
D | GenerationalClassUtil.java | 54 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/ |
D | VenueNameElement.java | 32 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/ |
D | MainActivity.java | 256 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/ |
D | WifiNetworkAdapter.java | 177 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/ |
D | IpConfiguration.java | 168 17 * ipAssignment.ordinal() + in hashCode() 169 47 * proxySettings.ordinal() + in hashCode()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcAsyncChannel.java | 101 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/ |
D | Duration.java | 64 dest.writeInt(timeUnit.ordinal()); in writeToParcel()
|
D | Tone.java | 175 dest.writeInt(ordinal()); in writeToParcel()
|
D | Menu.java | 95 dest.writeInt(presentationType.ordinal()); in writeToParcel()
|
D | CatCmdMessage.java | 173 dest.writeInt(mBrowserSettings.mode.ordinal()); in writeToParcel()
|
/frameworks/volley/src/main/java/com/android/volley/ |
D | Request.java | 581 right.ordinal() - left.ordinal(); in compareTo()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | IccServiceTableTest.java | 42 return super.isAvailable(service.ordinal()); in isAvailable()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStateTracker.java | 306 if (mLoopDetectIndex > state.ordinal()) { in processMessage() 316 mLoopDetectIndex = state.ordinal(); in processMessage()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BlendComposite.java | 100 return Float.floatToIntBits(alpha) * 31 + mode.ordinal(); in hashCode()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 1245 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/ |
D | TextKeyListener.java | 84 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance()
|
D | MultiTapKeyListener.java | 72 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance()
|
D | QwertyKeyListener.java | 59 int off = cap.ordinal() * 2 + (autoText ? 1 : 0); in getInstance()
|
/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
D | SmsMessage.java | 363 int index = mWrappedSmsMessage.getMessageClass().ordinal(); in getMessageClass()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | ImageLoader.java | 504 .append("#H").append(maxHeight).append("#S").append(scaleType.ordinal()).append(url)
|