Home
last modified time | relevance | path

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

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_storage_engine.cpp54 if (!option_.readOnly) { in CreateNewExecutor()
191 if (option.createIfNecessary && !option.readOnly) { in OpenGrdDb()
194 if (option.readOnly) { in OpenGrdDb()
H A Drd_utils.cpp322 if (option.rdconfig.readOnly && option.isNeedRmCorruptedDb) { in CheckParaOption()
H A Drd_single_ver_natural_store.cpp564 option.readOnly = kvDBProp.GetBoolProp(KvDBProperties::READ_ONLY_MODE, false); in InitDataBaseOption()
/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/
H A Ddata_access.h101 const std::string &dbUri, bool readOnly = true, bool create = false) in GetConnection()
/foundation/deviceprofile/device_info_manager/old/services/core/include/authority/
H A Dauthority_manager.h57 bool ValidateService(const nlohmann::json& authValJson, bool readOnly);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dsingle_ver_utils.h50 bool readOnly = false; member
/foundation/deviceprofile/device_info_manager/old/services/core/src/authority/
H A Dauthority_manager.cpp158 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 Ddistributeddb_interfaces_database_rd_kernel_test.cpp258 * @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 Ddistributeddb_interfaces_import_and_export_rd_test.cpp311 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 Ddistributeddb_interfaces_relational_tracker_table_test.cpp1716 condition.readOnly = true; in HWTEST_F()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_store_config_test.cpp470 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 Dabnormal_branch_test.cpp110 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 Drdb_store_config.h135 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 Dshared_block.h71 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 Dcloud_store_types.h181 bool readOnly = false; member
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Dshared_block.cpp31 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 Drdb_store_config.cpp176 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 Drdb_store_config.h266 * @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 Dshared_block.cpp37 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 Dstore_types.h268 bool readOnly = false; member
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/
H A Dshared_block.h103 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 Dstore_factory.cpp179 dbOption.rdconfig.readOnly = (options.role == VISITOR ? true : false); in GetDBOption()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
H A Dkv_store_delegate_manager.cpp115 properties.SetBoolProp(KvDBProperties::READ_ONLY_MODE, option.rdconfig.readOnly); in InitPropWithNbOption()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_relational_storage_engine.cpp602 auto *handle = static_cast<SQLiteSingleVerRelationalStorageExecutor *>(FindExecutor(!condition.readOnly, in ExecuteSql()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_syncer_download_assets_test.cpp2407 condition.readOnly = true; in HWTEST_F()

Completed in 24 milliseconds