/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_single_ver_storage_engine.cpp | 54 if (!option_.readOnly) { in CreateNewExecutor() 191 if (option.createIfNecessary && !option.readOnly) { in OpenGrdDb() 194 if (option.readOnly) { in OpenGrdDb()
|
H A D | rd_utils.cpp | 322 if (option.rdconfig.readOnly && option.isNeedRmCorruptedDb) { in CheckParaOption()
|
H A D | rd_single_ver_natural_store.cpp | 564 option.readOnly = kvDBProp.GetBoolProp(KvDBProperties::READ_ONLY_MODE, false); in InitDataBaseOption()
|
/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/ |
H A D | data_access.h | 101 const std::string &dbUri, bool readOnly = true, bool create = false) in GetConnection()
|
/foundation/deviceprofile/device_info_manager/old/services/core/include/authority/ |
H A D | authority_manager.h | 57 bool ValidateService(const nlohmann::json& authValJson, bool readOnly);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | single_ver_utils.h | 50 bool readOnly = false; member
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/authority/ |
H A D | authority_manager.cpp | 158 bool AuthorityManager::ValidateService(const nlohmann::json& authValJson, bool readOnly) in ValidateService() argument 171 if (readOnly && authVal != AuthValue::AUTH_R) { in ValidateService()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_database_rd_kernel_test.cpp | 258 * @tc.steps: step1. open db with share mode and readOnly is false in HWTEST_F() 263 option.rdconfig.readOnly = false; in HWTEST_F() 304 * @tc.steps: step1. open db with share mode and readOnly is true in HWTEST_F() 309 option.rdconfig.readOnly = false; in HWTEST_F() 325 option.rdconfig.readOnly = true; in HWTEST_F() 357 * @tc.steps: step1. open db with not share mode and readOnly is true in HWTEST_F() 362 option.rdconfig.readOnly = true; in HWTEST_F() 378 * @tc.steps: step1. open db and readOnly is false and IntegrityCheck is true in HWTEST_F() 416 * @tc.steps: step1. open db and readOnly is false and RmCorruptedDb false in HWTEST_F() 450 option.rdconfig.readOnly in HWTEST_F() [all...] |
H A D | distributeddb_interfaces_import_and_export_rd_test.cpp | 311 option.rdconfig.readOnly = true; in HWTEST_F() 569 * @tc.desc: Import is not supported when option.rdconfig.readOnly is true. 599 option.rdconfig.readOnly = true; in HWTEST_F()
|
H A D | distributeddb_interfaces_relational_tracker_table_test.cpp | 1716 condition.readOnly = true; in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_store_config_test.cpp | 470 bool readOnly = true; in HWTEST_F() local 471 config.SetReadOnly(readOnly); in HWTEST_F() 473 EXPECT_EQ(readOnly, retReadOnly); in HWTEST_F() 482 readOnly = false; in HWTEST_F() 483 config.SetReadOnly(readOnly); in HWTEST_F() 485 EXPECT_EQ(readOnly, retReadOnly); in HWTEST_F() 491 readOnly = true; in HWTEST_F() 492 config.SetReadOnly(readOnly); in HWTEST_F()
|
/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/ |
H A D | abnormal_branch_test.cpp | 110 bool readOnly = true; in HWTEST_F() local 111 AppDataFwk::SharedBlock temp(name, nullptr, size, readOnly); in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/ |
H A D | rdb_store_config.h | 135 RdbStoreConfig(const std::string &path, StorageMode storageMode = StorageMode::MODE_DISK, bool readOnly = false, 159 void SetReadOnly(bool readOnly);
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/ |
H A D | shared_block.h | 71 SharedBlock(const std::string &name, sptr<Ashmem> ashmem, size_t size, bool readOnly);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/cloud/ |
H A D | cloud_store_types.h | 181 bool readOnly = false; member
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | shared_block.cpp | 31 SharedBlock::SharedBlock(const std::string &name, sptr<Ashmem> ashmem, size_t size, bool readOnly)
in SharedBlock() argument 32 : mName(name), ashmem_(ashmem), mSize(size), mReadOnly(readOnly), mHeader(nullptr)
in SharedBlock()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_store_config.cpp | 176 void RdbStoreConfig::SetReadOnly(bool readOnly) in SetReadOnly() argument 178 this->readOnly_ = readOnly; in SetReadOnly()
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | rdb_store_config.h | 266 * @param readOnly Indicates whether the database is read-only. 278 bool readOnly = false, const std::vector<uint8_t> &encryptKey = std::vector<uint8_t>(), 366 API_EXPORT void SetReadOnly(bool readOnly);
|
/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/ |
H A D | shared_block.cpp | 37 SharedBlock::SharedBlock(const std::string &name, sptr<Ashmem> ashmem, size_t size, bool readOnly)
in SharedBlock() argument 38 : mName(name), ashmem_(ashmem), mSize(size), mReadOnly(readOnly), mHeader(nullptr)
in SharedBlock()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/ |
H A D | store_types.h | 268 bool readOnly = false; member
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/ |
H A D | shared_block.h | 103 API_EXPORT SharedBlock(const std::string &name, sptr<Ashmem> ashmem, size_t size, bool readOnly);
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_factory.cpp | 179 dbOption.rdconfig.readOnly = (options.role == VISITOR ? true : false); in GetDBOption()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | kv_store_delegate_manager.cpp | 115 properties.SetBoolProp(KvDBProperties::READ_ONLY_MODE, option.rdconfig.readOnly); in InitPropWithNbOption()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_relational_storage_engine.cpp | 602 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(!condition.readOnly, in ExecuteSql()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_syncer_download_assets_test.cpp | 2407 condition.readOnly = true; in HWTEST_F()
|