/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestHttpSourcePlugin.cpp | 33 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 D | audio_toneplayer_unit_test.cpp | 78 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 D | downloader.h | 37 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 D | audio_renderer_info_napi.cpp | 132 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 D | audio_interrupt_test.cpp | 229 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 D | audio_renderer_test.cpp | 118 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 D | audio_interrupt_test.h | 38 void SaveStreamInfo(ContentType contentType, StreamUsage streamUsage);
|
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_interrupt_info.h | 163 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 D | audio_info.h | 325 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 D | focus_session_strategy.cpp | 70 "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 D | downloader.h | 43 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 D | soundpoolcreate_fuzzer.cpp | 85 audioRenderInfo.contentType = contentType_[contenttypesubscript];
in FuzzSoundPoolCreate() 103 audioRenderInfo.contentType = contentType_[contenttypesubscript];
in FuzzSoundPoolCreateFlags()
|
/foundation/communication/dsoftbus/core/broadcast/scheduler/src/ |
H A D | broadcast_scheduler.c | 48 int32_t SchedulerStartBroadcast(int32_t bcId, BroadcastContentType contentType, const BroadcastParam *param, in SchedulerStartBroadcast() argument 51 (void)contentType; in SchedulerStartBroadcast()
|
H A D | broadcast_scheduler_virtual.c | 57 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 D | dash_period_manager.cpp | 114 // 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 D | audio_toneplayer_test.cpp | 44 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in main()
|
/foundation/multimedia/audio_framework/test/fuzztest/audiopolicymore_fuzzer/ |
H A D | audio_policy_more_fuzzer.cpp | 89 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 D | audio_manager_unit_test.cpp | 79 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 D | audio_interrupt_service_fuzzer.cpp | 93 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 D | soundpoolplaystop_fuzzer.cpp | 44 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 D | soundpoolloadunload_fuzzer.cpp | 44 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 D | plugin_types.h | 131 int32_t contentType {0};
|
/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | ffi_structs.h | 41 char* contentType; member
|
/foundation/multimedia/audio_framework/test/fuzztest/audiopolicyanother_fuzzer/ |
H A D | audio_policy_another_fuzzer.cpp | 74 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 D | audio_stream_collector.h | 46 AudioStreamType GetStreamType(ContentType contentType, StreamUsage streamUsage); 98 AudioStreamType GetVolumeTypeFromContentUsage(ContentType contentType, StreamUsage streamUsage);
|