Home
last modified time | relevance | path

Searched refs:E_PRINT_NONE (Results 1 – 25 of 25) sorted by relevance

/base/print/print_fwk/test/unittest/service_test/mock/
Dmock_print_service.h29 return E_PRINT_NONE; in StartPrint()
34 return E_PRINT_NONE; in StartPrint()
38 return E_PRINT_NONE; in StopPrint()
42 return E_PRINT_NONE; in ConnectPrinter()
46 return E_PRINT_NONE; in DisconnectPrinter()
50 return E_PRINT_NONE; in StartDiscoverPrinter()
54 return E_PRINT_NONE; in StopDiscoverPrinter()
58 return E_PRINT_NONE; in QueryAllExtension()
62 return E_PRINT_NONE; in StartPrintJob()
66 return E_PRINT_NONE; in CancelPrintJob()
[all …]
/base/print/print_fwk/services/print_service/src/
Dprint_service_stub.cpp111 int32_t ret = E_PRINT_NONE; in OnStartPrint()
120 return ret == E_PRINT_NONE; in OnStartPrint()
130 return ret == E_PRINT_NONE; in OnStopPrint()
139 return ret == E_PRINT_NONE; in OnConnectPrinter()
148 return ret == E_PRINT_NONE; in OnDisconnectPrinter()
159 return ret == E_PRINT_NONE; in OnStartDiscoverPrinter()
168 return ret == E_PRINT_NONE; in OnStopDiscoverPrint()
177 if (ret == E_PRINT_NONE) { in OnQueryAllExtension()
185 return ret == E_PRINT_NONE; in OnQueryAllExtension()
199 return ret == E_PRINT_NONE; in OnStartPrintJob()
[all …]
Dprint_service_ability.cpp281 return E_PRINT_NONE; in CallSpooler()
338 return E_PRINT_NONE; in CallSpooler()
350 return E_PRINT_NONE; in StopPrint()
387 return E_PRINT_NONE; in ConnectPrinter()
424 return E_PRINT_NONE; in DisconnectPrinter()
472 return E_PRINT_NONE; in StartDiscoverPrinter()
496 ret = E_PRINT_NONE; in DelayStartDiscovery()
498 return ret == E_PRINT_NONE; in DelayStartDiscovery()
535 return E_PRINT_NONE; in StopDiscoverPrinter()
566 return E_PRINT_NONE; in QueryAllExtension()
[all …]
Dprint_cups_client.cpp112 return E_PRINT_NONE; in StartCupsdService()
140 return E_PRINT_NONE; in StartCupsdService()
375 return E_PRINT_NONE; in AddPrinterToCups()
396 return E_PRINT_NONE; in AddPrinterToCups()
415 return E_PRINT_NONE; in DeleteCupsPrinter()
462 return E_PRINT_NONE; in QueryPrinterCapabilityByUri()
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_ability_test.cpp321 EXPECT_EQ(service->StartPrint(fileList, fdList, taskId), E_PRINT_NONE); in CreateServiceWithoutEvent()
324 EXPECT_EQ(service->QueryAllExtension(infoList), E_PRINT_NONE); in CreateServiceWithoutEvent()
328 EXPECT_EQ(service->StartDiscoverPrinter(extensionIds), E_PRINT_NONE); in CreateServiceWithoutEvent()
337 EXPECT_EQ(service->RegisterExtCallback(extensionCid, listener), E_PRINT_NONE); in CreateServiceWithoutEvent()
343 EXPECT_EQ(service->On(taskId, taskEvent[index], listener), E_PRINT_NONE); in CreateServiceWithoutEvent()
349 EXPECT_EQ(service->On("", spoolerEvent[index], listener), E_PRINT_NONE); in CreateServiceWithoutEvent()
351 EXPECT_EQ(service->LoadExtSuccess(GetExtensionId(TYPE_DEFAULT)), E_PRINT_NONE); in CreateServiceWithoutEvent()
465 EXPECT_EQ(service->StartPrint(fileList, fdList, taskId), E_PRINT_NONE);
499 EXPECT_EQ(service->StopPrint(taskId), E_PRINT_NONE);
550 EXPECT_EQ(service->QueryAllExtension(infoList), E_PRINT_NONE);
[all …]
Dprint_service_stub_test.cpp100 ON_CALL(*stub, StartPrint(_, _, _)).WillByDefault(Return(E_PRINT_NONE));
126 ON_CALL(*stub, StartPrint(_, _, _)).WillByDefault(Return(E_PRINT_NONE));
156 ON_CALL(*stub, StartPrint(_, _, _)).WillByDefault(Return(E_PRINT_NONE));
189 ON_CALL(*stub, StartPrint(_, _, _)).WillByDefault(Return(E_PRINT_NONE));
213 ON_CALL(*stub, StopPrint).WillByDefault(Return(E_PRINT_NONE));
237 ON_CALL(*stub, ConnectPrinter).WillByDefault(Return(E_PRINT_NONE));
261 ON_CALL(*stub, DisconnectPrinter).WillByDefault(Return(E_PRINT_NONE));
287 ON_CALL(*stub, StartDiscoverPrinter).WillByDefault(Return(E_PRINT_NONE));
308 ON_CALL(*stub, StopDiscoverPrinter).WillByDefault(Return(E_PRINT_NONE));
329 ON_CALL(*stub, QueryAllExtension).WillByDefault(Return(E_PRINT_NONE));
[all …]
Dprint_extension_callback_proxy_test.cpp61 return E_PRINT_NONE; in __anon52a8f2a20102()
110 return E_PRINT_NONE; in __anon52a8f2a20302()
164 return E_PRINT_NONE; in __anon52a8f2a20502()
219 return E_PRINT_NONE; in __anon52a8f2a20702()
Dprint_callback_proxy_test.cpp66 return E_PRINT_NONE; in __anona72ee1e60102()
133 return E_PRINT_NONE; in __anona72ee1e60302()
195 return E_PRINT_NONE; in __anona72ee1e60502()
254 return E_PRINT_NONE; in __anona72ee1e60702()
Dprint_cups_client_test.cpp156 EXPECT_EQ(ret, E_PRINT_NONE);
163 EXPECT_EQ(ret, E_PRINT_NONE);
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_service_proxy_test.cpp80 return E_PRINT_NONE; in __anonf52d88e30102()
86 return E_PRINT_NONE; in __anonf52d88e30202()
120 return E_PRINT_NONE; in __anonf52d88e30302()
126 return E_PRINT_NONE; in __anonf52d88e30402()
149 return E_PRINT_NONE; in __anonf52d88e30502()
155 return E_PRINT_NONE; in __anonf52d88e30602()
178 return E_PRINT_NONE; in __anonf52d88e30702()
184 return E_PRINT_NONE; in __anonf52d88e30802()
207 return E_PRINT_NONE; in __anonf52d88e30902()
213 return E_PRINT_NONE; in __anonf52d88e30a02()
[all …]
Dprint_manager_client_test.cpp69 return E_PRINT_NONE; in CallRemoteObject()
139 return E_PRINT_NONE; in __anon8ef62b6a0302()
146 EXPECT_EQ(ret, E_PRINT_NONE);
213 return E_PRINT_NONE; in __anon8ef62b6a0402()
220 EXPECT_EQ(ret, E_PRINT_NONE);
289 return E_PRINT_NONE; in __anon8ef62b6a0502()
301 EXPECT_EQ(ret, E_PRINT_NONE);
368 return E_PRINT_NONE; in __anon8ef62b6a0602()
375 EXPECT_EQ(ret, E_PRINT_NONE);
436 return E_PRINT_NONE; in __anon8ef62b6a0702()
[all …]
Dprint_utils_test.cpp241 EXPECT_EQ(E_PRINT_NONE, result);
253 EXPECT_EQ(E_PRINT_NONE, result);
277 EXPECT_EQ(E_PRINT_NONE, result);
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
Dnapi_inner_print.cpp57 context->result = ret == E_PRINT_NONE; in QueryExtensionInfo()
58 if (ret != E_PRINT_NONE) { in QueryExtensionInfo()
99 context->result = ret == E_PRINT_NONE; in StartDiscovery()
100 if (ret != E_PRINT_NONE) { in StartDiscovery()
125 context->result = ret == E_PRINT_NONE; in StopDiscovery()
126 if (ret != E_PRINT_NONE) { in StopDiscovery()
157 context->result = ret == E_PRINT_NONE; in ConnectPrinter()
158 if (ret != E_PRINT_NONE) { in ConnectPrinter()
189 context->result = ret == E_PRINT_NONE; in DisconnectPrinter()
190 if (ret != E_PRINT_NONE) { in DisconnectPrinter()
[all …]
Dnapi_print_ext.cpp65 context->result = ret == E_PRINT_NONE; in AddPrinters()
66 if (ret != E_PRINT_NONE) { in AddPrinters()
112 context->result = ret == E_PRINT_NONE; in RemovePrinters()
113 if (ret != E_PRINT_NONE) { in RemovePrinters()
161 context->result = ret == E_PRINT_NONE; in UpdatePrinters()
162 if (ret != E_PRINT_NONE) { in UpdatePrinters()
209 context->result = ret == E_PRINT_NONE; in UpdatePrinterState()
210 if (ret != E_PRINT_NONE) { in UpdatePrinterState()
264 context->result = ret == E_PRINT_NONE; in UpdatePrintJobState()
265 if (ret != E_PRINT_NONE) { in UpdatePrintJobState()
[all …]
Dprint_pdf_render.cpp39 if (ret != E_PRINT_NONE) { in Init()
65 if (ret != E_PRINT_NONE) { in Destroy()
118 if (ret != E_PRINT_NONE) { in GetPageSize()
167 if (ret != E_PRINT_NONE) { in RenderPageToPng()
Dprint_async_call.cpp102 if (context->ctx->GetErrorIndex() == E_PRINT_NONE) { in OnExecute()
110 if (context->ctx == nullptr || context->ctx->GetErrorIndex() != E_PRINT_NONE) { in OnComplete()
130 uint32_t errorIndex = E_PRINT_NONE; in OnComplete()
Dprint_task.cpp158 if (ret != E_PRINT_NONE) { in On()
195 context->result = ret == E_PRINT_NONE; in Off()
196 if (ret != E_PRINT_NONE) { in Off()
Dnapi_print_task.cpp69 if (ret != E_PRINT_NONE) { in Print()
116 if (ret != E_PRINT_NONE) { in PrintByAdapter()
Dnapi_print_pdf_render.cpp66 if (ret != E_PRINT_NONE) { in CreatePdfRender()
Dprint_module.cpp222 SetEnumProperty(env, object, "E_PRINT_NONE", static_cast<int32_t>(E_PRINT_NONE)); in NapiCreatePrintErrorCodeEnum()
/base/print/print_fwk/utils/include/
Dprint_constant.h68 E_PRINT_NONE = 0, enumerator
/base/print/print_fwk/interfaces/kits/napi/print_napi/include/
Dprint_async_call.h88 uint32_t errorIndex_ = E_PRINT_NONE;
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
Dprint_manager_client.cpp587 return E_PRINT_NONE; in PdfRenderInit()
606 return E_PRINT_NONE; in PdfRenderDestroy()
627 return E_PRINT_NONE; in GetPdfPageSize()
644 return E_PRINT_NONE; in RenderPdfToPng()
680 return E_PRINT_NONE; in RenderPdfToPng()
Dprint_service_proxy.cpp154 if (ret != E_PRINT_NONE) { in QueryAllExtension()
169 return E_PRINT_NONE; in QueryAllExtension()
353 if (ret != E_PRINT_NONE) { in QueryAllPrintJob()
368 return E_PRINT_NONE; in QueryAllPrintJob()
/base/print/print_fwk/interfaces/kits/jskits/
D@ohos.print.d.ts322 E_PRINT_NONE = 0, // no error enumerator