Home
last modified time | relevance | path

Searched refs:mMetadata (Results 1 – 25 of 27) 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/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/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/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.java1359 private final ProviderMetadata mMetadata; field in MediaRouter.ProviderInfo
1366 mMetadata = provider.getMetadata(); in ProviderInfo()
1381 return mMetadata.getPackageName(); in getPackageName()
1388 return mMetadata.getComponentName(); in getComponentName()
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp352 mMetadata(NULL), in CameraDeviceClientFlashControl()
358 if (mMetadata) { in ~CameraDeviceClientFlashControl()
359 delete mMetadata; in ~CameraDeviceClientFlashControl()
554 if (mMetadata == NULL) { in submitTorchEnabledRequest()
555 mMetadata = new CameraMetadata(); in submitTorchEnabledRequest()
556 if (mMetadata == NULL) { in submitTorchEnabledRequest()
560 CAMERA3_TEMPLATE_PREVIEW, mMetadata); in submitTorchEnabledRequest()
567 mMetadata->update(ANDROID_FLASH_MODE, &torchOn, 1); in submitTorchEnabledRequest()
568 mMetadata->update(ANDROID_REQUEST_OUTPUT_STREAMS, &mStreamId, 1); in submitTorchEnabledRequest()
571 mMetadata->update(ANDROID_CONTROL_AE_MODE, &aeMode, 1); in submitTorchEnabledRequest()
[all …]
DCameraFlashlight.h158 CameraMetadata *mMetadata; variable
/frameworks/av/camera/camera2/
DCaptureRequest.cpp35 mMetadata.clear(); in readFromParcel()
40 if ((err = mMetadata.readFromParcel(parcel)) != OK) { in readFromParcel()
102 if ((err = mMetadata.writeToParcel(parcel)) != OK) { in writeToParcel()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java1102 private final RadioMetadata mMetadata; field in RadioManager.ProgramInfo
1112 mMetadata = metadata; in ProgramInfo()
1157 return mMetadata; in getMetadata()
1168 mMetadata = RadioMetadata.CREATOR.createFromParcel(in); in ProgramInfo()
1170 mMetadata = null; in ProgramInfo()
1193 if (mMetadata == null) { in writeToParcel()
1197 mMetadata.writeToParcel(dest, flags); in writeToParcel()
1211 + ((mMetadata == null) ? "" : (", mMetadata=" + mMetadata.toString())) in toString()
1225 result = prime * result + ((mMetadata == null) ? 0 : mMetadata.hashCode()); in hashCode()
1248 if (mMetadata == null) { in equals()
[all …]
/frameworks/av/media/libmedia/
DIMediaMetadataRetriever.cpp188 if (mMetadata.indexOfKey(keyCode) < 0) { in extractMetadata()
189 mMetadata.add(keyCode, value); in extractMetadata()
191 mMetadata.replaceValueFor(keyCode, value); in extractMetadata()
193 return mMetadata.valueFor(keyCode).string(); in extractMetadata()
200 KeyedVector<int, String8> mMetadata; member in android::BpMediaMetadataRetriever
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java103 private MediaMetadata mMetadata; field in MediaSessionRecord
477 int fields = mMetadata == null ? 0 : mMetadata.size(); in getShortMetadataString()
478 MediaDescription description = mMetadata == null ? null : mMetadata in getShortMetadataString()
510 cb.onMetadataChanged(mMetadata); in pushMetadataUpdate()
644 if (mMetadata != null && mMetadata.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in getStateWithUpdatedPosition()
645 duration = mMetadata.getLong(MediaMetadata.METADATA_KEY_DURATION); in getStateWithUpdatedPosition()
750 mMetadata = temp; in setMetadata()
1178 return mMetadata; in getMetadata()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java578 mMetadata = new Bundle(mEditorMetadata); in apply()
580 mMetadata.putLong(String.valueOf(KEY_EDITABLE_MASK), mEditableKeys); in apply()
612 editor.mEditorMetadata = new Bundle(mMetadata); in editMetadata()
931 private Bundle mMetadata = new Bundle(); field in RemoteControlClient
/frameworks/av/include/camera/camera2/
DCaptureRequest.h31 CameraMetadata mMetadata;
/frameworks/av/include/camera/
DCaptureResult.h83 CameraMetadata mMetadata; member
/frameworks/av/camera/tests/
DCameraBinderTests.cpp406 request->mMetadata = requestTemplate; in TEST_F()
428 request2->mMetadata = requestTemplate; in TEST_F()
455 request3->mMetadata = requestTemplate; in TEST_F()
458 request4->mMetadata = requestTemplate2; in TEST_F()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp1305 frame->mMetadata.acquire(result.mMetadata); in getNextResult()
1952 captureResult.mMetadata = CameraMetadata(kMinimal3AResultEntries, /*dataCapacity*/ 0); in processPartial3AResult()
1958 if (!insert3AResult(min3AResult.mMetadata, ANDROID_REQUEST_FRAME_COUNT, in processPartial3AResult()
1965 if (!insert3AResult(min3AResult.mMetadata, ANDROID_REQUEST_ID, in processPartial3AResult()
1972 if (!insert3AResult(min3AResult.mMetadata, ANDROID_QUIRKS_PARTIAL_RESULT, in processPartial3AResult()
1978 if (!insert3AResult(min3AResult.mMetadata, ANDROID_CONTROL_AF_MODE, in processPartial3AResult()
1983 if (!insert3AResult(min3AResult.mMetadata, ANDROID_CONTROL_AWB_MODE, in processPartial3AResult()
1988 if (!insert3AResult(min3AResult.mMetadata, ANDROID_CONTROL_AE_STATE, in processPartial3AResult()
1993 if (!insert3AResult(min3AResult.mMetadata, ANDROID_CONTROL_AF_STATE, in processPartial3AResult()
1998 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()
245 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()
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaSessionCompat.java987 private MediaMetadataCompat mMetadata; field in MediaSessionCompat.MediaSessionImplBase
1175 setMetadata(mMetadata); in setActive()
1241 mMetadata = metadata; in setMetadata()
1395 if (mMetadata != null in getStateWithUpdatedPosition()
1396 && mMetadata.containsKey(MediaMetadataCompat.METADATA_KEY_DURATION)) { in getStateWithUpdatedPosition()
1397 duration = mMetadata.getLong(MediaMetadataCompat.METADATA_KEY_DURATION); in getStateWithUpdatedPosition()
1683 return mMetadata; in getMetadata()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java636 private final Bundle mMetadata = new Bundle(); field in RemotePrintDocument.LayoutCommand
650 mMetadata.putBoolean(PrintDocumentAdapter.EXTRA_PRINT_PREVIEW, preview); in LayoutCommand()
663 mMetadata, mSequence); in run()
715 mDocument.metadata = mMetadata; in handleOnLayoutFinished()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp149 CameraMetadata metadata(request->mMetadata); in submitRequestList()
856 remoteCb->onResultReceived(result.mMetadata, result.mResultExtras); in onResultAvailable()

12