/base/print/print_fwk/test/unittest/service_test/mock/ |
D | mock_print_service.h | 29 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/ |
D | print_service_stub.cpp | 111 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 …]
|
D | print_service_ability.cpp | 281 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 …]
|
D | print_cups_client.cpp | 112 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/ |
D | print_service_ability_test.cpp | 321 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 …]
|
D | print_service_stub_test.cpp | 100 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 …]
|
D | print_extension_callback_proxy_test.cpp | 61 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()
|
D | print_callback_proxy_test.cpp | 66 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()
|
D | print_cups_client_test.cpp | 156 EXPECT_EQ(ret, E_PRINT_NONE); 163 EXPECT_EQ(ret, E_PRINT_NONE);
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_service_proxy_test.cpp | 80 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 …]
|
D | print_manager_client_test.cpp | 69 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 …]
|
D | print_utils_test.cpp | 241 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/ |
D | napi_inner_print.cpp | 57 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 …]
|
D | napi_print_ext.cpp | 65 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 …]
|
D | print_pdf_render.cpp | 39 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()
|
D | print_async_call.cpp | 102 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()
|
D | print_task.cpp | 158 if (ret != E_PRINT_NONE) { in On() 195 context->result = ret == E_PRINT_NONE; in Off() 196 if (ret != E_PRINT_NONE) { in Off()
|
D | napi_print_task.cpp | 69 if (ret != E_PRINT_NONE) { in Print() 116 if (ret != E_PRINT_NONE) { in PrintByAdapter()
|
D | napi_print_pdf_render.cpp | 66 if (ret != E_PRINT_NONE) { in CreatePdfRender()
|
D | print_module.cpp | 222 SetEnumProperty(env, object, "E_PRINT_NONE", static_cast<int32_t>(E_PRINT_NONE)); in NapiCreatePrintErrorCodeEnum()
|
/base/print/print_fwk/utils/include/ |
D | print_constant.h | 68 E_PRINT_NONE = 0, enumerator
|
/base/print/print_fwk/interfaces/kits/napi/print_napi/include/ |
D | print_async_call.h | 88 uint32_t errorIndex_ = E_PRINT_NONE;
|
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/ |
D | print_manager_client.cpp | 587 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()
|
D | print_service_proxy.cpp | 154 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.ts | 322 E_PRINT_NONE = 0, // no error enumerator
|