/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_user_input_test.cpp | 49 Notification::NotificationConstant::InputEditType editType =
in HWTEST_F() local 52 additional, editType);
in HWTEST_F() 85 Notification::NotificationConstant::InputEditType editType =
in HWTEST_F() local 88 additional, editType);
in HWTEST_F() 157 {"editType", 1}};
in HWTEST_F() 255 Notification::NotificationConstant::InputEditType editType =
in HWTEST_F() local 259 permitFreeFormInput, permitMimeTypes, additional, editType);
in HWTEST_F() 277 Notification::NotificationConstant::InputEditType editType =
in HWTEST_F() local 281 permitFreeFormInput, permitMimeTypes, additional, editType);
in HWTEST_F() 299 Notification::NotificationConstant::InputEditType editType in HWTEST_F() local 325 Notification::NotificationConstant::InputEditType editType = HWTEST_F() local 351 Notification::NotificationConstant::InputEditType editType = HWTEST_F() local 421 Notification::NotificationConstant::InputEditType editType = HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_user_input.h | 111 * @param editType Indicates the edit type to set. For details about available values, see 114 * object if permitFreeFormInput is false but editType is InputEditType::EDIT_ENABLED. 118 const std::shared_ptr<AAFwk::WantParams> &additional, NotificationConstant::InputEditType editType); 293 * @param editType Indicates the edit type to set. For details about available values, see 298 const std::shared_ptr<AAFwk::WantParams> &additional, NotificationConstant::InputEditType editType);
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_user_input.cpp | 74 NotificationConstant::InputEditType editType) in Create() 82 if (editType == NotificationConstant::InputEditType::EDIT_ENABLED) { in Create() 83 ANS_LOGE("Setting editType to enable requires permitFreeFormInput to be set to true"); in Create() 99 NotificationUserInput(inputKey, tag, options, permitFreeFormInput, permitMimeTypes, realAdditional, editType); in Create() 114 const std::shared_ptr<AAFwk::WantParams> &additional, NotificationConstant::InputEditType editType) in NotificationUserInput() 121 editType_(editType) in NotificationUserInput() 236 ", editType = " + std::to_string(static_cast<int32_t>(editType_)) + in Dump() 247 jsonObject["editType"] = static_cast<int32_t>(editType_); in ToJson() 300 if (jsonObject.find("editType") != jsonEnd && jsonObject.at("editType") in FromJson() 71 Create(const std::string &inputKey, const std::string &tag, const std::vector<std::string> &options, bool permitFreeFormInput, const std::set<std::string> &permitMimeTypes, const std::shared_ptr<AAFwk::WantParams> &additional, NotificationConstant::InputEditType editType) Create() argument 112 NotificationUserInput(const std::string &inputKey, const std::string &tag, const std::vector<std::string> &options, bool permitFreeFormInput, const std::set<std::string> &permitMimeTypes, const std::shared_ptr<AAFwk::WantParams> &additional, NotificationConstant::InputEditType editType) NotificationUserInput() argument [all...] |
/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi.cpp | 333 int32_t editType = 0; in GetNotificationUserInputByEditType() local 340 // editType?: number in GetNotificationUserInputByEditType() 341 NAPI_CALL(env, napi_has_named_property(env, userInputResult, "editType", &hasProperty)); in GetNotificationUserInputByEditType() 343 napi_get_named_property(env, userInputResult, "editType", &value); in GetNotificationUserInputByEditType() 349 napi_get_value_int32(env, value, &editType); in GetNotificationUserInputByEditType() 350 userInput->SetEditType(NotificationConstant::InputEditType(editType)); in GetNotificationUserInputByEditType()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common.cpp | 604 int32_t editType = 0; in GetNotificationUserInputByEditType() local 611 // editType?: number in GetNotificationUserInputByEditType() 612 NAPI_CALL(env, napi_has_named_property(env, userInputResult, "editType", &hasProperty)); in GetNotificationUserInputByEditType() 614 napi_get_named_property(env, userInputResult, "editType", &value); in GetNotificationUserInputByEditType() 620 napi_get_value_int32(env, value, &editType); in GetNotificationUserInputByEditType() 621 userInput->SetEditType(NotificationConstant::InputEditType(editType)); in GetNotificationUserInputByEditType()
|