/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/ |
H A D | print_manager_client.cpp | 725 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 D | dbinder_service_stub_unittest.cpp | 486 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 D | location_without_permission_test.cpp | 108 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 D | locator_service_test.cpp | 1967 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 D | native_child_process.cpp | 91 …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 D | network.cpp | 191 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 D | locatorbackgroundproxy_fuzzer.cpp | 63 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 D | bms_bundle_free_install_test.cpp | 1494 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 D | ipc_object_proxy.cpp | 794 …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 D | ipc_process_skeleton.cpp | 1194 … 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 D | child_process_manager.h | 49 const std::string &libName, const sptr<IRemoteObject> &callbackStub);
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/ |
H A D | ipc_process_skeleton.h | 159 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 D | ipcprocessskeleton_fuzzer.cpp | 731 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 D | child_process_manager.cpp | 147 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 D | locator_ability_test.cpp | 224 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable 226 locatorAbility->StartLocating(requestConfig, callbackStub, identity); 231 locatorAbility->StartLocating(requestConfig, callbackStub, identity);
|