Home
last modified time | relevance | path

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

12345

/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c494 return OK; in _recycle_handle()
510 return OK; in _stop_status_thread()
600 cb_param.job_done_result = OK; in _job_status_callback()
649 cb_param.job_done_result = OK; in _job_status_callback()
673 result = OK; in _start_status_thread()
680 if (result == OK) { in _start_status_thread()
692 if (result == OK) { in _start_status_thread()
792 while (OK == msgQReceive(_msgQ, (char *) &msg, sizeof(msg), WAIT_FOREVER)) { in _job_thread()
817 job_result = OK; in _job_thread()
821 while (sem_trywait(&_job_start_wait_sem) == OK) { in _job_thread()
[all …]
Dprinter.c69 print_job->job_status = ((print_job->psock != -1) ? OK : ERROR); in _init()
84 return OK; in _start_job()
91 status_t retval = OK; in _send_data()
96 if (this_p && buffer && (print_job->job_status == OK)) { in _send_data()
112 while ((length > 0) && (retval == OK)) { in _send_data()
136 retval = (print_job->timeout_enabled ? ERROR : OK); in _send_data()
148 return ((retval == OK) ? length_in : (int)ERROR); in _send_data()
DwprintJNI.c361 if (result != OK) { in _print_pdf_pages()
373 if (result != OK) { in _print_pdf_pages()
379 LOGI(" _print_pdf_pages(), printing result: %s", result == OK ? "OK" : "ERROR"); in _print_pdf_pages()
604 return OK; in _convertPrinterCaps_to_C()
686 return OK; in _convertPrinterCaps_to_Java()
845 return OK; in _convertJobParams_to_C()
934 return OK; in _covertJobParams_to_Java()
990 case OK: in _wprint_callback_fn()
1321 result = OK; in Java_com_android_bips_ipp_Backend_nativeStartJob()
1322 for (pageIndex = 0; ((result == OK) && (pageIndex < len)); pageIndex++) { in Java_com_android_bips_ipp_Backend_nativeStartJob()
[all …]
/packages/services/Car/surround_view/service-impl/mock-evs/
DMockEvsCamera.cpp43 return EvsResult::OK; in setMaxFramesInFlight()
51 return EvsResult::OK; in startVideoStream()
79 return EvsResult::OK; in setExtendedInfo()
112 return EvsResult::OK; in doneWithFrame_1_1()
118 return EvsResult::OK; in setMaster()
126 return EvsResult::OK; in forceMaster()
132 return EvsResult::OK; in unsetMaster()
176 return EvsResult::OK; in setExtendedInfo_1_1()
/packages/services/Car/computepipe/router/1.0/
DRouterSvc.cpp38 return OK; in parseArgs()
44 if (ret != OK) { in initSvc()
48 if (ret != OK) { in initSvc()
51 return OK; in initSvc()
66 return OK; in initRegistrationEngine()
81 return OK; in initQueryEngine()
/packages/services/Car/surround_view/app/
Dsv_app.cpp68 if (surroundView2dSession == nullptr || svResult != SvResult::OK) { in run2dSurroundView()
79 if (surroundView2dSession->startStream(sv2dCallback) != SvResult::OK) { in run2dSurroundView()
91 if (surroundView2dSession->set2dConfig(config) != SvResult::OK) { in run2dSurroundView()
126 if (surroundView3dSession == nullptr || svResult != SvResult::OK) { in run3dSurroundView()
138 if (surroundView3dSession->setViews(singleView) != SvResult::OK) { in run3dSurroundView()
147 if (surroundView3dSession->startStream(sv3dCallback) != SvResult::OK) { in run3dSurroundView()
160 if (surroundView3dSession->set3dConfig(config) != SvResult::OK) { in run3dSurroundView()
/packages/services/Car/evs/sampleDriver/
DEvsV4lCamera.cpp130 return EvsResult::OK; in setMaxFramesInFlight()
215 return EvsResult::OK; in startVideoStream()
316 return EvsResult::OK; in doneWithFrame_1_1()
334 return EvsResult::OK; in setMaster()
342 return EvsResult::OK; in forceMaster()
351 return EvsResult::OK; in unsetMaster()
391 EvsResult result = EvsResult::OK; in setIntParameter()
414 EvsResult result = EvsResult::OK; in getIntParameter()
432 return EvsResult::OK; in setExtendedInfo_1_1()
440 auto status = EvsResult::OK; in getExtendedInfo_1_1()
[all …]
/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pcl.c117 WAIT_FOREVER) == OK) { in _send_thread()
164 result = OK; in _start_thread()
171 if (result == OK) { in _start_thread()
183 if (result == OK) { in _start_thread()
210 result = OK; in _stop_thread()
269 return OK; in _start_job()
324 if ((result = wprint_image_get_info(imgfile, image_info)) == OK) { in _print_page()
444 if ((result == OK) && job_params->cancelled) { in _print_page()
459 (result == OK) ? "OK" : "ERROR"); in _print_page()
516 return OK; in _print_blank_page()
[all …]
Dwprint_mupdf.c56 if (result != OK) return result; in _mupdf_get_hdr()
79 if (result != OK) { in _mupdf_get_hdr()
91 return OK; in _mupdf_get_hdr()
122 return OK; in _mupdf_cleanup()
Dplugin_pdf.c67 return OK; in _start_job()
74 int result = OK; in _print_page()
124 return OK; in _end_job()
/packages/services/Car/evs/manager/1.1/
DHalCamera.cpp147 bool success = (result.isOk() && result == EvsResult::OK); in changeFramesInFlight()
188 EvsResult status = EvsResult::OK; in changeFramesInFlight()
195 if (status != EvsResult::OK) { in changeFramesInFlight()
249 Return<EvsResult> result = EvsResult::OK; in clientStreamStarting()
499 return EvsResult::OK; in setMaster()
527 return EvsResult::OK; in forceMaster()
546 return EvsResult::OK; in unsetMaster()
561 if (result == EvsResult::OK) { in setParameter()
584 EvsResult result = EvsResult::OK; in getParameter()
587 if (result == EvsResult::OK) { in getParameter()
/packages/services/Car/computepipe/tests/runner/graph/
DGrpcGraphTest.cpp99 return ::grpc::Status::OK; in GetGraphOptions()
107 return ::grpc::Status::OK; in SetGraphConfig()
115 return ::grpc::Status::OK; in SetDebugOption()
123 return ::grpc::Status::OK; in StartGraphExecution()
150 return ::grpc::Status::OK; in ObserveOutputStream()
158 return ::grpc::Status::OK; in StopGraphExecution()
166 return ::grpc::Status::OK; in ResetGraph()
173 return ::grpc::Status::OK; in GetProfilingData()
/packages/services/Car/surround_view/service-impl/
DIOModule.cpp37 return IOStatus::OK; in initialize()
42 if ((status = ReadSurroundViewConfig(mSvConfigFile, &svConfig)) != IOStatus::OK) { in initialize()
62 IOStatus::OK) { in initialize()
69 return IOStatus::OK; in initialize()
DSurroundViewSessionTests.cpp45 EXPECT_EQ(ioModule->initialize(), IOStatus::OK); in TEST()
58 EXPECT_EQ(sv2dSession->startStream(sv2dCallback), SvResult::OK); in TEST()
66 EXPECT_EQ(ioModule->initialize(), IOStatus::OK); in TEST()
87 EXPECT_EQ(sv3dSession->startStream(sv3dCallback), SvResult::OK); in TEST()
DSurroundViewService.cpp96 if (status != IOStatus::OK) { in initialize()
157 _hidl_cb(sSurroundView2dSession, SvResult::OK); in start2dSession()
172 return SvResult::OK; in stop2dSession()
192 _hidl_cb(sSurroundView3dSession, SvResult::OK); in start3dSession()
207 return SvResult::OK; in stop3dSession()
DSurroundView3dSession.cpp335 return SvResult::OK; in startStream()
381 return SvResult::OK; in setViews()
409 return SvResult::OK; in set3dConfig()
494 return SvResult::OK; in updateOverlays()
601 if (mSvTexture->initCheck() == OK) { in handleFrames()
773 if (mSvTexture->initCheck() == OK) { in initialize()
887 if (result != EvsResult::OK) { in startEvs()
DSurroundView2dSession.cpp308 return SvResult::OK; in startStream()
367 return SvResult::OK; in set2dConfig()
479 if (mSvTexture->initCheck() == OK) { in handleFrames()
630 if (mSvTexture->initCheck() == OK) { in initialize()
743 if (result != EvsResult::OK) { in startEvs()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DMockIpSecTestUtils.java59 IpSecManager.Status.OK, in MockIpSecTestUtils()
66 IpSecManager.Status.OK, in MockIpSecTestUtils()
77 return new IpSecSpiResponse(IpSecManager.Status.OK, DUMMY_CHILD_SPI_RESOURCE_ID, spi); in buildDummyIpSecSpiResponse()
82 IpSecManager.Status.OK, in buildDummyIpSecUdpEncapResponse()
/packages/services/Car/computepipe/router/include/
DRegistry.h35 OK = 0, enumerator
92 return OK; in RegisterPipe()
101 return OK; in RegisterPipe()
150 return OK; in DeletePipeHandle()
/packages/services/Car/vehicle-hal-support-lib/test/com/android/car/vehiclehal/test/
DMockedVehicleHal.java153 cb.onValues(StatusCode.OK, res); in getPropConfigs()
162 cb.onValues(StatusCode.OK, handler.onPropertyGet(requestedPropValue)); in get()
173 return StatusCode.OK; in set()
203 return StatusCode.OK; in subscribe()
221 return StatusCode.OK; in unsubscribe()
/packages/services/Car/watchdog/server/src/
DWatchdogBinderMediator.cpp87 if (status != OK) { in init()
105 return OK; in dump()
113 return OK; in dump()
130 return OK; in dump()
/packages/services/Car/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp82 EXPECT_CALL(*binder, unlinkToDeath(_, nullptr, 0, nullptr)).WillRepeatedly(Return(OK)); in createMockCarWatchdogClient()
91 EXPECT_CALL(*binder, unlinkToDeath(_, nullptr, 0, nullptr)).WillRepeatedly(Return(OK)); in createMockCarWatchdogMonitor()
97 return createMockCarWatchdogClient(OK); in expectNormalCarWatchdogClient()
105 return createMockCarWatchdogMonitor(OK); in expectNormalCarWatchdogMonitor()
/packages/services/Car/evs/manager/1.0/
DVirtualCamera.cpp125 return EvsResult::OK; in setMaxFramesInFlight()
145 if ((!result.isOk()) || (result != EvsResult::OK)) { in startVideoStream()
155 return EvsResult::OK; in startVideoStream()
/packages/services/Car/evs/apps/default/
DEvsStateControl.cpp227 if (invokeGet(&mGearValue) != StatusCode::OK) { in selectStateForCurrentConditions()
231 if ((mTurnSignalValue.prop == 0) || (invokeGet(&mTurnSignalValue) != StatusCode::OK)) { in selectStateForCurrentConditions()
279 if (s == StatusCode::OK) { in invokeGet()
373 if (result != EvsResult::OK) { in configureEvsPipeline()
/packages/services/Car/procfs-inspector/server/
Dprocess.cpp8 return android::OK; in writeToParcel()
14 return android::OK; in readFromParcel()

12345