/foundation/filemanagement/storage_service/services/storage_daemon/include/mock/ |
H A D | fscrypt_key_v2_mock.h | 31 virtual bool DeleteAppkey(const std::string KeyId) = 0; 50 MOCK_METHOD1(DeleteAppkey, bool(const std::string KeyId));
|
/foundation/filemanagement/storage_service/services/storage_daemon/mock/ |
H A D | fscrypt_key_v2_mock.cpp | 69 bool FscryptKeyV2::DeleteAppkey(const std::string KeyId) in DeleteAppkey() function in FscryptKeyV2 74 return IFscryptKeyV2Moc::fscryptKeyV2Moc->DeleteAppkey(KeyId); in DeleteAppkey()
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | fscrypt_key_v2.h | 44 bool DeleteAppkey(const std::string KeyId);
|
H A D | fscrypt_key_v1.h | 40 bool DeleteAppkey(const std::string keyId);
|
H A D | base_key.h | 55 virtual bool DeleteAppkey(const std::string keyId) = 0;
|
/foundation/filemanagement/storage_service/services/storage_manager/include/crypto/ |
H A D | filesystem_crypto.h | 50 int32_t DeleteAppkey(const std::string keyId);
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/ |
H A D | key_manager_sup_test.cpp | 188 * @tc.desc: Verify the DeleteAppkey function. 200 EXPECT_EQ(KeyManager::GetInstance()->DeleteAppkey(user, keyId), -ENOENT); in HWTEST_F() 209 EXPECT_CALL(*fscryptKeyMock_, DeleteAppkey(_)).WillOnce(Return(false)); in HWTEST_F() 210 EXPECT_EQ(KeyManager::GetInstance()->DeleteAppkey(user, keyId), -EFAULT); in HWTEST_F() 212 EXPECT_CALL(*fscryptKeyMock_, DeleteAppkey(_)).WillOnce(Return(true)); in HWTEST_F() 213 EXPECT_EQ(KeyManager::GetInstance()->DeleteAppkey(user, keyId), 0); in HWTEST_F() 217 EXPECT_EQ(KeyManager::GetInstance()->DeleteAppkey(user, keyId), -ENOENT); in HWTEST_F()
|
/foundation/filemanagement/storage_service/services/storage_daemon/ |
H A D | sdc.cpp | 276 static int32_t DeleteAppkey(const std::vector<std::string> &args) in DeleteAppkey() function 289 return OHOS::StorageDaemon::StorageDaemonClient::DeleteAppkey(userId, keyId); in DeleteAppkey() 369 {"delete_app_key", DeleteAppkey},
|
/foundation/filemanagement/storage_service/services/storage_daemon/client/include/ |
H A D | storage_daemon_client.h | 64 static int32_t DeleteAppkey(uint32_t userId, const std::string keyId);
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/ |
H A D | key_manager_mock.cpp | 85 int32_t KeyManager::DeleteAppkey(uint32_t userId, const std::string keyId) in DeleteAppkey() function in OHOS::StorageDaemon::KeyManager
|
/foundation/filemanagement/storage_service/services/storage_manager/crypto/ |
H A D | filesystem_crypto.cpp | 207 int32_t FileSystemCrypto::DeleteAppkey(const std::string keyId) in DeleteAppkey() function in OHOS::StorageManager::FileSystemCrypto 224 return sdCommunication->DeleteAppkey(userId, keyId); in DeleteAppkey()
|
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/ |
H A D | storage_daemon_stub_mock.h | 65 MOCK_METHOD2(DeleteAppkey, int32_t (uint32_t, const std::string &));
|
H A D | storage_daemon_service_mock.h | 179 virtual int32_t DeleteAppkey(uint32_t userId, const std::string &keyId) override
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | fscrypt_key_v2.cpp | 151 bool FscryptKeyV2::DeleteAppkey(const std::string KeyId) in DeleteAppkey() function in OHOS::StorageDaemon::FscryptKeyV2
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_v1_test/ |
H A D | fscrypt_key_v1_test.cpp | 170 * @tc.desc: Verify the fscrypt V1 DeleteAppkey. 179 EXPECT_FALSE(g_testKeyV1->DeleteAppkey(KeyId)); in HWTEST_F() 182 EXPECT_TRUE(g_testKeyV1->DeleteAppkey(KeyId)); in HWTEST_F()
|
/foundation/filemanagement/storage_service/services/storage_daemon/client/ |
H A D | storage_daemon_client.cpp | 409 int32_t StorageDaemonClient::DeleteAppkey(uint32_t userId, const std::string keyId) in DeleteAppkey() function in OHOS::StorageDaemon::StorageDaemonClient 422 return client->DeleteAppkey(userId, keyId); in DeleteAppkey()
|
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/ |
H A D | storage_daemon_proxy_mock.h | 68 virtual int32_t DeleteAppkey(uint32_t userId, const std::string &keyId) override;
|
/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/ |
H A D | storage_daemon_communication.h | 70 int32_t DeleteAppkey(uint32_t userId, const std::string keyId);
|
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/ |
H A D | storage_manager_stub_mock.h | 80 MOCK_METHOD1(DeleteAppkey, int32_t(const std::string keyId));
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/ |
H A D | storage_daemon_proxy.h | 68 virtual int32_t DeleteAppkey(uint32_t userId, const std::string &keyId) override;
|
H A D | istorage_daemon.h | 75 virtual int32_t DeleteAppkey(uint32_t userId, const std::string &keyId) = 0;
|
/foundation/filemanagement/storage_service/services/storage_manager/mock/ |
H A D | storage_daemon_proxy_mock.cpp | 155 int32_t StorageDaemonProxy::DeleteAppkey(uint32_t userId, const std::string &keyId) in DeleteAppkey() function in OHOS::StorageDaemon::StorageDaemonProxy
|
/foundation/filemanagement/storage_service/test/fuzztest/filesystemcrypto_fuzzer/ |
H A D | filesystemcrypto_fuzzer.cpp | 230 int32_t result = fileSystem->DeleteAppkey(keyId); in DeleteAppkeyFuzzTest() 232 LOGI("file system crypto fuzz test of interface FileSystemCrypto::DeleteAppkey failed!"); in DeleteAppkeyFuzzTest()
|
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/ |
H A D | storage_manager.cpp | 526 int32_t StorageManager::DeleteAppkey(const std::string keyId) in DeleteAppkey() function in OHOS::StorageManager::StorageManager 529 LOGI("DeleteAppkey enter"); in DeleteAppkey() 532 return fsCrypto->DeleteAppkey(keyId); in DeleteAppkey()
|
/foundation/filemanagement/storage_service/services/storage_manager/storage_daemon_communication/src/ |
H A D | storage_daemon_communication.cpp | 551 int32_t StorageDaemonCommunication::DeleteAppkey(uint32_t userId, const std::string keyId) in DeleteAppkey() function in OHOS::StorageManager::StorageDaemonCommunication 562 return storageDaemon_->DeleteAppkey(userId, keyId); in DeleteAppkey()
|