Home
last modified time | relevance | path

Searched refs:ContentType (Results 1 - 25 of 70) sorted by relevance

123

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/
H A Dimage_holder_manager.h28 template<typename ContentType>
37 std::string save(std::shared_ptr<ContentType> content) in save()
44 holder_.insert(std::pair<std::string, std::shared_ptr<ContentType>>(id, content)); in save()
47 std::string save(std::shared_ptr<ContentType> content, int64_t uniqueId) in save()
54 holder_.insert(std::pair<std::string, std::shared_ptr<ContentType>>(id, content)); in save()
57 std::shared_ptr<ContentType> get(std::string id) in get()
67 std::shared_ptr<ContentType> pop(std::string id) in pop()
96 std::map<std::string, std::weak_ptr<ContentType>> holder_;
/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 = ContentType in HWTEST()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/
H A Daudio_interrupt_test.h38 void SaveStreamInfo(ContentType contentType, StreamUsage streamUsage);
53 ContentType contentType_ = ContentType::CONTENT_TYPE_MUSIC;
H A Daudio_interrupt_test.cpp289 void AudioInterruptTest::SaveStreamInfo(ContentType contentType, StreamUsage streamUsage) in SaveStreamInfo()
338 ContentType contentType = static_cast<ContentType>(strtol(argv[argIndexTwo], NULL, numBase)); 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()
328 contentType = static_cast<ContentType>(strtol(argv[ARGS_INDEX_TWO], NULL, numBase)); in TestPlayback()
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_interrupt_test/src/
H A Daudio_capturer_interrupt_unit_test.cpp46 {ContentType::CONTENT_TYPE_MUSIC, StreamUsage::STREAM_USAGE_MEDIA}, // 0: music
47 {ContentType::CONTENT_TYPE_SPEECH, StreamUsage::STREAM_USAGE_VOICE_COMMUNICATION}, // 1: VoiceCall
48 {ContentType::CONTENT_TYPE_MUSIC, StreamUsage::STREAM_USAGE_NOTIFICATION_RINGTONE}, // 2: ring
49 {ContentType::CONTENT_TYPE_SPEECH, StreamUsage::STREAM_USAGE_VOICE_ASSISTANT}, // 3: VoiceAssistant
50 {ContentType::CONTENT_TYPE_ULTRASONIC, StreamUsage::STREAM_USAGE_SYSTEM}, // 4: Ultrasonic
51 {ContentType::CONTENT_TYPE_MUSIC, StreamUsage::STREAM_USAGE_ALARM}, // 5: Alarm
52 {ContentType::CONTENT_TYPE_SPEECH, StreamUsage::STREAM_USAGE_ACCESSIBILITY}, // 6: Accessibility
53 {ContentType::CONTENT_TYPE_SPEECH, StreamUsage::STREAM_USAGE_MEDIA}, // 7: Speech
54 {ContentType::CONTENT_TYPE_MOVIE, StreamUsage::STREAM_USAGE_MEDIA}, // 8: Movie
55 {ContentType
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js1663 var ContentType; variable
1664 (function (ContentType) {
1665 ContentType[ContentType['USER_NAME'] = 0] = 'USER_NAME';
1666 ContentType[ContentType['PASSWORD'] = 1] = 'PASSWORD';
1667 ContentType[ContentType['NEW_PASSWORD'] = 2] = 'NEW_PASSWORD';
1668 ContentType[ContentType['FULL_STREET_ADDRES
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/server/include/
H A Daudio_stream_collector.h46 AudioStreamType GetStreamType(ContentType contentType, StreamUsage streamUsage);
88 static const std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> streamTypeMap_;
89 static std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> CreateStreamMap();
98 AudioStreamType GetVolumeTypeFromContentUsage(ContentType contentType, StreamUsage streamUsage);
/foundation/distributedhardware/distributed_audio/services/common/audioparam/
H A Daudio_param.h70 } ContentType; typedef
100 ContentType contentType = CONTENT_TYPE_UNKNOWN;
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_interrupt_info.h163 ContentType contentType;
174 AudioInterrupt(StreamUsage streamUsage_, ContentType contentType_, AudioFocusType audioFocusType_, in AudioInterrupt()
201 interrupt.contentType = static_cast<ContentType>(parcel.ReadInt32()); in Unmarshalling()
H A Daudio_info.h325 ContentType contentType;
339 ContentType contentType = CONTENT_TYPE_UNKNOWN;
372 contentType = static_cast<ContentType>(parcel.ReadInt32()); in Unmarshalling()
432 ContentType contentType = CONTENT_TYPE_UNKNOWN;
841 rendererInfo.contentType = static_cast<ContentType>(parcel.ReadInt32()); in Unmarshalling()
/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()
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/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/audio_framework/services/audio_service/client/src/
H A Di_audio_stream.cpp32 const std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> streamTypeMap_ = IAudioStream::CreateStreamMap();
33 std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> IAudioStream::CreateStreamMap() in CreateStreamMap()
35 std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> streamMap; in CreateStreamMap()
69 void IAudioStream::CreateStreamMap(std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> &streamMap) in CreateStreamMap()
96 AudioStreamType IAudioStream::GetStreamType(ContentType contentType, StreamUsage streamUsage) in GetStreamType()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/hdi_adapter/
H A Dheadset_adapter_host_manager.h35 int32_t Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) override;
H A Di_adapter_host_manager.h42 virtual int32_t Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) = 0;
H A Dheadset_adapter_host_manager.cpp95 int32_t HeadsetAdapterHostManager::Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType /* type */, in Read()
H A Dadapter_host_manager.h35 int32_t Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) override;
H A Dadapter_host_manager.cpp107 int32_t AdapterHostManager::Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) in Read()
/foundation/multimedia/audio_framework/frameworks/native/audiostream/include/
H A Di_audio_stream.h116 static AudioStreamType GetStreamType(ContentType contentType, StreamUsage streamUsage);
117 static std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> CreateStreamMap();
118 static void CreateStreamMap(std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> &streamMap);
/foundation/multimedia/audio_framework/test/fuzztest/audiopolicyanother_fuzzer/
H A Daudio_policy_another_fuzzer.cpp74 ContentType contentType = *reinterpret_cast<const ContentType *>(rawData); 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/frameworks/native/audiorenderer/test/unittest/renderer_test/src/
H A Daudio_renderer_unit_test.cpp108 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in InitializeRendererOptions()
121 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in InitializeRendererSpatialOptions()
338 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
367 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_MOVIE; in HWTEST()
396 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_RINGTONE; in HWTEST()
425 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_MOVIE; in HWTEST()
454 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_SONIFICATION; in HWTEST()
483 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_SPEECH; in HWTEST()
512 rendererOptions.rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; in HWTEST()
4172 rendererOptions.rendererInfo.contentType = ContentType in HWTEST()
[all...]
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiomanager/include/
H A Daudio_system_manager.h476 static AudioStreamType GetStreamType(ContentType contentType, StreamUsage streamUsage);
1360 static const std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> streamTypeMap_;
1365 static std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> CreateStreamMap();
1366 static void CreateStreamMap(std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> &streamMap);
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/
H A Dengine_util.h94 void ProcDspModel(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type);

Completed in 27 milliseconds

123