Searched refs:JSON_SC_TYPE (Results 1 – 8 of 8) sorted by relevance
28 const std::string JsonTagConstants::JSON_SC_TYPE = "type"; member in OHOS::Security::SecurityComponent::JsonTagConstants250 if ((jsonSrc.find(JsonTagConstants::JSON_SC_TYPE) == jsonSrc.end()) || in FromJson()251 !jsonSrc.at(JsonTagConstants::JSON_SC_TYPE).is_number()) { in FromJson()252 … SC_LOG_ERROR(LABEL, "json: %{public}s tag invalid.", JsonTagConstants::JSON_SC_TYPE.c_str()); in FromJson()255 int32_t value = jsonSrc.at(JsonTagConstants::JSON_SC_TYPE).get<int32_t>(); in FromJson()303 jsonRes[JsonTagConstants::JSON_SC_TYPE] = type_; in ToJson()
22 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; in BuildLocationComponentInfo()78 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = SAVE_COMPONENT; in BuildSaveComponentInfo()134 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = PASTE_COMPONENT; in BuildPasteComponentInfo()
87 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = WRONG_TYPE;90 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = 0;104 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT;139 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT;
22 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; in BuildLocationComponentJson()78 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = SAVE_COMPONENT; in BuildSaveComponentJson()134 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = PASTE_COMPONENT; in BuildPasteComponentJson()
476 jsonVaild[JsonTagConstants::JSON_SC_TYPE] = UNKNOWN_SC_TYPE;481 jsonVaild[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT;
126 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = UNKNOWN_SC_TYPE;
77 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; in ConstructLocationJson()119 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = SAVE_COMPONENT; in ConstructSaveJson()160 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = PASTE_COMPONENT; in ConstructPasteJson()
41 static const std::string JSON_SC_TYPE; variable