Home
last modified time | relevance | path

Searched refs:callbackStub (Results 1 - 9 of 9) sorted by relevance

/foundation/ability/ability_runtime/frameworks/native/child_process/src/
H A Dnative_child_process.cpp91 sptr<IRemoteObject> callbackStub(new (std::nothrow) NativeChildCallback(OnNativeChildProcessStartedWapper)); in OH_Ability_CreateNativeChildProcess()
92 if (!callbackStub) { in OH_Ability_CreateNativeChildProcess()
93 TAG_LOGE(AAFwkTag::PROCESSMGR, "Alloc callbackStub obj faild"); in OH_Ability_CreateNativeChildProcess()
98 auto cpmErr = mgr.StartNativeChildProcessByAppSpawnFork(strLibName, callbackStub); in OH_Ability_CreateNativeChildProcess()
104 g_CallbackStub = callbackStub; in OH_Ability_CreateNativeChildProcess()
/foundation/communication/ipc/services/dbinder/test/unittest/
H A Ddbinder_service_stub_unittest.cpp486 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"testStub"); in HWTEST_F() local
487 EXPECT_TRUE(callbackStub != nullptr); in HWTEST_F()
489 data.WriteRemoteObject(callbackStub); in HWTEST_F()
507 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"testStub"); in HWTEST_F() local
508 EXPECT_TRUE(callbackStub != nullptr); in HWTEST_F()
510 data.WriteRemoteObject(callbackStub); in HWTEST_F()
629 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"testStub"); in HWTEST_F() local
630 EXPECT_TRUE(callbackStub != nullptr); in HWTEST_F()
632 data.WriteRemoteObject(callbackStub); in HWTEST_F()
650 sptr<IPCObjectStub> callbackStub in HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_test.cpp1494 ServiceCenterStatusCallback callbackStub(server); in HWTEST_F()
1499 callbackStub.OnRemoteRequest(code, data, reply, option); in HWTEST_F()
1502 callbackStub.OnInstallFinished(installResult); in HWTEST_F()
1575 ServiceCenterStatusCallback callbackStub(server); in HWTEST_F()
1580 auto result = callbackStub.OnRemoteRequest(code, data, reply, option); in HWTEST_F()
1594 ServiceCenterStatusCallback callbackStub(server); in HWTEST_F()
1600 auto result = callbackStub.OnRemoteRequest(code, data, reply, option); in HWTEST_F()
1614 ServiceCenterStatusCallback callbackStub(server); in HWTEST_F()
1621 auto result = callbackStub.OnRemoteRequest(code, data, reply, option); in HWTEST_F()
1665 ServiceCenterStatusCallback callbackStub(serve in HWTEST_F()
[all...]
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_object_proxy.cpp772 sptr<IPCObjectStub> callbackStub = new (std::nothrow) IPCObjectStub(u"DbinderDeathRecipient" + remoteDescriptorTmp); in AddDbinderDeathRecipient() local
773 if (callbackStub == nullptr) { in AddDbinderDeathRecipient()
778 if (!current->AttachCallbackStub(this, callbackStub)) { in AddDbinderDeathRecipient()
788 data.WriteRemoteObject(callbackStub); in AddDbinderDeathRecipient()
815 sptr<IPCObjectStub> callbackStub = current->DetachCallbackStub(this); in RemoveDbinderDeathRecipient() local
816 if (callbackStub == nullptr) { in RemoveDbinderDeathRecipient()
817 ZLOGE(LABEL, "get callbackStub fail, handle:%{public}d desc:%{public}s", in RemoveDbinderDeathRecipient()
826 data.WriteRemoteObject(callbackStub); in RemoveDbinderDeathRecipient()
H A Dipc_process_skeleton.cpp1188 bool IPCProcessSkeleton::AttachCallbackStub(IPCObjectProxy *ipcProxy, sptr<IPCObjectStub> callbackStub) in AttachCallbackStub() argument
1192 auto result = noticeStub_.insert(std::pair<IPCObjectProxy *, sptr<IPCObjectStub>>(ipcProxy, callbackStub)); in AttachCallbackStub()
1221 sptr<IPCObjectProxy> IPCProcessSkeleton::QueryCallbackProxy(IPCObjectStub *callbackStub) in QueryCallbackProxy() argument
1227 if (it->second.GetRefPtr() == callbackStub) { in QueryCallbackProxy()
/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);
/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);
/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()
/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()
162 auto ret = appMgr->StartNativeChildProcess(libName, childProcessCount_, callbackStub); in StartNativeChildProcessByAppSpawnFork()
146 StartNativeChildProcessByAppSpawnFork( const std::string &libName, const sptr<IRemoteObject> &callbackStub) StartNativeChildProcessByAppSpawnFork() argument

Completed in 13 milliseconds