Home
last modified time | relevance | path

Searched refs:StartDiscoverPrinter (Results 1 – 14 of 14) sorted by relevance

/base/print/print_fwk/test/unittest/service_test/mock/
Dmock_print_service.h48 int32_t StartDiscoverPrinter(const std::vector<std::string> &extensionList) override in StartDiscoverPrinter() function
147 MOCK_METHOD1(StartDiscoverPrinter, int32_t(const std::vector<std::string>&));
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_ability_test.cpp327 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_NONE); in CreateServiceWithoutEvent()
554 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_NO_PERMISSION);
569 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_INVALID_EXTENSION);
586 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_INVALID_EXTENSION);
606 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_NONE);
626 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_NONE);
697 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_NONE);
721 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_NONE);
745 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_NONE);
769 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_NONE);
[all …]
Dprint_service_stub_test.cpp287 ON_CALL(*stub, StartDiscoverPrinter).WillByDefault(Return(E_PRINT_NONE));
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Diprint_service.h41 virtual int32_t StartDiscoverPrinter(const std::vector<std::string> &extensionList) = 0;
Dprint_service_proxy.h35 int32_t StartDiscoverPrinter(const std::vector<std::string> &extensionList) override;
Dprint_manager_client.h48 int32_t StartDiscoverPrinter(const std::vector<std::string> &extensionList);
/base/print/print_fwk/services/include/
Dprint_service_ability.h55 int32_t StartDiscoverPrinter(const std::vector<std::string> &extensionList) override;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_manager_client.cpp158 int32_t PrintManagerClient::StartDiscoverPrinter(const std::vector<std::string> &extensionList) in StartDiscoverPrinter() function in OHOS::Print::PrintManagerClient
163 ret = printServiceProxy_->StartDiscoverPrinter(extensionList); in StartDiscoverPrinter()
Dprint_service_proxy.cpp172 int32_t PrintServiceProxy::StartDiscoverPrinter(const std::vector<std::string> &extensionList) in StartDiscoverPrinter() function in OHOS::Print::PrintServiceProxy
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_manager_client_test.cpp329 int32_t ret = PrintManagerClient::GetInstance()->StartDiscoverPrinter(testExtensionList);
345 int32_t ret = PrintManagerClient::GetInstance()->StartDiscoverPrinter(testExtensionList);
361 int32_t ret = PrintManagerClient::GetInstance()->StartDiscoverPrinter(testExtensionList);
377 EXPECT_CALL(*service, StartDiscoverPrinter(_)).Times(1);
378 ON_CALL(*service, StartDiscoverPrinter).WillByDefault(
386 int32_t ret = PrintManagerClient::GetInstance()->StartDiscoverPrinter(testExtensionList);
431 int32_t ret = PrintManagerClient::GetInstance()->StartDiscoverPrinter(testExtensionList);
Dprint_service_proxy_test.cpp267 EXPECT_CALL(*service, StartDiscoverPrinter(_)).Times(Exactly(1)).WillOnce(
278 proxy->StartDiscoverPrinter(testExtList);
/base/print/print_fwk/services/src/
Dprint_service_stub.cpp153 int32_t ret = StartDiscoverPrinter(extensionList); in OnStartDiscoverPrinter()
Dprint_service_ability.cpp405 int32_t PrintServiceAbility::StartDiscoverPrinter(const std::vector<std::string> &extensionIds) in StartDiscoverPrinter() function in OHOS::Print::PrintServiceAbility
/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_inner_print.cpp96 … int32_t ret = PrintManagerClient::GetInstance()->StartDiscoverPrinter(context->extensionList); in StartDiscovery()