| /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/notification/eventhandler/frameworks/emitter/ani/ets/ |
| D | @ohos.events.emitter.ets | 16 import { Callback } from '@ohos.base'; 63 export native function OffStringSync(eventId: string, callback: Callback<EventData>): void; 64 …export native function OffGenericEventSync<T>(eventId: string, callback: Callback<GenericEventData… 66 …export native function OffNumberCallbackSync(eventId: number, callback: Callback<EventData>): void; 67 …export native function OnOrOnceStringSync(eventId: string, once: boolean, callback: Callback<Event… 68 …ction OnOrOnceGenericEventSync<T>(eventId: string, once : boolean, callback: Callback<GenericEvent… 69 …export native function OnOrOnceSync(eventId: number, once: boolean, callback: Callback<EventData>,… 81 export function on(event: InnerEvent, callback: Callback<EventData>): void { 83 OnOrOnceSync(event.eventId, false, callback, "eventData"); 87 export function once(event: InnerEvent, callback: Callback<EventData>): void { [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/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/security/device_auth/services/legacy/group_manager/src/callback_manager/ |
| D | callback_manager.c | 28 DeviceAuthCallback *callback; member 36 static int32_t UpdateCallbackIfExist(const char *appId, const DeviceAuthCallback *callback) in UpdateCallbackIfExist() argument 43 if (memcpy_s(entry->callback, sizeof(DeviceAuthCallback), in UpdateCallbackIfExist() 44 callback, sizeof(DeviceAuthCallback)) != EOK) { in UpdateCallbackIfExist() 46 LOGE("Failed to copy service callback!"); in UpdateCallbackIfExist() 50 LOGI("Successfully updated a callback! [AppId]: %" LOG_PUB "s", appId); in UpdateCallbackIfExist() 58 static int32_t AddCallbackIfNotExist(const char *appId, const DeviceAuthCallback *callback) in AddCallbackIfNotExist() argument 77 …if (memcpy_s(copyCallback, sizeof(DeviceAuthCallback), callback, sizeof(DeviceAuthCallback)) != EO… in AddCallbackIfNotExist() 78 LOGE("Failed to copy service callback!"); in AddCallbackIfNotExist() 85 entry.callback = copyCallback; in AddCallbackIfNotExist() [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/location/interfaces/inner_api/include/ |
| D | locator_impl.h | 84 * @param callback Indicates the callback for reporting the location result. 87 sptr<ILocatorCallback>& callback); 92 * @param callback Indicates the callback for reporting the location result. 94 void StopLocating(sptr<ILocatorCallback>& callback); 106 * @param callback Indicates the callback for reporting the location switch status. 110 bool RegisterSwitchCallback(const sptr<IRemoteObject>& callback, pid_t uid); 115 * @param callback Indicates the callback for reporting the location switch status. 118 bool UnregisterSwitchCallback(const sptr<IRemoteObject>& callback); 123 * @param callback Indicates the callback for reporting the satellite status. 127 bool RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid); [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/notification/eventhandler/frameworks/emitter/base/include/ |
| D | aync_callback_manager.h | 30 * Delete all callback info of given event id. 37 * Get all callback info counts of given event id. 40 * @return Counts of callback info. 45 * Find whether exists valid callback. 48 * @return Returns true if exists valid callback. 53 * Insert callback. 58 * @param callback Event's callback. 59 * @param dataType Data type of callback's parameter. 62 … ani_env *env, InnerEvent::EventId eventId, bool once, ani_ref callback, ani_string dataType); 65 * Delete callback of given event id and callback object. [all …]
|
| D | ani_async_callback_manager.h | 34 ani_ref callback = 0; member 42 … ani_vm* vm, ani_ref callback, std::string dataType, std::shared_ptr<SerializeData> serializeData); 50 * Delete all callback info of given event id. 57 * Get all callback info counts of given event id. 60 * @return Counts of callback info. 65 * Find whether exists valid callback. 68 * @return Returns true if exists valid callback. 73 * Insert callback. 78 * @param callback Event's callback. 79 * @param dataType Data type of callback's parameter. [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/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
| D | input_data_channel_proxy_wrap.cpp | 43 …_t InputDataChannelProxyWrap::InsertText(const std::string &text, const AsyncIpcCallBack &callback) in InsertText() argument 49 return Request(callback, work, callback == nullptr); in InsertText() 52 int32_t InputDataChannelProxyWrap::DeleteForward(int32_t length, const AsyncIpcCallBack &callback) in DeleteForward() argument 58 return Request(callback, work, callback == nullptr); in DeleteForward() 61 int32_t InputDataChannelProxyWrap::DeleteBackward(int32_t length, const AsyncIpcCallBack &callback) in DeleteBackward() argument 67 return Request(callback, work, callback == nullptr); in DeleteBackward() 71 int32_t number, std::string &text, const AsyncIpcCallBack &callback) in GetTextBeforeCursor() argument 78 if (callback == nullptr) { in GetTextBeforeCursor() 81 return Request(callback, work, callback == nullptr, output); in GetTextBeforeCursor() 85 int32_t number, std::string &text, const AsyncIpcCallBack &callback) in GetTextAfterCursor() argument [all …]
|
| /base/notification/eventhandler/frameworks/cj/src/ |
| D | emitter_ffi.cpp | 42 auto callback = CreateCallback(callbackInfo); in CJ_OnWithId() local 43 if (callback == nullptr) { in CJ_OnWithId() 46 return Emitter::On(eventId, callback); in CJ_OnWithId() 51 auto callback = CreateCallback(callbackInfo); in CJ_OnWithStringId() local 52 if (callback == nullptr) { in CJ_OnWithStringId() 55 return Emitter::On(eventId, callback); in CJ_OnWithStringId() 60 auto callback = CreateCallback(callbackInfo); in CJ_OnceWithId() local 61 if (callback == nullptr) { in CJ_OnceWithId() 64 return Emitter::Once(eventId, callback); in CJ_OnceWithId() 69 auto callback = CreateCallback(callbackInfo); in CJ_OnceWithStringId() local [all …]
|
| /base/powermgr/power_manager/services/native/src/suspend/ |
| D | sleep_callback_holder.cpp | 24 void SleepCallbackHolder::AddCallback(const sptr<ISyncSleepCallback>& callback, SleepPriority prior… in AddCallback() argument 29 lowPriorityCallbacks_.insert(callback); in AddCallback() 33 defaultPriorityCallbacks_.insert(callback); in AddCallback() 37 highPriorityCallbacks_.insert(callback); in AddCallback() 44 AddCallbackPidUid(callback); in AddCallback() 47 void SleepCallbackHolder::AddCallbackPidUid(const sptr<ISyncSleepCallback>& callback) in AddCallbackPidUid() argument 51 cachedRegister_.emplace(callback, std::make_pair(pid, uid)); in AddCallbackPidUid() 72 void SleepCallbackHolder::RemoveCallback(const sptr<ISyncSleepCallback>& callback) in RemoveCallback() argument 75 RemoveCallback(lowPriorityCallbacks_, callback); in RemoveCallback() 76 RemoveCallback(defaultPriorityCallbacks_, callback); in RemoveCallback() [all …]
|
| D | suspend_takeover_callback_holder.cpp | 24 const sptr<ITakeOverSuspendCallback>& callback, TakeOverSuspendPriority priority) in AddCallback() argument 29 auto iter = lowPriorityCallbacks_.insert(callback); in AddCallback() 33 auto iter = defaultPriorityCallbacks_.insert(callback); in AddCallback() 37 auto iter = highPriorityCallbacks_.insert(callback); in AddCallback() 43 AddCallbackPidUid(callback); in AddCallback() 46 …id TakeOverSuspendCallbackHolder::AddCallbackPidUid(const sptr<ITakeOverSuspendCallback>& callback) in AddCallbackPidUid() argument 50 cachedRegister_.emplace(callback, std::make_pair(pid, uid)); in AddCallbackPidUid() 73 void TakeOverSuspendCallbackHolder::RemoveCallback(const sptr<ITakeOverSuspendCallback>& callback) in RemoveCallback() argument 76 RemoveCallback(lowPriorityCallbacks_, callback); in RemoveCallback() 77 RemoveCallback(defaultPriorityCallbacks_, callback); in RemoveCallback() [all …]
|
| /base/security/dlp_permission_service/services/dlp_permission/sa/callback/open_dlp_file_callback/ |
| D | open_dlp_file_callback_manager.cpp | 55 int32_t pid, int32_t userId, const std::string& bundleName, const sptr<IRemoteObject>& callback) in AddCallback() argument 57 if (callback == nullptr) { in AddCallback() 64 DLP_LOG_ERROR(LABEL, "callback size has reached limitation"); in AddCallback() 67 callback->AddDeathRecipient(callbackDeathRecipient_); in AddCallback() 77 … [callback](const auto& callbackRecord) { return callbackRecord.callbackObject == callback; }); in AddCallback() 79 DLP_LOG_ERROR(LABEL, "same callback already in %{public}d", pid); in AddCallback() 84 recordInstance.callbackObject = callback; in AddCallback() 88 DLP_LOG_INFO(LABEL, "callback add in %{public}d", pid); in AddCallback() 92 int32_t OpenDlpFileCallbackManager::RemoveCallback(const sptr<IRemoteObject>& callback) in RemoveCallback() argument 95 if (callback == nullptr) { in RemoveCallback() [all …]
|
| /base/useriam/user_auth_framework/test/unittest/services/src/ |
| D | context_factory_test.cpp | 59 sptr<IIamCallback> 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<IIamCallback> callback(nullptr); 76 auto contextCallback = ContextCallback::NewInstance(callback, TRACE_AUTH_USER_ALL); 87 sptr<IIamCallback> 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/account/os_account/services/accountmgr/test/unittest/account_iam/ |
| D | account_iam_service_test.cpp | 190 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable 191 ASSERT_NE(callback, nullptr); 192 auto ret = accountIAMService_->AddCredential(-1, creInfo, callback); 205 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable 206 ASSERT_NE(callback, nullptr); 207 auto ret = accountIAMService_->AddCredential(0, creInfo, callback); 220 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable 221 ASSERT_NE(callback, nullptr); 222 auto ret = accountIAMService_->AddCredential(TEST_NOT_EXIST_ID, creInfo, callback); 235 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable [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/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/powermgr/power_manager/services/native/include/ |
| D | power_mgr_service_ipc_adapter.h | 65 …virtual int32_t RegisterPowerStateCallbackIpc(const sptr<IPowerStateCallback>& callback, bool isSy… 66 …virtual int32_t UnRegisterPowerStateCallbackIpc(const sptr<IPowerStateCallback>& callback) overrid… 69 const sptr<ISyncSleepCallback>& callback, int32_t priorityValue) override; 70 … virtual int32_t UnRegisterSyncSleepCallbackIpc(const sptr<ISyncSleepCallback>& callback) override; 71 …virtual int32_t RegisterSyncHibernateCallbackIpc(const sptr<ISyncHibernateCallback>& callback) ove… 72 …virtual int32_t UnRegisterSyncHibernateCallbackIpc(const sptr<ISyncHibernateCallback>& callback) o… 75 const sptr<ITakeOverSuspendCallback>& callback, int32_t priority) override; 76 …32_t UnRegisterSuspendTakeoverCallbackIpc(const sptr<ITakeOverSuspendCallback>& callback) override; 78 virtual int32_t RegisterPowerModeCallbackIpc(const sptr<IPowerModeCallback>& callback) override; 79 … virtual int32_t UnRegisterPowerModeCallbackIpc(const sptr<IPowerModeCallback>& callback) override; [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/services/context/src/ |
| D | context_factory.cpp | 36 const std::shared_ptr<ContextCallback> &callback, bool needSubscribeAppState) in CreateSimpleAuthContext() argument 38 IF_FALSE_LOGE_AND_RETURN_VAL(callback != nullptr, nullptr); in CreateSimpleAuthContext() 45 … return Common::MakeShared<SimpleAuthContext>(newContextId, auth, callback, needSubscribeAppState); in CreateSimpleAuthContext() 49 const std::shared_ptr<ContextCallback> &callback) in CreateIdentifyContext() argument 51 IF_FALSE_LOGE_AND_RETURN_VAL(callback != nullptr, nullptr); in CreateIdentifyContext() 57 return Common::MakeShared<IdentifyContext>(newContextId, identify, callback); in CreateIdentifyContext() 61 const std::shared_ptr<ContextCallback> &callback, bool needSubscribeAppState) in CreateEnrollContext() argument 63 IF_FALSE_LOGE_AND_RETURN_VAL(callback != nullptr, nullptr); in CreateEnrollContext() 71 return Common::MakeShared<EnrollContext>(newContextId, enroll, callback, needSubscribeAppState); in CreateEnrollContext() 74 …red_ptr<Context> ContextFactory::CreateWidgetAuthContext(std::shared_ptr<ContextCallback> callback) in CreateWidgetAuthContext() argument [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 …]
|
| /base/telephony/core_service/frameworks/native/src/ |
| D | esim_service_client.cpp | 78 sptr<EsimServiceClientCallback> callback = new (std::nothrow) EsimServiceClientCallback(); in GetProxy() local 79 if (callback == nullptr) { in GetProxy() 82 int32_t result = sam->LoadSystemAbility(TELEPHONY_ESIM_SERVICE_SYS_ABILITY_ID, callback); in GetProxy() 90 … [&callback]() { return callback->GetRemoteObject() != nullptr || callback->IsFailed(); }); in GetProxy() 95 auto remote = callback->GetRemoteObject(); in GetProxy() 148 int32_t EsimServiceClient::GetEid(int32_t slotId, const sptr<IEsimServiceCallback> &callback) in GetEid() argument 155 return proxy->GetEid(slotId, callback); in GetEid() 168 int32_t EsimServiceClient::StartOsu(int32_t slotId, const sptr<IEsimServiceCallback> &callback) in StartOsu() argument 175 return proxy->StartOsu(slotId, callback); in StartOsu() 180 bool forceDisableProfile, const sptr<IEsimServiceCallback> &callback) in GetDownloadableProfileMetadata() argument [all …]
|