Searched refs:UsbRightDataBase (Results 1 – 4 of 4) sorted by relevance
24 std::shared_ptr<UsbRightDataBase> UsbRightDataBase::instance_ = nullptr;26 UsbRightDataBase::UsbRightDataBase() in UsbRightDataBase() function in OHOS::USB::UsbRightDataBase41 std::shared_ptr<UsbRightDataBase> UsbRightDataBase::GetInstance() in GetInstance()45 instance_.reset(new UsbRightDataBase()); in GetInstance()51 int32_t UsbRightDataBase::BeginTransaction() in BeginTransaction()65 int32_t UsbRightDataBase::Commit() in Commit()79 int32_t UsbRightDataBase::RollBack() in RollBack()93 int64_t UsbRightDataBase::Insert(const OHOS::NativeRdb::ValuesBucket &insertValues) in Insert()109 int32_t UsbRightDataBase::Update( in Update()124 int32_t UsbRightDataBase::Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, in Update()[all …]
33 rightDatabase_ = UsbRightDataBase::GetInstance(); in UsbRightDbHelper()
50 class UsbRightDataBase {52 static std::shared_ptr<UsbRightDataBase> GetInstance();71 UsbRightDataBase();72 DISALLOW_COPY_AND_MOVE(UsbRightDataBase);74 static std::shared_ptr<UsbRightDataBase> instance_;
132 std::shared_ptr<UsbRightDataBase> rightDatabase_;