/base/useriam/user_auth_framework/frameworks/native/client/src/ |
D | executor_callback_service.cpp | 28 : callback_(impl) in ExecutorCallbackService() 36 if (callback_ == nullptr) { in OnMessengerReady() 45 callback_->OnMessengerReady(wrapper, publicKey, templateIdList); in OnMessengerReady() 52 if (callback_ == nullptr) { in OnBeginExecute() 56 return callback_->OnBeginExecute(scheduleId, publicKey, command); in OnBeginExecute() 62 if (callback_ == nullptr) { in OnEndExecute() 66 return callback_->OnEndExecute(scheduleId, command); in OnEndExecute() 72 if (callback_ == nullptr) { in OnSetProperty() 76 return callback_->OnSetProperty(properties); in OnSetProperty() 82 if (callback_ == nullptr) { in OnGetProperty() [all …]
|
/base/account/os_account/frameworks/domain_account/test/moduletest/src/ |
D | mock_domain_has_domain_info_callback.cpp | 28 : callback_(callback) in TestHasDomainInfoCallback() 36 if (callback_ == nullptr) { in OnResult() 40 callback_->OnResult(errCode, hasDomainInfo_); in OnResult() 46 : callback_(callback) in TestGetDomainAccountInfoCallback() 54 if (callback_ == nullptr) { in OnResult() 57 callback_->OnResult(errCode, parcel); in OnResult()
|
D | mock_domain_auth_callback.cpp | 28 : callback_(callback) in TestDomainAuthCallback() 37 if (callback_ == nullptr) { in OnResult() 46 callback_->OnResult(errCode, emptyResult); in OnResult() 51 callback_->OnResult(resultCode, result); in OnResult()
|
D | mock_domain_get_access_token_callback.cpp | 26 : callback_(callback) in TestGetAccessTokenCallback() 34 if (callback_ == nullptr) { in OnResult() 37 callback_->OnResult(errCode, accessToken); in OnResult()
|
D | mock_domain_auth_callback_for_listener.cpp | 25 : callback_(callback) in TestDomainAuthCallbackForListener() 34 if (callback_ == nullptr) { in OnResult() 38 callback_->OnResult(resultCode, result); in OnResult()
|
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
D | ril_test_util.cpp | 81 callback_ = new RilCallbackTest(); in Init() 82 rilInterface_->SetCallback(callback_); in Init() 92 if (callback_ == nullptr) { in WaitForInner() 96 callback_->WaitFor(WAIT_TIME_SECOND); in WaitForInner() 101 if (callback_ == nullptr) { in GetBoolResultInner() 105 return callback_->GetBoolResult(hdiId_); in GetBoolResultInner() 110 if (callback_ == nullptr) { in GetSerialIdInner() 114 return callback_->GetSerialId(); in GetSerialIdInner() 143 if (callback_ == nullptr) { in IsReadyInner() 147 return callback_->IsReady(slotId); in IsReadyInner() [all …]
|
/base/powermgr/display_manager/service/native/src/ |
D | gradual_animator.cpp | 29 : name_(name), callback_(callback) in GradualAnimator() 48 if (callback_ == nullptr) { in StartAnimation() 79 if (callback_ == nullptr) { in StopAnimation() 83 callback_->OnEnd(); in StopAnimation() 103 if (callback_ == nullptr) { in NextStep() 109 callback_->OnStart(); in NextStep() 116 callback_->OnChanged(currentBrightness_); in NextStep() 117 callback_->OnEnd(); in NextStep() 122 callback_->OnChanged(currentBrightness_); in NextStep() 128 callback_->OnChanged(currentBrightness_); in NextStep() [all …]
|
/base/notification/distributed_notification_service/services/distributed/src/ |
D | distributed_database_callback.cpp | 22 …atabaseCallback::DistributedDatabaseCallback(const IDatabaseChange &callback) : callback_(callback) in DistributedDatabaseCallback() 32 if (callback_.OnInsert) { in OnChange() 36 …callback_.OnInsert(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange() 40 if (callback_.OnUpdate) { in OnChange() 44 …callback_.OnUpdate(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange() 48 if (callback_.OnDelete) { in OnChange() 52 …callback_.OnDelete(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange()
|
D | distributed_device_callback.cpp | 22 DistributedDeviceCallback::DistributedDeviceCallback(const IDeviceChange &callback) : callback_(cal… in DistributedDeviceCallback() 30 if (callback_.OnConnected) { in OnDeviceOnline() 32 callback_.OnConnected(deviceInfo.deviceId); in OnDeviceOnline() 39 if (callback_.OnConnected) { in OnDeviceOffline() 41 callback_.OnDisconnected(deviceInfo.deviceId); in OnDeviceOffline()
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | remote_death_recipient.h | 33 callback_ = callback; in RemoteDeathRecipient() 41 callback_ = nullptr; in ~RemoteDeathRecipient() 50 if (callback_ != nullptr) { in OnRemoteDied() 51 callback_(object); in OnRemoteDied() 56 std::function<void(const wptr<IRemoteObject> &)> callback_;
|
D | distributed_kvstore_death_recipient.h | 34 callback_ = callback; in DistributedKvStoreDeathRecipient() 48 if (callback_ != nullptr) { in OnRemoteDied() 49 callback_(); in OnRemoteDied() 54 std::function<void()> callback_;
|
D | system_event_subscriber.h | 35 : EventFwk::CommonEventSubscriber(subscribeInfo), callback_(callback) in SystemEventSubscriber() 51 if (callback_ != nullptr) { in OnReceiveEvent() 52 callback_(data); in OnReceiveEvent() 57 std::function<void(const EventFwk::CommonEventData &)> callback_;
|
/base/account/os_account/frameworks/account_iam/src/ |
D | account_iam_callback_service.cpp | 26 : userId_(userId), callback_(callback) in IDMCallbackService() 31 if (callback_ == nullptr) { in OnAcquireInfo() 35 callback_->OnAcquireInfo(module, acquireInfo, extraInfo); in OnAcquireInfo() 40 if (callback_ == nullptr) { in OnResult() 44 callback_->OnResult(result, extraInfo); in OnResult() 49 : callback_(callback) in GetCredInfoCallbackService() 54 if (callback_ == nullptr) { in OnCredentialInfo() 58 callback_->OnCredentialInfo(ERR_OK, infoList); in OnCredentialInfo() 62 : callback_(callback) in GetSetPropCallbackService() 67 if (callback_ == nullptr) { in OnResult() [all …]
|
/base/web/webview/ohos_nweb/include/ |
D | nweb_save_cookie_callback.h | 29 if (callback_) { in OnReceiveValue() 30 callback_(result); in OnReceiveValue() 35 callback_ = callback; in SetCallBack() 39 std::function<void(bool)> callback_;
|
D | nweb_store_web_archive_callback.h | 29 if (callback_) { in OnReceiveValue() 30 callback_(result); in OnReceiveValue() 35 callback_ = callback; in SetCallBack() 39 std::function<void(std::string)> callback_;
|
/base/telephony/sms_mms/services/mms/ |
D | mms_network_manager.cpp | 46 callback_ = new (std::nothrow) MmsConnCallbackStub(); in AcquireNetwork() 47 if (callback_ == nullptr) { in AcquireNetwork() 52 …NetConnClient::GetInstance().RegisterNetConnCallback(specifier, callback_, NET_REGISTER_TIMEOUT_MS… in AcquireNetwork() 60 if (callback_ != nullptr) { in ReleaseNetwork() 62 NetConnClient ::GetInstance().UnregisterNetConnCallback(callback_); in ReleaseNetwork() 63 callback_ = nullptr; in ReleaseNetwork()
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_common_event_subscriber.cpp | 25 : CommonEventSubscriber(subscribeInfo), callback_(callback) in AppAccountCommonEventSubscriber() 30 if (callback_ != nullptr) { in OnReceiveEvent() 31 callback_(data); in OnReceiveEvent()
|
/base/update/updater/services/flashd/daemon/ |
D | commander.cpp | 26 callback_(type, UpdaterState::SUCCESS, "[Success] " + msg); in NotifySuccess() 34 callback_(type, UpdaterState::FAIL, " " + msg); in NotifyFail() 58 callback_(type, UpdaterState::DOING, std::to_string(currentProcess)); in UpdateProgress() 63 if (callback_ == nullptr) { in IsCallbackVaild()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/ |
D | user_auth_widget_mgr_v10.cpp | 35 UserAuthWidgetMgr::UserAuthWidgetMgr(napi_env env) : callback_(Common::MakeShared<UserAuthWidgetCal… in UserAuthWidgetMgr() 37 if (callback_ == nullptr) { in UserAuthWidgetMgr() 46 if (callback_ == nullptr) { in Init() 75 int32_t result = UserAuthClientImpl::Instance().SetWidgetCallback(version_, callback_); in Init() 98 if (callback_ == nullptr) { in On() 128 if (callback_->HasCommandCallback()) { in On() 132 callback_->SetCommandCallback(callbackRef); in On() 142 if (callback_ == nullptr) { in Off() 176 if (!callback_->HasCommandCallback()) { in Off() 180 callback_->ClearCommandCallback(); in Off()
|
/base/account/os_account/services/accountmgr/src/ |
D | account_event_subscribe.cpp | 33 : CommonEventSubscriber(subscribeInfo), callback_(callback) in AccountEventSubscriberCallback() 42 callback_.OnPackageRemoved(uid); in OnReceiveEvent() 46 …ubscriber::AccountEventSubscriber(const AccountCommonEventCallback &callback) : callback_(callback) in AccountEventSubscriber() 51 subscriber_ = std::make_shared<AccountEventSubscriberCallback>(subscribeInfo, callback_); in AccountEventSubscriber()
|
/base/account/os_account/frameworks/domain_account/src/ |
D | domain_account_callback_service.cpp | 27 : callback_(callback) in DomainAccountCallbackService() 38 if (callback_ != nullptr) { in OnResult() 39 callback_(errCode, parcel); in OnResult()
|
/base/useriam/user_auth_framework/services/core/src/ |
D | resource_node_impl.cpp | 59 std::shared_ptr<ExecutorCallbackInterface> callback_; member in OHOS::UserIam::UserAuth::ResourceNodeImpl 66 callback_(std::move(callback)) in ResourceNodeImpl() 138 if (callback_ != nullptr) { in BeginExecute() 139 return callback_->OnBeginExecute(scheduleId, publicKey, command); in BeginExecute() 147 if (callback_ != nullptr) { in EndExecute() 148 return callback_->OnEndExecute(scheduleId, command); in EndExecute() 156 if (callback_ != nullptr) { in SetProperty() 157 return callback_->OnSetProperty(properties); in SetProperty() 165 if (callback_ != nullptr) { in GetProperty() 166 return callback_->OnGetProperty(condition, values); in GetProperty()
|
/base/inputmethod/imf/frameworks/js/napi/common/ |
D | js_callback_object.cpp | 26 napi_create_reference(env, callback, 1, &callback_); in JSCallbackObject() 31 if (callback_ != nullptr) { in ~JSCallbackObject() 33 napi_delete_reference(env_, callback_); in ~JSCallbackObject() 46 napi_delete_reference(jsObject->env_, jsObject->callback_); in ~JSCallbackObject()
|
/base/msdp/device_status/libs/test/unittest/src/ |
D | device_status_mock_test.cpp | 136 …std::shared_ptr<DeviceStatusMsdpClientImpl> callback_ = std::make_shared<DeviceStatusMsdpClientImp… variable 137 EXPECT_TRUE(g_testMock->RegisterCallback(callback_) == ERR_OK); 150 …std::shared_ptr<DeviceStatusMsdpClientImpl> callback_ = std::make_shared<DeviceStatusMsdpClientImp… variable 151 EXPECT_TRUE(g_testMock->RegisterCallback(callback_) == ERR_OK); 166 …std::shared_ptr<DeviceStatusMsdpClientImpl> callback_ = std::make_shared<DeviceStatusMsdpClientImp… variable 167 EXPECT_TRUE(g_testMock->RegisterCallback(callback_) == ERR_OK); 182 …std::shared_ptr<DeviceStatusMsdpClientImpl> callback_ = std::make_shared<DeviceStatusMsdpClientImp… variable 183 EXPECT_TRUE(g_testMock->RegisterCallback(callback_) == ERR_OK); 198 …std::shared_ptr<DeviceStatusMsdpClientImpl> callback_ = std::make_shared<DeviceStatusMsdpClientImp… variable 199 EXPECT_TRUE(g_testMock->RegisterCallback(callback_) == ERR_OK); [all …]
|
/base/powermgr/battery_manager/services/native/include/ |
D | hdi_service_status_listener.h | 30 explicit HdiServiceStatusListener(StatusCallback callback) : callback_(std::move(callback)) {} in HdiServiceStatusListener() 34 callback_(status); in OnReceive() 37 StatusCallback callback_;
|