Home
last modified time | relevance | path

Searched refs:UsbRightDataBase (Results 1 – 4 of 4) sorted by relevance

/base/usb/usb_manager/services/native/src/
Dusb_right_database.cpp24 std::shared_ptr<UsbRightDataBase> UsbRightDataBase::instance_ = nullptr;
26 UsbRightDataBase::UsbRightDataBase() in UsbRightDataBase() function in OHOS::USB::UsbRightDataBase
41 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 …]
Dusb_right_db_helper.cpp33 rightDatabase_ = UsbRightDataBase::GetInstance(); in UsbRightDbHelper()
/base/usb/usb_manager/services/native/include/
Dusb_right_database.h50 class UsbRightDataBase {
52 static std::shared_ptr<UsbRightDataBase> GetInstance();
71 UsbRightDataBase();
72 DISALLOW_COPY_AND_MOVE(UsbRightDataBase);
74 static std::shared_ptr<UsbRightDataBase> instance_;
Dusb_right_db_helper.h132 std::shared_ptr<UsbRightDataBase> rightDatabase_;