/ohos5.0/base/notification/distributed_notification_service/frameworks/core/common/src/ |
H A D | ans_convert_enum.cpp | 24 case ContentType::NOTIFICATION_CONTENT_BASIC_TEXT: in ContentTypeJSToC() 27 case ContentType::NOTIFICATION_CONTENT_LONG_TEXT: in ContentTypeJSToC() 30 case ContentType::NOTIFICATION_CONTENT_MULTILINE: in ContentTypeJSToC() 33 case ContentType::NOTIFICATION_CONTENT_PICTURE: in ContentTypeJSToC() 36 case ContentType::NOTIFICATION_CONTENT_CONVERSATION: in ContentTypeJSToC() 39 case ContentType::NOTIFICATION_CONTENT_LOCAL_LIVE_VIEW: in ContentTypeJSToC() 42 case ContentType::NOTIFICATION_CONTENT_LIVE_VIEW: in ContentTypeJSToC() 59 outType = ContentType::NOTIFICATION_CONTENT_LONG_TEXT; in ContentTypeCToJS() 62 outType = ContentType::NOTIFICATION_CONTENT_MULTILINE; in ContentTypeCToJS() 65 outType = ContentType::NOTIFICATION_CONTENT_PICTURE; in ContentTypeCToJS() [all …]
|
/ohos5.0/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_;
|
/ohos5.0/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: VoiceAss… 50 …{ContentType::CONTENT_TYPE_ULTRASONIC, StreamUsage::STREAM_USAGE_SYSTEM}, // 4: Ultrason… 51 … {ContentType::CONTENT_TYPE_MUSIC, StreamUsage::STREAM_USAGE_ALARM}, // 5: Alarm 52 …{ContentType::CONTENT_TYPE_SPEECH, StreamUsage::STREAM_USAGE_ACCESSIBILITY}, // 6: Accessib… 53 … {ContentType::CONTENT_TYPE_SPEECH, StreamUsage::STREAM_USAGE_MEDIA}, // 7: Speech 54 … {ContentType::CONTENT_TYPE_MOVIE, StreamUsage::STREAM_USAGE_MEDIA}, // 8: Movie 55 … {ContentType::CONTENT_TYPE_UNKNOWN, StreamUsage::STREAM_USAGE_UNKNOWN} // 9: Unknow
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsEnumStyle.js | 1693 var ContentType; variable 1695 ContentType[ContentType['USER_NAME'] = 0] = 'USER_NAME'; 1696 ContentType[ContentType['PASSWORD'] = 1] = 'PASSWORD'; 1697 ContentType[ContentType['NEW_PASSWORD'] = 2] = 'NEW_PASSWORD'; 1699 ContentType[ContentType['HOUSE_NUMBER'] = 4] = 'HOUSE_NUMBER'; 1701 ContentType[ContentType['CITY_ADDRESS'] = 6] = 'CITY_ADDRESS'; 1715 ContentType[ContentType['DATE'] = 20] = 'DATE'; 1716 ContentType[ContentType['MONTH'] = 21] = 'MONTH'; 1717 ContentType[ContentType['YEAR'] = 22] = 'YEAR'; 1718 ContentType[ContentType['NICKNAME'] = 23] = 'NICKNAME'; [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | ans_log_test.cpp | 90 …NotificationNapi::ContentType inType = NotificationNapi::ContentType::NOTIFICATION_CONTENT_BASIC_T… 93 inType = NotificationNapi::ContentType::NOTIFICATION_CONTENT_LONG_TEXT; 96 inType = NotificationNapi::ContentType::NOTIFICATION_CONTENT_MULTILINE; 99 inType = NotificationNapi::ContentType::NOTIFICATION_CONTENT_PICTURE; 102 inType = NotificationNapi::ContentType::NOTIFICATION_CONTENT_CONVERSATION; 105 inType = NotificationNapi::ContentType::NOTIFICATION_CONTENT_LOCAL_LIVE_VIEW; 108 inType = NotificationNapi::ContentType::NOTIFICATION_CONTENT_LIVE_VIEW; 122 NotificationNapi::ContentType outType; 128 EXPECT_EQ(outType, NotificationNapi::ContentType::NOTIFICATION_CONTENT_LONG_TEXT); 131 EXPECT_EQ(outType, NotificationNapi::ContentType::NOTIFICATION_CONTENT_MULTILINE); [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/ |
H A D | changelogs-multimedia.md | 16 getAudioEffectInfoArray(content: ContentType, usage: StreamUsage, callback: AsyncCallback<AudioEffe… 17 getAudioEffectInfoArray(content: ContentType, usage: StreamUsage): Promise<AudioEffectInfoArray>; 29 修改后用户调用该接口时,只需要传入StreamUsage入参,对于已经适配的用户,直接删去ContentType type入参即可。
|
/ohos5.0/base/web/webview/ohos_adapter/audio_adapter/src/ |
H A D | audio_renderer_adapter_impl.cpp | 64 const std::unordered_map<AudioAdapterContentType, ContentType> CONTENT_TYPE_MAP = { 65 { AudioAdapterContentType::CONTENT_TYPE_UNKNOWN, ContentType::CONTENT_TYPE_UNKNOWN }, 66 { AudioAdapterContentType::CONTENT_TYPE_SPEECH, ContentType::CONTENT_TYPE_SPEECH }, 67 { AudioAdapterContentType::CONTENT_TYPE_MUSIC, ContentType::CONTENT_TYPE_MUSIC }, 68 { AudioAdapterContentType::CONTENT_TYPE_MOVIE, ContentType::CONTENT_TYPE_MOVIE }, 69 { AudioAdapterContentType::CONTENT_TYPE_SONIFICATION, ContentType::CONTENT_TYPE_SONIFICATION }, 70 { AudioAdapterContentType::CONTENT_TYPE_RINGTONE, ContentType::CONTENT_TYPE_RINGTONE }, 361 ContentType AudioRendererAdapterImpl::GetAudioContentType(AudioAdapterContentType contentType) in GetAudioContentType() 366 return ContentType::CONTENT_TYPE_MUSIC; in GetAudioContentType()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/toneplayer/test/unittest/ |
H A D | audio_toneplayer_unit_test.cpp | 78 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; 100 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; 129 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; 155 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC; 177 rendererInfo.contentType = ContentType::CONTENT_TYPE_MUSIC;
|
/ohos5.0/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()
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/intelligentvoice/ |
H A D | _intelligent_voice_engine.md | 44 | [ContentType](#contenttype) { DSP_MODLE = 0 , CONTENT_TYPE_BUT } | 数据类型。 | 52 ### ContentType subsection 55 enum ContentType
|
H A D | interface_i_intell_voice_engine_adapter.md | 30 | [Read](#read) ([in] enum [ContentType](_intelligent_voice_engine.md#contenttype) type, [out] Ashm… 106 IIntellVoiceEngineAdapter::Read ([in] enum ContentType type, [out] Ashmem buffer ) 118 | type | 数据类型,具体参考[ContentType](_intelligent_voice_engine.md#contenttype)。 |
|
/ohos5.0/drivers/peripheral/intelligent_voice/hdi_service/engine/ |
H A D | intell_voice_engine_adapter_impl.h | 33 using OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType; 58 int32_t Read(ContentType type, sptr<Ashmem> &buffer) override; 63 int32_t ReadFileDataInner(ContentType type, uint8_t *&buffer, uint32_t &size);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/common/include/ |
H A D | ans_convert_enum.h | 27 enum class ContentType { enum 135 static bool ContentTypeJSToC(const ContentType &inType, NotificationContent::Type &outType); 144 static bool ContentTypeCToJS(const NotificationContent::Type &inType, ContentType &outType);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_manager_impl.cpp | 301 static bool ContentTypeCJToC(const ContentType &inType, NotificationContent::Type &outType) in ContentTypeCJToC() 304 case ContentType::NOTIFICATION_CONTENT_BASIC_TEXT: in ContentTypeCJToC() 307 case ContentType::NOTIFICATION_CONTENT_LONG_TEXT: in ContentTypeCJToC() 310 case ContentType::NOTIFICATION_CONTENT_MULTILINE: in ContentTypeCJToC() 313 case ContentType::NOTIFICATION_CONTENT_PICTURE: in ContentTypeCJToC() 316 case ContentType::NOTIFICATION_CONTENT_CONVERSATION: in ContentTypeCJToC() 319 case ContentType::NOTIFICATION_CONTENT_LOCAL_LIVE_VIEW: in ContentTypeCJToC() 322 case ContentType::NOTIFICATION_CONTENT_LIVE_VIEW: in ContentTypeCJToC() 364 if (!ContentTypeCJToC(ContentType(content.notificationContentType), outType)) { in GetNotificationContent()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | constant.cpp | 194 …env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_BASIC_TEXT, "NOTIFICATION_CONTENT_BASIC_TEXT"… in ContentTypeInit() 196 … env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_LONG_TEXT, "NOTIFICATION_CONTENT_LONG_TEXT"); in ContentTypeInit() 198 … env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_PICTURE, "NOTIFICATION_CONTENT_PICTURE"); in ContentTypeInit() 200 …env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_CONVERSATION, "NOTIFICATION_CONTENT_CONVERSAT… in ContentTypeInit() 202 … env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_MULTILINE, "NOTIFICATION_CONTENT_MULTILINE"); in ContentTypeInit() 204 …env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_LOCAL_LIVE_VIEW, "NOTIFICATION_CONTENT_SYSTEM… in ContentTypeInit() 206 … env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_LIVE_VIEW, "NOTIFICATION_CONTENT_LIVE_VIEW"); in ContentTypeInit()
|
H A D | common_convert_content.cpp | 33 const char *Common::GetPropertyNameByContentType(ContentType type) in GetPropertyNameByContentType() 36 case ContentType::NOTIFICATION_CONTENT_BASIC_TEXT: // normal?: NotificationBasicContent in GetPropertyNameByContentType() 38 case ContentType::NOTIFICATION_CONTENT_LONG_TEXT: // longText?: NotificationLongTextContent in GetPropertyNameByContentType() 40 case ContentType::NOTIFICATION_CONTENT_PICTURE: // picture?: NotificationPictureContent in GetPropertyNameByContentType() 48 case ContentType::NOTIFICATION_CONTENT_LIVE_VIEW: // liveView?: NotificationLiveViewContent in GetPropertyNameByContentType() 56 napi_value Common::SetNotificationContentDetailed(const napi_env &env, const ContentType &type, in SetNotificationContentDetailed() 75 case ContentType::NOTIFICATION_CONTENT_BASIC_TEXT: // normal?: NotificationBasicContent in SetNotificationContentDetailed() 78 case ContentType::NOTIFICATION_CONTENT_LONG_TEXT: // longText?: NotificationLongTextContent in SetNotificationContentDetailed() 81 case ContentType::NOTIFICATION_CONTENT_PICTURE: // picture?: NotificationPictureContent in SetNotificationContentDetailed() 120 ContentType outType = ContentType::NOTIFICATION_CONTENT_BASIC_TEXT; in SetNotificationContent() [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/ |
H A D | audio_stream_collector.h | 46 AudioStreamType GetStreamType(ContentType contentType, StreamUsage streamUsage); 99 static const std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> streamTypeMap_; 100 static std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> CreateStreamMap(); 109 AudioStreamType GetVolumeTypeFromContentUsage(ContentType contentType, StreamUsage streamUsage);
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.9.3/ |
H A D | changelogs-multimedia.md | 16 getAudioEffectInfoArray(content: ContentType, usage: StreamUsage, callback: AsyncCallback<AudioEffe… 17 getAudioEffectInfoArray(content: ContentType, usage: StreamUsage): Promise<AudioEffectInfoArray>;
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/ |
H A D | js-apidiff-multimedia.md | 3 |删除|类名:ContentType;<br>方法or属性:CONTENT_TYPE_ULTRASONIC = 9|NA|@ohos.multimedia.audio.d.ts| 146 |废弃版本有变化|类名:ContentType;<br>方法or属性:enum ContentType<br>旧版本信息:|类名:ContentType;<br>方法or属性:enum Conten… 147 |废弃版本有变化|类名:ContentType;<br>方法or属性:CONTENT_TYPE_UNKNOWN = 0<br>旧版本信息:|类名:ContentType;<br>方法or属性:CON… 148 |废弃版本有变化|类名:ContentType;<br>方法or属性:CONTENT_TYPE_SPEECH = 1<br>旧版本信息:|类名:ContentType;<br>方法or属性:CONT… 149 |废弃版本有变化|类名:ContentType;<br>方法or属性:CONTENT_TYPE_MUSIC = 2<br>旧版本信息:|类名:ContentType;<br>方法or属性:CONTE… 150 |废弃版本有变化|类名:ContentType;<br>方法or属性:CONTENT_TYPE_MOVIE = 3<br>旧版本信息:|类名:ContentType;<br>方法or属性:CONTE… 151 |废弃版本有变化|类名:ContentType;<br>方法or属性:CONTENT_TYPE_SONIFICATION = 4<br>旧版本信息:|类名:ContentType;<br>方法or属… 152 |废弃版本有变化|类名:ContentType;<br>方法or属性:CONTENT_TYPE_RINGTONE = 5<br>旧版本信息:|类名:ContentType;<br>方法or属性:CO…
|
/ohos5.0/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:… 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> &… in CreateStreamMap() argument 96 AudioStreamType IAudioStream::GetStreamType(ContentType contentType, StreamUsage streamUsage) in GetStreamType()
|
/ohos5.0/base/startup/init/services/param/linux/ |
H A D | param_message.h | 42 typedef enum ContentType { enum 48 } ContentType; typedef
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/common/audioparam/ |
H A D | audio_param.h | 70 } ContentType; typedef 100 ContentType contentType = CONTENT_TYPE_UNKNOWN;
|
/ohos5.0/docs/zh-cn/application-dev/notification/ |
H A D | text-notification.md | 41 …notificationContentType: notificationManager.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT, // 普通文本类… 65 …notificationContentType: notificationManager.ContentType.NOTIFICATION_CONTENT_MULTILINE, // 多行文本类型…
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/test/unittest/audio_renderer_interrupt_test/ |
H A D | AudioRendererInterruptRareTypeUnitTest.js | 44 content: audio.ContentType.CONTENT_TYPE_MUSIC, 49 content: audio.ContentType.CONTENT_TYPE_SPEECH, 54 content: audio.ContentType.CONTENT_TYPE_MUSIC, 59 content: audio.ContentType.CONTENT_TYPE_SPEECH, 64 content: audio.ContentType.CONTENT_TYPE_ULTRASONIC, 69 content: audio.ContentType.CONTENT_TYPE_MUSIC, 74 content: audio.ContentType.CONTENT_TYPE_SPEECH, 79 content: audio.ContentType.CONTENT_TYPE_SPEECH, 84 content: audio.ContentType.CONTENT_TYPE_MOVIE, 89 content: audio.ContentType.CONTENT_TYPE_UNKNOWN,
|