/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_basic_content.cpp | 75 const auto &jsonEnd = jsonObject.cend(); in ReadFromJson() local 76 if (jsonObject.find("text") != jsonEnd && jsonObject.at("text").is_string()) { in ReadFromJson() 80 if (jsonObject.find("title") != jsonEnd && jsonObject.at("title").is_string()) { in ReadFromJson() 84 … if (jsonObject.find("additionalText") != jsonEnd && jsonObject.at("additionalText").is_string()) { in ReadFromJson()
|
D | message_user.cpp | 134 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 135 if (jsonObject.find("key") != jsonEnd && jsonObject.at("key").is_string()) { in FromJson() 139 if (jsonObject.find("name") != jsonEnd && jsonObject.at("name").is_string()) { in FromJson() 143 if (jsonObject.find("pixelMap") != jsonEnd && jsonObject.at("pixelMap").is_string()) { in FromJson() 148 if (jsonObject.find("uri") != jsonEnd && jsonObject.at("uri").is_string()) { in FromJson() 152 if (jsonObject.find("isMachine") != jsonEnd && jsonObject.at("isMachine").is_boolean()) { in FromJson() 156 …if (jsonObject.find("isUserImportant") != jsonEnd && jsonObject.at("isUserImportant").is_boolean()… in FromJson()
|
D | notification_request.cpp | 768 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 769 if (jsonObject.find("version") != jsonEnd && jsonObject.at("version").is_number_integer()) { in FromJson() 781 if (jsonObject.find("wantAgent") != jsonEnd && jsonObject.at("wantAgent").is_string()) { in FromJson() 798 if (jsonObject.find("extraInfo") != jsonEnd && jsonObject.at("extraInfo").is_string()) { in FromJson() 1613 const auto &jsonEnd = jsonObject.cend(); in ConvertJsonToNum() local 1615 if (jsonObject.find("id") != jsonEnd && jsonObject.at("id").is_number_integer()) { in ConvertJsonToNum() 1619 if (jsonObject.find("color") != jsonEnd && jsonObject.at("color").is_number_integer()) { in ConvertJsonToNum() 1623 …if (jsonObject.find("deliveryTime") != jsonEnd && jsonObject.at("deliveryTime").is_number_integer(… in ConvertJsonToNum() 1627 …if (jsonObject.find("autoDeletedTime") != jsonEnd && jsonObject.at("autoDeletedTime").is_number_in… in ConvertJsonToNum() 1631 … if (jsonObject.find("creatorUid") != jsonEnd && jsonObject.at("creatorUid").is_number_integer()) { in ConvertJsonToNum() [all …]
|
D | notification_conversational_message.cpp | 105 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 106 …if (jsonObject.find("arrivedTime") != jsonEnd && jsonObject.at("arrivedTime").is_number_integer())… in FromJson() 110 if (jsonObject.find("text") != jsonEnd && jsonObject.at("text").is_string()) { in FromJson() 114 if (jsonObject.find("sender") != jsonEnd) { in FromJson() 125 if (jsonObject.find("uri") != jsonEnd && jsonObject.at("uri").is_string()) { in FromJson() 132 if (jsonObject.find("mimeType") != jsonEnd && jsonObject.at("mimeType").is_string()) { in FromJson()
|
D | notification_long_text_content.cpp | 109 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 110 if (jsonObject.find("longText") != jsonEnd && jsonObject.at("longText").is_string()) { in FromJson() 114 if (jsonObject.find("expandedTitle") != jsonEnd && jsonObject.at("expandedTitle").is_string()) { in FromJson() 118 if (jsonObject.find("briefText") != jsonEnd && jsonObject.at("briefText").is_string()) { in FromJson()
|
D | notification_distributed_options.cpp | 99 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 100 … if (jsonObject.find("isDistributed") != jsonEnd && jsonObject.at("isDistributed").is_boolean()) { in FromJson() 104 …if (jsonObject.find("devicesSupportDisplay") != jsonEnd && jsonObject.at("devicesSupportDisplay").… in FromJson() 108 …if (jsonObject.find("devicesSupportOperate") != jsonEnd && jsonObject.at("devicesSupportOperate").… in FromJson()
|
D | notification_multiline_content.cpp | 104 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 105 if (jsonObject.find("expandedTitle") != jsonEnd && jsonObject.at("expandedTitle").is_string()) { in FromJson() 109 if (jsonObject.find("briefText") != jsonEnd && jsonObject.at("briefText").is_string()) { in FromJson() 113 if (jsonObject.find("allLines") != jsonEnd && jsonObject.at("allLines").is_array()) { in FromJson()
|
D | notification_picture_content.cpp | 90 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 91 if (jsonObject.find("expandedTitle") != jsonEnd && jsonObject.at("expandedTitle").is_string()) { in FromJson() 95 if (jsonObject.find("briefText") != jsonEnd && jsonObject.at("briefText").is_string()) { in FromJson() 99 if (jsonObject.find("bigPicture") != jsonEnd && jsonObject.at("bigPicture").is_string()) { in FromJson()
|
D | notification_flags.cpp | 74 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 75 …if (jsonObject.find("soundEnabled") != jsonEnd && jsonObject.at("soundEnabled").is_number_integer(… in FromJson() 80 …if (jsonObject.find("vibrationEnabled") != jsonEnd && jsonObject.at("vibrationEnabled").is_number_… in FromJson()
|
D | notification_user_input.cpp | 263 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 264 if (jsonObject.find("inputKey") != jsonEnd && jsonObject.at("inputKey").is_string()) { in FromJson() 268 if (jsonObject.find("tag") != jsonEnd && jsonObject.at("tag").is_string()) { in FromJson() 272 if (jsonObject.find("options") != jsonEnd && jsonObject.at("options").is_array()) { in FromJson() 276 …if (jsonObject.find("permitFreeFormInput") != jsonEnd && jsonObject.at("permitFreeFormInput").is_b… in FromJson() 280 …if (jsonObject.find("permitMimeTypes") != jsonEnd && jsonObject.at("permitMimeTypes").is_array()) { in FromJson() 284 … if (jsonObject.find("additionalData") != jsonEnd && jsonObject.at("additionalData").is_string()) { in FromJson() 292 if (jsonObject.find("editType") != jsonEnd && jsonObject.at("editType").is_number_integer()) { in FromJson()
|
D | notification_media_content.cpp | 82 const auto& jsonEnd = jsonObject.cend(); in FromJson() local 83 …if (jsonObject.find("sequenceNumbers") != jsonEnd && jsonObject.at("sequenceNumbers").is_array()) { in FromJson()
|
D | notification_conversational_content.cpp | 148 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 149 if (jsonObject.find("messageUser") != jsonEnd) { in FromJson() 160 if (jsonObject.find("messages") != jsonEnd) { in FromJson()
|
D | notification_action_button.cpp | 249 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 250 if (jsonObject.find("icon") != jsonEnd && jsonObject.at("icon").is_string()) { in FromJson() 255 if (jsonObject.find("title") != jsonEnd && jsonObject.at("title").is_string()) { in FromJson() 259 if (jsonObject.find("wantAgent") != jsonEnd && jsonObject.at("wantAgent").is_string()) { in FromJson() 264 if (jsonObject.find("extras") != jsonEnd && jsonObject.at("extras").is_string()) { in FromJson()
|
D | notification_content.cpp | 140 const auto &jsonEnd = jsonObject.cend(); in FromJson() local 141 if ((jsonObject.find("contentType") == jsonEnd) || (jsonObject.find("content") == jsonEnd)) { in FromJson()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_push_callback.cpp | 95 const auto &jsonEnd = jsonobj.cend(); in ConvertJsonStringToValue() local 96 if (jsonobj.find("pkgName") != jsonEnd) { in ConvertJsonStringToValue() 103 if (jsonobj.find("notifyId") != jsonEnd) { in ConvertJsonStringToValue() 110 if (jsonobj.find("contentType") != jsonEnd) { in ConvertJsonStringToValue()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_control_file_manager.cpp | 265 auto jsonEnd = baseOAConstraintsJson.end(); in UpdateBaseOAConstraints() local 267 … baseOAConstraintsJson, jsonEnd, idStr, baseOAConstraints, OHOS::AccountSA::JsonType::ARRAY); in UpdateBaseOAConstraints() 559 auto jsonEnd = accountListJson.end(); in UpdateAccountList() local 561 …accountListJson, jsonEnd, Constants::ACCOUNT_LIST, accountIdList, OHOS::AccountSA::JsonType::ARRAY… in UpdateAccountList() 743 auto jsonEnd = accountListJson.end(); in GetAllowCreateId() local 745 …accountListJson, jsonEnd, Constants::COUNT_ACCOUNT_NUM, countCreatedNum, OHOS::AccountSA::JsonType… in GetAllowCreateId() 752 …accountListJson, jsonEnd, Constants::ACCOUNT_LIST, accountIdList, OHOS::AccountSA::JsonType::ARRAY… in GetAllowCreateId()
|