Home
last modified time | relevance | path

Searched refs:operatePerm_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dgeneric_kvdb.cpp35 operatePerm_(OperatePerm::NORMAL_PERM), in GenericKvDB()
59 if (operatePerm_ == OperatePerm::DISABLE_PERM) { in GetDBConnection()
62 } else if (operatePerm_ == OperatePerm::REKEY_MONOPOLIZE_PERM || in GetDBConnection()
63 operatePerm_ == OperatePerm::IMPORT_MONOPOLIZE_PERM) { in GetDBConnection()
165 if (operatePerm_ != OperatePerm::NORMAL_PERM) { in TryToDisableConnection()
173 operatePerm_ = perm; in TryToDisableConnection()
180 if (perm == operatePerm_) { in ReEnableConnection()
181 operatePerm_ = OperatePerm::NORMAL_PERM; in ReEnableConnection()
224 operatePerm_ = OperatePerm::DISABLE_PERM; in DecreaseConnectionCounter()
H A Dgeneric_kvdb.h193 OperatePerm operatePerm_; variable