Searched refs:VISITOR (Results 1 – 15 of 15) sorted by relevance
110 if (config.GetRoleType() == VISITOR) { in GetDbPath()117 if (config.GetRoleType() == VISITOR) { in GetDbPath()
96 …auto path = modifyConfig.GetRoleType() == VISITOR ? modifyConfig.GetVisitorDir() : modifyConfig.Ge… in GetRdbStore()
878 path_ = (config.GetRoleType() == VISITOR) ? config.GetVisitorDir() : config.GetPath(); in RdbStoreImpl()879 isReadOnly_ = config.IsReadOnly() || config.GetRoleType() == VISITOR; in RdbStoreImpl()886 isReadOnly_ = config.IsReadOnly() || config.GetRoleType() == VISITOR; in RdbStoreImpl()887 path_ = (config.GetRoleType() == VISITOR) ? config.GetVisitorDir() : config.GetPath(); in RdbStoreImpl()
348 if (config.GetRoleType() == VISITOR) { in Configure()
265 } else if (roleType == KvStoreRoleType::VISITOR) { in GetKvStoreOption()267 options.role = RoleType::VISITOR; in GetKvStoreOption()346 } else if (roleType == KvStoreRoleType::VISITOR) { in InitSingleKvstore()348 options.role = RoleType::VISITOR; in InitSingleKvstore()
49 } else if (roleType == KvStoreRoleType::VISITOR) { in InitKvStore()
154 config.SetRoleType(RoleType::VISITOR); in TryGetRdbStore()
31 VISITOR, enumerator
366 VISITOR, enumerator
200 …errCode = singleVisitorKvStore->InitSingleKvstore(KvStoreRoleType::VISITOR, TEST_MONTH_STOREID, TE…
75 VISITOR, enumerator
145 VISITOR, enumerator
179 dbOption.rdconfig.readOnly = (options.role == VISITOR ? true : false); in GetDBOption()
759 …auto kvStore = MediaLibraryKvStoreManager::GetInstance().GetKvStore(KvStoreRoleType::VISITOR, valu… in GetAstcsByOffset()795 …auto kvStore = MediaLibraryKvStoreManager::GetInstance().GetKvStore(KvStoreRoleType::VISITOR, valu… in GetAstcsBatch()
1062 visitorConfig.SetRoleType(OHOS::NativeRdb::VISITOR);