Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp425 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in APacketSource()
457 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_H263); in APacketSource()
468 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in APacketSource()
484 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_NB); in APacketSource()
497 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_WB); in APacketSource()
510 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG4); in APacketSource()
548 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in APacketSource()
567 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()
DVideoSource.h43 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
/frameworks/av/media/libstagefright/
DRemoteMediaExtractor.cpp62 mAnalyticsItem->setCString(kExtractorFormat, extractor->name()); in RemoteMediaExtractor()
73 mAnalyticsItem->setCString(kExtractorMime, mime); in RemoteMediaExtractor()
DMetaDataUtils.cpp47 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData()
215 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in MakeAACCodecSpecificData()
DJPEGSource.cpp103 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_IMAGE_JPEG); in getFormat()
DMediaCodec.cpp582 mAnalyticsItem->setCString(kCodecLatencyHist, hist.c_str()); in updateAnalyticsItem()
629 item->setCString(kCodecRecentLatencyHist, hist.c_str()); in updateEphemeralAnalytics()
963 mAnalyticsItem->setCString(kCodecCodec, name.c_str()); in init()
964 mAnalyticsItem->setCString(kCodecMode, mIsVideo ? kCodecModeVideo : kCodecModeAudio); in init()
1808 … mAnalyticsItem->setCString(kCodecErrorState, stateString(mState).c_str()); in onMessageReceived()
1821 … mAnalyticsItem->setCString(kCodecErrorState, stateString(mState).c_str()); in onMessageReceived()
1862 … mAnalyticsItem->setCString(kCodecErrorState, stateString(mState).c_str()); in onMessageReceived()
1895 … mAnalyticsItem->setCString(kCodecErrorState, stateString(mState).c_str()); in onMessageReceived()
1954 mAnalyticsItem->setCString(kCodecCodec, mComponentName.c_str()); in onMessageReceived()
2029 mAnalyticsItem->setCString(kCodecMime, mime.c_str()); in onMessageReceived()
DAudioSource.cpp205 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat()
/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/libstagefright/mpeg2ts/
DESQueue.cpp205 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AC3); in parseAC3SyncFrame()
278 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_EAC3); in parseEAC3SyncFrame()
348 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AC4); in parseAC4SyncFrame()
800 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in dequeueScrambledAccessUnit()
823 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG2); in dequeueScrambledAccessUnit()
1095 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in dequeueAccessUnitPCMAudio()
1578 mFormat->setCString( in dequeueAccessUnitMPEGAudio()
1582 mFormat->setCString( in dequeueAccessUnitMPEGAudio()
1586 mFormat->setCString( in dequeueAccessUnitMPEGAudio()
1693 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG2); in dequeueAccessUnitMPEGVideo()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp587 mAnalyticsItem->setCString(kPlayerDataSourceType, mPlayer->getDataSourceType()); in updateMetrics()
601 mAnalyticsItem->setCString(kPlayerVMime, mime.c_str()); in updateMetrics()
603 mAnalyticsItem->setCString(kPlayerVCodec, name.c_str()); in updateMetrics()
626 mAnalyticsItem->setCString(kPlayerAMime, mime.c_str()); in updateMetrics()
628 mAnalyticsItem->setCString(kPlayerACodec, name.c_str()); in updateMetrics()
1043 mAnalyticsItem->setCString(kPlayerErrorState, stateString(mState).c_str()); in notifyListener_l()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp540 item->setCString(kAudioPolicyRqstSrc, in startInput()
544 item->setCString(kAudioPolicyRqstPkg, in startInput()
547 item->setCString(kAudioPolicyRqstPkg, std::to_string(client->uid).c_str()); in startInput()
549 item->setCString( in startInput()
560 item->setCString(kAudioPolicyActiveSrc, in startInput()
564 item->setCString(kAudioPolicyActivePkg, in startInput()
567 item->setCString(kAudioPolicyRqstPkg, in startInput()
570 item->setCString(kAudioPolicyActiveDevice, in startInput()
/frameworks/av/drm/libmediadrm/
DPluginMetricsReporting.cpp43 analyticsItem->setCString(kSerializedMetricsField, metrics.c_str()); in reportVendorMetrics()
DDrmHal.cpp1582 item->setCString("vendor", vendor.c_str()); in reportFrameworkMetrics()
1588 item->setCString("description", description.c_str()); in reportFrameworkMetrics()
1599 item->setCString("serialized_metrics", b64EncodedMetrics.c_str()); in reportFrameworkMetrics()
/frameworks/av/cmds/stagefright/
DSineSource.cpp53 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat()
Drecordvideo.cpp78 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
Drecord.cpp66 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW);
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaDataBase.h280 bool setCString(uint32_t key, const char *value);
/frameworks/av/include/media/
DMediaAnalyticsItem.h127 void setCString(Attr, const char *value);
/frameworks/av/media/libmediametrics/include/
DMediaAnalyticsItem.h127 void setCString(Attr, const char *value);
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp82 mAnalyticsItem->setCString(MM_PREFIX "encoding", toString(record->mFormat).c_str()); in gather()
83 mAnalyticsItem->setCString(MM_PREFIX "source", toString(record->mAttributes.source).c_str()); in gather()
91 mAnalyticsItem->setCString(MM_PREFIX "attributes", toString(record->mAttributes).c_str()); in gather()
104 mAnalyticsItem->setCString(MM_PREFIX "lastError.at", mLastErrorFunc.c_str()); in gather()
DAudioTrack.cpp186 mAnalyticsItem->setCString(MM_PREFIX "streamtype", toString(track->streamType()).c_str()); in gather()
187 mAnalyticsItem->setCString(MM_PREFIX "type", in gather()
189 mAnalyticsItem->setCString(MM_PREFIX "usage", toString(track->mAttributes.usage).c_str()); in gather()
196 mAnalyticsItem->setCString(MM_PREFIX "encoding", toString(track->mFormat).c_str()); in gather()
198 mAnalyticsItem->setCString(MM_PREFIX "attributes", toString(track->mAttributes).c_str()); in gather()
/frameworks/av/media/libmediametrics/
DMediaMetrics.cpp89 if (item != NULL) item->setCString(attr, value); in mediametrics_setCString()
DMediaAnalyticsItem.cpp341 void MediaAnalyticsItem::setCString(MediaAnalyticsItem::Attr name, const char *value) { in setCString() function in android::MediaAnalyticsItem
698 setCString(attr, data.readCString()); in readFromParcel0()
/frameworks/av/media/libstagefright/foundation/
DMetaDataBase.cpp117 bool MetaDataBase::setCString(uint32_t key, const char *value) { in setCString() function in android::MetaDataBase

12