/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerMetadataParserTest.java | 38 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 …]
|
D | CameraMetadataTest.java | 70 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/ |
D | MediaItem2.java | 69 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 …]
|
D | SessionPlaylistAgentImplBase.java | 60 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/ |
D | MediaItem2Impl.java | 45 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 …]
|
D | SessionPlaylistAgent.java | 64 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/ |
D | Context.cpp | 42 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()
|
D | GlobalAllocSPIRITPass.cpp | 129 : 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
|
D | Context.h | 99 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/ |
D | EmojiSpan.java | 46 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/ |
D | MockPlaylistAgent.java | 32 public MediaMetadata2 mMetadata; field in MockPlaylistAgent 59 mMetadata = metadata; in setPlaylist() 65 return mMetadata; in getPlaylistMetadata() 71 mMetadata = metadata; in updatePlaylistMetadata()
|
/frameworks/av/camera/ |
D | CaptureResult.cpp | 97 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/ |
D | MockPlaylistAgent.java | 36 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/ |
D | MediaNotificationManager.java | 64 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/ |
D | NotificationHelper.java | 42 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/ |
D | Reporter.cpp | 62 : 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()
|
D | Reporter.h | 68 IncidentMetadata& metadata() { return mMetadata; } in metadata() 80 IncidentMetadata mMetadata; variable
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/ |
D | MediaRouteProvider.java | 67 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/ |
D | MediaRouteProvider.java | 64 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/ |
D | FrameProcessorBase.cpp | 133 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/ |
D | Source.h | 40 bcinfo::MetadataExtractor *mMetadata; variable 106 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; } in getMetadata()
|
/frameworks/compile/libbcc/lib/ |
D | Source.cpp | 199 : 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/ |
D | VideoView2Impl.java | 128 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/ |
D | RemoteControlClient.java | 566 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/ |
D | IMediaMetadataRetriever.cpp | 275 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
|