Home
last modified time | relevance | path

Searched refs:callbackStub (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
H A Dprint_manager_client.cpp725 if (callbackStub != nullptr) { in RegisterExtCallback()
726 callbackStub->SetExtCallback(cb); in RegisterExtCallback()
730 callbackStub = it->second; in RegisterExtCallback()
731 callbackStub->SetExtCallback(cb); in RegisterExtCallback()
756 if (callbackStub != nullptr) { in RegisterExtCallback()
761 callbackStub = it->second; in RegisterExtCallback()
787 if (callbackStub != nullptr) { in RegisterExtCallback()
792 callbackStub = it->second; in RegisterExtCallback()
818 if (callbackStub != nullptr) { in RegisterExtCallback()
823 callbackStub = it->second; in RegisterExtCallback()
[all …]
/ohos5.0/foundation/communication/ipc/services/dbinder/test/unittest/
H A Ddbinder_service_stub_unittest.cpp486 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"testStub"); variable
487 EXPECT_TRUE(callbackStub != nullptr);
489 data.WriteRemoteObject(callbackStub);
507 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"testStub"); variable
508 EXPECT_TRUE(callbackStub != nullptr);
510 data.WriteRemoteObject(callbackStub);
629 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"testStub"); variable
630 EXPECT_TRUE(callbackStub != nullptr);
632 data.WriteRemoteObject(callbackStub);
651 EXPECT_TRUE(callbackStub != nullptr);
[all …]
/ohos5.0/base/location/test/location_locator/source/
H A Dlocation_without_permission_test.cpp108 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable
109 locatorImpl->StartLocating(requestConfig, callbackStub);
110 locatorImpl->StopLocating(callbackStub);
207 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable
209 … EXPECT_EQ(ERRCODE_PERMISSION_DENIED, locatorImpl->StartLocatingV9(requestConfig, callbackStub));
211 EXPECT_EQ(ERRCODE_PERMISSION_DENIED, locatorImpl->StopLocatingV9(callbackStub));
H A Dlocator_service_test.cpp1967 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable
1987 locatorAbility->StartLocating(requestConfig, callbackStub, identity);
1989 locatorAbility->StartLocating(requestConfig, callbackStub, identity);
1994 locatorAbility->StartLocating(requestConfig, callbackStub, identity);
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/child_process/src/
H A Dnative_child_process.cpp91 …sptr<IRemoteObject> callbackStub(new (std::nothrow) NativeChildCallback(OnNativeChildProcessStarte… in OH_Ability_CreateNativeChildProcess() local
92 if (!callbackStub) { in OH_Ability_CreateNativeChildProcess()
98 auto cpmErr = mgr.StartNativeChildProcessByAppSpawnFork(strLibName, callbackStub); in OH_Ability_CreateNativeChildProcess()
104 g_CallbackStub = callbackStub; in OH_Ability_CreateNativeChildProcess()
/ohos5.0/base/request/request/services/src/cxx/
H A Dnetwork.cpp191 sptr<RequestNetCallbackStub> callbackStub = sptr<RequestNetCallbackStub>::MakeSptr( in RegisterNetworkChange() local
193 if (callbackStub == nullptr) { in RegisterNetworkChange()
197 int ret = NetConnClient::GetInstance().RegisterNetConnCallback(callbackStub); in RegisterNetworkChange()
202 return std::make_unique<NetworkRegistry>(callbackStub); in RegisterNetworkChange()
/ohos5.0/base/location/test/fuzztest/locator/locatorbackgroundproxy_fuzzer/
H A Dlocatorbackgroundproxy_fuzzer.cpp63 sptr<ILocatorCallback> callbackStub = in LocatorBackgroundProxyFuzzerTest() local
65 backgroundProxy->IsCallbackInProxy(callbackStub); in LocatorBackgroundProxyFuzzerTest()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_test.cpp1494 ServiceCenterStatusCallback callbackStub(server);
1499 callbackStub.OnRemoteRequest(code, data, reply, option);
1502 callbackStub.OnInstallFinished(installResult);
1575 ServiceCenterStatusCallback callbackStub(server);
1594 ServiceCenterStatusCallback callbackStub(server);
1614 ServiceCenterStatusCallback callbackStub(server);
1665 ServiceCenterStatusCallback callbackStub(server);
1667 auto result = callbackStub.OnInstallFinished(installResult);
1680 ServiceCenterStatusCallback callbackStub(server1);
1682 auto result = callbackStub.OnInstallFinished(installResult);
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_object_proxy.cpp794 …sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"DbinderDeathRecipient" + rem… in AddDbinderDeathRecipient() local
795 if (callbackStub == nullptr) { in AddDbinderDeathRecipient()
800 if (!current->AttachCallbackStub(this, callbackStub)) { in AddDbinderDeathRecipient()
810 data.WriteRemoteObject(callbackStub); in AddDbinderDeathRecipient()
837 sptr<IPCObjectStub> callbackStub = current->DetachCallbackStub(this); in RemoveDbinderDeathRecipient() local
838 if (callbackStub == nullptr) { in RemoveDbinderDeathRecipient()
848 data.WriteRemoteObject(callbackStub); in RemoveDbinderDeathRecipient()
H A Dipc_process_skeleton.cpp1194 … IPCProcessSkeleton::AttachCallbackStub(IPCObjectProxy *ipcProxy, sptr<IPCObjectStub> callbackStub) in AttachCallbackStub() argument
1198 …ult = noticeStub_.insert(std::pair<IPCObjectProxy *, sptr<IPCObjectStub>>(ipcProxy, callbackStub)); in AttachCallbackStub()
1227 sptr<IPCObjectProxy> IPCProcessSkeleton::QueryCallbackProxy(IPCObjectStub *callbackStub) in QueryCallbackProxy() argument
1233 if (it->second.GetRefPtr() == callbackStub) { in QueryCallbackProxy()
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/child_process_manager/include/
H A Dchild_process_manager.h49 const std::string &libName, const sptr<IRemoteObject> &callbackStub);
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/
H A Dipc_process_skeleton.h159 bool AttachCallbackStub(IPCObjectProxy *ipcProxy, sptr<IPCObjectStub> callbackStub);
161 sptr<IPCObjectProxy> QueryCallbackProxy(IPCObjectStub *callbackStub);
/ohos5.0/foundation/communication/ipc/ipc/native/test/fuzztest/core/ipcprocessskeleton_fuzzer/
H A Dipcprocessskeleton_fuzzer.cpp731 sptr<IPCObjectStub> callbackStub = new IPCObjectStub(u"stubTest"); in AttachToDetachCallbackStubTest() local
734 current->AttachCallbackStub(ipcProxy, callbackStub); in AttachToDetachCallbackStubTest()
736 current->QueryCallbackProxy(callbackStub); in AttachToDetachCallbackStubTest()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/
H A Dchild_process_manager.cpp147 const std::string &libName, const sptr<IRemoteObject> &callbackStub) in StartNativeChildProcessByAppSpawnFork() argument
162 auto ret = appMgr->StartNativeChildProcess(libName, childProcessCount_, callbackStub); in StartNativeChildProcessByAppSpawnFork()
/ohos5.0/base/location/test/location_manager/source/
H A Dlocator_ability_test.cpp224 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable
226 locatorAbility->StartLocating(requestConfig, callbackStub, identity);
231 locatorAbility->StartLocating(requestConfig, callbackStub, identity);