/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | system_api.cpp | 65 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 D | process_system_api_adapter_impl.cpp | 71 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 D | store_util.cpp | 59 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 D | single_store_impl.cpp | 536 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 D | store_util.cpp | 34 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 D | single_store_impl.cpp | 321 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 D | permission_entry.h | 63 int32_t secLevel; member
|
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/ |
H A D | store_util.h | 34 static DBSecurity GetDBSecurity(int32_t secLevel);
|
H A D | single_store_impl.h | 62 Status GetSecurityLevel(SecurityLevel &secLevel) const override;
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
H A D | store_util.h | 35 static DBSecurity GetDBSecurity(int32_t secLevel);
|
H A D | single_store_impl.h | 73 Status GetSecurityLevel(SecurityLevel &secLevel) const override;
|
/foundation/communication/dsoftbus/core/common/security/permission/common/ |
H A D | permission_entry.c | 246 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 D | kvdb_general_store.cpp | 116 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 D | kvdb_general_store.h | 81 static DBSecurity GetDBSecurity(int32_t secLevel);
|
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | single_kvstore.h | 139 * @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 D | mock_single_kv_store.h | 80 DistributedKv::Status GetSecurityLevel(DistributedKv::SecurityLevel &secLevel) const override
|
/foundation/ability/ability_runtime/test/mock/common/include/ |
H A D | mock_single_kv_store.h | 77 DistributedKv::Status GetSecurityLevel(DistributedKv::SecurityLevel &secLevel) const override
|
/foundation/communication/dsoftbus/tests/core/common/security/permission/common/unittest/ |
H A D | permission_entry_static_test.cpp | 269 permissionEntry->secLevel = UNKNOWN_VALUE; in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/ |
H A D | rdb_store_config.h | 162 void SetSecurityLevel(SecurityLevel secLevel);
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | rdb_store_config.h | 381 API_EXPORT void SetSecurityLevel(SecurityLevel secLevel);
|