/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
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 …]
|
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 …]
|
/frameworks/av/camera/ |
D | CaptureResult.cpp | 64 mMetadata(), mResultExtras() { in CaptureResult() 69 mMetadata = otherResult.mMetadata; in CaptureResult() 81 mMetadata.clear(); in readFromParcel() 84 res = mMetadata.readFromParcel(parcel); in readFromParcel() 114 res = mMetadata.writeToParcel(parcel); in writeToParcel()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | FrameProcessorBase.cpp | 134 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/ |
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()
|
D | OnePlayerActivity.java | 174 public MediaMetadata mMetadata; 231 mMetadata = metadata;
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraFlashlight.cpp | 355 mMetadata(NULL), in CameraDeviceClientFlashControl() 361 if (mMetadata) { in ~CameraDeviceClientFlashControl() 362 delete mMetadata; in ~CameraDeviceClientFlashControl() 557 if (mMetadata == NULL) { in submitTorchEnabledRequest() 558 mMetadata = new CameraMetadata(); in submitTorchEnabledRequest() 559 if (mMetadata == NULL) { in submitTorchEnabledRequest() 563 CAMERA3_TEMPLATE_PREVIEW, mMetadata); in submitTorchEnabledRequest() 570 mMetadata->update(ANDROID_FLASH_MODE, &torchOn, 1); in submitTorchEnabledRequest() 571 mMetadata->update(ANDROID_REQUEST_OUTPUT_STREAMS, &mStreamId, 1); in submitTorchEnabledRequest() 574 mMetadata->update(ANDROID_CONTROL_AE_MODE, &aeMode, 1); in submitTorchEnabledRequest() [all …]
|
D | CameraFlashlight.h | 158 CameraMetadata *mMetadata; variable
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteProvider.java | 62 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()
|
D | MediaRouter.java | 1618 private final ProviderMetadata mMetadata; field in MediaRouter.ProviderInfo 1625 mMetadata = provider.getMetadata(); in ProviderInfo() 1640 return mMetadata.getPackageName(); in getPackageName() 1647 return mMetadata.getComponentName(); in getComponentName()
|
/frameworks/av/camera/camera2/ |
D | CaptureRequest.cpp | 37 mMetadata.clear(); in readFromParcel() 42 if ((err = mMetadata.readFromParcel(parcel)) != OK) { in readFromParcel() 104 if ((err = mMetadata.writeToParcel(parcel)) != OK) { in writeToParcel()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | RadioManager.java | 1145 private final RadioMetadata mMetadata; field in RadioManager.ProgramInfo 1155 mMetadata = metadata; in ProgramInfo() 1200 return mMetadata; in getMetadata() 1211 mMetadata = RadioMetadata.CREATOR.createFromParcel(in); in ProgramInfo() 1213 mMetadata = null; in ProgramInfo() 1236 if (mMetadata == null) { in writeToParcel() 1240 mMetadata.writeToParcel(dest, flags); in writeToParcel() 1254 + ((mMetadata == null) ? "" : (", mMetadata=" + mMetadata.toString())) in toString() 1268 result = prime * result + ((mMetadata == null) ? 0 : mMetadata.hashCode()); in hashCode() 1291 if (mMetadata == null) { in equals() [all …]
|
/frameworks/compile/libbcc/lib/Core/ |
D | Source.cpp | 146 : mName(name), mContext(pContext), mModule(&pModule), mMetadata(nullptr), in Source() 155 delete mMetadata; in ~Source() 206 mMetadata = new bcinfo::MetadataExtractor(mModule); in extractMetadata() 207 return mMetadata->extract(); in extractMetadata()
|
/frameworks/av/media/libmedia/ |
D | IMediaMetadataRetriever.cpp | 188 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/compile/libbcc/include/bcc/ |
D | Source.h | 40 bcinfo::MetadataExtractor *mMetadata; variable 101 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; } in getMetadata()
|
/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/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 105 private MediaMetadata mMetadata; field in MediaSessionRecord 484 int fields = mMetadata == null ? 0 : mMetadata.size(); in getShortMetadataString() 485 MediaDescription description = mMetadata == null ? null : mMetadata in getShortMetadataString() 517 cb.onMetadataChanged(mMetadata); in pushMetadataUpdate() 651 if (mMetadata != null && mMetadata.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in getStateWithUpdatedPosition() 652 duration = mMetadata.getLong(MediaMetadata.METADATA_KEY_DURATION); in getStateWithUpdatedPosition() 784 mMetadata = temp; in setMetadata() 1291 return mMetadata; in getMetadata()
|
/frameworks/av/include/camera/camera2/ |
D | CaptureRequest.h | 33 CameraMetadata mMetadata; member
|
/frameworks/av/include/camera/ |
D | CaptureResult.h | 101 CameraMetadata mMetadata; member
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | FrameProcessor.cpp | 83 entry = frame.mMetadata.find(ANDROID_QUIRKS_PARTIAL_RESULT); in processSingleFrame() 91 if (!isPartialResult && processFaceDetect(frame.mMetadata, client) != OK) { in processSingleFrame() 251 const CameraMetadata &metadata = frame.mMetadata; in process3aState()
|
D | ZslProcessor.cpp | 103 entry = result.mMetadata.find(ANDROID_SENSOR_TIMESTAMP); in onResultAvailable() 110 entry = result.mMetadata.find(ANDROID_REQUEST_FRAME_COUNT); in onResultAvailable() 124 mFrameList.editItemAt(mFrameListHead) = result.mMetadata; in onResultAvailable()
|
/frameworks/av/camera/tests/ |
D | CameraBinderTests.cpp | 476 request.mMetadata = requestTemplate; in TEST_F() 503 request2.mMetadata = requestTemplate; in TEST_F() 536 request3.mMetadata = requestTemplate; in TEST_F() 539 request4.mMetadata = requestTemplate2; in TEST_F()
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
D | MediaSessionCompat.java | 1167 private MediaMetadataCompat mMetadata; field in MediaSessionCompat.MediaSessionImplBase 1353 setMetadata(mMetadata); in setActive() 1453 mMetadata = metadata; in setMetadata() 1614 if (mMetadata != null in getStateWithUpdatedPosition() 1615 && mMetadata.containsKey(MediaMetadataCompat.METADATA_KEY_DURATION)) { in getStateWithUpdatedPosition() 1616 duration = mMetadata.getLong(MediaMetadataCompat.METADATA_KEY_DURATION); in getStateWithUpdatedPosition() 1922 return mMetadata; in getMetadata()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | RemotePrintDocument.java | 713 private final Bundle mMetadata = new Bundle(); field in RemotePrintDocument.LayoutCommand 727 mMetadata.putBoolean(PrintDocumentAdapter.EXTRA_PRINT_PREVIEW, preview); in LayoutCommand() 740 mMetadata, mSequence); in run() 792 mDocument.metadata = mMetadata; in handleOnLayoutFinished()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.cpp | 1498 frame->mMetadata.acquire(result.mMetadata); in getNextResult() 2196 if (result->mMetadata.update(ANDROID_REQUEST_FRAME_COUNT, in insertResultLocked() 2202 if (result->mMetadata.update(ANDROID_REQUEST_ID, &result->mResultExtras.requestId, 1) != OK) { in insertResultLocked() 2207 overrideResultForPrecaptureCancel(&result->mMetadata, aeTriggerCancelOverride); in insertResultLocked() 2229 captureResult.mMetadata = partialResult; in sendPartialCaptureResult() 2267 captureResult.mMetadata = pendingMetadata; in sendCaptureResult() 2271 captureResult.mMetadata.append(collectedPartialResult); in sendCaptureResult() 2275 if (mDerivePostRawSensKey && !captureResult.mMetadata.exists( in sendCaptureResult() 2278 captureResult.mMetadata.update( in sendCaptureResult() 2283 captureResult.mMetadata.sort(); in sendCaptureResult() [all …]
|