Searched refs:GetBaseKey (Results 1 – 8 of 8) sorted by relevance
51 std::shared_ptr<BaseKey> KeyManager::GetBaseKey(const std::string& dir) in GetBaseKey() function in OHOS::StorageDaemon::KeyManager72 globalEl1Key_ = GetBaseKey(dir); in GenerateAndInstallDeviceKey()117 globalEl1Key_ = GetBaseKey(dir); in RestoreDeviceKey()195 auto elKey = GetBaseKey(dir); in GenerateAndInstallUserKey()233 auto elKey = GetBaseKey(dir); in GenerateAndInstallEl5Key()277 auto elKey = GetBaseKey(dir); in RestoreUserKey()706 std::shared_ptr<BaseKey> elKey = GetBaseKey(elPath); in DoDeleteUserCeEceSeceKeys()1048 elKey = GetBaseKey(keyDir); in UpdateCeEceSeceUserAuth()1117 std::shared_ptr<BaseKey> elKey = GetBaseKey(keyDir); in UpdateCeEceSeceUserAuth()1377 auto el5Key = GetBaseKey(GetKeyDirByUserAndType(userId, EL5_KEY)); in UpdateCeEceSeceUserAuth()[all …]
33 key_ = request->GetBaseKey(""); in Notification()42 key_ = request->GetBaseKey(deviceId); in Notification()
2526 std::string NotificationRequest::GetBaseKey(const std::string &deviceId) in GetBaseKey() function in OHOS::Notification::NotificationRequest2547 stream << REQUEST_STORAGE_KEY_PREFIX << keySpliter << GetBaseKey(""); in GetKey()2555 stream << REQUEST_STORAGE_SECURE_KEY_PREFIX << keySpliter << GetBaseKey(""); in GetSecureKey()
125 std::shared_ptr<BaseKey> GetBaseKey(const std::string& dir);
995 ASSERT_EQ(advancedNotificationService_->IsNotificationExists(req->GetBaseKey("")), true);1031 ASSERT_EQ(advancedNotificationService_->IsNotificationExists(req->GetBaseKey("")), true);1066 ASSERT_EQ(advancedNotificationService_->IsNotificationExists(req->GetBaseKey("")), true);
102 EXPECT_EQ(KeyManager::GetInstance()->GetBaseKey("/data/test"), nullptr);106 EXPECT_NE(KeyManager::GetInstance()->GetBaseKey("/data/test"), nullptr);110 EXPECT_NE(KeyManager::GetInstance()->GetBaseKey("/data/test"), nullptr);114 EXPECT_NE(KeyManager::GetInstance()->GetBaseKey("/data/test"), nullptr);
1278 std::string GetBaseKey(const std::string &deviceId);
64 keys.emplace_back(requestObj.request->GetBaseKey("")); in RecoverLiveViewFromDb()