Home
last modified time | relevance | path

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

/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/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardTransportControlView.java82 private Metadata mMetadata = new Metadata(); field in KeyguardTransportControlView
357 mMetadata.clear(); in onAttachedToWindow()
377 mMetadata.clear(); in onDetachedFromWindow()
384 ss.artist = mMetadata.artist; in onSaveInstanceState()
385 ss.trackTitle = mMetadata.trackTitle; in onSaveInstanceState()
386 ss.albumTitle = mMetadata.albumTitle; in onSaveInstanceState()
387 ss.duration = mMetadata.duration; in onSaveInstanceState()
388 ss.bitmap = mMetadata.bitmap; in onSaveInstanceState()
400 mMetadata.artist = ss.artist; in onRestoreInstanceState()
401 mMetadata.trackTitle = ss.trackTitle; in onRestoreInstanceState()
[all …]
/frameworks/av/camera/
DCaptureResult.cpp62 mMetadata(), mResultExtras() { in CaptureResult()
67 mMetadata = otherResult.mMetadata; in CaptureResult()
79 mMetadata.clear(); in readFromParcel()
82 res = mMetadata.readFromParcel(parcel); in readFromParcel()
112 res = mMetadata.writeToParcel(parcel); in writeToParcel()
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp134 entry = result.mMetadata.find(ANDROID_REQUEST_FRAME_COUNT); in processNewFrames()
146 if (!result.mMetadata.isEmpty()) { in processNewFrames()
148 mLastFrame.acquire(result.mMetadata); in processNewFrames()
163 __FUNCTION__, device->getId(), result.mMetadata.isEmpty()); in processSingleFrame()
178 entry = result.mMetadata.find(ANDROID_QUIRKS_PARTIAL_RESULT); in processListeners()
191 entry = result.mMetadata.find(ANDROID_REQUEST_ID); in processListeners()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProvider.java62 private final ProviderMetadata mMetadata; field in MediaRouteProvider
89 mMetadata = new ProviderMetadata(new ComponentName(context, getClass())); in MediaRouteProvider()
91 mMetadata = metadata; in MediaRouteProvider()
113 return mMetadata; in getMetadata()
DMediaRouter.java1257 private final ProviderMetadata mMetadata; field in MediaRouter.ProviderInfo
1264 mMetadata = provider.getMetadata(); in ProviderInfo()
1279 return mMetadata.getPackageName(); in getPackageName()
1286 return mMetadata.getComponentName(); in getComponentName()
/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/camera/camera2/
DCaptureRequest.cpp35 mMetadata.clear(); in readFromParcel()
40 if ((err = mMetadata.readFromParcel(parcel)) != OK) { in readFromParcel()
95 if ((err = mMetadata.writeToParcel(parcel)) != OK) { in writeToParcel()
/frameworks/av/media/libmedia/
DIMediaMetadataRetriever.cpp177 if (mMetadata.indexOfKey(keyCode) < 0) { in extractMetadata()
178 mMetadata.add(keyCode, value); in extractMetadata()
180 mMetadata.replaceValueFor(keyCode, value); in extractMetadata()
182 return mMetadata.valueFor(keyCode).string(); in extractMetadata()
189 KeyedVector<int, String8> mMetadata; member in android::BpMediaMetadataRetriever
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java105 private MediaMetadata mMetadata; field in MediaSessionRecord
464 int fields = mMetadata == null ? 0 : mMetadata.size(); in getShortMetadataString()
465 MediaDescription description = mMetadata == null ? null : mMetadata in getShortMetadataString()
497 cb.onMetadataChanged(mMetadata); in pushMetadataUpdate()
631 if (mMetadata != null && mMetadata.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in getStateWithUpdatedPosition()
632 duration = mMetadata.getLong(MediaMetadata.METADATA_KEY_DURATION); in getStateWithUpdatedPosition()
737 mMetadata = temp; in setMetadata()
1151 return mMetadata; in getMetadata()
/frameworks/av/include/camera/camera2/
DCaptureRequest.h31 CameraMetadata mMetadata;
/frameworks/base/media/java/android/media/
DRemoteControlClient.java579 mMetadata = new Bundle(mEditorMetadata); in apply()
581 mMetadata.putLong(String.valueOf(KEY_EDITABLE_MASK), mEditableKeys); in apply()
613 editor.mEditorMetadata = new Bundle(mMetadata); in editMetadata()
932 private Bundle mMetadata = new Bundle(); field in RemoteControlClient
/frameworks/av/include/camera/
DCaptureResult.h83 CameraMetadata mMetadata; member
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp1209 frame->mMetadata.acquire(result.mMetadata); in getNextResult()
1777 captureResult.mMetadata = CameraMetadata(kMinimal3AResultEntries, /*dataCapacity*/ 0); in processPartial3AResult()
1783 if (!insert3AResult(min3AResult.mMetadata, ANDROID_REQUEST_FRAME_COUNT, in processPartial3AResult()
1790 if (!insert3AResult(min3AResult.mMetadata, ANDROID_REQUEST_ID, in processPartial3AResult()
1797 if (!insert3AResult(min3AResult.mMetadata, ANDROID_QUIRKS_PARTIAL_RESULT, in processPartial3AResult()
1803 if (!insert3AResult(min3AResult.mMetadata, ANDROID_CONTROL_AF_MODE, in processPartial3AResult()
1808 if (!insert3AResult(min3AResult.mMetadata, ANDROID_CONTROL_AWB_MODE, in processPartial3AResult()
1813 if (!insert3AResult(min3AResult.mMetadata, ANDROID_CONTROL_AE_STATE, in processPartial3AResult()
1818 if (!insert3AResult(min3AResult.mMetadata, ANDROID_CONTROL_AF_STATE, in processPartial3AResult()
1823 if (!insert3AResult(min3AResult.mMetadata, ANDROID_CONTROL_AWB_STATE, in processPartial3AResult()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp77 entry = frame.mMetadata.find(ANDROID_QUIRKS_PARTIAL_RESULT); in processSingleFrame()
85 if (!isPartialResult && processFaceDetect(frame.mMetadata, client) != OK) { in processSingleFrame()
228 const CameraMetadata &metadata = frame.mMetadata; in process3aState()
DZslProcessor3.cpp105 entry = result.mMetadata.find(ANDROID_SENSOR_TIMESTAMP); in onResultAvailable()
112 entry = result.mMetadata.find(ANDROID_REQUEST_FRAME_COUNT); in onResultAvailable()
126 mFrameList.editItemAt(mFrameListHead) = result.mMetadata; in onResultAvailable()
DZslProcessor.cpp82 entry = result.mMetadata.find(ANDROID_SENSOR_TIMESTAMP); in onResultAvailable()
89 mFrameList.editItemAt(mFrameListHead) = result.mMetadata; in onResultAvailable()
DCaptureSequencer.cpp114 mNewFrame = result.mMetadata; in onResultAvailable()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java624 private final Bundle mMetadata = new Bundle(); field in RemotePrintDocument.LayoutCommand
638 mMetadata.putBoolean(PrintDocumentAdapter.EXTRA_PRINT_PREVIEW, preview); in LayoutCommand()
651 mMetadata, mSequence); in run()
703 mDocument.metadata = mMetadata; in handleOnLayoutFinished()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp133 CameraMetadata metadata(request->mMetadata); in submitRequestList()
605 remoteCb->onResultReceived(result.mMetadata, result.mResultExtras); in onResultAvailable()
/frameworks/av/services/camera/libcameraservice/api_pro/
DProCamera2Client.cpp384 CameraMetadata tmp(result.mMetadata); in onResultAvailable()
/frameworks/av/services/camera/libcameraservice/device2/
DCamera2Device.cpp542 result->mMetadata.acquire(rawFrame); in getNextResult()