Searched refs:ContentType (Results 1 – 7 of 7) sorted by relevance
/base/web/webview/ohos_adapter/audio_adapter/src/ |
D | audio_renderer_adapter_impl.cpp | 63 const std::unordered_map<AudioAdapterContentType, ContentType> CONTENT_TYPE_MAP = { 64 {AudioAdapterContentType::CONTENT_TYPE_UNKNOWN, ContentType::CONTENT_TYPE_UNKNOWN}, 65 {AudioAdapterContentType::CONTENT_TYPE_SPEECH, ContentType::CONTENT_TYPE_SPEECH}, 66 {AudioAdapterContentType::CONTENT_TYPE_MUSIC, ContentType::CONTENT_TYPE_MUSIC}, 67 {AudioAdapterContentType::CONTENT_TYPE_MOVIE, ContentType::CONTENT_TYPE_MOVIE}, 68 {AudioAdapterContentType::CONTENT_TYPE_SONIFICATION, ContentType::CONTENT_TYPE_SONIFICATION}, 69 {AudioAdapterContentType::CONTENT_TYPE_RINGTONE, ContentType::CONTENT_TYPE_RINGTONE}, 289 ContentType AudioRendererAdapterImpl::GetAudioContentType(AudioAdapterContentType contentType) in GetAudioContentType() 294 return ContentType::CONTENT_TYPE_MUSIC; in GetAudioContentType()
|
/base/startup/init/services/param/linux/ |
D | param_message.h | 41 typedef enum ContentType { enum 47 } ContentType; typedef
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | constant.cpp | 190 …env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_BASIC_TEXT, "NOTIFICATION_CONTENT_BASIC_TEXT"… in ContentTypeInit() 192 … env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_LONG_TEXT, "NOTIFICATION_CONTENT_LONG_TEXT"); in ContentTypeInit() 194 … env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_PICTURE, "NOTIFICATION_CONTENT_PICTURE"); in ContentTypeInit() 196 …env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_CONVERSATION, "NOTIFICATION_CONTENT_CONVERSAT… in ContentTypeInit() 198 … env, obj, (int32_t)ContentType::NOTIFICATION_CONTENT_MULTILINE, "NOTIFICATION_CONTENT_MULTILINE"); in ContentTypeInit()
|
D | common.cpp | 855 napi_value Common::SetNotificationContentDetailed(const napi_env &env, const ContentType &type, in SetNotificationContentDetailed() 873 if (type == ContentType::NOTIFICATION_CONTENT_BASIC_TEXT) { in SetNotificationContentDetailed() 879 } else if (type == ContentType::NOTIFICATION_CONTENT_LONG_TEXT) { in SetNotificationContentDetailed() 885 } else if (type == ContentType::NOTIFICATION_CONTENT_PICTURE) { in SetNotificationContentDetailed() 891 } else if (type == ContentType::NOTIFICATION_CONTENT_CONVERSATION) { in SetNotificationContentDetailed() 897 } else if (type == ContentType::NOTIFICATION_CONTENT_MULTILINE) { in SetNotificationContentDetailed() 921 ContentType outType = ContentType::NOTIFICATION_CONTENT_BASIC_TEXT; in SetNotificationContent() 1739 if (!ContentTypeJSToC(ContentType(type), outType)) { in GetNotificationContent() 4233 bool Common::ContentTypeJSToC(const ContentType &inType, NotificationContent::Type &outType) in ContentTypeJSToC() 4236 case ContentType::NOTIFICATION_CONTENT_BASIC_TEXT: in ContentTypeJSToC() [all …]
|
/base/web/webview/ohos_adapter/audio_adapter/include/ |
D | audio_renderer_adapter_impl.h | 73 static ContentType GetAudioContentType(AudioAdapterContentType contentType);
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
D | common.h | 36 enum class ContentType { enum 410 static napi_value SetNotificationContentDetailed(const napi_env &env, const ContentType &type, 1385 static bool ContentTypeJSToC(const ContentType &inType, NotificationContent::Type &outType); 1394 static bool ContentTypeCToJS(const NotificationContent::Type &inType, ContentType &outType);
|
/base/web/webview/test/unittest/audio_adapter_impl_test/ |
D | audio_adapter_impl_test.cpp | 245 ContentType testContent = AudioRendererAdapterImpl::GetAudioContentType( 247 EXPECT_EQ(testContent, ContentType::CONTENT_TYPE_MUSIC);
|