Home
last modified time | relevance | path

Searched refs:mMetadata (Results 1 – 25 of 28) 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/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/base/core/java/android/security/keystore/recovery/
DWrappedApplicationKey.java46 private byte[] mMetadata; field in WrappedApplicationKey
98 mInstance.mMetadata = metadata; in setMetadata()
143 return mMetadata; in getMetadata()
161 out.writeByteArray(mMetadata); in writeToParcel()
172 mMetadata = in.createByteArray(); in WrappedApplicationKey()
/frameworks/native/services/bufferhub/include/bufferhub/
DBufferNode.h25 bool isValid() const { return mMetadata.isValid(); } in isValid()
29 size_t userMetadataSize() const { return mMetadata.userMetadataSize(); } in userMetadataSize()
39 const BufferHubMetadata& metadata() const { return mMetadata; } in metadata()
71 BufferHubMetadata mMetadata; variable
/frameworks/av/camera/
DCaptureResult.cpp117 mMetadata(), mResultExtras() { in CaptureResult()
122 mMetadata = otherResult.mMetadata; in CaptureResult()
135 mMetadata.clear(); in readFromParcel()
139 res = mMetadata.readFromParcel(parcel); in readFromParcel()
197 res = mMetadata.writeToParcel(parcel); in writeToParcel()
/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()
DOnePlayerActivity.java174 public MediaMetadata mMetadata;
231 mMetadata = metadata;
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp148 entry = result.mMetadata.find(ANDROID_REQUEST_FRAME_COUNT); in processNewFrames()
160 if (!result.mMetadata.isEmpty()) { in processNewFrames()
162 mLastFrame.acquire(result.mMetadata); in processNewFrames()
179 __FUNCTION__, device->getId().string(), result.mMetadata.isEmpty()); in processSingleFrame()
197 entry = result.mMetadata.find(ANDROID_REQUEST_ID); in processListeners()
/frameworks/native/libs/ui/
DBufferHubBuffer.cpp171 mMetadata = BufferHubMetadata::import(std::move(ashmemFd)); in initWithBufferTraits()
172 if (!mMetadata.isValid()) { in initWithBufferTraits()
198 if (mMetadata.userMetadataSize() != userMetadataSize) { in initWithBufferTraits()
200 userMetadataSize, mMetadata.userMetadataSize()); in initWithBufferTraits()
204 size_t metadataSize = static_cast<size_t>(mMetadata.metadataSize()); in initWithBufferTraits()
211 auto metadataHeader = mMetadata.metadataHeader(); in initWithBufferTraits()
327 mEventFd.get() >= 0 && mMetadata.isValid() && mBufferClient != nullptr; in isValid()
/frameworks/compile/libbcc/include/bcc/
DSource.h40 bcinfo::MetadataExtractor *mMetadata; variable
106 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; } in getMetadata()
/frameworks/native/libs/ui/include/ui/
DBufferHubBuffer.h67 size_t userMetadataSize() const { return mMetadata.userMetadataSize(); } in userMetadataSize()
132 BufferHubMetadata mMetadata; variable
/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/media/libmedia/
DIMediaMetadataRetriever.cpp276 if (mMetadata.indexOfKey(keyCode) < 0) { in extractMetadata()
277 mMetadata.add(keyCode, value); in extractMetadata()
279 mMetadata.replaceValueFor(keyCode, value); in extractMetadata()
281 return mMetadata.valueFor(keyCode).string(); in extractMetadata()
288 KeyedVector<int, String8> mMetadata; member in android::BpMediaMetadataRetriever
/frameworks/base/media/java/android/media/
DRemoteControlClient.java563 mMetadata = new Bundle(mEditorMetadata); in apply()
565 mMetadata.putLong(String.valueOf(KEY_EDITABLE_MASK), mEditableKeys); in apply()
597 editor.mEditorMetadata = new Bundle(mMetadata); in editMetadata()
876 private Bundle mMetadata = new Bundle(); field in RemoteControlClient
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java1417 @Nullable private final RadioMetadata mMetadata; field in RadioManager.ProgramInfo
1438 mMetadata = metadata; in ProgramInfo()
1603 return mMetadata; in getMetadata()
1627 mMetadata = in.readTypedObject(RadioMetadata.CREATOR); in ProgramInfo()
1650 dest.writeTypedObject(mMetadata, flags); in writeToParcel()
1668 + ", mMetadata=" + Objects.toString(mMetadata) in toString()
1675 mRelatedContent, mInfoFlags, mSignalQuality, mMetadata, mVendorInfo); in hashCode()
1690 if (!Objects.equals(mMetadata, other.mMetadata)) return false; in equals()
/frameworks/av/camera/include/camera/
DCaptureResult.h130 CameraMetadata mMetadata; member
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp81 if (!isPartialResult && processFaceDetect(frame.mMetadata, client) != OK) { in processSingleFrame()
240 const CameraMetadata &metadata = frame.mMetadata; in process3aState()
DZslProcessor.cpp190 entry = result.mMetadata.find(ANDROID_SENSOR_TIMESTAMP); in onResultAvailable()
197 entry = result.mMetadata.find(ANDROID_REQUEST_FRAME_COUNT); in onResultAvailable()
211 mFrameList.editItemAt(mFrameListHead) = result.mMetadata; in onResultAvailable()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java727 private final Bundle mMetadata = new Bundle(); field in RemotePrintDocument.LayoutCommand
741 mMetadata.putBoolean(PrintDocumentAdapter.EXTRA_PRINT_PREVIEW, preview); in LayoutCommand()
754 mMetadata, mSequence); in run()
806 mDocument.metadata = mMetadata; in handleOnLayoutFinished()
/frameworks/av/services/camera/libcameraservice/api2/
DCompositeStream.cpp121 it->second.append(result.mMetadata); in onResultAvailable()
/frameworks/base/core/java/android/view/
DSurfaceControl.java499 private SparseIntArray mMetadata; field in SurfaceControl.Builder
532 mSession, mName, mWidth, mHeight, mFormat, mFlags, mParent, mMetadata); in build()
675 if (mMetadata == null) { in setMetadata()
676 mMetadata = new SparseIntArray(); in setMetadata()
678 mMetadata.put(key, data); in setMetadata()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java102 private MediaMetadata mMetadata; field in MediaSessionRecord
595 holder.mCallback.onMetadataChanged(mMetadata); in pushMetadataUpdate()
881 mMetadata = temp; in setMetadata()
1462 return mMetadata; in getMetadata()

12