Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 42) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_content.cpp28 contentType_ = NotificationContent::Type::BASIC_TEXT; in NotificationContent()
39 contentType_ = NotificationContent::Type::LONG_TEXT; in NotificationContent()
50 contentType_ = NotificationContent::Type::PICTURE; in NotificationContent()
61 contentType_ = NotificationContent::Type::CONVERSATION; in NotificationContent()
72 contentType_ = NotificationContent::Type::MULTILINE; in NotificationContent()
83 contentType_ = NotificationContent::Type::MEDIA; in NotificationContent()
90 NotificationContent::Type NotificationContent::GetContentType() const in GetContentType()
102 …std::string contentTypeStr = (contentType_ == NotificationContent::Type::BASIC_TEXT) ? "BASIC_… in Dump()
103 … : (contentType_ == NotificationContent::Type::CONVERSATION) ? "CONVERSATION" in Dump()
104 … : (contentType_ == NotificationContent::Type::LONG_TEXT) ? "LONG_TEXT" in Dump()
[all …]
/base/web/webview/test/unittest/nweb_value_test/
Dnweb_value_test.cpp52 std::shared_ptr<NWebValue> nwebValue = std::make_shared<NWebValue>(NWebValue::Type::NONE);
53 NWebValue::Type type = nwebValue->GetType();
54 EXPECT_EQ(NWebValue::Type::NONE, type);
56 nwebValue->SetType(NWebValue::Type::BOOLEAN);
61 EXPECT_EQ(NWebValue::Type::BOOLEAN, type);
78 std::shared_ptr<NWebValue> nwebValue = std::make_shared<NWebValue>(NWebValue::Type::NONE);
79 nwebValue->SetType(NWebValue::Type::STRING);
95 std::shared_ptr<NWebValue> nwebValue = std::make_shared<NWebValue>(NWebValue::Type::NONE);
96 nwebValue->SetType(NWebValue::Type::INTEGER);
111 std::shared_ptr<NWebValue> nwebValue = std::make_shared<NWebValue>(NWebValue::Type::NONE);
[all …]
/base/update/updater/test/unittest/utils/json/
Dutils_json_test.cpp79 EXPECT_EQ(node["key"].Type(), NodeType::STRING);
87 EXPECT_EQ(node["key"].Type(), NodeType::INT);
95 EXPECT_EQ(node["key"].Type(), NodeType::BOOL);
103 EXPECT_EQ(node["key"].Type(), NodeType::ARRAY);
114 EXPECT_EQ(node["key"].Type(), NodeType::OBJECT);
122 EXPECT_EQ(node["key1"].Type(), NodeType::NUL);
129 EXPECT_EQ(node.Type(), NodeType::UNKNOWN);
155 EXPECT_EQ(node.Type(), NodeType::OBJECT);
170 EXPECT_EQ(node["key1"].Type(), NodeType::UNKNOWN);
178 EXPECT_EQ(node["key"].Type(), NodeType::STRING);
[all …]
/base/security/selinux/sepolicy/base/public/
Dattributes15 # Type of all devices.
19 # Type of all processes, including the hap process and native process.
23 # Type of all virtual file system files.
30 # Type of all proc files.
34 # Type of all common files.
39 # Type of all rootfs files.
43 # Type of all system files.
47 # Type of all sys_prod files.
51 # Type of all vendor files.
55 # Type of all chip_prod files.
[all …]
/base/web/webview/ohos_nweb/include/
Dnweb_value.h32 enum class Type : unsigned char { enum
43 explicit NWebValue(Type type) : type_(type) {} in NWebValue()
67 Type GetType() { return type_; } in GetType()
69 void SetType(Type type) { type_ = type; } in SetType()
74 Type type_ = Type::NONE;
Dnweb_web_message.h27 explicit NWebMessage(NWebValue::Type type) : NWebValue(type) {} in NWebMessage()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_content.h33 enum class Type { enum
136 NotificationContent::Type GetContentType() const;
210 NotificationContent::Type contentType_ {NotificationContent::Type::NONE};
Dnotification_request.h522 NotificationContent::Type GetNotificationType() const;
1151 NotificationContent::Type notificationContentType_ {NotificationContent::Type::NONE};
/base/web/webview/test/ohos_nweb/
Dnweb_js_dialog_impl_test.cpp30 type_ == Type::CONFIRM ? result->Confirm() : result->Cancel(); in OnAlertDialogByJS()
39 type_ == Type::CONFIRM ? result->Confirm() : result->Cancel(); in OnBeforeUnloadByJS()
50 type_ == Type::CONFIRM ? result->Confirm("my input") : result->Cancel(); in OnPromptDialogByJS()
59 type_ == Type::CONFIRM ? result->Confirm() : result->Cancel(); in OnConfirmDialogByJS()
Dnweb_js_dialog_impl_test.h24 enum class Type { enum
29 explicit NWebJSDialogImplTest(Type type) : type_(type) {} in NWebJSDialogImplTest()
48 Type type_;
Dnweb_javascript_result_callback_test.cpp27 std::shared_ptr<NWebValue> value = std::make_shared<NWebValue>(NWebValue::Type::NONE); in GetJavaScriptResult()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_javascript_result_callback.cpp77 std::shared_ptr<NWebValue> ret = std::make_shared<NWebValue>(NWebValue::Type::NONE); in GetJavaScriptResult()
181 case NWebValue::Type::INTEGER: in ParseNwebValue2NapiValue()
185 case NWebValue::Type::DOUBLE: in ParseNwebValue2NapiValue()
189 case NWebValue::Type::BOOLEAN: in ParseNwebValue2NapiValue()
193 case NWebValue::Type::STRING: in ParseNwebValue2NapiValue()
197 case NWebValue::Type::NONE: in ParseNwebValue2NapiValue()
215 nwebValue->SetType(NWebValue::Type::DOUBLE); in ParseNapiValue2NwebValue()
222 nwebValue->SetType(NWebValue::Type::BOOLEAN); in ParseNapiValue2NwebValue()
231 nwebValue->SetType(NWebValue::Type::STRING); in ParseNapiValue2NwebValue()
/base/update/updater/utils/json/
Djson_visitor.h91 …if ((node.Type() != NodeType::UNKNOWN && node.Type() != NodeType::NUL && node.Type() != NodeType::…
92 (defaultNode.Type() != NodeType::UNKNOWN && defaultNode.Type() != NodeType::NUL &&
93 defaultNode.Type() != NodeType::ARRAY)) {
Djson_node.h79 NodeType Type() const in Type() function
/base/request/request/upload/frameworks/libs/include/
Dupload_task.h53 UPLOAD_API void On(Type type, void *callback);
54 UPLOAD_API void Off(Type type, void *callback);
59 UPLOAD_API void SetCallback(Type type, void *callback);
Dupload_common.h22 enum Type { enum
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
Dhisysevent_value.h52 Json::ValueType Type() const;
/base/update/updater/services/ui/language/
Dlanguage_ui.cpp101 if (root.Type() != NodeType::OBJECT) { in ParseJson()
102 LOG(ERROR) << file << " is invalid, nodetype is " << static_cast<int>(root.Type()); in ParseJson()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp133 …uest.GetContent() == nullptr || request.GetNotificationType() == NotificationContent::Type::NONE) { in PublishNotification()
168 …uest.GetContent() == nullptr || request.GetNotificationType() == NotificationContent::Type::NONE) { in PublishNotification()
305 …uest.GetContent() == nullptr || request.GetNotificationType() == NotificationContent::Type::NONE) { in PublishNotificationAsBundle()
803 …uest.GetContent() == nullptr || request.GetNotificationType() == NotificationContent::Type::NONE) { in PublishContinuousTaskNotification()
1022 if (NotificationContent::Type::MEDIA != request.GetNotificationType()) { in CanPublishMediaContent()
1079 case NotificationContent::Type::CONVERSATION: { in CheckImageSizeForContent()
1102 case NotificationContent::Type::PICTURE: { in CheckImageSizeForContent()
1175 bool AnsNotification::IsNonDistributedNotificationType(const NotificationContent::Type &type) in IsNonDistributedNotificationType()
1177 …return ((type == NotificationContent::Type::CONVERSATION) || (type == NotificationContent::Type::P… in IsNonDistributedNotificationType()
/base/security/selinux/sepolicy/ohos_policy/hiviewdfx/faultloggerd/system/
Dtype.te15 ## Type define: ##
/base/update/updater/services/ui/control/
Dcallback_manager.cpp49 if (cbNodes.Type() != NodeType::ARRAY) { in LoadCallbacks()
/base/request/request/upload/frameworks/libs/src/
Dupload_task.cpp67 void UploadTask::On(Type type, void *callback) in On()
74 void UploadTask::Off(Type type, void *callback) in Off()
98 void UploadTask::SetCallback(Type type, void *callback) in SetCallback()
/base/hiviewdfx/hiappevent/
DREADME.md75 | Type| Description|
99 | Name| Type| Mandatory| Description|
106 | Constant| Type| Description|
114 | Constant| Type| Description|
189 | Constant| Type| Description|
196 | Constant| Type| Description|
204 | Constant| Type| Description|
/base/update/updater/services/ui/view/layout/
Dlayout_parser.cpp83 if (componentNodes.Type() != NodeType::ARRAY) { in ParseViewInfo()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_record.cpp258 param.c_str(), parsedVal->Type()); in GetParamValue()
404 Json::ValueType HiSysEventValue::Type() const in ParseJsonStr() function in OHOS::HiviewDFX::HiSysEventValue

12