Home
last modified time | relevance | path

Searched refs:isEncrypted (Results 1 - 25 of 52) sorted by relevance

123

/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_sup_test.cpp113 bool isEncrypted = true; in HWTEST_F() local
114 EXPECT_EQ(KeyManager::GetInstance()->GetFileEncryptStatus(userId, isEncrypted), E_OK); in HWTEST_F()
115 EXPECT_EQ(isEncrypted, true); in HWTEST_F()
120 EXPECT_EQ(KeyManager::GetInstance()->GetFileEncryptStatus(userId, isEncrypted), E_OK); in HWTEST_F()
121 EXPECT_EQ(isEncrypted, false); in HWTEST_F()
124 EXPECT_EQ(KeyManager::GetInstance()->GetFileEncryptStatus(userId, isEncrypted, true), E_OK); in HWTEST_F()
125 EXPECT_EQ(isEncrypted, false); in HWTEST_F()
128 EXPECT_EQ(KeyManager::GetInstance()->GetFileEncryptStatus(userId, isEncrypted, true), E_OK); in HWTEST_F()
129 EXPECT_EQ(isEncrypted, true); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_manager/client/
H A Dstorage_manager_client.cpp174 int32_t StorageManagerClient::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount) in GetFileEncryptStatus() argument
182 return client->GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in GetFileEncryptStatus()
/foundation/filemanagement/storage_service/services/storage_manager/include/crypto/
H A Dfilesystem_crypto.h51 int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false);
/foundation/filemanagement/storage_service/services/storage_manager/include/client/
H A Dstorage_manager_client.h54 static int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false);
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/include/
H A Dclient_trans_proxy_manager.h28 int32_t isEncrypted; member
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_database_corrupt_test.cpp448 void TestDatabaseIntegrityCheckOption(const std::string &storeId, bool isEncrypted) in TestDatabaseIntegrityCheckOption() argument
450 KvStoreNbDelegate::Option nbOption = {true, false, isEncrypted}; in TestDatabaseIntegrityCheckOption()
453 if (isEncrypted) { in TestDatabaseIntegrityCheckOption()
499 size_t filePos = isEncrypted ? 1024 : 4096; // 1024 and 4096 is the page size. in TestDatabaseIntegrityCheckOption()
/foundation/filemanagement/storage_service/services/storage_manager/crypto/test/
H A Dfilesystem_crypto_test.cpp451 bool isEncrypted = true; in HWTEST_F() local
452 uint32_t ret = fileSystemCrypto_->GetFileEncryptStatus(userId, isEncrypted); in HWTEST_F()
456 ret = fileSystemCrypto_->GetFileEncryptStatus(userId, isEncrypted); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/client/include/
H A Dstorage_daemon_client.h69 static int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false);
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dkey_manager_mock.cpp131 int KeyManager::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount) in GetFileEncryptStatus() argument
/foundation/filemanagement/storage_service/services/storage_daemon/client/test/
H A Dstorage_daemon_client_test.cpp372 bool isEncrypted = true; in HWTEST_F() local
374 int32_t ret = storageDaemonClient_->GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_manager/client/test/
H A Dstorage_manager_client_test.cpp420 bool isEncrypted = true; in HWTEST_F() local
422 int32_t ret = storageManagerClient_->GetFileEncryptStatus(userId, isEncrypted); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_manager/crypto/
H A Dfilesystem_crypto.cpp168 int32_t FileSystemCrypto::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount) in GetFileEncryptStatus() argument
178 return sdCommunication->GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in GetFileEncryptStatus()
/foundation/filemanagement/storage_service/services/storage_daemon/client/
H A Dstorage_daemon_client.cpp507 int32_t StorageDaemonClient::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount) in GetFileEncryptStatus() argument
520 return client->GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in GetFileEncryptStatus()
/foundation/filemanagement/storage_service/services/storage_daemon/
H A Dsdc.cpp229 bool isEncrypted = true; in GetFileEncryptStatus() local
231 return OHOS::StorageDaemon::StorageDaemonClient::GetFileEncryptStatus(userId, isEncrypted, judgeFlag); in GetFileEncryptStatus()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/
H A Dstorage_daemon_service_mock.h232 virtual int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false) override
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/
H A Dstorage_daemon_proxy_mock.h91 virtual int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false) override;
/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/
H A Dstorage_daemon_communication.h67 int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false);
/foundation/distributeddatamgr/relational_store/interfaces/ndk/include/
H A Drelational_store.h262 * @brief Set property isEncrypted into config
272 int OH_Rdb_SetEncrypted(OH_Rdb_ConfigV2 *config, bool isEncrypted);
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
H A Dstorage_daemon_proxy.h91 virtual int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false) override;
H A Distorage_daemon.h103 virtual int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false) = 0;
/foundation/filemanagement/storage_service/services/storage_manager/mock/
H A Dstorage_daemon_proxy_mock.cpp234 int32_t StorageDaemonProxy::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount) in GetFileEncryptStatus() argument
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon_stub.cpp780 bool isEncrypted = true; in HandleGetFileEncryptStatus() local
781 int err = GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in HandleGetFileEncryptStatus()
785 if (!reply.WriteBool(isEncrypted)) { in HandleGetFileEncryptStatus()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_ipc_test.cpp644 bool isEncrypted = false; in HWTEST_F() local
645 auto ret = proxy->CheckEncryption(checkEncryptionParam, isEncrypted); in HWTEST_F()
664 bool isEncrypted = false; in HWTEST_F() local
665 auto ret = installdProxy->CheckEncryption(checkEncryptionParam, isEncrypted); in HWTEST_F()
H A Dbms_install_daemon_operator_test.cpp1126 bool isEncrypted = false; in HWTEST_F() local
1127 bool res = InstalldOperator::CheckEncryption(checkEncryptionParam, isEncrypted); in HWTEST_F()
1559 bool isEncrypted = false; in HWTEST_F() local
1560 auto ret = InstalldOperator::CheckEncryption(checkEncryptionParam, isEncrypted); in HWTEST_F()
1593 bool isEncrypted = false; in HWTEST_F() local
1594 auto ret = InstalldOperator::CheckEncryption(checkEncryptionParam, isEncrypted); in HWTEST_F()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/
H A Dclient_trans_proxy_manager.c312 info->detail.isEncrypted = channel->isEncrypt; in ClientTransProxyCreateChannelInfo()
897 if (!info.isEncrypted) { in ClientTransProxyOnDataReceived()
1036 if (!info.isEncrypted) { in TransProxyChannelSendBytes()
1051 if (!info.isEncrypted) { in TransProxyChannelSendMessage()

Completed in 19 milliseconds

123