/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_holder_manager.h | 28 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 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 = ContentType in HWTEST() [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/ |
H A D | audio_interrupt_test.h | 38 void SaveStreamInfo(ContentType contentType, StreamUsage streamUsage); 53 ContentType contentType_ = ContentType::CONTENT_TYPE_MUSIC;
|
H A D | audio_interrupt_test.cpp | 289 void AudioInterruptTest::SaveStreamInfo(ContentType contentType, StreamUsage streamUsage) in SaveStreamInfo() 338 ContentType contentType = static_cast<ContentType>(strtol(argv[argIndexTwo], NULL, numBase)); 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() 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 D | audio_capturer_interrupt_unit_test.cpp | 46 {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 D | jsEnumStyle.js | 1663 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 D | audio_stream_collector.h | 46 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 D | audio_param.h | 70 } ContentType; typedef 100 ContentType contentType = CONTENT_TYPE_UNKNOWN;
|
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_interrupt_info.h | 163 ContentType contentType; 174 AudioInterrupt(StreamUsage streamUsage_, ContentType contentType_, AudioFocusType audioFocusType_, in AudioInterrupt() 201 interrupt.contentType = static_cast<ContentType>(parcel.ReadInt32()); in Unmarshalling()
|
H A D | audio_info.h | 325 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 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() 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 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/audio_framework/services/audio_service/client/src/ |
H A D | i_audio_stream.cpp | 32 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 D | headset_adapter_host_manager.h | 35 int32_t Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) override;
|
H A D | i_adapter_host_manager.h | 42 virtual int32_t Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) = 0;
|
H A D | headset_adapter_host_manager.cpp | 95 int32_t HeadsetAdapterHostManager::Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType /* type */, in Read()
|
H A D | adapter_host_manager.h | 35 int32_t Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) override;
|
H A D | adapter_host_manager.cpp | 107 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 D | i_audio_stream.h | 116 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 D | audio_policy_another_fuzzer.cpp | 74 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 D | audio_renderer_unit_test.cpp | 108 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 D | audio_system_manager.h | 476 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 D | engine_util.h | 94 void ProcDspModel(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type);
|