Home
last modified time | relevance | path

Searched refs:cFunc (Results 1 - 9 of 9) sorted by relevance

/base/location/frameworks/cj/source/
H A Dlocation_error_callback.cpp29 auto cFunc = reinterpret_cast<void(*)(int32_t errorCode)>(callbackId); in LocationErrorCallback() local
30 callback_ = [ lambda = CJLambda::Create(cFunc)](const int errorCode) -> in LocationErrorCallback()
H A Dlocation_switch_callback.cpp31 auto cFunc = reinterpret_cast<void(*)(int32_t switchState)>(callbackId); in LocationSwitchCallback() local
32 callback_ = [ lambda = CJLambda::Create(cFunc)](int switchState) -> in LocationSwitchCallback()
H A Dnmea_message_callback.cpp31 auto cFunc = reinterpret_cast<void(*)(char* str)>(callbackId); in NmeaMessageCallback() local
32 callback_ = [ lambda = CJLambda::Create(cFunc)](const std::string msg) -> in NmeaMessageCallback()
H A Dgnss_status_callback.cpp31 auto cFunc = reinterpret_cast<void(*)(CJSatelliteStatusInfo info)>(callbackId); in GnssStatusCallback() local
32 callback_ = [ lambda = CJLambda::Create(cFunc)](const std::unique_ptr<Location::SatelliteStatus>& statusInfo) -> in GnssStatusCallback()
H A Dcountry_code_callback.cpp29 auto cFunc = reinterpret_cast<void(*)(CJCountryCode countryCode)>(callbackId); in CountryCodeCallback() local
30 callback_ = [ lambda = CJLambda::Create(cFunc)](const std::shared_ptr<Location::CountryCode>& country) -> in CountryCodeCallback()
H A Dcached_locations_callback.cpp32 auto cFunc = reinterpret_cast<void(*)(CJLocationArr locations)>(callbackId); in CachedLocationsCallback() local
33 callback_ = [ lambda = CJLambda::Create(cFunc)](const std::vector<std::unique_ptr<Location::Location>>& locations) in CachedLocationsCallback()
H A Dlocator_callback.cpp41 auto cFunc = reinterpret_cast<void(*)(CJLocation location)>(callbackId); in LocatorCallback() local
42 callback_ = [ lambda = CJLambda::Create(cFunc)](const std::unique_ptr<Location::Location>& location) -> in LocatorCallback()
/base/security/access_token/interfaces/kits/cj/accesstoken/src/
H A Dat_manager_impl.cpp711 auto cFunc = reinterpret_cast<void(*)(CPermStateChangeInfo)>(callback); in FillPermStateChangeInfo() local
712 registerPermStateChangeInfo.subscriber->SetCallbackRef(CJLambda::Create(cFunc)); in FillPermStateChangeInfo()
/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_ffi.cpp376 auto cFunc = reinterpret_cast<char*(*)(const char*)>(cFuncIds.head[i]); in FfiOHOSWebviewCtlRegisterJavaScriptProxy() local
377 auto onChange = [lambda = CJLambda::Create(cFunc)] in FfiOHOSWebviewCtlRegisterJavaScriptProxy()

Completed in 8 milliseconds