Home
last modified time | relevance | path

Searched refs:OhosWebPermissionDataBaseAdapterImpl (Results 1 – 12 of 12) sorted by relevance

/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/include/
Dohos_web_permission_data_base_adapter_impl.h38 class OhosWebPermissionDataBaseAdapterImpl : public OhosWebPermissionDataBaseAdapter {
40 static OhosWebPermissionDataBaseAdapterImpl& GetInstance();
42 ~OhosWebPermissionDataBaseAdapterImpl() override = default;
58 OhosWebPermissionDataBaseAdapterImpl();
60OhosWebPermissionDataBaseAdapterImpl(const OhosWebPermissionDataBaseAdapterImpl& other) = delete;
62OhosWebPermissionDataBaseAdapterImpl& operator=(const OhosWebPermissionDataBaseAdapterImpl&) = del…
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/src/
Dohos_web_permission_data_base_adapter_impl.cpp58 OhosWebPermissionDataBaseAdapterImpl& OhosWebPermissionDataBaseAdapterImpl::GetInstance() in GetInstance()
61 static OhosWebPermissionDataBaseAdapterImpl instance; in GetInstance()
65 std::shared_ptr<OHOS::NativeRdb::RdbStore> OhosWebPermissionDataBaseAdapterImpl::CreateDataBase( in CreateDataBase()
101 OhosWebPermissionDataBaseAdapterImpl::OhosWebPermissionDataBaseAdapterImpl() in OhosWebPermissionDataBaseAdapterImpl() function in OhosWebPermissionDataBaseAdapterImpl
104 …rdbStore_ = OhosWebPermissionDataBaseAdapterImpl::CreateDataBase(WEB_PERMISSION_DATABASE_FILE, cal… in OhosWebPermissionDataBaseAdapterImpl()
107 std::string OhosWebPermissionDataBaseAdapterImpl::KeyToTableName(const WebPermissionType& key) const in KeyToTableName()
115 bool OhosWebPermissionDataBaseAdapterImpl::ExistPermissionByOrigin(const std::string& origin, in ExistPermissionByOrigin()
138 bool OhosWebPermissionDataBaseAdapterImpl::GetPermissionResultByOrigin(const std::string& origin, in GetPermissionResultByOrigin()
167 void OhosWebPermissionDataBaseAdapterImpl::SetPermissionByOrigin(const std::string& origin, in SetPermissionByOrigin()
188 void OhosWebPermissionDataBaseAdapterImpl::ClearPermissionByOrigin(const std::string& origin, in ClearPermissionByOrigin()
[all …]
/base/web/webview/test/unittest/ohos_adapter/permission_data_base_adapter_test/
Dpermission_data_base_adapter_test.cpp75 auto& dataBase = OhosWebPermissionDataBaseAdapterImpl::GetInstance(); in InitPermissionDataBase()
93 g_dataBaseNull.reset(new OhosWebPermissionDataBaseAdapterImpl()); in SetUpTestCase()
101 g_dataBaseNull.reset(new OhosWebPermissionDataBaseAdapterImpl()); in SetUpTestCase()
128 OhosWebPermissionDataBaseAdapterImpl::GetInstance();
141 auto& dataBase = OhosWebPermissionDataBaseAdapterImpl::GetInstance();
168 auto& dataBase = OhosWebPermissionDataBaseAdapterImpl::GetInstance();
194 auto& dataBase = OhosWebPermissionDataBaseAdapterImpl::GetInstance();
215 auto& dataBase = OhosWebPermissionDataBaseAdapterImpl::GetInstance();
237 auto& dataBase = OhosWebPermissionDataBaseAdapterImpl::GetInstance();
257 auto& dataBase = OhosWebPermissionDataBaseAdapterImpl::GetInstance();
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/keytotablename_fuzzer/
Dkeytotablename_fuzzer.cpp32 OhosWebPermissionDataBaseAdapterImpl dataBase; in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/clearallpermission_fuzzer/
Dclearallpermission_fuzzer.cpp32 OhosWebPermissionDataBaseAdapterImpl::GetInstance().ClearAllPermission(key); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/pmscreatedatabase_fuzzer/
Dpmscreatedatabase_fuzzer.cpp34 OhosWebPermissionDataBaseAdapterImpl dataBase; in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/existpermissionbyorigin_fuzzer/
Dexistpermissionbyorigin_fuzzer.cpp33 OhosWebPermissionDataBaseAdapterImpl::GetInstance().ExistPermissionByOrigin(origin, key); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/clearpermissionbyorigin_fuzzer/
Dclearpermissionbyorigin_fuzzer.cpp33 OhosWebPermissionDataBaseAdapterImpl::GetInstance().ClearPermissionByOrigin(origin, key); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/getpermissionresultbyorigin_fuzzer/
Dgetpermissionresultbyorigin_fuzzer.cpp34OhosWebPermissionDataBaseAdapterImpl::GetInstance().GetPermissionResultByOrigin(origin, key, resul… in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/setpermissionbyorigin_fuzzer/
Dsetpermissionbyorigin_fuzzer.cpp34OhosWebPermissionDataBaseAdapterImpl::GetInstance().SetPermissionByOrigin(origin, key, result); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/getoriginbypermission_fuzzer/
Dgetoriginbypermission_fuzzer.cpp37 OhosWebPermissionDataBaseAdapterImpl::GetInstance().GetOriginsByPermission(key, origins); in DoSomethingInterestingWithMyAPI()
/base/web/webview/ohos_adapter/interfaces/
Dohos_adapter_helper.cpp113 return OhosWebPermissionDataBaseAdapterImpl::GetInstance(); in GetWebPermissionDataBaseInstance()