Home
last modified time | relevance | path

Searched refs:jsonNotice (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/useriam/user_auth_framework/services/context/src/
H A Dwidget_json.cpp243 if (jsonNotice.find(item) != jsonNotice.end() && jsonNotice[item].is_number()) { in isNumberItem()
251 if (isNumberItem(jsonNotice, JSON_WIDGET_CTX_ID)) { in from_json()
254 …if (jsonNotice.find(JSON_AUTH_EVENT) != jsonNotice.end() && jsonNotice[JSON_AUTH_EVENT].is_string(… in from_json()
255 jsonNotice.at(JSON_AUTH_EVENT).get_to(notice.event); in from_json()
257 if (isNumberItem(jsonNotice, JSON_ORIENTATION)) { in from_json()
260 if (isNumberItem(jsonNotice, JSON_NEED_ROTATE)) { in from_json()
263 if (isNumberItem(jsonNotice, JSON_ALREADY_LOAD)) { in from_json()
266 …if (jsonNotice.find(JSON_AUTH_VERSION) != jsonNotice.end() && jsonNotice[JSON_AUTH_VERSION].is_str… in from_json()
269 if (jsonNotice.find(JSON_AUTH_PAYLOAD) == jsonNotice.end()) { in from_json()
272 if (jsonNotice[JSON_AUTH_PAYLOAD].find(JSON_AUTH_TYPE) != jsonNotice[JSON_AUTH_PAYLOAD].end() && in from_json()
[all …]
/ohos5.0/base/useriam/user_auth_framework/services/context/inc/
H A Dwidget_json.h53 void to_json(nlohmann::json &jsonNotice, const WidgetNotice &notice);
54 void from_json(const nlohmann::json &jsonNotice, WidgetNotice &notice);