Home
last modified time | relevance | path

Searched refs:secLevel (Results 1 - 20 of 20) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dsystem_api.cpp65 auto secLevel = std::string("s") + std::to_string(option.securityLabel - 1); in SetSecurityOption() local
66 bool result = SecurityLabel::SetSecurityLabel(filePath, secLevel); in SetSecurityOption()
68 ZLOGE("set label failed! level:%{public}s, file:%{public}s", secLevel.c_str(), in SetSecurityOption()
H A Dprocess_system_api_adapter_impl.cpp71 auto secLevel = std::string("s") + std::to_string(option.securityLabel - 1); in SetSecurityOption() local
72 bool result = SecurityLabel::SetSecurityLabel(filePath, secLevel); in SetSecurityOption()
76 ZLOGE("set label failed! level:%{public}s, file:%{public}s", secLevel.c_str(), fPath.c_str()); in SetSecurityOption()
H A Dstore_util.cpp59 StoreUtil::DBSecurity StoreUtil::GetDBSecurity(int32_t secLevel) in GetDBSecurity() argument
61 if (secLevel < SecurityLevel::NO_LABEL || secLevel > SecurityLevel::S4) { in GetDBSecurity()
64 if (secLevel == SecurityLevel::S3) { in GetDBSecurity()
67 if (secLevel == SecurityLevel::S4) { in GetDBSecurity()
70 return { secLevel, DistributedDB::ECE }; in GetDBSecurity()
H A Dsingle_store_impl.cpp536 Status SingleStoreImpl::GetSecurityLevel(SecurityLevel &secLevel) const in GetSecurityLevel()
547 secLevel = static_cast<SecurityLevel>(StoreUtil::GetSecLevel(option)); in GetSecurityLevel()
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_util.cpp34 StoreUtil::DBSecurity StoreUtil::GetDBSecurity(int32_t secLevel) in GetDBSecurity() argument
36 if (secLevel < SecurityLevel::NO_LABEL || secLevel > SecurityLevel::S4) { in GetDBSecurity()
39 if (secLevel == SecurityLevel::S3) { in GetDBSecurity()
42 if (secLevel == SecurityLevel::S4) { in GetDBSecurity()
45 return { secLevel, DistributedDB::ECE }; in GetDBSecurity()
H A Dsingle_store_impl.cpp321 Status SingleStoreImpl::GetSecurityLevel(SecurityLevel &secLevel) const in GetSecurityLevel()
331 secLevel = static_cast<SecurityLevel>(StoreUtil::GetSecLevel(option)); in GetSecurityLevel()
/foundation/communication/dsoftbus/core/common/security/permission/include/
H A Dpermission_entry.h63 int32_t secLevel; member
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/
H A Dstore_util.h34 static DBSecurity GetDBSecurity(int32_t secLevel);
H A Dsingle_store_impl.h62 Status GetSecurityLevel(SecurityLevel &secLevel) const override;
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dstore_util.h35 static DBSecurity GetDBSecurity(int32_t secLevel);
H A Dsingle_store_impl.h73 Status GetSecurityLevel(SecurityLevel &secLevel) const override;
/foundation/communication/dsoftbus/core/common/security/permission/common/
H A Dpermission_entry.c246 permissionEntry->secLevel = UNKNOWN_VALUE; in ProcessPermissionEntry()
262 permissionEntry->secLevel = GetPeMapValue(mapKey); in ProcessPermissionEntry()
629 if (pe->secLevel == LEVEL_PUBLIC) { in PermIsSecLevelPublic()
684 permissionEntry->secLevel = LEVEL_PUBLIC; in NewDynamicPermissionEntry()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_general_store.cpp116 KVDBGeneralStore::DBSecurity KVDBGeneralStore::GetDBSecurity(int32_t secLevel) in GetDBSecurity() argument
118 if (secLevel < SecurityLevel::NO_LABEL || secLevel > SecurityLevel::S4) { in GetDBSecurity()
121 if (secLevel == SecurityLevel::S3) { in GetDBSecurity()
124 if (secLevel == SecurityLevel::S4) { in GetDBSecurity()
127 return { secLevel, DistributedDB::ECE }; in GetDBSecurity()
H A Dkvdb_general_store.h81 static DBSecurity GetDBSecurity(int32_t secLevel);
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dsingle_kvstore.h139 * @param secLevel The security level will be returned.
142 virtual Status GetSecurityLevel(SecurityLevel &secLevel) const = 0;
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_single_kv_store.h80 DistributedKv::Status GetSecurityLevel(DistributedKv::SecurityLevel &secLevel) const override
/foundation/ability/ability_runtime/test/mock/common/include/
H A Dmock_single_kv_store.h77 DistributedKv::Status GetSecurityLevel(DistributedKv::SecurityLevel &secLevel) const override
/foundation/communication/dsoftbus/tests/core/common/security/permission/common/unittest/
H A Dpermission_entry_static_test.cpp269 permissionEntry->secLevel = UNKNOWN_VALUE; in HWTEST_F()
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/
H A Drdb_store_config.h162 void SetSecurityLevel(SecurityLevel secLevel);
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_store_config.h381 API_EXPORT void SetSecurityLevel(SecurityLevel secLevel);

Completed in 12 milliseconds