Home
last modified time | relevance | path

Searched refs:GetBaseKey (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp51 std::shared_ptr<BaseKey> KeyManager::GetBaseKey(const std::string& dir) in GetBaseKey() function in OHOS::StorageDaemon::KeyManager
72 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 …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification.cpp33 key_ = request->GetBaseKey(""); in Notification()
42 key_ = request->GetBaseKey(deviceId); in Notification()
H A Dnotification_request.cpp2526 std::string NotificationRequest::GetBaseKey(const std::string &deviceId) in GetBaseKey() function in OHOS::Notification::NotificationRequest
2547 stream << REQUEST_STORAGE_KEY_PREFIX << keySpliter << GetBaseKey(""); in GetKey()
2555 stream << REQUEST_STORAGE_SECURE_KEY_PREFIX << keySpliter << GetBaseKey(""); in GetSecureKey()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_manager.h125 std::shared_ptr<BaseKey> GetBaseKey(const std::string& dir);
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp995 ASSERT_EQ(advancedNotificationService_->IsNotificationExists(req->GetBaseKey("")), true);
1031 ASSERT_EQ(advancedNotificationService_->IsNotificationExists(req->GetBaseKey("")), true);
1066 ASSERT_EQ(advancedNotificationService_->IsNotificationExists(req->GetBaseKey("")), true);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_test.cpp102 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);
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_request.h1278 std::string GetBaseKey(const std::string &deviceId);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_live_view_service.cpp64 keys.emplace_back(requestObj.request->GetBaseKey("")); in RecoverLiveViewFromDb()