Home
last modified time | relevance | path

Searched refs:JSON_WINDOW_ID (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/security_component_manager/frameworks/security_component/src/
H A Dsec_comp_base.cpp64 const std::string JsonTagConstants::JSON_WINDOW_ID = "windowId"; member in OHOS::Security::SecurityComponent::JsonTagConstants
292 if ((jsonSrc.find(JsonTagConstants::JSON_WINDOW_ID) == jsonSrc.end()) || in FromJson()
293 !jsonSrc.at(JsonTagConstants::JSON_WINDOW_ID).is_number()) { in FromJson()
294 … SC_LOG_ERROR(LABEL, "json: %{public}s tag invalid.", JsonTagConstants::JSON_WINDOW_ID.c_str()); in FromJson()
297 windowId_ = jsonSrc.at(JsonTagConstants::JSON_WINDOW_ID).get<int32_t>(); in FromJson()
355 jsonRes[JsonTagConstants::JSON_WINDOW_ID] = windowId_; in ToJson()
/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/
H A Dtest_common.cpp73 jsonComponent[JsonTagConstants::JSON_WINDOW_ID] = 0; in BuildLocationComponentInfo()
129 jsonComponent[JsonTagConstants::JSON_WINDOW_ID] = 0; in BuildSaveComponentInfo()
185 jsonComponent[JsonTagConstants::JSON_WINDOW_ID] = 0; in BuildPasteComponentInfo()
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
H A Dservice_test_common.cpp73 jsonComponent[JsonTagConstants::JSON_WINDOW_ID] = 0; in BuildLocationComponentJson()
129 jsonComponent[JsonTagConstants::JSON_WINDOW_ID] = 0; in BuildSaveComponentJson()
185 jsonComponent[JsonTagConstants::JSON_WINDOW_ID] = 0; in BuildPasteComponentJson()
/ohos5.0/base/security/security_component_manager/test/fuzztest/security_component/common/
H A Dfuzz_common.cpp111 jsonComponent[JsonTagConstants::JSON_WINDOW_ID] = 0; in ConstructLocationJson()
153 jsonComponent[JsonTagConstants::JSON_WINDOW_ID] = 0; in ConstructSaveJson()
194 jsonComponent[JsonTagConstants::JSON_WINDOW_ID] = 0; in ConstructPasteJson()
/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/include/
H A Dsec_comp_base.h80 static const std::string JSON_WINDOW_ID; variable