Home
last modified time | relevance | path

Searched refs:setCString (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/av/media/libstagefright/tests/fuzzers/
DFuzzerMediaUtility.cpp138 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in createSource()
147 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_NB); in createSource()
152 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_WB); in createSource()
158 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in createSource()
162 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in createSource()
170 meta->setCString(kKeyMIMEType, mime.c_str()); in createSource()
235 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_OPUS); in createSource()
248 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_VP8); in createSource()
250 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_VP9); in createSource()
260 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_VORBIS); in createSource()
[all …]
DFrameDecoderHelpers.h54 newMeta->setCString(kKeyMIMEType, mime);
/frameworks/av/media/module/foundation/tests/
DMetaDataBaseUnitTest.cpp66 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
151 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
154 status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
192 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
210 metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
242 metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
253 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
/frameworks/av/media/libstagefright/
DRemoteMediaExtractor.cpp79 mMetricsItem->setCString(kExtractorFormat, extractor->name()); in RemoteMediaExtractor()
90 mMetricsItem->setCString(kExtractorMime, mime); in RemoteMediaExtractor()
96 mMetricsItem->setCString(kExtractorEntryPoint, kEntryPointOther); in RemoteMediaExtractor()
244 mMetricsItem->setCString(kExtractorEntryPoint, entryPointString); in setEntryPoint()
249 mMetricsItem->setCString(kExtractorLogSessionId, logSessionId.c_str()); in setLogSessionId()
DJPEGSource.cpp103 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_IMAGE_JPEG); in getFormat()
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp426 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in APacketSource()
457 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in APacketSource()
469 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_H263); in APacketSource()
480 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in APacketSource()
496 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_NB); in APacketSource()
509 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_WB); in APacketSource()
522 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG4); in APacketSource()
560 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in APacketSource()
579 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_CONTAINER_MPEG2TS); in APacketSource()
DARawAudioAssembler.cpp129 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_MLAW); in MakeFormat()
131 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_ALAW); in MakeFormat()
/frameworks/av/media/libnblog/
DReportPerformance.cpp175 item->setCString(kThreadWorkHist, workHist.toString().c_str()); in sendToMediaMetrics()
180 item->setCString(kThreadLatencyHist, latencyHist.toString().c_str()); in sendToMediaMetrics()
185 item->setCString(kThreadWarmupHist, warmupHist.toString().c_str()); in sendToMediaMetrics()
202 item->setCString(kThreadType, typeString); in sendToMediaMetrics()
/frameworks/av/media/module/mpeg2ts/
DESQueue.cpp212 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AC3); in parseAC3SyncFrame()
285 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_EAC3); in parseEAC3SyncFrame()
355 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AC4); in parseAC4SyncFrame()
567 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS_HD); in parseDTSHDSyncFrame()
570 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS); in parseDTSHDSyncFrame()
776 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS_UHD); in parseDTSUHDSyncFrame()
1301 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in dequeueScrambledAccessUnit()
1324 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG2); in dequeueScrambledAccessUnit()
1708 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in dequeueAccessUnitPCMAudio()
2197 mFormat->setCString( in dequeueAccessUnitMPEGAudio()
[all …]
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DVideoSource.h43 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp612 mMetricsItem->setCString(kPlayerDataSourceType, mPlayer->getDataSourceType()); in updateMetrics()
626 mMetricsItem->setCString(kPlayerVMime, mime.c_str()); in updateMetrics()
628 mMetricsItem->setCString(kPlayerVCodec, name.c_str()); in updateMetrics()
651 mMetricsItem->setCString(kPlayerAMime, mime.c_str()); in updateMetrics()
653 mMetricsItem->setCString(kPlayerACodec, name.c_str()); in updateMetrics()
1091 mMetricsItem->setCString(kPlayerErrorState, stateString(mState).c_str()); in notifyListener_l()
/frameworks/av/cmds/stagefright/
DSineSource.cpp53 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat()
Drecordvideo.cpp76 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
Drecord.cpp66 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW);
/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp46 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData()
385 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in MakeAACCodecSpecificData()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaDataBase.h342 bool setCString(uint32_t key, const char *value);
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp328 item.setCString("name", "Frank").setCString("mother", "June").setCString("mother", "July"); in TEST()
436 .setCString("string", "abc") in TEST()
454 .setCString("string", "abc") in TEST()
477 .setCString("string", "abc") in TEST()
/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtp_writer_fuzzer.cpp48 mTestMetaData->setCString(kKeyMIMEType, mMimeType); in TestMediaSource()
/frameworks/av/media/libmediametrics/
DMediaMetrics.cpp97 if (item != NULL) item->setCString(attr, value); in mediametrics_setCString()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp89 mMetricsItem->setCString(MM_PREFIX "encoding", toString(record->mFormat).c_str()); in gather()
90 mMetricsItem->setCString(MM_PREFIX "source", toString(record->mAttributes.source).c_str()); in gather()
98 mMetricsItem->setCString(MM_PREFIX "attributes", toString(record->mAttributes).c_str()); in gather()
111 mMetricsItem->setCString(MM_PREFIX "lastError.at", mLastErrorFunc.c_str()); in gather()
113 mMetricsItem->setCString(MM_PREFIX "logSessionId", record->mLogSessionId.c_str()); in gather()
DAudioTrack.cpp207 mMetricsItem->setCString(MM_PREFIX "streamtype", toString(track->streamType()).c_str()); in gather()
208 mMetricsItem->setCString(MM_PREFIX "type", in gather()
210 mMetricsItem->setCString(MM_PREFIX "usage", toString(track->mAttributes.usage).c_str()); in gather()
217 mMetricsItem->setCString(MM_PREFIX "encoding", toString(track->mFormat).c_str()); in gather()
219 mMetricsItem->setCString(MM_PREFIX "attributes", toString(track->mAttributes).c_str()); in gather()
220 mMetricsItem->setCString(MM_PREFIX "logSessionId", track->mLogSessionId.c_str()); in gather()
/frameworks/av/drm/drmserver/
DDrmManager.cpp153 item->setCString("plugin_id", metrics.mPluginId.c_str()); in flushEngineMetrics()
154 item->setCString("description", metrics.mDescription.c_str()); in flushEngineMetrics()
161 item->setCString("mime_types", mimeTypesStr.c_str()); in flushEngineMetrics()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp897 item->setCString(kAudioPolicyRqstSrc, in startInput()
902 item->setCString(kAudioPolicyRqstPkg, in startInput()
905 item->setCString(kAudioPolicyRqstPkg, in startInput()
908 item->setCString( in startInput()
919 item->setCString(kAudioPolicyActiveSrc, in startInput()
924 item->setCString(kAudioPolicyActivePkg, in startInput()
927 item->setCString(kAudioPolicyRqstPkg, std::to_string( in startInput()
930 item->setCString(kAudioPolicyActiveDevice, in startInput()
/frameworks/av/services/mediametrics/fuzzer/
Dmediametrics_service_fuzzer.cpp111 item->setCString(keyValue.c_str(), value.c_str()); in setKeyValues()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp208 trackMeta->setCString(kKeyMIMEType, mime); in getImageInternal()
213 trackMeta->setCString(kKeyMIMEType, mime); in getImageInternal()

12