Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/foundation/tests/
DMetaDataBaseUnitTest.cpp67 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
154 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
157 status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
197 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
215 metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
247 metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
260 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
/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/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/
DRemoteMediaExtractor.cpp62 mAnalyticsItem->setCString(kExtractorFormat, extractor->name()); in RemoteMediaExtractor()
73 mAnalyticsItem->setCString(kExtractorMime, mime); in RemoteMediaExtractor()
DMetaDataUtils.cpp46 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData()
214 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in MakeAACCodecSpecificData()
DJPEGSource.cpp103 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_IMAGE_JPEG); in getFormat()
DAudioSource.cpp205 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat()
/frameworks/av/media/libstagefright/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()
807 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in dequeueScrambledAccessUnit()
830 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG2); in dequeueScrambledAccessUnit()
1102 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in dequeueAccessUnitPCMAudio()
1585 mFormat->setCString( in dequeueAccessUnitMPEGAudio()
1589 mFormat->setCString( in dequeueAccessUnitMPEGAudio()
1593 mFormat->setCString( in dequeueAccessUnitMPEGAudio()
1700 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG2); in dequeueAccessUnitMPEGVideo()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp563 mAnalyticsItem->setCString(kPlayerVMime, mime.c_str()); in updateMetrics()
565 mAnalyticsItem->setCString(kPlayerVCodec, name.c_str()); in updateMetrics()
588 mAnalyticsItem->setCString(kPlayerAMime, mime.c_str()); in updateMetrics()
590 mAnalyticsItem->setCString(kPlayerACodec, name.c_str()); in updateMetrics()
614 mAnalyticsItem->setCString(kPlayerDataSourceType, mPlayer->getDataSourceType()); in updateMetrics()
1015 mAnalyticsItem->setCString(kPlayerErrorState, stateString(mState).c_str()); in notifyListener_l()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp553 item->setCString(kAudioPolicyRqstSrc, in startInput()
557 item->setCString(kAudioPolicyRqstPkg, in startInput()
560 item->setCString(kAudioPolicyRqstPkg, std::to_string(client->uid).c_str()); in startInput()
562 item->setCString( in startInput()
573 item->setCString(kAudioPolicyActiveSrc, in startInput()
577 item->setCString(kAudioPolicyActivePkg, in startInput()
580 item->setCString(kAudioPolicyRqstPkg, in startInput()
583 item->setCString(kAudioPolicyActiveDevice, in startInput()
/frameworks/av/drm/libmediadrm/
DPluginMetricsReporting.cpp43 analyticsItem->setCString(kSerializedMetricsField, metrics.c_str()); in reportVendorMetrics()
DDrmHal.cpp1587 item->setCString("vendor", vendor.c_str()); in reportFrameworkMetrics()
1593 item->setCString("description", description.c_str()); in reportFrameworkMetrics()
1604 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.cpp76 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
Drecord.cpp67 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/media/libmediametrics/include/
DMediaAnalyticsItem.h132 void setCString(Attr, const char *value);
/frameworks/av/include/media/
DMediaAnalyticsItem.h132 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.cpp351 void MediaAnalyticsItem::setCString(MediaAnalyticsItem::Attr name, const char *value) { in setCString() function in android::MediaAnalyticsItem
708 setCString(attr, data.readCString()); in readFromParcel0()
/frameworks/av/media/libstagefright/foundation/
DMetaDataBase.cpp120 bool MetaDataBase::setCString(uint32_t key, const char *value) { in setCString() function in android::MetaDataBase

12