Home
last modified time | relevance | path

Searched refs:mMetaData (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DProviderTileTest.java61 private Bundle mMetaData; field in ProviderTileTest
72 mMetaData = new Bundle(); in setUp()
73 mMetaData.putString(META_DATA_PREFERENCE_KEYHINT, "key"); in setUp()
74 mMetaData.putString(META_DATA_PREFERENCE_TITLE, "title"); in setUp()
75 mMetaData.putInt(META_DATA_PREFERENCE_ICON, com.android.internal.R.drawable.ic_plus); in setUp()
76 mTile = new ProviderTile(mProviderInfo, "category", mMetaData); in setUp()
81 mMetaData.putString(META_DATA_KEY_PROFILE, PROFILE_PRIMARY); in isPrimaryProfileOnly_profilePrimary_shouldReturnTrue()
87 mMetaData.putString(META_DATA_KEY_PROFILE, PROFILE_ALL); in isPrimaryProfileOnly_profileAll_shouldReturnFalse()
105 mMetaData.putInt(META_DATA_PREFERENCE_ICON, android.R.drawable.ic_info); in getIcon_hasIconMetadata_returnIcon()
113 final Tile tile = new ProviderTile(mProviderInfo, "category", mMetaData); in isIconTintable_hasMetadata_shouldReturnIconTintableMetadata()
[all …]
DEntriesProviderTest.java380 private MetaData mMetaData; field in EntriesProviderTest.TestEntryController
389 return mMetaData; in getMetaData()
397 mMetaData = metaData; in setMetaData()
404 private MetaData mMetaData; field in EntriesProviderTest.TestSwitchController
415 return mMetaData; in getMetaData()
438 mMetaData = metaData; in setMetaData()
DSwitchesProviderTest.java335 private MetaData mMetaData; field in SwitchesProviderTest.TestSwitchController
346 return mMetaData; in getMetaData()
369 mMetaData = metaData; in setMetaData()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java73 private Bundle mMetaData; field in Tile
82 mMetaData = metaData; in Tile()
83 if (mMetaData != null) { in Tile()
101 mMetaData = in.readBundle(); in Tile()
124 dest.writeBundle(mMetaData); in writeToParcel()
165 return mMetaData.getInt(META_DATA_KEY_ORDER); in getOrder()
173 return mMetaData != null in hasOrder()
174 && mMetaData.containsKey(META_DATA_KEY_ORDER) in hasOrder()
175 && mMetaData.get(META_DATA_KEY_ORDER) instanceof Integer; in hasOrder()
180 return mMetaData != null && mMetaData.containsKey(META_DATA_PREFERENCE_SWITCH_URI); in hasSwitch()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrameFormat.java60 protected KeyValueMap mMetaData; field in FrameFormat
110 return mMetaData != null ? mMetaData.containsKey(key) : false; in hasMetaKey()
114 if (mMetaData != null && mMetaData.containsKey(key)) { in hasMetaKey()
115 if (!expectedClass.isAssignableFrom(mMetaData.get(key).getClass())) { in hasMetaKey()
118 mMetaData.get(key).getClass() + " but expected to be of type " + in hasMetaKey()
127 return mMetaData != null ? mMetaData.get(key) : null; in getMetaValue()
169 result.mMetaData = mMetaData == null ? null : (KeyValueMap)mMetaData.clone(); in mutableCopy()
188 format.mMetaData.equals(mMetaData); in equals()
238 if (specification.mMetaData != null) { in isCompatibleWith()
239 for (String specKey : specification.mMetaData.keySet()) { in isCompatibleWith()
[all …]
DMutableFrameFormat.java92 if (mMetaData == null) { in setMetaValue()
93 mMetaData = new KeyValueMap(); in setMetaValue()
95 mMetaData.put(key, value); in setMetaValue()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp469 ssize_t index = mMetaData.indexOfKey(keyCode); in extractMetadata()
475 return mMetaData.valueAt(index).c_str(); in extractMetadata()
491 mMetaData.add(METADATA_KEY_COLOR_STANDARD, String8::format("%d", standard)); in parseColorAspects()
492 mMetaData.add(METADATA_KEY_COLOR_TRANSFER, String8::format("%d", transfer)); in parseColorAspects()
493 mMetaData.add(METADATA_KEY_COLOR_RANGE, String8::format("%d", range)); in parseColorAspects()
540 mMetaData.add(kMap[i].to, String8(value)); in parseMetaData()
554 mMetaData.add(kMap[j].to, String8(value)); in parseMetaData()
574 mMetaData.add(METADATA_KEY_NUM_TRACKS, String8(tmp)); in parseMetaData()
579 mMetaData.add(METADATA_KEY_CAPTURE_FRAMERATE, String8(tmp)); in parseMetaData()
586 mMetaData.add(METADATA_KEY_EXIF_OFFSET, String8(tmp)); in parseMetaData()
[all …]
DStagefrightMetadataRetriever.h61 KeyedVector<int, String8> mMetaData; member
/frameworks/base/media/java/android/media/
DTimedMetaData.java36 private byte[] mMetaData; field in TimedMetaData
63 mMetaData = metaData; in TimedMetaData()
79 return mMetaData; in getMetaData()
89 mMetaData = new byte[parcel.readInt()]; in parseParcel()
90 parcel.readByteArray(mMetaData); in parseParcel()
/frameworks/av/media/module/foundation/
DMediaBuffer.cpp42 mMetaData(new MetaDataBase) { in MediaBuffer()
53 mMetaData(new MetaDataBase) { in MediaBuffer()
91 mMetaData(new MetaDataBase) { in MediaBuffer()
152 return *mMetaData; in meta_data()
156 mMetaData->clear(); in reset()
171 delete mMetaData; in ~MediaBuffer()
/frameworks/av/media/libstagefright/tests/fuzzers/
DFuzzerMediaUtility.h28 FuzzSource(sp<MetaData> meta, FuzzedDataProvider* fdp) : mMetaData(meta), mFdp(fdp) {} in FuzzSource()
56 sp<MetaData> getFormat() { return mMetaData; } in getFormat()
59 sp<MetaData> mMetaData = nullptr;
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java571 private final RemoteViewsMetaData mMetaData = new RemoteViewsMetaData(); field in RemoteViewsAdapter.FixedSizeRemoteViewsCache
658 return mMetaData; in getMetaData()
672 synchronized (mMetaData) { in commitTemporaryMetaData()
673 mMetaData.set(mTemporaryMetaData); in commitTemporaryMetaData()
734 synchronized (mMetaData) { in queuePositionsToBePreloadedFromRequestedPosition()
735 count = mMetaData.count; in queuePositionsToBePreloadedFromRequestedPosition()
871 synchronized (mCache.mMetaData) { in RemoteViewsAdapter()
872 if (mCache.mMetaData.count > 0) { in RemoteViewsAdapter()
919 synchronized (mCache.mMetaData) { in saveRemoteViewsCache()
920 metaDataCount = mCache.mMetaData.count; in saveRemoteViewsCache()
[all …]
/frameworks/av/media/libmedia/
DIMediaSource.cpp111 mMetaData = MetaData::createFromParcel(reply); in getFormat()
112 return mMetaData; in getFormat()
225 sp<MetaData> mMetaData; member in android::BpMediaSource
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBuffer.h184 MetaDataBase* mMetaData; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt15394 Landroid/filterfw/core/FrameFormat;->mMetaData:Landroid/filterfw/core/KeyValueMap;
30696 Landroid/media/TimedMetaData;->mMetaData:[B
68594 Landroid/widget/RemoteViewsAdapter$FixedSizeRemoteViewsCache;->mMetaData:Landroid/widget/RemoteView…