Home
last modified time | relevance | path

Searched refs:NEED_RESTORE_PATH (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dapp_clone_key_manager.cpp30 static const std::string NEED_RESTORE_PATH = "/data/service/el1/public/storage_daemon/sd/el1/%d/lat… variable
36 std::string keyPath = StringPrintf(NEED_RESTORE_PATH.c_str(), userId); in ActiveAppCloneUserKey()
H A Dfscrypt_key_v1_ext.cpp28 static const std::string NEED_RESTORE_PATH = "/data/service/el0/storage_daemon/sd/latest/need_resto… variable
51 if (!std::filesystem::exists(NEED_RESTORE_PATH, errCode)) { in GetMappedUserId()
89 int ret = OHOS::LoadStringFromFile(NEED_RESTORE_PATH, updateVersion); in ActiveKeyExt()
92 if (type_ == TYPE_EL1 && std::filesystem::exists(NEED_RESTORE_PATH, errCode) && in ActiveKeyExt()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_key_v1_ext_test/
H A Dfscrypt_key_v1_ext_test.cpp30 const std::string NEED_RESTORE_PATH = "/data/service/el0/storage_daemon/sd/latest/need_restore"; variable
47 if (std::filesystem::exists(NEED_RESTORE_PATH, errCode)) { in SetUpTestCase()
58 std::filesystem::remove_all(NEED_RESTORE_PATH); in TearDownTestCase()
85 std::filesystem::create_directory(NEED_RESTORE_PATH, errCode);