Home
last modified time | relevance | path

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

/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_manager_client.cpp364 sptr<PrintExtensionCallbackStub> callbackStub = nullptr; in RegisterExtCallback() local
368 callbackStub = new (std::nothrow) PrintExtensionCallbackStub; in RegisterExtCallback()
369 if (callbackStub != nullptr) { in RegisterExtCallback()
370 callbackStub->SetExtCallback(cb); in RegisterExtCallback()
371 extCallbackMap_.insert(std::make_pair(extensionCID, callbackStub)); in RegisterExtCallback()
374 callbackStub = it->second; in RegisterExtCallback()
375 callbackStub->SetExtCallback(cb); in RegisterExtCallback()
379 ret = printServiceProxy_->RegisterExtCallback(extensionCID, callbackStub); in RegisterExtCallback()
394 sptr<PrintExtensionCallbackStub> callbackStub = nullptr; in RegisterExtCallback() local
398 callbackStub = new (std::nothrow) PrintExtensionCallbackStub; in RegisterExtCallback()
[all …]
/base/location/test/location_locator/source/
Dlocation_without_permission_test.cpp104 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable
105 locatorImpl->StartLocating(requestConfig, callbackStub);
106 locatorImpl->StopLocating(callbackStub);
219 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable
221 … EXPECT_EQ(ERRCODE_PERMISSION_DENIED, locatorImpl->StartLocatingV9(requestConfig, callbackStub));
223 EXPECT_EQ(ERRCODE_SWITCH_OFF, locatorImpl->StartLocatingV9(requestConfig, callbackStub));
225 EXPECT_EQ(ERRCODE_PERMISSION_DENIED, locatorImpl->StopLocatingV9(callbackStub));
Dreport_manager_test.cpp307 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable
309 locatorImpl->StartLocating(requestConfig, callbackStub); // start locating
314 locatorImpl->StopLocating(callbackStub);
346 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable
348 locatorImpl->StartLocating(requestConfig, callbackStub); // start locating
351 locatorImpl->StopLocating(callbackStub);
Dlocator_service_test.cpp1992 sptr<ILocatorCallback> callbackStub = new (std::nothrow) LocatorCallbackStub(); variable
1994 locatorAbility->StartLocating(requestConfig, callbackStub, identity);
2000 locatorAbility->StartLocating(requestConfig, callbackStub, identity);
/base/location/test/fuzztest/locator/locatorbackgroundproxy_fuzzer/
Dlocatorbackgroundproxy_fuzzer.cpp63 sptr<ILocatorCallback> callbackStub = in LocatorBackgroundProxyFuzzerTest() local
65 backgroundProxy->IsCallbackInProxy(callbackStub); in LocatorBackgroundProxyFuzzerTest()