Home
last modified time | relevance | path

Searched refs:callBack (Results 1 – 25 of 28) sorted by relevance

12

/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/dnsdatabaseonupgrade_fuzzer/
Ddnsdatabaseonupgrade_fuzzer.cpp33 DnsDataBaseRdbOpenCallBack callBack; in DoSomethingInterestingWithMyAPI() local
34 auto rdbStore = NativeRdb::RdbHelper::GetRdbStore(config, 1, callBack, errorCode); in DoSomethingInterestingWithMyAPI()
37 callBack.OnUpgrade(*(rdbStore.get()), currentVersion, targetVersion); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/pmsdatabaseonupgrade_fuzzer/
Dpmsdatabaseonupgrade_fuzzer.cpp33 PermissionDataBaseRdbOpenCallBack callBack; in DoSomethingInterestingWithMyAPI() local
34 auto rdbStore = NativeRdb::RdbHelper::GetRdbStore(config, 1, callBack, errorCode); in DoSomethingInterestingWithMyAPI()
37 callBack.OnUpgrade(*(rdbStore.get()), currentVersion, targetVersion); in DoSomethingInterestingWithMyAPI()
/base/security/device_auth/frameworks/deviceauth_lite/unittest/
Ddeviceauth_test.cpp102 struct hc_call_back callBack = { variable
109 hc_handle server = get_instance(&g_serverIdentity, HC_ACCESSORY, &callBack);
119 struct hc_call_back callBack = { variable
126 hc_handle server = get_instance(&g_serverIdentity, HC_ACCESSORY, &callBack);
138 struct hc_call_back callBack = { variable
145 hc_handle server = get_instance(&g_serverIdentity, HC_ACCESSORY, &callBack);
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/databaseoncreate_fuzzer/
Ddatabaseoncreate_fuzzer.cpp44 DataBaseRdbOpenCallBack callBack; in DoSomethingInterestingWithMyAPI() local
45 auto rdbStore = NativeRdb::RdbHelper::GetRdbStore(config, 1, callBack, errorCode); in DoSomethingInterestingWithMyAPI()
46 callBack.OnCreate(*(rdbStore.get())); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/dnsdatabaseoncreate_fuzzer/
Ddnsdatabaseoncreate_fuzzer.cpp44 DnsDataBaseRdbOpenCallBack callBack; in DoSomethingInterestingWithMyAPI() local
45 auto rdbStore = NativeRdb::RdbHelper::GetRdbStore(config, 1, callBack, errorCode); in DoSomethingInterestingWithMyAPI()
46 callBack.OnCreate(*(rdbStore.get())); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/pmsdatabaseoncreate_fuzzer/
Dpmsdatabaseoncreate_fuzzer.cpp44 PermissionDataBaseRdbOpenCallBack callBack; in DoSomethingInterestingWithMyAPI() local
45 auto rdbStore = NativeRdb::RdbHelper::GetRdbStore(config, 1, callBack, errorCode); in DoSomethingInterestingWithMyAPI()
46 callBack.OnCreate(*(rdbStore.get())); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/dnscreatedatabase_fuzzer/
Ddnscreatedatabase_fuzzer.cpp33 DnsDataBaseRdbOpenCallBack callBack; in DoSomethingInterestingWithMyAPI() local
35 dataBase.CreateDataBase(dataBeseName, callBack); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/pmscreatedatabase_fuzzer/
Dpmscreatedatabase_fuzzer.cpp33 PermissionDataBaseRdbOpenCallBack callBack; in DoSomethingInterestingWithMyAPI() local
35 dataBase.CreateDataBase(dataBeseName, callBack); in DoSomethingInterestingWithMyAPI()
/base/time/time_service/test/unittest/service_test/include/
Dtimer_info_test.h44 void SetCallbackInfo(const std::function<void()> &callBack);
68 void TimerInfoTest::SetCallbackInfo(const std::function<void()> &callBack) in SetCallbackInfo() argument
70 callBack_ = callBack; in SetCallbackInfo()
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/
Dmedical_data_channel.cpp52 int32_t MedicalSensorDataChannel::CreateSensorDataChannel(DataChannelCB callBack, void *data) in CreateSensorDataChannel() argument
54 if (callBack == nullptr) { in CreateSensorDataChannel()
58 dataCB_ = callBack; in CreateSensorDataChannel()
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_data_channel.cpp32 int32_t SensorDataChannel::CreateSensorDataChannel(DataChannelCB callBack, void *data) in CreateSensorDataChannel() argument
34 CHKPR(callBack, SENSOR_NATIVE_REGSITER_CB_ERR); in CreateSensorDataChannel()
35 dataCB_ = callBack; in CreateSensorDataChannel()
/base/web/webview/test/unittest/ohos_adapter/dns_data_base_adapter_test/
Ddns_data_base_adapter_test.cpp239 DnsDataBaseRdbOpenCallBack callBack; variable
240 auto rdbStore = RdbHelper::GetRdbStore(config, 1, callBack, errorCode);
244 callBack.OnCreate(*(rdbStore.get()));
245 callBack.OnUpgrade(*(rdbStore.get()), 1, 1);
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/src/
Dohos_web_dns_data_base_adapter_impl.cpp60 DnsDataBaseRdbOpenCallBack callBack; in GetInstance() local
61 instance.rdbStore_ = instance.CreateDataBase(WEB_DNS_DATABASE_FILE, callBack); in GetInstance()
67 const std::string& dataBeseName, OHOS::NativeRdb::RdbOpenCallback& callBack) in CreateDataBase() argument
97 rdbStore = RdbHelper::GetRdbStore(config, RDB_VERSION, callBack, errCode); in CreateDataBase()
Dohos_web_permission_data_base_adapter_impl.cpp66 const std::string& dataBeseName, OHOS::NativeRdb::RdbOpenCallback& callBack) in CreateDataBase() argument
96 rdbStore = RdbHelper::GetRdbStore(config, RDB_VERSION, callBack, errCode); in CreateDataBase()
103 PermissionDataBaseRdbOpenCallBack callBack; in OhosWebPermissionDataBaseAdapterImpl() local
104 …re_ = OhosWebPermissionDataBaseAdapterImpl::CreateDataBase(WEB_PERMISSION_DATABASE_FILE, callBack); in OhosWebPermissionDataBaseAdapterImpl()
/base/web/webview/test/unittest/ohos_adapter/web_data_base_adapter_impl_test/
Dweb_data_base_adapter_impl_test.cpp204 DataBaseRdbOpenCallBack callBack; variable
205 auto rdbStore = RdbHelper::GetRdbStore(config, 1, callBack, errorCode);
209 callBack.OnCreate(*(rdbStore.get()));
210 callBack.OnUpgrade(*(rdbStore.get()), 1, 1);
/base/update/sys_installer/frameworks/action_processer/src/
Daction_processer.cpp43 auto callBack = [this](InstallerErrCode errCode, const std::string &errStr) { in AddAction() local
46 action->SetCallback(callBack); in AddAction()
/base/powermgr/thermal_manager/services/native/src/thermal_action/
Dthermal_timer.cpp41 void ThermalTimerInfo::SetCallbackInfo(const TimerInfoCallback &callBack) in SetCallbackInfo() argument
43 callback_ = callBack; in SetCallbackInfo()
/base/web/webview/test/unittest/ohos_adapter/permission_data_base_adapter_test/
Dpermission_data_base_adapter_test.cpp287 PermissionDataBaseRdbOpenCallBack callBack; variable
288 auto rdbStore = RdbHelper::GetRdbStore(config, 1, callBack, errorCode);
292 callBack.OnCreate(*(rdbStore.get()));
293 callBack.OnUpgrade(*(rdbStore.get()), 1, 1);
/base/sensors/medical_sensor/frameworks/native/medical_sensor/include/
Dmedical_sensor_data_channel.h33 int32_t CreateSensorDataChannel(DataChannelCB callBack, void *data);
/base/sensors/sensor/frameworks/native/sensor/include/
Dsensor_data_channel.h37 int32_t CreateSensorDataChannel(DataChannelCB callBack, void *data);
/base/web/webview/test/unittest/audio_adapter_impl_test/
Daudio_adapter_impl_test.cpp579 auto callBack = std::make_shared<AudioRendererCallbackImpl>(cb); variable
580 EXPECT_NE(callBack, nullptr);
583 callBack->OnInterrupt(interruptEvent);
585 callBack->OnInterrupt(interruptEvent);
587 callBack->OnInterrupt(interruptEvent);
589 callBack->OnInterrupt(interruptEvent);
590 callBack->OnStateChange(RendererState::RENDERER_PAUSED, StateChangeCmdType::CMD_FROM_SYSTEM);
591 callBack->cb_ = nullptr;
592 callBack->OnInterrupt(interruptEvent);
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/include/
Dohos_web_dns_data_base_adapter_impl.h60 … OHOS::NativeRdb::RdbOpenCallback& callBack);
Dohos_web_permission_data_base_adapter_impl.h65 OHOS::NativeRdb::RdbOpenCallback& callBack);
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_common.cpp29 static bool GetCallback(napi_env env, napi_value object, napi_ref *callBack) in GetCallback() argument
43 napi_create_reference(env, object, 1, callBack); in GetCallback()
/base/powermgr/thermal_manager/services/native/include/thermal_action/
Dthermal_timer.h45 void SetCallbackInfo(const TimerInfoCallback &callBack);

12