Home
last modified time | relevance | path

Searched defs:callback (Results 926 - 950 of 2076) sorted by relevance

1...<<31323334353637383940>>...84

/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
H A Dprint_modal_ui_callback.cpp207 napi_value callback = nullptr; in SendMessageBackWork() local
/base/powermgr/display_manager/state_manager/frameworks/native/
H A Ddisplay_power_mgr_client.cpp204 bool DisplayPowerMgrClient::RegisterCallback(sptr<IDisplayPowerCallback> callback) in RegisterCallback() argument
244 SetLightBrightnessThreshold( std::vector<int32_t> threshold, sptr<IDisplayBrightnessCallback> callback) SetLightBrightnessThreshold() argument
/base/powermgr/power_manager/services/native/src/actions/default/display/
H A Ddevice_state_action.cpp262 void DeviceStateAction::RegisterCallback(std::function<void(uint32_t)>& callback) in RegisterCallback() argument
/base/powermgr/power_manager/services/native/src/shutdown/
H A Dshutdown_controller.cpp212 void ShutdownController::AddCallback(const sptr<ITakeOverShutdownCallback>& callback, ShutdownPriority priority) in AddCallback() argument
221 void ShutdownController::AddCallback(const sptr<IAsyncShutdownCallback>& callback, ShutdownPriority priority) in AddCallback() argument
230 AddCallback(const sptr<ISyncShutdownCallback>& callback, ShutdownPriority priority) AddCallback() argument
239 RemoveCallback(const sptr<ITakeOverShutdownCallback>& callback) RemoveCallback() argument
247 RemoveCallback(const sptr<IAsyncShutdownCallback>& callback) RemoveCallback() argument
255 RemoveCallback(const sptr<ISyncShutdownCallback>& callback) RemoveCallback() argument
281 auto callback = iface_cast<ITakeOverShutdownCallback>(obj); TriggerTakeOverShutdownCallbackInner() local
300 sptr<IAsyncShutdownCallback> callback = iface_cast<IAsyncShutdownCallback>(obj); TriggerAsyncShutdownCallbackInner() local
324 sptr<ISyncShutdownCallback> callback = iface_cast<ISyncShutdownCallback>(obj); TriggerSyncShutdownCallbackInner() local
[all...]
/base/powermgr/power_manager/test/fuzztest/power_utils/
H A Dpower_fuzzer.cpp84 virtual void RegisterCallback([[maybe_unused]] std::function<void(uint32_t)>& callback) {}; in RegisterCallback() argument
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
H A Dthermal_observer.cpp84 void ThermalObserver::SetRegisterCallback(Callback& callback) in SetRegisterCallback() argument
106 void ThermalObserver::UnSubscribeThermalTempCallback(const sptr<IThermalTempCallback>& callback) in UnSubscribeThermalTempCallback() argument
89 SubscribeThermalTempCallback(const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback) SubscribeThermalTempCallback() argument
124 SubscribeThermalActionCallback(const std::vector<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) SubscribeThermalActionCallback() argument
145 UnSubscribeThermalActionCallback(const sptr<IThermalActionCallback>& callback) UnSubscribeThermalActionCallback() argument
319 sptr<IThermalTempCallback> callback = iface_cast<IThermalTempCallback>(remote.promote()); OnRemoteDied() local
334 sptr<IThermalActionCallback> callback = iface_cast<IThermalActionCallback>(remote.promote()); OnRemoteDied() local
[all...]
/base/powermgr/thermal_manager/services/zidl/src/
H A Dthermal_srv_stub.cpp104 sptr<IThermalTempCallback> callback = iface_cast<IThermalTempCallback>(obj); in SubscribeThermalTempCallbackStub() local
120 sptr<IThermalTempCallback> callback = iface_cast<IThermalTempCallback>(obj); in UnSubscribeThermalTempCallbackStub() local
131 sptr<IThermalLevelCallback> callback = iface_cast<IThermalLevelCallback>(obj); in SubscribeThermalLevelCallbackStub() local
142 sptr<IThermalLevelCallback> callback in UnSubscribeThermalLevelCallbackStub() local
153 sptr<IThermalActionCallback> callback = iface_cast<IThermalActionCallback>(obj); SubscribeThermalActionCallbackStub() local
174 sptr<IThermalActionCallback> callback = iface_cast<IThermalActionCallback>(obj); UnSubscribeThermalActionCallbackStub() local
[all...]
/base/print/print_fwk/interfaces/kits/napi/scan_napi/src/
H A Dnapi_inner_scan.cpp617 sptr<IScanCallback> callback = new (std::nothrow) ScanCallback(env, callbackRef); in On() local
/base/print/print_fwk/test/unittest/service_test/
H A Dprint_service_stub_test.cpp852 auto callback = std::make_shared<PrintExtensionCallbackStub>(); in HWTEST_F() local
880 auto callback = std::make_shared<DummyPrintServiceStub>(); in HWTEST_F() local
955 auto callback = std::make_shared<DummyPrintServiceStub>(); in HWTEST_F() local
/base/powermgr/display_manager/brightness_manager/test/unittest/src/
H A Dmock_brightness_manager_interface.cpp148 uint32_t SetLightBrightnessThreshold(std::vector<int32_t> threshold, sptr<IDisplayBrightnessCallback> callback) in SetLightBrightnessThreshold() argument
/base/powermgr/display_manager/state_manager/service/zidl/src/
H A Ddisplay_power_mgr_proxy.cpp643 bool DisplayPowerMgrProxy::RegisterCallback(sptr<IDisplayPowerCallback> callback) in RegisterCallback() argument
810 SetLightBrightnessThreshold( std::vector<int32_t> threshold, sptr<IDisplayBrightnessCallback> callback) SetLightBrightnessThreshold() argument
/base/powermgr/thermal_manager/frameworks/napi/
H A Dthermal_manager_napi.cpp115 napi_value callback = nullptr; in OnThermalLevel() local
[all...]
/base/powermgr/thermal_manager/frameworks/native/
H A Dthermal_mgr_client.cpp106 bool ThermalMgrClient::UnSubscribeThermalTempCallback(const sptr<IThermalTempCallback>& callback) in UnSubscribeThermalTempCallback() argument
114 bool ThermalMgrClient::SubscribeThermalLevelCallback(const sptr<IThermalLevelCallback>& callback) in SubscribeThermalLevelCallback() argument
122 bool ThermalMgrClient::UnSubscribeThermalLevelCallback(const sptr<IThermalLevelCallback>& callback) in UnSubscribeThermalLevelCallback() argument
97 SubscribeThermalTempCallback( const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback) SubscribeThermalTempCallback() argument
130 SubscribeThermalActionCallback( const std::vector<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) SubscribeThermalActionCallback() argument
139 UnSubscribeThermalActionCallback(const sptr<IThermalActionCallback>& callback) UnSubscribeThermalActionCallback() argument
[all...]
/base/request/request/frameworks/js/napi/src/legacy/
H A Drequest_manager.cpp226 auto callback = NapiUtils::GetNamedProperty(env, object, "fail"); in CallFailCallback() local
293 auto callback = NapiUtils::GetNamedProperty(env, argv[0], "success"); in OnDownloadComplete() local
300 auto callback = NapiUtils::GetNamedProperty(env, argv[0], "fail"); OnDownloadComplete() local
[all...]
/base/location/test/mock/src/
H A Dmock_service_registry.cpp115 LoadSystemAbility(int32_t systemAbilityId, const sptr<ISystemAbilityLoadCallback>& callback) LoadSystemAbility() argument
134 LoadSystemAbility(int32_t systemAbilityId, const std::string& deviceId, const sptr<ISystemAbilityLoadCallback>& callback) LoadSystemAbility() argument
/base/msdp/device_status/rust/subsystem/device_profile/binding/src/
H A Dfusion_device_profile_adapter.cpp193 RegisterCrossStateListener(const std::string &deviceId, const std::shared_ptr<ProfileEventCallback> &callback) RegisterCrossStateListener() argument
245 SaveSubscribeInfos(const std::string &deviceId, const std::shared_ptr<ProfileEventCallback> &callback, std::list<SubscribeInfo> &subscribeInfos) SaveSubscribeInfos() argument
[all...]
/base/notification/distributed_notification_service/frameworks/js/napi/include/manager/
H A Dnapi_slot.h28 napi_ref callback = nullptr; member
42 napi_ref callback = nullptr; member
55 napi_ref callback = nullptr; member
67 napi_ref callback = nullptr; member
80 napi_ref callback = nullptr; member
100 napi_ref callback = nullptr; member
114 napi_ref callback = nullptr; member
127 napi_ref callback = nullptr; member
148 napi_ref callback = nullptr; member
161 napi_ref callback member
175 napi_ref callback = nullptr; global() member
180 napi_ref callback = nullptr; global() member
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_dialog_manager.cpp88 RequestEnableNotificationDailog( const sptr<NotificationBundleOption>& bundle, const sptr<AnsDialogCallback>& callback, const sptr<IRemoteObject>& callerToken) RequestEnableNotificationDailog() argument
146 AddDialogInfo(const sptr<NotificationBundleOption>& bundle, const sptr<AnsDialogCallback>& callback) AddDialogInfo() argument
155 AddDialogInfoIfNotExist( const sptr<NotificationBundleOption>& bundle, const sptr<AnsDialogCallback>& callback) AddDialogInfoIfNotExist() argument
[all...]
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
H A Dmock_device_manager_impl.cpp65 RegisterDevStateCallback(const std::string &pkgName, const std::string &extra, std::shared_ptr<DeviceStateCallback> callback) RegisterDevStateCallback() argument
76 StartDeviceDiscovery(const std::string &pkgName, const DmSubscribeInfo &subscribeInfo, const std::string &extra, std::shared_ptr<DiscoveryCallback> callback) StartDeviceDiscovery() argument
87 PublishDeviceDiscovery(const std::string &pkgName, const DmPublishInfo &publishInfo, std::shared_ptr<PublishCallback> callback) PublishDeviceDiscovery() argument
98 AuthenticateDevice(const std::string &pkgName, int32_t authType, const DmDeviceInfo &deviceInfo, const std::string &extra, std::shared_ptr<AuthenticateCallback> callback) AuthenticateDevice() argument
110 RegisterDeviceManagerFaCallback(const std::string &pkgName, std::shared_ptr<DeviceManagerUiCallback> callback) RegisterDeviceManagerFaCallback() argument
121 VerifyAuthentication(const std::string &pkgName, const std::string &authPara, std::shared_ptr<VerifyAuthCallback> callback) VerifyAuthentication() argument
175 RegisterCredentialCallback(const std::string &pkgName, std::shared_ptr<CredentialCallback> callback) RegisterCredentialCallback() argument
H A Dmock_single_kv_store.cpp94 Status MockSingleKvStore::RegisterSyncCallback(std::shared_ptr<KvStoreSyncCallback> callback) in RegisterSyncCallback() argument
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_screen_status_manager_branch_test/
H A Dmock_single_kv_store.cpp108 Status MockSingleKvStore::RegisterSyncCallback(std::shared_ptr<KvStoreSyncCallback> callback) in RegisterSyncCallback() argument
/base/notification/eventhandler/interfaces/inner_api/
H A Devent_handler.h433 inline bool PostTask(const Callback &callback, const std::string &name = std::string(), in PostTask() argument
456 SetDeliveryTimeoutCallback(const Callback &callback) SetDeliveryTimeoutCallback() argument
466 SetDistributeTimeoutCallback(const Callback &callback) SetDistributeTimeoutCallback() argument
479 PostTask(const Callback &callback, Priority priority, const Caller &caller = {}) PostTask() argument
493 PostTask(const Callback &callback, int64_t delayTime, Priority priority = Priority::LOW, const Caller &caller = {}) PostTask() argument
507 PostImmediateTask(const Callback &callback, const std::string &name = std::string(), const Caller &caller = {}) PostImmediateTask() argument
522 PostHighPriorityTask(const Callback &callback, const std::string &name = std::string(), int64_t delayTime = 0, const Caller &caller = {}) PostHighPriorityTask() argument
536 PostHighPriorityTask(const Callback &callback, int64_t delayTime, const Caller &caller = {}) PostHighPriorityTask() argument
550 PostIdleTask(const Callback &callback, const std::string &name = std::string(), int64_t delayTime = 0, const Caller &caller = {}) PostIdleTask() argument
564 PostIdleTask(const Callback &callback, int64_t delayTime, const Caller &caller = {}) PostIdleTask() argument
692 PostSyncTask(const Callback &callback, const std::string &name, Priority priority = Priority::LOW, const Caller &caller = {}) PostSyncTask() argument
706 PostSyncTask(const Callback &callback, Priority priority = Priority::LOW, const Caller &caller = {}) PostSyncTask() argument
859 PostTimingTask(const Callback &callback, int64_t taskTime, const std::string &name = std::string(), Priority priority = Priority::LOW, const Caller &caller = {}) PostTimingTask() argument
874 PostTimingTask(const Callback &callback, int64_t taskTime, Priority priority = Priority::LOW, const Caller &caller = {}) PostTimingTask() argument
[all...]
/base/location/test/location_network/source/
H A Dnetwork_ability_test.cpp374 sptr<NetworkCallbackHost> callback = new (std::nothrow) NetworkCallbackHost(); in HWTEST_F() local
389 sptr<NetworkCallbackHost> callback = new (std::nothrow) NetworkCallbackHost(); in HWTEST_F() local
404 sptr<NetworkCallbackHost> callback = new (std::nothrow) NetworkCallbackHost(); in HWTEST_F() local
/base/msdp/device_status/intention/ipc/socket/src/
H A Dsocket_session_manager.cpp311 void SocketSessionManager::AddSessionDeletedCallback(int32_t pid, std::function<void(SocketSessionPtr)> callback) in AddSessionDeletedCallback() argument
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Ddistributed.cpp208 napi_ref callback = nullptr; IsDistributedEnabled() local
551 napi_ref callback = nullptr; GetDeviceRemindType() local
[all...]

Completed in 21 milliseconds

1...<<31323334353637383940>>...84