Home
last modified time | relevance | path

Searched refs:elNeedRestorePath (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon.cpp228 std::string elNeedRestorePath = GetNeedRestoreFilePathByType(userId, type); in RestoreOneUserKey() local
229 if (elNeedRestorePath.empty()) { in RestoreOneUserKey()
234 if (!std::filesystem::exists(elNeedRestorePath, errCode)) { in RestoreOneUserKey()
259 (void)remove(elNeedRestorePath.c_str()); in RestoreOneUserKey()
368 std::string elNeedRestorePath = GetNeedRestoreFilePathByType(userId, EL1_KEY); in CompleteAddUser() local
369 if (elNeedRestorePath.empty() || !std::filesystem::exists(elNeedRestorePath, errCode)) { in CompleteAddUser()
372 (void)remove(elNeedRestorePath.c_str()); in CompleteAddUser()
648 std::string elNeedRestorePath = GetNeedRestoreFilePathByType(userId, type); in ActiveUserKeyAndPrepare() local
649 … if ((!token.empty() || !secret.empty()) && std::filesystem::exists(elNeedRestorePath, errCode)) { in ActiveUserKeyAndPrepare()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp788 …std::string elNeedRestorePath = PATH_USER_EL1_DIR + std::to_string(GetIdFromDir()) + PATH_NEED_RES… in StoreKey() local
789 if (std::filesystem::exists(elNeedRestorePath, errCode)) { in StoreKey()