Home
last modified time | relevance | path

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

/ohos5.0/base/usb/usb_manager/services/native/src/
H A 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()
109 int32_t UsbRightDataBase::Update( in Update()
154 int32_t UsbRightDataBase::Delete( in Delete()
183 std::shared_ptr<OHOS::NativeRdb::ResultSet> UsbRightDataBase::QuerySql( in QuerySql()
[all …]
H A Dusb_right_db_helper.cpp33 rightDatabase_ = UsbRightDataBase::GetInstance(); in UsbRightDbHelper()
/ohos5.0/base/usb/usb_manager/services/native/include/
H A Dusb_right_database.h51 class UsbRightDataBase {
53 static std::shared_ptr<UsbRightDataBase> GetInstance();
72 UsbRightDataBase();
73 DISALLOW_COPY_AND_MOVE(UsbRightDataBase);
75 static std::shared_ptr<UsbRightDataBase> instance_;
H A Dusb_right_db_helper.h131 std::shared_ptr<UsbRightDataBase> rightDatabase_;