Searched refs:elNeedRestorePath (Results 1 – 2 of 2) sorted by relevance
228 std::string elNeedRestorePath = GetNeedRestoreFilePathByType(userId, type); in RestoreOneUserKey() local229 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() local369 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() local649 … if ((!token.empty() || !secret.empty()) && std::filesystem::exists(elNeedRestorePath, errCode)) { in ActiveUserKeyAndPrepare()
788 …std::string elNeedRestorePath = PATH_USER_EL1_DIR + std::to_string(GetIdFromDir()) + PATH_NEED_RES… in StoreKey() local789 if (std::filesystem::exists(elNeedRestorePath, errCode)) { in StoreKey()