Searched refs:callbackStub (Results 1 – 5 of 5) sorted by relevance
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_manager_client.cpp | 364 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/ |
D | location_without_permission_test.cpp | 104 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));
|
D | report_manager_test.cpp | 307 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);
|
D | locator_service_test.cpp | 1992 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/ |
D | locatorbackgroundproxy_fuzzer.cpp | 63 sptr<ILocatorCallback> callbackStub = in LocatorBackgroundProxyFuzzerTest() local 65 backgroundProxy->IsCallbackInProxy(callbackStub); in LocatorBackgroundProxyFuzzerTest()
|