Home
last modified time | relevance | path

Searched refs:isEncrypted (Results 1 – 25 of 58) sorted by relevance

123

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_sup_test.cpp103 bool isEncrypted = true; variable
104 EXPECT_EQ(KeyManager::GetInstance()->GetFileEncryptStatus(userId, isEncrypted), E_OK);
105 EXPECT_EQ(isEncrypted, true);
110 EXPECT_EQ(KeyManager::GetInstance()->GetFileEncryptStatus(userId, isEncrypted), E_OK);
111 EXPECT_EQ(isEncrypted, false);
114 EXPECT_EQ(KeyManager::GetInstance()->GetFileEncryptStatus(userId, isEncrypted, true), E_OK);
115 EXPECT_EQ(isEncrypted, false);
118 EXPECT_EQ(KeyManager::GetInstance()->GetFileEncryptStatus(userId, isEncrypted, true), E_OK);
119 EXPECT_EQ(isEncrypted, true);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-mdm-kit/
H A Djs-apis-enterprise-securityManager-sys.md121 … console.info(`Succeeded in getting device encryption status. isEncrypted: ${result.isEncrypted}`);
172 | isEncrypted | boolean | 是 | 表示设备的文件系统是否加密。true:表示已加密 false:表示未加密 |
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/client/
H A Dstorage_manager_client.cpp159 int32_t StorageManagerClient::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needChe… in GetFileEncryptStatus() argument
167 return client->GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in GetFileEncryptStatus()
/ohos5.0/docs/en/application-dev/reference/apis-mdm-kit/
H A Djs-apis-enterprise-securityManager-sys.md121 … console.info(`Succeeded in getting device encryption status. isEncrypted: ${result.isEncrypted}`);
172 | isEncrypted | boolean | Yes | Whether the file system of the device is encrypted. The value **tr…
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/crypto/
H A Dfilesystem_crypto.cpp150 int32_t FileSystemCrypto::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDi… in GetFileEncryptStatus() argument
160 return sdCommunication->GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in GetFileEncryptStatus()
/ohos5.0/base/customization/enterprise_device_management/interfaces/inner_api/security_manager/include/
H A Dsecurity_manager_proxy.h26 bool isEncrypted = false; member
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/include/crypto/
H A Dfilesystem_crypto.h46 … int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/include/client/
H A Dstorage_manager_client.h49 …static int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = f…
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_ipc_test.cpp644 bool isEncrypted = false; variable
645 auto ret = proxy->CheckEncryption(checkEncryptionParam, isEncrypted);
664 bool isEncrypted = false; variable
665 auto ret = installdProxy->CheckEncryption(checkEncryptionParam, isEncrypted);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_database_corrupt_test.cpp444 void TestDatabaseIntegrityCheckOption(const std::string &storeId, bool isEncrypted) in TestDatabaseIntegrityCheckOption() argument
446 KvStoreNbDelegate::Option nbOption = {true, false, isEncrypted}; in TestDatabaseIntegrityCheckOption()
449 if (isEncrypted) { in TestDatabaseIntegrityCheckOption()
495 size_t filePos = isEncrypted ? 1024 : 4096; // 1024 and 4096 is the page size. in TestDatabaseIntegrityCheckOption()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/include/
H A Dclient_trans_proxy_manager.h28 int32_t isEncrypted; member
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dkey_manager_mock.cpp113 int KeyManager::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount) in GetFileEncryptStatus() argument
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/client/include/
H A Dstorage_daemon_client.h64 …static int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = f…
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/client/
H A Dstorage_daemon_client.cpp452 int32_t StorageDaemonClient::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needChec… in GetFileEncryptStatus() argument
465 return client->GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in GetFileEncryptStatus()
/ohos5.0/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, judgeFl… in GetFileEncryptStatus()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/
H A Dstorage_daemon_communication.h62 … int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = false);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon_stub.cpp713 bool isEncrypted = true; in HandleGetFileEncryptStatus() local
714 int err = GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in HandleGetFileEncryptStatus()
718 if (!reply.WriteBool(isEncrypted)) { in HandleGetFileEncryptStatus()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
H A Distorage_daemon.h93 …virtual int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = …
H A Dstorage_daemon_proxy.h81 …virtual int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = …
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/
H A Dclient_trans_proxy_manager.c312 info->detail.isEncrypted = channel->isEncrypt; in ClientTransProxyCreateChannelInfo()
895 if (!info.isEncrypted) { in ClientTransProxyOnDataReceived()
1034 if (!info.isEncrypted) { in TransProxyChannelSendBytes()
1049 if (!info.isEncrypted) { in TransProxyChannelSendMessage()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/storage_daemon_communication/src/
H A Dstorage_daemon_communication.cpp336 int32_t StorageDaemonCommunication::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool n… in GetFileEncryptStatus() argument
348 return storageDaemon_->GetFileEncryptStatus(userId, isEncrypted, needCheckDirMount); in GetFileEncryptStatus()
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/ndk/include/
H A Drelational_store.h272 int OH_Rdb_SetEncrypted(OH_Rdb_ConfigV2 *config, bool isEncrypted);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/include/mock/
H A Dstorage_daemon_proxy_mock.h81 …virtual int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = …
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/mock/
H A Dstorage_daemon_proxy_mock.cpp49 int32_t StorageDaemonProxy::GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheck… in GetFileEncryptStatus() argument
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/
H A Dstorage_daemon_service_mock.h211 …virtual int32_t GetFileEncryptStatus(uint32_t userId, bool &isEncrypted, bool needCheckDirMount = …

123