Home
last modified time | relevance | path

Searched refs:InactiveKey (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/mock/
H A Dfscrypt_key_v2_mock.h32 virtual bool InactiveKey(uint32_t flag, const std::string &mnt) = 0;
51 MOCK_METHOD2(InactiveKey, bool(uint32_t flag, const std::string &mnt));
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/
H A Dfscrypt_key_v2_mock.cpp30 bool FscryptKeyV2::InactiveKey(uint32_t flag, const std::string &mnt) in InactiveKey() function in FscryptKeyV2
35 return IFscryptKeyV2Moc::fscryptKeyV2Moc->InactiveKey(flag, mnt); in InactiveKey()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v2.cpp66 bool FscryptKeyV2::InactiveKey(uint32_t flag, const std::string &mnt) in InactiveKey() function in OHOS::StorageDaemon::FscryptKeyV2
111 bool FscryptKeyV2::InactiveKey(uint32_t flag, const std::string &mnt)
H A Dfscrypt_key_v1.cpp419 bool FscryptKeyV1::InactiveKey(uint32_t flag, const std::string &mnt) in InactiveKey() function in OHOS::StorageDaemon::FscryptKeyV1
H A Dbase_key.cpp780 bool ret = InactiveKey(USER_DESTROY, mnt); in StoreKey()
H A Dkey_manager.cpp1502 if (elKey->InactiveKey(USER_LOGOUT) == false) { in UpdateCeEceSeceUserAuth()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_v2_test/
H A Dfscrypt_key_v2_test.cpp119 EXPECT_FALSE(g_testKeyV2.InactiveKey(flag, TEST_MNT));
123 EXPECT_FALSE(g_testKeyV2.InactiveKey(flag, TEST_MNT));
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dfscrypt_key_v2.h34 bool InactiveKey(uint32_t flag = 0, const std::string &mnt = MNT_DATA);
H A Dfscrypt_key_v1.h36 bool InactiveKey(uint32_t flag = 0, const std::string &mnt = MNT_DATA);
H A Dbase_key.h51 virtual bool InactiveKey(uint32_t flag, const std::string &mnt = MNT_DATA) = 0;
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dcrypto_key_test.cpp180 EXPECT_FALSE(g_testKeyV2->InactiveKey());
376 EXPECT_TRUE(g_testKeyV1BadLen.InactiveKey());
459 EXPECT_TRUE(g_testKeyV1->InactiveKey(USER_DESTROY));
558 EXPECT_TRUE(g_testKeyV2->InactiveKey());
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_test.cpp1109 EXPECT_CALL(*fscryptKeyMock_, InactiveKey(_, _)).WillOnce(Return(false));
1112 EXPECT_CALL(*fscryptKeyMock_, InactiveKey(_, _)).WillOnce(Return(true));
1136 EXPECT_CALL(*fscryptKeyMock_, InactiveKey(_, _)).WillOnce(Return(true));
1143 EXPECT_CALL(*fscryptKeyMock_, InactiveKey(_, _)).WillOnce(Return(true)).WillOnce(Return(true));
1168 EXPECT_CALL(*fscryptKeyMock_, InactiveKey(_, _)).WillOnce(Return(true)).WillOnce(Return(true))
1182 EXPECT_CALL(*fscryptKeyMock_, InactiveKey(_, _)).WillOnce(Return(true)).WillOnce(Return(true))