| /base/location/test/location_geofence/source/ |
| D | location_gnss_geofence_callback_host_test.cpp | 39 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable 41 ASSERT_TRUE(callback != nullptr); 47 …callback->OnRemoteRequest(IGnssGeofenceCallback::RECEIVE_TRANSITION_STATUS_EVENT, dataParcel, repl… 56 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable 58 ASSERT_TRUE(callback != nullptr); 65 …callback->OnRemoteRequest(IGnssGeofenceCallback::REPORT_OPERATION_RESULT_EVENT, dataParcel, reply,… 74 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable 76 ASSERT_TRUE(callback != nullptr); 77 callback->IsRemoteDied(); 86 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable [all …]
|
| /base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/ |
| D | user_idm_interface.h | 56 … * param callback returns all registered credential information of this type for the specific user. 59 const sptr<IdmGetCredInfoCallbackInterface> &callback) = 0; 65 * param callback returns all registered security information for the specific user. 67 …nt32_t GetSecInfo(int32_t userId, const sptr<IdmGetSecureUserInfoCallbackInterface> &callback) = 0; 72 * and get the result / acquire info callback. 77 * param callback get results / acquire info callback. 80 const sptr<IdmCallbackInterface> &callback, bool isUpdate) = 0; 87 * param callback update results / acquire info callback. 90 const sptr<IdmCallbackInterface> &callback) = 0; 100 * enforce delete the user credential information, pass in the callback, [all …]
|
| /base/location/interfaces/inner_api/include/ |
| D | locator_impl.h | 80 * @param callback Indicates the callback for reporting the location result. 83 sptr<ILocatorCallback>& callback); 88 * @param callback Indicates the callback for reporting the location result. 90 void StopLocating(sptr<ILocatorCallback>& callback); 102 * @param callback Indicates the callback for reporting the location switch status. 106 bool RegisterSwitchCallback(const sptr<IRemoteObject>& callback, pid_t uid); 111 * @param callback Indicates the callback for reporting the location switch status. 114 bool UnregisterSwitchCallback(const sptr<IRemoteObject>& callback); 119 * @param callback Indicates the callback for reporting the satellite status. 123 bool RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid); [all …]
|
| D | locator_proxy.h | 49 void RegisterSwitchCallback(const sptr<IRemoteObject> &callback, pid_t uid); 50 void UnregisterSwitchCallback(const sptr<IRemoteObject> &callback); 51 void RegisterGnssStatusCallback(const sptr<IRemoteObject> &callback, pid_t uid); 52 void UnregisterGnssStatusCallback(const sptr<IRemoteObject> &callback); 53 void RegisterNmeaMessageCallback(const sptr<IRemoteObject> &callback, pid_t uid); 54 void UnregisterNmeaMessageCallback(const sptr<IRemoteObject> &callback); 56 sptr<ILocatorCallback>& callback, std::string bundleName, pid_t pid, pid_t uid); 57 int StopLocating(sptr<ILocatorCallback>& callback); 65 sptr<ICachedLocationsCallback>& callback, std::string bundleName); 66 int UnregisterCachedLocationCallback(sptr<ICachedLocationsCallback>& callback); [all …]
|
| /base/sensors/sensor/test/unittest/coverage/ |
| D | report_data_callback_test.cpp | 61 sptr<ReportDataCallback> callback = new (std::nothrow) ReportDataCallback(); variable 62 if (callback->eventsBuf_.circularBuf != nullptr) { 63 delete[] callback->eventsBuf_.circularBuf; 64 callback->eventsBuf_.circularBuf = nullptr; 66 callback->eventsBuf_.circularBuf = nullptr; 67 ret = reportDataCallback.ReportEventCallback(g_sensorData, callback); 76 sptr<ReportDataCallback> callback = new (std::nothrow) ReportDataCallback(); variable 77 callback->eventsBuf_.eventNum = CIRCULAR_BUF_LEN + 1; 78 callback->eventsBuf_.writePosition = 1; 79 int32_t ret = reportDataCallback.ReportEventCallback(g_sensorData, callback); [all …]
|
| /base/security/device_auth/services/legacy/group_manager/src/callback_manager/ |
| D | callback_manager.c | 27 DeviceAuthCallback *callback; member 35 static int32_t UpdateCallbackIfExist(const char *appId, const DeviceAuthCallback *callback) in UpdateCallbackIfExist() argument 42 if (memcpy_s(entry->callback, sizeof(DeviceAuthCallback), in UpdateCallbackIfExist() 43 callback, sizeof(DeviceAuthCallback)) != EOK) { in UpdateCallbackIfExist() 45 LOGE("Failed to copy service callback!"); in UpdateCallbackIfExist() 49 LOGI("Successfully updated a callback! [AppId]: %" LOG_PUB "s", appId); in UpdateCallbackIfExist() 57 static int32_t AddCallbackIfNotExist(const char *appId, const DeviceAuthCallback *callback) in AddCallbackIfNotExist() argument 76 …if (memcpy_s(copyCallback, sizeof(DeviceAuthCallback), callback, sizeof(DeviceAuthCallback)) != EO… in AddCallbackIfNotExist() 77 LOGE("Failed to copy service callback!"); in AddCallbackIfNotExist() 84 entry.callback = copyCallback; in AddCallbackIfNotExist() [all …]
|
| /base/telephony/state_registry/interfaces/kits/js/ |
| D | @ohos.telephony.observer.d.ts | 21 import type { Callback } from './@ohos.base'; 119 * Callback when the network state corresponding to the default sim card is updated. 123 * @param { Callback<NetworkState> } callback - Indicates the callback for 135 function on(type: 'networkStateChange', callback: Callback<NetworkState>): void; 138 * Callback when the network state corresponding to the monitored {@code slotId} is updated. 144 * @param { Callback<NetworkState> } callback - Indicates the callback for getting 156 * Callback when the network state corresponding to the monitored {@code slotId} is updated. 161 * @param { Callback<NetworkState> } callback - Indicates the callback for getting 173 …function on(type: 'networkStateChange', options: ObserverOptions, callback: Callback<NetworkState>… 176 * Cancel callback when the network state is updated. [all …]
|
| /base/powermgr/power_manager/interfaces/inner_api/native/include/shutdown/ |
| D | shutdown_client.h | 40 * Register a callback that takes over a shutdown or reboot. 44 * @param callback Takes over the shutdown or reboot callbacks. 48 …const sptr<ITakeOverShutdownCallback>& callback, ShutdownPriority priority = ShutdownPriority::DEF… 53 * @param callback Registered callback to take over shutdown or reboot. 55 void UnRegisterShutdownCallback(const sptr<ITakeOverShutdownCallback>& callback); 58 * Register the asynchronous shutdown callback interface 62 * @param callback Asynchronous shutdown or reboot callbacks. 66 …const sptr<IAsyncShutdownCallback>& callback, ShutdownPriority priority = ShutdownPriority::DEFAUL… 69 * Unregister the asynchronous shutdown callback interface. 71 * @param callback Registered callback to asynchronous shutdown or reboot. [all …]
|
| /base/account/os_account/frameworks/account_iam/src/ |
| D | account_iam_mgr_proxy.cpp | 104 …int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback, bool isA… in AddOrUpdateCredential() argument 106 if (callback == nullptr) { in AddOrUpdateCredential() 107 ACCOUNT_LOGE("callback is nullptr"); in AddOrUpdateCredential() 113 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential() 118 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential() 124 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential() 129 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential() 132 if (!data.WriteRemoteObject(callback->AsObject())) { in AddOrUpdateCredential() 133 ACCOUNT_LOGE("failed to write callback"); in AddOrUpdateCredential() 134 callback->OnResult(ERR_ACCOUNT_COMMON_WRITE_PARCEL_ERROR, emptyResult); in AddOrUpdateCredential() [all …]
|
| D | account_iam_callback_service.cpp | 25 IDMCallbackService::IDMCallbackService(int32_t userId, const std::shared_ptr<IDMCallback> &callback) in IDMCallbackService() argument 26 : userId_(userId), callback_(callback) in IDMCallbackService() 32 ACCOUNT_LOGE("callback is nullptr"); in OnAcquireInfo() 41 ACCOUNT_LOGE("callback is nullptr"); in OnResult() 50 …foCallbackService::GetCredInfoCallbackService(const std::shared_ptr<GetCredInfoCallback> &callback) in GetCredInfoCallbackService() argument 51 : callback_(callback) in GetCredInfoCallbackService() 57 ACCOUNT_LOGE("callback is nullptr"); in OnCredentialInfo() 63 …PropCallbackService::GetSetPropCallbackService(const std::shared_ptr<GetSetPropCallback> &callback) in GetSetPropCallbackService() argument 64 : callback_(callback) in GetSetPropCallbackService() 70 ACCOUNT_LOGE("callback is nullptr"); in OnResult() [all …]
|
| D | account_iam_client.cpp | 64 …int32_t userId, const CredentialParameters& credInfo, const std::shared_ptr<IDMCallback> &callback) in AddCredential() argument 66 if (callback == nullptr) { in AddCredential() 67 ACCOUNT_LOGE("the callback for adding credential is nullptr"); in AddCredential() 73 callback->OnResult(ERR_ACCOUNT_COMMON_GET_PROXY, emptyResult); in AddCredential() 78 callback->OnResult(ERR_ACCOUNT_COMMON_INVALID_PARAMETER, emptyResult); in AddCredential() 84 sptr<IIDMCallback> wrapper = new (std::nothrow) IDMCallbackService(userId, callback); in AddCredential() 89 …int32_t userId, const CredentialParameters& credInfo, const std::shared_ptr<IDMCallback> &callback) in UpdateCredential() argument 91 if (callback == nullptr) { in UpdateCredential() 92 ACCOUNT_LOGE("the callback for updating credential is nullptr"); in UpdateCredential() 98 callback->OnResult(ERR_ACCOUNT_COMMON_GET_PROXY, emptyResult); in UpdateCredential() [all …]
|
| /base/account/os_account/services/accountmgr/test/unittest/account_iam/ |
| D | account_iam_service_test.cpp | 187 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable 188 ASSERT_NE(callback, nullptr); 189 accountIAMService_->AddCredential(-1, creInfo, callback); 190 EXPECT_EQ(callback->result_, ERR_ACCOUNT_ZIDL_ACCOUNT_SERVICE_ERROR); 202 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable 203 ASSERT_NE(callback, nullptr); 204 accountIAMService_->AddCredential(0, creInfo, callback); 205 EXPECT_EQ(callback->result_, ERR_ACCOUNT_COMMON_ACCOUNT_IS_RESTRICTED); 217 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable 218 ASSERT_NE(callback, nullptr); [all …]
|
| /base/powermgr/power_manager/services/native/src/shutdown/ |
| D | shutdown_callback_holer.cpp | 25 POWER_HILOGW(FEATURE_SHUTDOWN, "object dead, need remove the callback"); in OnRemoteDied() 29 void ShutdownCallbackHolder::AddCallback(const sptr<IRemoteObject>& callback, ShutdownPriority prio… in AddCallback() argument 34 auto iter = lowPriorityCallbacks_.insert(callback); in AddCallback() 36 callback->AddDeathRecipient(this); in AddCallback() 41 auto iter = defaultPriorityCallbacks_.insert(callback); in AddCallback() 43 callback->AddDeathRecipient(this); in AddCallback() 48 auto iter = highPriorityCallbacks_.insert(callback); in AddCallback() 50 callback->AddDeathRecipient(this); in AddCallback() 58 AddCallbackPidUid(callback); in AddCallback() 61 void ShutdownCallbackHolder::AddCallbackPidUid(const sptr<IRemoteObject>& callback) in AddCallbackPidUid() argument [all …]
|
| /base/useriam/user_auth_framework/frameworks/native/client/src/ |
| D | user_idm_client_impl.cpp | 62 const std::shared_ptr<UserIdmClientCallback> &callback) in AddCredential() argument 66 if (!callback) { in AddCredential() 67 IAM_LOGE("user idm client callback is nullptr"); in AddCredential() 74 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential() 78 sptr<IdmCallbackInterface> wrapper(new (std::nothrow) IdmCallbackService(callback)); in AddCredential() 82 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential() 93 const std::shared_ptr<UserIdmClientCallback> &callback) in UpdateCredential() argument 97 if (!callback) { in UpdateCredential() 98 IAM_LOGE("user idm client callback is nullptr"); in UpdateCredential() 107 callback->OnResult(result, extraInfo); in UpdateCredential() [all …]
|
| /base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/ |
| D | ark_web_cookie_manager_impl.cpp | 35 void ArkWebCookieManagerImpl::Store(ArkWebRefPtr<ArkWebBoolValueCallback> callback) in Store() argument 37 if (CHECK_REF_PTR_IS_NULL(callback)) { in Store() 42 nweb_cookie_manager_->Store(std::make_shared<ArkWebBoolValueCallbackWrapper>(callback)); in Store() 52 …const ArkWebString& url, const ArkWebString& value, ArkWebRefPtr<ArkWebBoolValueCallback> callback) in SetCookie() argument 54 if (CHECK_REF_PTR_IS_NULL(callback)) { in SetCookie() 60 std::make_shared<ArkWebBoolValueCallbackWrapper>(callback)); in SetCookie() 68 void ArkWebCookieManagerImpl::ExistCookies(ArkWebRefPtr<ArkWebBoolValueCallback> callback) in ExistCookies() argument 70 if (CHECK_REF_PTR_IS_NULL(callback)) { in ExistCookies() 75 nweb_cookie_manager_->ExistCookies(std::make_shared<ArkWebBoolValueCallbackWrapper>(callback)); in ExistCookies() 84 …anagerImpl::ReturnCookie(const ArkWebString& url, ArkWebRefPtr<ArkWebStringValueCallback> callback) in ReturnCookie() argument [all …]
|
| /base/account/os_account/services/accountmgr/src/domain_account/ |
| D | domain_account_plugin_proxy.cpp | 65 …const std::vector<uint8_t> &authData, const sptr<IDomainAccountCallback> &callback, AuthMode authM… in AuthCommonInterface() argument 76 if ((callback == nullptr) || (!data.WriteRemoteObject(callback->AsObject()))) { in AuthCommonInterface() 77 ACCOUNT_LOGE("failed to write callback"); in AuthCommonInterface() 89 …AccountInfo &info, const std::vector<uint8_t> &token, const sptr<IDomainAccountCallback> &callback) in IsAccountTokenValid() argument 104 if ((callback == nullptr) || (!data.WriteRemoteObject(callback->AsObject()))) { in IsAccountTokenValid() 105 ACCOUNT_LOGE("fail to write callback"); in IsAccountTokenValid() 113 const sptr<IDomainAccountCallback> &callback) in Auth() argument 115 return AuthCommonInterface(info, password, callback, AUTH_WITH_CREDENTIAL_MODE); in Auth() 120 const sptr<IDomainAccountCallback> &callback) in GetAccessToken() argument 135 if ((callback == nullptr) || (!data.WriteRemoteObject(callback->AsObject()))) { in GetAccessToken() [all …]
|
| /base/notification/eventhandler/frameworks/cj/src/ |
| D | emitter_ffi.cpp | 40 auto callback = CreateCallback(callbackInfo); in CJ_OnWithId() local 41 if (callback == nullptr) { in CJ_OnWithId() 44 return Emitter::On(eventId, callback); in CJ_OnWithId() 49 auto callback = CreateCallback(callbackInfo); in CJ_OnWithStringId() local 50 if (callback == nullptr) { in CJ_OnWithStringId() 53 return Emitter::On(eventId, callback); in CJ_OnWithStringId() 58 auto callback = CreateCallback(callbackInfo); in CJ_OnceWithId() local 59 if (callback == nullptr) { in CJ_OnceWithId() 62 return Emitter::Once(eventId, callback); in CJ_OnceWithId() 67 auto callback = CreateCallback(callbackInfo); in CJ_OnceWithStringId() local [all …]
|
| /base/security/dlp_permission_service/services/dlp_permission/sa/callback/open_dlp_file_callback/ |
| D | open_dlp_file_callback_manager.cpp | 62 int32_t pid, int32_t userId, const std::string& bundleName, const sptr<IRemoteObject>& callback) in AddCallback() argument 64 if (callback == nullptr) { in AddCallback() 71 DLP_LOG_ERROR(LABEL, "callback size has reached limitation"); in AddCallback() 74 callback->AddDeathRecipient(callbackDeathRecipient_); in AddCallback() 84 … [callback](const auto& callbackRecord) { return callbackRecord.callbackObject == callback; }); in AddCallback() 86 DLP_LOG_ERROR(LABEL, "same callback already in %{public}d", pid); in AddCallback() 91 recordInstance.callbackObject = callback; in AddCallback() 95 DLP_LOG_INFO(LABEL, "callback add in %{public}d", pid); in AddCallback() 99 int32_t OpenDlpFileCallbackManager::RemoveCallback(const sptr<IRemoteObject>& callback) in RemoveCallback() argument 102 if (callback == nullptr) { in RemoveCallback() [all …]
|
| /base/useriam/user_auth_framework/frameworks/native/ipc/src/ |
| D | user_idm_proxy.cpp | 74 const sptr<IdmGetCredInfoCallbackInterface> &callback) in GetCredentialInfo() argument 76 if (callback == nullptr) { in GetCredentialInfo() 77 IAM_LOGE("callback is nullptr"); in GetCredentialInfo() 95 if (!data.WriteRemoteObject(callback->AsObject())) { in GetCredentialInfo() 96 IAM_LOGE("failed to write callback"); in GetCredentialInfo() 111 …erIdmProxy::GetSecInfo(int32_t userId, const sptr<IdmGetSecureUserInfoCallbackInterface> &callback) in GetSecInfo() argument 113 if (callback == nullptr) { in GetSecInfo() 114 IAM_LOGE("callback is nullptr"); in GetSecInfo() 128 if (!data.WriteRemoteObject(callback->AsObject())) { in GetSecInfo() 129 IAM_LOGE("failed to write callback"); in GetSecInfo() [all …]
|
| /base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
| D | dlp_callback_test.cpp | 64 sptr<DlpTestRemoteObj> callback = new (std::nothrow)IRemoteStub<DlpTestRemoteObj>(); variable 65 EXPECT_TRUE(callback != nullptr); 67 auto proxy = std::make_shared<DlpSandboxChangeCallbackProxy>(callback->AsObject()); 70 EXPECT_EQ(true, (callback != nullptr)); 92 sptr<DlpSandboxChangeCallbackTest> callback = new (std::nothrow) DlpSandboxChangeCallbackTest(); variable 93 EXPECT_TRUE(callback != nullptr); 97 recordInstance.callbackObject_ = callback->AsObject(); 102 res = DlpSandboxChangeCallbackManager::GetInstance().AddCallback(0, callback->AsObject()); 142 sptr<DlpTestRemoteObj> callback = new (std::nothrow)IRemoteStub<DlpTestRemoteObj>(); variable 143 ASSERT_NE(nullptr, callback); [all …]
|
| /base/notification/common_event_service/interfaces/kits/napi/common_event/src/ |
| D | common_event.cpp | 145 napi_value callback = nullptr; in ThreadSafeCallback() local 147 napi_get_reference_value(env, ref, &callback); in ThreadSafeCallback() 152 … napi_call_function(env, undefined, callback, ARGS_TWO_EVENT, &results[PARAM0_EVENT], &resultout); in ThreadSafeCallback() 266 const napi_env &env, const size_t &argc, const napi_value (&argv)[1], napi_ref &callback) in ParseParametersByGetSubscribeInfo() argument 270 // argv[0]:callback in ParseParametersByGetSubscribeInfo() 278 napi_create_reference(env, argv[0], 1, &callback); in ParseParametersByGetSubscribeInfo() 293 napi_ref callback = nullptr; in GetSubscribeInfo() local 294 if (ParseParametersByGetSubscribeInfo(env, argc, argv, callback) == nullptr) { in GetSubscribeInfo() 296 if (callback != nullptr) { in GetSubscribeInfo() 297 napi_delete_reference(env, callback); in GetSubscribeInfo() [all …]
|
| /base/account/os_account/frameworks/domain_account/src/ |
| D | domain_account_plugin_service.cpp | 29 …rCode DomainAccountPluginService::CheckAndInitExecEnv(const sptr<IDomainAccountCallback> &callback, in CheckAndInitExecEnv() argument 36 *callbackClient = new (std::nothrow) DomainAccountCallbackClient(callback); in CheckAndInitExecEnv() 38 ACCOUNT_LOGE("failed to create domain account callback client"); in CheckAndInitExecEnv() 45 …const std::vector<uint8_t> &authData, const sptr<IDomainAccountCallback> &callback, AuthMode authM… in AuthCommonInterface() argument 51 auto callbackClient = std::make_shared<DomainAccountCallbackClient>(callback); in AuthCommonInterface() 78 const sptr<IDomainAccountCallback> &callback) in Auth() argument 80 return AuthCommonInterface(info, password, callback, AUTH_WITH_CREDENTIAL_MODE); in Auth() 84 const DomainAccountInfo &info, const sptr<IDomainAccountCallback> &callback) in AuthWithPopup() argument 86 return AuthCommonInterface(info, {}, callback, AUTH_WITH_POPUP_MODE); in AuthWithPopup() 90 …AccountInfo &info, const std::vector<uint8_t> &token, const sptr<IDomainAccountCallback> &callback) in AuthWithToken() argument [all …]
|
| /base/useriam/user_auth_framework/interfaces/inner_api/ |
| D | user_idm_client.h | 74 * @param callback Callback of add credential result. 77 const std::shared_ptr<UserIdmClientCallback> &callback) = 0; 84 * @param callback Callback of update credential result. 87 const std::shared_ptr<UserIdmClientCallback> &callback) = 0; 105 * @param callback Callback of delete credential result. 108 const std::shared_ptr<UserIdmClientCallback> &callback) = 0; 117 * @param callback Callback of delete user's credential result. 120 const std::shared_ptr<UserIdmClientCallback> &callback) = 0; 129 * @param callback Callback of erase user result. 132 …tual int32_t EraseUser(int32_t userId, const std::shared_ptr<UserIdmClientCallback> &callback) = 0; [all …]
|
| /base/useriam/user_auth_framework/test/unittest/services/src/ |
| D | context_factory_test.cpp | 59 sptr<UserAuthCallbackInterface> callback(new (std::nothrow) MockUserAuthCallback()); 60 ASSERT_NE(callback, nullptr); 61 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_AUTH_USER_ALL); 74 // Error: callback is null 75 sptr<UserAuthCallbackInterface> callback(nullptr); 76 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_AUTH_USER_ALL); 87 sptr<UserAuthCallbackInterface> callback(new (std::nothrow) MockUserAuthCallback()); 88 ASSERT_NE(callback, nullptr); 89 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_IDENTIFY); 102 // Error: callback is null [all …]
|
| /base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
| D | ark_web_cookie_manager_wrapper.cpp | 35 void ArkWebCookieManagerWrapper::Store(std::shared_ptr<OHOS::NWeb::NWebBoolValueCallback> callback) in Store() argument 37 if (CHECK_SHARED_PTR_IS_NULL(callback)) { in Store() 42 ark_web_cookie_manager_->Store(new ArkWebBoolValueCallbackImpl(callback)); in Store() 58 …string& url, const std::string& value, std::shared_ptr<OHOS::NWeb::NWebBoolValueCallback> callback) in SetCookie() argument 63 if (CHECK_SHARED_PTR_IS_NULL(callback)) { in SetCookie() 66 … ark_web_cookie_manager_->SetCookie(stUrl, stValue, new ArkWebBoolValueCallbackImpl(callback)); in SetCookie() 78 …kWebCookieManagerWrapper::ExistCookies(std::shared_ptr<OHOS::NWeb::NWebBoolValueCallback> callback) in ExistCookies() argument 80 if (CHECK_SHARED_PTR_IS_NULL(callback)) { in ExistCookies() 85 ark_web_cookie_manager_->ExistCookies(new ArkWebBoolValueCallbackImpl(callback)); in ExistCookies() 101 const std::string& url, std::shared_ptr<OHOS::NWeb::NWebStringValueCallback> callback) in ReturnCookie() argument [all …]
|