Home
last modified time | relevance | path

Searched refs:DeleteAppkey (Results 1 - 25 of 50) sorted by relevance

12

/foundation/filemanagement/storage_service/services/storage_daemon/include/mock/
H A Dfscrypt_key_v2_mock.h31 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 Dfscrypt_key_v2_mock.cpp69 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 Dfscrypt_key_v2.h44 bool DeleteAppkey(const std::string KeyId);
H A Dfscrypt_key_v1.h40 bool DeleteAppkey(const std::string keyId);
H A Dbase_key.h55 virtual bool DeleteAppkey(const std::string keyId) = 0;
/foundation/filemanagement/storage_service/services/storage_manager/include/crypto/
H A Dfilesystem_crypto.h50 int32_t DeleteAppkey(const std::string keyId);
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_sup_test.cpp188 * @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 Dsdc.cpp276 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 Dstorage_daemon_client.h64 static int32_t DeleteAppkey(uint32_t userId, const std::string keyId);
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dkey_manager_mock.cpp85 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 Dfilesystem_crypto.cpp207 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 Dstorage_daemon_stub_mock.h65 MOCK_METHOD2(DeleteAppkey, int32_t (uint32_t, const std::string &));
H A Dstorage_daemon_service_mock.h179 virtual int32_t DeleteAppkey(uint32_t userId, const std::string &keyId) override
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v2.cpp151 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 Dfscrypt_key_v1_test.cpp170 * @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 Dstorage_daemon_client.cpp409 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 Dstorage_daemon_proxy_mock.h68 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 Dstorage_daemon_communication.h70 int32_t DeleteAppkey(uint32_t userId, const std::string keyId);
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/
H A Dstorage_manager_stub_mock.h80 MOCK_METHOD1(DeleteAppkey, int32_t(const std::string keyId));
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
H A Dstorage_daemon_proxy.h68 virtual int32_t DeleteAppkey(uint32_t userId, const std::string &keyId) override;
H A Distorage_daemon.h75 virtual int32_t DeleteAppkey(uint32_t userId, const std::string &keyId) = 0;
/foundation/filemanagement/storage_service/services/storage_manager/mock/
H A Dstorage_daemon_proxy_mock.cpp155 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 Dfilesystemcrypto_fuzzer.cpp230 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 Dstorage_manager.cpp526 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 Dstorage_daemon_communication.cpp551 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()

Completed in 13 milliseconds

12