Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java70 private Bundle mMetaData; field in Tile
91 mMetaData = in.readBundle(); in Tile()
110 dest.writeBundle(mMetaData); in writeToParcel()
160 return mMetaData.getInt(META_DATA_KEY_ORDER); in getOrder()
170 return mMetaData.containsKey(META_DATA_KEY_ORDER) in hasOrder()
171 && mMetaData.get(META_DATA_KEY_ORDER) instanceof Integer; in hasOrder()
178 return mMetaData != null && mMetaData.containsKey(META_DATA_PREFERENCE_SWITCH_URI); in hasSwitch()
188 if (mMetaData.containsKey(META_DATA_PREFERENCE_TITLE)) { in getTitle()
189 if (mMetaData.containsKey(META_DATA_PREFERENCE_TITLE_URI)) { in getTitle()
194 if (mMetaData.get(META_DATA_PREFERENCE_TITLE) instanceof Integer) { in getTitle()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DProviderTileTest.java56 private Bundle mMetaData; field in ProviderTileTest
67 mMetaData = new Bundle(); in setUp()
68 mMetaData.putString(META_DATA_PREFERENCE_KEYHINT, "key"); in setUp()
69 mMetaData.putString(META_DATA_PREFERENCE_TITLE, "title"); in setUp()
70 mMetaData.putInt(META_DATA_PREFERENCE_ICON, com.android.internal.R.drawable.ic_plus); in setUp()
71 mTile = new ProviderTile(mProviderInfo, "category", mMetaData); in setUp()
76 mMetaData.putString(META_DATA_KEY_PROFILE, PROFILE_PRIMARY); in isPrimaryProfileOnly_profilePrimary_shouldReturnTrue()
82 mMetaData.putString(META_DATA_KEY_PROFILE, PROFILE_ALL); in isPrimaryProfileOnly_profileAll_shouldReturnFalse()
100 mMetaData.putInt(META_DATA_PREFERENCE_ICON, android.R.drawable.ic_info); in getIcon_hasIconMetadata_returnIcon()
108 final Tile tile = new ProviderTile(mProviderInfo, "category", mMetaData); in isIconTintable_hasMetadata_shouldReturnIconTintableMetadata()
[all …]
DSwitchesProviderTest.java335 private MetaData mMetaData; field in SwitchesProviderTest.TestSwitchController
346 return mMetaData; in getMetaData()
369 mMetaData = metaData; in setMetaData()
/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.cpp410 ssize_t index = mMetaData.indexOfKey(keyCode); in extractMetadata()
416 return mMetaData.valueAt(index).string(); in extractMetadata()
432 mMetaData.add(METADATA_KEY_COLOR_STANDARD, String8::format("%d", standard)); in parseColorAspects()
433 mMetaData.add(METADATA_KEY_COLOR_TRANSFER, String8::format("%d", transfer)); in parseColorAspects()
434 mMetaData.add(METADATA_KEY_COLOR_RANGE, String8::format("%d", range)); in parseColorAspects()
481 mMetaData.add(kMap[i].to, String8(value)); in parseMetaData()
495 mMetaData.add(kMap[j].to, String8(value)); in parseMetaData()
515 mMetaData.add(METADATA_KEY_NUM_TRACKS, String8(tmp)); in parseMetaData()
520 mMetaData.add(METADATA_KEY_CAPTURE_FRAMERATE, String8(tmp)); in parseMetaData()
527 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/libstagefright/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/base/core/java/android/widget/
DRemoteViewsAdapter.java576 private final RemoteViewsMetaData mMetaData = new RemoteViewsMetaData(); field in RemoteViewsAdapter.FixedSizeRemoteViewsCache
663 return mMetaData; in getMetaData()
677 synchronized (mMetaData) { in commitTemporaryMetaData()
678 mMetaData.set(mTemporaryMetaData); in commitTemporaryMetaData()
739 synchronized (mMetaData) { in queuePositionsToBePreloadedFromRequestedPosition()
740 count = mMetaData.count; in queuePositionsToBePreloadedFromRequestedPosition()
876 synchronized (mCache.mMetaData) { in RemoteViewsAdapter()
877 if (mCache.mMetaData.count > 0) { in RemoteViewsAdapter()
924 synchronized (mCache.mMetaData) { in saveRemoteViewsCache()
925 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.h185 MetaDataBase* mMetaData; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt18272 Landroid/filterfw/core/FrameFormat;->mMetaData:Landroid/filterfw/core/KeyValueMap;
33574 Landroid/media/TimedMetaData;->mMetaData:[B
72560 Landroid/widget/RemoteViewsAdapter$FixedSizeRemoteViewsCache;->mMetaData:Landroid/widget/RemoteView…