Home
last modified time | relevance | path

Searched refs:GetNamedDest (Results 1 - 5 of 5) sorted by relevance

/base/print/print_fwk/services/print_service/include/
H A Dprint_cups_wrapper.h31 virtual cups_dest_t *GetNamedDest(http_t *http, const char *name, const char *instance) = 0;
40 cups_dest_t* GetNamedDest(http_t *http, const char *name, const char *instance) override;
/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/
H A Dprint_cups_wrapper_test.cpp126 EXPECT_CALL(mock, GetNamedDest(_, _, _)).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
145 EXPECT_CALL(mock, GetNamedDest(_, _, _)).Times(1).WillOnce(Return(&cupsDests)); in HWTEST_F()
182 EXPECT_CALL(mock, GetNamedDest(_, _, _)).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
200 EXPECT_CALL(mock, GetNamedDest(_, _, _)).Times(1).WillOnce(Return(&cupsDests)); in HWTEST_F()
219 EXPECT_CALL(mock, GetNamedDest(_, _, _)).Times(1).WillOnce(Return(&cupsDests)); in HWTEST_F()
240 EXPECT_CALL(mock, GetNamedDest(_, _, _)).Times(1).WillOnce(Return(&cupsDests)); in HWTEST_F()
263 EXPECT_CALL(mock, GetNamedDest(_, _, _)).Times(1).WillOnce(Return(&cupsDests)); in HWTEST_F()
302 EXPECT_CALL(mock, GetNamedDest(_, _, _)).WillRepeatedly(Return(nullptr)); in HWTEST_F()
319 EXPECT_CALL(mock, GetNamedDest(_, _, _)).WillRepeatedly(Return(&cupsDests)); in HWTEST_F()
355 EXPECT_CALL(mock, GetNamedDest( in HWTEST_F()
[all...]
/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/mock/
H A Dmock_print_cups_wrapper.h26 MOCK_METHOD3(GetNamedDest, cups_dest_t*(http_t *, const char *, const char *));
/base/print/print_fwk/services/print_service/src/
H A Dprint_cups_wrapper.cpp20 cups_dest_t* PrintCupsWrapper::GetNamedDest(http_t *http, const char *name, const char *instance) in GetNamedDest() function in OHOS::Print::PrintCupsWrapper
H A Dprint_cups_client.cpp704 dest = printAbility_->GetNamedDest(CUPS_HTTP_DEFAULT, standardName.c_str(), NULL); in QueryPrinterCapabilityFromPPD()
972 dest = printAbility_->GetNamedDest(CUPS_HTTP_DEFAULT, printerName.c_str(), NULL); in QueryPrinterAttrList()
998 dest = printAbility_->GetNamedDest(CUPS_HTTP_DEFAULT, info.GetPrinterName().c_str(), NULL); in QueryPrinterInfoByPrinterId()
1052 dest = printAbility_->GetNamedDest(CUPS_HTTP_DEFAULT, jobParams->printerName.c_str(), NULL); in CheckPrinterMakeModel()
1666 dest = printAbility_->GetNamedDest(CUPS_HTTP_DEFAULT, printerName, NULL); in IsPrinterExist()

Completed in 5 milliseconds