Home
last modified time | relevance | path

Searched refs:contentType (Results 1 - 25 of 122) sorted by relevance

12345

/foundation/multimedia/media_foundation/test/unittest/
H A DTestHttpSourcePlugin.cpp33 const char contentType[] = "audio"; in HWTEST() local
34 strcpy_s(headerInfo->contentType, sizeof(headerInfo->contentType), contentType); in HWTEST()
/foundation/multimedia/audio_framework/frameworks/native/toneplayer/test/unittest/
H A Daudio_toneplayer_unit_test.cpp78 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
100 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
129 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
155 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
177 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
204 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
235 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
264 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
287 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
311 rendererInfo.contentType in HWTEST()
[all...]
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/
H A Ddownloader.h37 char contentType[32]; // 32 chars member
45 (void)memcpy_s(contentType, sizeof(contentType), info->contentType, sizeof(contentType)); in Update()
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ringtone_player/
H A Daudio_renderer_info_napi.cpp132 AudioStandard::ContentType contentType; in GetContentType() local
144 contentType = audioRendererInfoNapi->audioRendererInfo_->contentType; in GetContentType()
145 status = napi_create_int32(env, contentType, &jsResult); in GetContentType()
161 int32_t contentType = 0; in SetContentType() local
180 status = napi_get_value_int32(env, args[0], &contentType); in SetContentType()
182 audioRendererInfoNapi->audioRendererInfo_->contentType = static_cast<AudioStandard::ContentType>(contentType); in SetContentType()
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/
H A Daudio_interrupt_test.cpp229 rendererOptions.rendererInfo.contentType = contentType_; in InitRender()
289 void AudioInterruptTest::SaveStreamInfo(ContentType contentType, StreamUsage streamUsage) in SaveStreamInfo() argument
291 contentType_ = contentType; in SaveStreamInfo()
338 ContentType contentType = static_cast<ContentType>(strtol(argv[argIndexTwo], NULL, numBase)); in main() local
340 audioInterruptTest->SaveStreamInfo(contentType, streamUsage); in main()
H A Daudio_renderer_test.cpp118 AUDIO_INFO_LOG("AudioRendererTest: Get ContentType: %{public}d", rendererInfo.contentType); in GetRendererStreamInfo()
321 ContentType contentType = ContentType::CONTENT_TYPE_MUSIC; in TestPlayback() local
328 contentType = static_cast<ContentType>(strtol(argv[ARGS_INDEX_TWO], NULL, numBase)); in TestPlayback()
341 rendererOptions.rendererInfo.contentType = contentType; in TestPlayback()
H A Daudio_interrupt_test.h38 void SaveStreamInfo(ContentType contentType, StreamUsage streamUsage);
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_interrupt_info.h163 ContentType contentType; member in OHOS::AudioStandard::AudioInterrupt
175 uint32_t sessionId_) : streamUsage(streamUsage_), contentType(contentType_), audioFocusType(audioFocusType_), in AudioInterrupt()
181 res = res && parcel.WriteInt32(static_cast<int32_t>(interrupt.contentType)); in Marshalling()
201 interrupt.contentType = static_cast<ContentType>(parcel.ReadInt32()); in Unmarshalling()
H A Daudio_info.h325 ContentType contentType; member
339 ContentType contentType = CONTENT_TYPE_UNKNOWN; member
356 return parcel.WriteInt32(static_cast<int32_t>(contentType)) in Marshalling()
372 contentType = static_cast<ContentType>(parcel.ReadInt32()); in Unmarshalling()
432 ContentType contentType = CONTENT_TYPE_UNKNOWN; member
801 && parcel.WriteInt32(static_cast<int32_t>(rendererInfo.contentType)) in Marshalling()
820 && parcel.WriteInt32(static_cast<int32_t>(rendererInfo.contentType)) in Marshalling()
841 rendererInfo.contentType = static_cast<ContentType>(parcel.ReadInt32()); in Unmarshalling()
/foundation/multimedia/av_session/services/session/server/
H A Dfocus_session_strategy.cpp70 "AUDIO_INFO_CONTENT_TYPE", info.rendererInfo.contentType, in IsFocusSession()
102 info->rendererInfo.contentType, "AUDIO_INFO_RENDERER_STATE", info->rendererState, in SelectFocusSession()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/
H A Ddownloader.h43 char contentType[32]; // 32 chars member
55 NZERO_LOG(memcpy_s(contentType, sizeof(contentType), info->contentType, sizeof(contentType))); in Update()
/foundation/multimedia/player_framework/test/fuzztest/soundpool_fuzztest/soundpoolcreate_fuzzer/
H A Dsoundpoolcreate_fuzzer.cpp85 audioRenderInfo.contentType = contentType_[contenttypesubscript]; in FuzzSoundPoolCreate()
103 audioRenderInfo.contentType = contentType_[contenttypesubscript]; in FuzzSoundPoolCreateFlags()
/foundation/communication/dsoftbus/core/broadcast/scheduler/src/
H A Dbroadcast_scheduler.c48 int32_t SchedulerStartBroadcast(int32_t bcId, BroadcastContentType contentType, const BroadcastParam *param, in SchedulerStartBroadcast() argument
51 (void)contentType; in SchedulerStartBroadcast()
H A Dbroadcast_scheduler_virtual.c57 int32_t SchedulerStartBroadcast(int32_t bcId, BroadcastContentType contentType, const BroadcastParam *param, in SchedulerStartBroadcast() argument
61 (void)contentType; in SchedulerStartBroadcast()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/
H A Ddash_period_manager.cpp114 // get the AdaptationSet type by parse attribute mimeType/contentType, if the both attributes disappear, parse in ParseAdptSetList()
117 std::string contentType((*it)->contentType_); in ParseAdptSetList()
126 // if mimeType or contentType appear, parse it in ParseAdptSetList()
129 } else if (!contentType.empty()) { in ParseAdptSetList()
130 ParseAdptSetTypeByMime(contentType, *it); in ParseAdptSetList()
132 // if AdaptationSet and AdaptationSet.Representation can not find mime/contentType. we parse in ParseAdptSetList()
136 // if attributes mimeType/contentType both disappear and element ContentComponent disappear, think the in ParseAdptSetList()
155 // if exist application(such as application/ttml+xml) in mimeType/contentType, we think as subtitle in ParseAdptSetTypeByMime()
/foundation/multimedia/audio_framework/frameworks/native/toneplayer/test/example/
H A Daudio_toneplayer_test.cpp44 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in main()
/foundation/multimedia/audio_framework/test/fuzztest/audiopolicymore_fuzzer/
H A Daudio_policy_more_fuzzer.cpp89 ContentType contentType = *reinterpret_cast<const ContentType *>(rawData); in getAudioRenderInfo() local
97 contentType, in getAudioRenderInfo()
228 focusInfo.first.contentType = *reinterpret_cast<const ContentType *>(rawData); in SendInterruptEventFuzzTest()
254 incomingInterrupt.contentType = *reinterpret_cast<const ContentType *>(rawData); in IsSameAppInShareModeFuzzTest()
257 activateInterrupt.contentType = *reinterpret_cast<const ContentType *>(rawData); in IsSameAppInShareModeFuzzTest()
276 audioInterrupt.contentType = *reinterpret_cast<const ContentType *>(rawData); in SendFocusChangeEventFuzzTest()
293 focusInfo.first.contentType = *reinterpret_cast<const ContentType *>(rawData); in GetAudioFocusInfoListFuzzTest()
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/manager_test/src/
H A Daudio_manager_unit_test.cpp79 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in InitializeRendererOptionsForMusic()
92 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_RINGTONE; in InitializeRendererOptionsForRing()
213 audioRendererFilter->rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC;
239 audioRendererFilter->rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC;
317 audioRendererFilter->rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC;
338 audioRendererFilter->rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC;
363 audioRendererFilter->rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC;
610 audioInterrupt.contentType = CONTENT_TYPE_RINGTONE;
625 audioInterrupt.contentType = CONTENT_TYPE_RINGTONE;
1328 audioInterrupt.contentType
[all...]
/foundation/multimedia/audio_framework/test/fuzztest/audiointerruptservice_fuzzer/
H A Daudio_interrupt_service_fuzzer.cpp93 audioInterrupt.contentType = *reinterpret_cast<const ContentType *>(rawData); in ActivateAudioInterruptFuzzTest()
110 audioInterrupt.contentType = *reinterpret_cast<const ContentType *>(rawData); in DeactivateAudioInterruptFuzzTest()
191 audioInterrupt.contentType = *reinterpret_cast<const ContentType *>(rawData); in GetSessionInfoInFocusFuzzTest()
226 audioInterrupt.contentType = *reinterpret_cast<const ContentType *>(rawData); in RequestAudioFocusFuzzTest()
243 audioInterrupt.contentType = *reinterpret_cast<const ContentType *>(rawData); in AbandonAudioFocusFuzzTest()
/foundation/multimedia/player_framework/test/fuzztest/soundpool_fuzztest/soundpoolplaystop_fuzzer/
H A Dsoundpoolplaystop_fuzzer.cpp44 audioRenderInfo.contentType = CONTENT_TYPE_MUSIC; in FuzzSoundPoolPlay()
94 audioRenderInfo.contentType = CONTENT_TYPE_MUSIC; in FuzzSoundPoolStop()
/foundation/multimedia/player_framework/test/fuzztest/soundpool_fuzztest/soundpoolloadunload_fuzzer/
H A Dsoundpoolloadunload_fuzzer.cpp44 audioRenderInfo.contentType = CONTENT_TYPE_MUSIC; in FuzzSoundPoolLoad()
89 audioRenderInfo.contentType = CONTENT_TYPE_MUSIC; in FuzzSoundPoolUnload()
/foundation/multimedia/media_foundation/engine/include/plugin/common/
H A Dplugin_types.h131 int32_t contentType {0};
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dffi_structs.h41 char* contentType; member
/foundation/multimedia/audio_framework/test/fuzztest/audiopolicyanother_fuzzer/
H A Daudio_policy_another_fuzzer.cpp74 ContentType contentType = *reinterpret_cast<const ContentType *>(rawData); in AudioVolumeFuzzTest() local
83 contentType, in AudioVolumeFuzzTest()
166 audioInterrupt.contentType = *reinterpret_cast<const ContentType *>(rawData); in AudioInterruptFuzzTest()
175 focusInfo.first.contentType = *reinterpret_cast<const ContentType *>(rawData); in AudioInterruptFuzzTest()
/foundation/multimedia/audio_framework/services/audio_policy/server/include/
H A Daudio_stream_collector.h46 AudioStreamType GetStreamType(ContentType contentType, StreamUsage streamUsage);
98 AudioStreamType GetVolumeTypeFromContentUsage(ContentType contentType, StreamUsage streamUsage);

Completed in 15 milliseconds

12345