Home
last modified time | relevance | path

Searched refs:mMetadata (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java38 private Metadata mMetadata = null; field in MediaPlayerMetadataParserTest
44 mMetadata = new Metadata(); in setUp()
54 assertFalse(mMetadata.parse(mParcel)); in assertParseFail()
61 assertTrue(mMetadata.parse(mParcel)); in assertParse()
171 assertTrue(mMetadata.has(Metadata.TITLE)); in testRecordsFound()
172 assertTrue(mMetadata.has(Metadata.GENRE)); in testRecordsFound()
173 assertTrue(mMetadata.has(Metadata.firstCustomId())); in testRecordsFound()
174 assertFalse(mMetadata.has(Metadata.DRM_CRIPPLED)); in testRecordsFound()
175 assertEquals(3, mMetadata.keySet().size()); in testRecordsFound()
208 assertEquals(1, mMetadata.keySet().size()); in testParseClearState()
[all …]
DCameraMetadataTest.java70 CameraMetadataNative mMetadata; field in CameraMetadataTest
93 mMetadata = new CameraMetadataNative(); in setUp()
98 mMetadata = null; in tearDown()
103 assertEquals(0, mMetadata.getEntryCount()); in testNew()
104 assertTrue(mMetadata.isEmpty()); in testNew()
179 assertEquals(0, mMetadata.getEntryCount()); in testReadWriteValues()
180 assertEquals(true, mMetadata.isEmpty()); in testReadWriteValues()
186 assertEquals(null, mMetadata.readValues(ANDROID_COLOR_CORRECTION_MODE)); in testReadWriteValues()
189 mMetadata.writeValues(ANDROID_COLOR_CORRECTION_MODE, null); in testReadWriteValues()
190 assertEquals(null, mMetadata.readValues(ANDROID_COLOR_CORRECTION_MODE)); in testReadWriteValues()
[all …]
/frameworks/support/media/src/main/java/androidx/media/
DMediaItem2.java69 private MediaMetadata2 mMetadata; field in MediaItem2
88 mMetadata = metadata; in MediaItem2()
101 if (mMetadata != null) { in toBundle()
102 bundle.putBundle(KEY_METADATA, mMetadata.toBundle()); in toBundle()
147 sb.append(", mMetadata=").append(mMetadata); in toString()
185 mMetadata = metadata; in setMetadata()
192 return mMetadata; in getMetadata()
233 private MediaMetadata2 mMetadata; field in MediaItem2.Builder
275 mMetadata = metadata; in setMetadata()
296 String id = (mMetadata != null) in build()
[all …]
DSessionPlaylistAgentImplBase.java60 private MediaMetadata2 mMetadata; field in SessionPlaylistAgentImplBase
197 mMetadata = metadata; in setPlaylist()
207 return mMetadata; in getPlaylistMetadata()
214 if (metadata == mMetadata) { in updatePlaylistMetadata()
217 mMetadata = metadata; in updatePlaylistMetadata()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaItem2Impl.java45 private MediaMetadata2 mMetadata; field in MediaItem2Impl
65 mMetadata = metadata; in MediaItem2Impl()
90 if (mMetadata != null) { in toBundle_impl()
91 bundle.putBundle(KEY_METADATA, mMetadata.toBundle()); in toBundle_impl()
139 sb.append(", mMetadata=").append(mMetadata); in toString_impl()
164 mMetadata = metadata; in setMetadata_impl()
169 return mMetadata; in getMetadata_impl()
186 private MediaMetadata2 mMetadata; field in MediaItem2Impl.BuilderImpl
202 mMetadata = metadata; in setMetadata_impl()
214 String id = (mMetadata != null) in build_impl()
[all …]
DSessionPlaylistAgent.java64 private MediaMetadata2 mMetadata; field in SessionPlaylistAgent
197 mMetadata = metadata; in setPlaylist()
206 return mMetadata; in getPlaylistMetadata()
212 if (metadata == mMetadata) { in updatePlaylistMetadata()
215 mMetadata = metadata; in updatePlaylistMetadata()
/frameworks/rs/rsov/compiler/
DContext.cpp42 mMetadata = std::move(ME); in Initialize()
44 if (!mMetadata->extract()) { in Initialize()
49 const char **varNames = mMetadata->getExportVarNameList(); in Initialize()
50 size_t varCount = mMetadata->getExportVarCount(); in Initialize()
59 const size_t kernelCount = mMetadata->getExportForEachSignatureCount(); in Initialize()
60 const char **kernelNames = mMetadata->getExportForEachNameList(); in Initialize()
DGlobalAllocSPIRITPass.cpp129 : mBuilder(), mMetadata(nullptr), in GAAccessorTransformer()
137 mMetadata = AddGAMetadata(mBuilder, module); in runAndSerialize()
162 resultPtrType, mMetadata, {ConstZero, ConstZero, ConstOne}); in transform()
175 VariableInst *mMetadata; member in android::spirit::GAAccessorTransformer
DContext.h99 const bcinfo::MetadataExtractor &getMetadata() const { return *mMetadata; } in getMetadata()
117 std::unique_ptr<bcinfo::MetadataExtractor> mMetadata; variable
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
DEmojiSpan.java46 private final EmojiMetadata mMetadata; field in EmojiSpan
73 mMetadata = metadata; in EmojiSpan()
82 mRatio = fontHeight * 1.0f / mMetadata.getHeight(); in getSize()
83 mHeight = (short) (mMetadata.getHeight() * mRatio); in getSize()
84 mWidth = (short) (mMetadata.getWidth() * mRatio); in getSize()
101 return mMetadata; in getMetadata()
/frameworks/support/media/src/androidTest/java/androidx/media/
DMockPlaylistAgent.java32 public MediaMetadata2 mMetadata; field in MockPlaylistAgent
59 mMetadata = metadata; in setPlaylist()
65 return mMetadata; in getPlaylistMetadata()
71 mMetadata = metadata; in updatePlaylistMetadata()
/frameworks/av/camera/
DCaptureResult.cpp97 mMetadata(), mResultExtras() { in CaptureResult()
102 mMetadata = otherResult.mMetadata; in CaptureResult()
115 mMetadata.clear(); in readFromParcel()
119 res = mMetadata.readFromParcel(parcel); in readFromParcel()
177 res = mMetadata.writeToParcel(parcel); in writeToParcel()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
DMockPlaylistAgent.java36 public MediaMetadata2 mMetadata; field in MockPlaylistAgent
63 mMetadata = metadata; in setPlaylist()
69 return mMetadata; in getPlaylistMetadata()
75 mMetadata = metadata; in updatePlaylistMetadata()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
DMediaNotificationManager.java64 private MediaMetadataCompat mMetadata; field in MediaNotificationManager
108 mMetadata = mController.getMetadata(); in startNotification()
217 mMetadata = metadata;
234 Log.d(TAG, "updateNotificationMetadata. mMetadata=" + mMetadata); in createNotification()
235 if (mMetadata == null || mPlaybackState == null) { in createNotification()
255 MediaDescriptionCompat description = mMetadata.getDescription(); in createNotification()
341 if (mMetadata != null && mMetadata.getDescription() != null && in fetchBitmapFromURLAsync()
342 artUrl.equals(mMetadata.getDescription().getIconUri().toString())) { in fetchBitmapFromURLAsync()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java42 private MediaMetadata mMetadata; field in NotificationHelper
89 mMetadata = mController.getMetadata(); in onStart()
138 mMetadata = metadata;
184 if (mMetadata == null) { in updateNotification()
189 MediaDescription description = mMetadata.getDescription(); in updateNotification()
206 final long end = mMetadata == null ? 0 : mMetadata in updateNotification()
/frameworks/base/cmds/incidentd/src/
DReporter.cpp62 : mRequests(), mSections(), mMainFd(-1), mMainDest(-1), mMetadata(), mSectionStats() {} in ReportRequestSet()
70 mMetadata.set_request_size(mMetadata.request_size() + 1); in add()
75 mMetadata.set_use_dropbox(fd > 0); in setMainFd()
83 mMetadata.set_dest(IncidentMetadata_Destination_AUTOMATIC); in setMainDest()
86 mMetadata.set_dest(IncidentMetadata_Destination_EXPLICIT); in setMainDest()
89 mMetadata.set_dest(IncidentMetadata_Destination_LOCAL); in setMainDest()
DReporter.h68 IncidentMetadata& metadata() { return mMetadata; } in metadata()
80 IncidentMetadata mMetadata; variable
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
DMediaRouteProvider.java67 private final ProviderMetadata mMetadata; field in MediaRouteProvider
94 mMetadata = new ProviderMetadata(new ComponentName(context, getClass())); in MediaRouteProvider()
96 mMetadata = metadata; in MediaRouteProvider()
118 return mMetadata; in getMetadata()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
DMediaRouteProvider.java64 private final ProviderMetadata mMetadata; field in MediaRouteProvider
91 mMetadata = new ProviderMetadata(new ComponentName(context, getClass())); in MediaRouteProvider()
93 mMetadata = metadata; in MediaRouteProvider()
115 return mMetadata; in getMetadata()
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp133 entry = result.mMetadata.find(ANDROID_REQUEST_FRAME_COUNT); in processNewFrames()
145 if (!result.mMetadata.isEmpty()) { in processNewFrames()
147 mLastFrame.acquire(result.mMetadata); in processNewFrames()
162 __FUNCTION__, device->getId().string(), result.mMetadata.isEmpty()); in processSingleFrame()
180 entry = result.mMetadata.find(ANDROID_REQUEST_ID); in processListeners()
/frameworks/compile/libbcc/include/bcc/
DSource.h40 bcinfo::MetadataExtractor *mMetadata; variable
106 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; } in getMetadata()
/frameworks/compile/libbcc/lib/
DSource.cpp199 : mName(name), mContext(pContext), mModule(&pModule), mMetadata(nullptr), in Source()
208 delete mMetadata; in ~Source()
241 mMetadata = new bcinfo::MetadataExtractor(mModule); in extractMetadata()
242 return mMetadata->extract(); in extractMetadata()
/frameworks/av/packages/MediaComponents/src/com/android/widget/
DVideoView2Impl.java128 private Metadata mMetadata; field in VideoView2Impl
799 mMetadata = mMediaPlayer.getMetadata(MediaPlayer2.METADATA_ALL, in updatePlaybackState()
804 if (mMetadata != null) { in updatePlaybackState()
805 if (!mMetadata.has(Metadata.PAUSE_AVAILABLE) in updatePlaybackState()
806 || mMetadata.getBoolean(Metadata.PAUSE_AVAILABLE)) { in updatePlaybackState()
809 if (!mMetadata.has(Metadata.SEEK_BACKWARD_AVAILABLE) in updatePlaybackState()
810 || mMetadata.getBoolean(Metadata.SEEK_BACKWARD_AVAILABLE)) { in updatePlaybackState()
813 if (!mMetadata.has(Metadata.SEEK_FORWARD_AVAILABLE) in updatePlaybackState()
814 || mMetadata.getBoolean(Metadata.SEEK_FORWARD_AVAILABLE)) { in updatePlaybackState()
817 if (!mMetadata.has(Metadata.SEEK_AVAILABLE) in updatePlaybackState()
[all …]
/frameworks/base/media/java/android/media/
DRemoteControlClient.java566 mMetadata = new Bundle(mEditorMetadata); in apply()
568 mMetadata.putLong(String.valueOf(KEY_EDITABLE_MASK), mEditableKeys); in apply()
600 editor.mEditorMetadata = new Bundle(mMetadata); in editMetadata()
878 private Bundle mMetadata = new Bundle(); field in RemoteControlClient
/frameworks/av/media/libmedia/
DIMediaMetadataRetriever.cpp275 if (mMetadata.indexOfKey(keyCode) < 0) { in extractMetadata()
276 mMetadata.add(keyCode, value); in extractMetadata()
278 mMetadata.replaceValueFor(keyCode, value); in extractMetadata()
280 return mMetadata.valueFor(keyCode).string(); in extractMetadata()
287 KeyedVector<int, String8> mMetadata; member in android::BpMediaMetadataRetriever

12