/ohos5.0/base/customization/enterprise_device_management/test/fuzztest/usbreadonlyplugin_fuzzer/ |
H A D | usb_read_only_plugin_fuzzer.cpp | 56 int32_t isReadOnly = CommonFuzzer::GetU32Data(data) % 2; in LLVMFuzzerTestOneInput() local 57 parcel.WriteInt32(isReadOnly); in LLVMFuzzerTestOneInput()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | connection_pool.h | 46 SharedConn AcquireConnection(bool isReadOnly); 47 SharedConn Acquire(bool isReadOnly, std::chrono::milliseconds ms = INVALID_TIME); 49 SharedConn AcquireRef(bool isReadOnly, std::chrono::milliseconds ms = INVALID_TIME);
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | connection_pool.cpp | 219 std::shared_ptr<Conn> ConnPool::AcquireConnection(bool isReadOnly) in AcquireConnection() argument 222 return Acquire(isReadOnly); in AcquireConnection() 265 std::shared_ptr<Conn> ConnPool::Acquire(bool isReadOnly, std::chrono::milliseconds ms) in Acquire() argument 267 Container *container = (isReadOnly && maxReader_ != 0) ? &readers_ : &writers_; in Acquire() 270 const char *header = (isReadOnly && maxReader_ != 0) ? "readers_" : "writers_"; in Acquire() 277 SharedConn ConnPool::AcquireRef(bool isReadOnly, std::chrono::milliseconds ms) in AcquireRef() argument 281 return Acquire(isReadOnly, ms); in AcquireRef()
|
H A D | rdb_store_config.cpp | 29 RdbStoreConfig::RdbStoreConfig(const std::string &name, StorageMode storageMode, bool isReadOnly, in RdbStoreConfig() argument 33 …: readOnly_(isReadOnly), isCreateNecessary_(isCreateNecessary), autoCheck_(autoCheck), journalSize… in RdbStoreConfig()
|
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/include/ |
H A D | hiview_log_config_manager.h | 28 bool isReadOnly { false };
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbStoreReadOnlyJsunit.test.js | 32 isReadOnly: true, property in STORE_CONFIG1 38 isReadOnly: true, property in STORE_CONFIG2
|
H A D | RdbStoreTransaction.test.js | 1672 storeConfig.isReadOnly = true;
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/ |
H A D | dlp_permission_service.cpp | 243 static int32_t GetAppIndexFromRetentionInfo(const std::string& bundleName, bool isReadOnly, const s… in GetAppIndexFromRetentionInfo() argument 254 if (isReadOnly && iter->dlpFileAccess_ == DLPFileAccess::READ_ONLY) { in GetAppIndexFromRetentionInfo() 260 if (isReadOnly) { in GetAppIndexFromRetentionInfo() 284 bool isReadOnly = dlpFileAccess == DLPFileAccess::READ_ONLY; in InstallDlpSandbox() local 288 …int32_t res = GetAppIndexFromRetentionInfo(bundleName, isReadOnly, uri, dlpSandboxInfo, isNeedInst… in InstallDlpSandbox() 292 if (isNeedInstall && isReadOnly) { in InstallDlpSandbox()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_natural_store.cpp | 118 …void UpdateSecProperties(KvDBProperties &properties, bool isReadOnly, const SchemaObject &savedSch… in UpdateSecProperties() argument 121 if (isReadOnly) { in UpdateSecProperties() 419 bool isReadOnly = false; in Open() local 444 errCode = DecideReadOnlyBaseOnSchema(kvDBProp, isReadOnly, savedSchemaObj); in Open() 451 UpdateSecProperties(MyProp(), isReadOnly, savedSchemaObj, storageEngine_); in Open() 464 isReadOnly_ = isReadOnly; in Open() 1693 …SingleVerNaturalStore::DecideReadOnlyBaseOnSchema(const KvDBProperties &kvDBProp, bool &isReadOnly, in DecideReadOnlyBaseOnSchema() argument 1698 isReadOnly = false; in DecideReadOnlyBaseOnSchema() 1709 isReadOnly = true; in DecideReadOnlyBaseOnSchema() 1714 isReadOnly = false; in DecideReadOnlyBaseOnSchema()
|
H A D | sqlite_multi_ver_transaction.h | 41 …int Initialize(const std::string &uri, bool isReadOnly, CipherType type, const CipherPassword &pas…
|
H A D | sqlite_single_ver_natural_store.h | 262 int DecideReadOnlyBaseOnSchema(const KvDBProperties &kvDBProp, bool &isReadOnly,
|
H A D | sqlite_multi_ver_transaction.cpp | 141 bool isReadOnly, CipherType type, const CipherPassword &passwd) in Initialize() argument 155 isReadOnly_ = isReadOnly; in Initialize()
|
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/src/ |
H A D | hiview_log_config_manager.cpp | 96 configInfoPtr->isReadOnly = jsonRoot[type][READ_ONLY_KEY].asBool(); in GetLogConfigFromFile()
|
H A D | hiview_service_ability.cpp | 214 if (isMove && configInfoPtr->isReadOnly) { in CopyOrMoveFile() 246 if (configInfoPtr->isReadOnly) { in Remove()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/ |
H A D | napi_rdb_js_utils.h | 58 bool isReadOnly = false; member
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_js_utils.cpp | 373 GetNamedProperty(env, jsValue, "isReadOnly", rdbConfig.isReadOnly, true); in Convert2Value() 505 rdbStoreConfig.SetReadOnly(rdbConfig.isReadOnly); in GetRdbStoreConfig()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | kvdb_manager.cpp | 395 bool isReadOnly = property.GetBoolProp(KvDBProperties::READ_ONLY_MODE, false); in CreateDataBase() local 397 databaseType == KvDBProperties::SINGLE_VER_TYPE_RD_KERNAL && isReadOnly) { in CreateDataBase()
|
/ohos5.0/docs/zh-cn/application-dev/database/ |
H A D | data-persistence-by-rdb-store.md | 82 …isReadOnly: false // 可选参数,指定数据库是否以只读方式打开。该参数默认为false,表示数据库可读可写。该参数为true时,只允许从数据库读取数据,不允许对数据库进行写操作,…
|
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | file_asset_napi.cpp | 3087 unique_ptr<FileAssetAsyncContext> &context, bool isReadOnly) in ParseArgsUserFileMgrOpen() argument 3089 if (!isReadOnly && !MediaLibraryNapiUtils::IsSystemApp()) { in ParseArgsUserFileMgrOpen() 3096 if (!isReadOnly) { in ParseArgsUserFileMgrOpen() 3106 if (isReadOnly) { in ParseArgsUserFileMgrOpen() 3643 unique_ptr<FileAssetAsyncContext> &context, bool isReadOnly) in ParseArgsPhotoAccessHelperOpen() argument 3645 if (!isReadOnly && !MediaLibraryNapiUtils::IsSystemApp()) { in ParseArgsPhotoAccessHelperOpen() 3651 if (!isReadOnly) { in ParseArgsPhotoAccessHelperOpen() 3661 if (isReadOnly) { in ParseArgsPhotoAccessHelperOpen()
|
/ohos5.0/docs/en/application-dev/database/ |
H A D | data-persistence-by-rdb-store.md | 77 …isReadOnly: false // (Optional) Specify whether the RDB store is opened in read-only mode. The def…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-relationalStore.md | 566 | isReadOnly<sup>12+</sup> | boolean | 否 | 指定数据库是否只读,默认为数据库可读写。<br/>true:只允许从数据库读取数据,不允许对数据库进行写操作,否…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-relationalStore.md | 561 | isReadOnly<sup>12+</sup> | boolean | No| Whether the RDB store is read-only. The default value is…
|