Home
last modified time | relevance | path

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

123

/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c484 return OK; in _recycle_handle()
500 return OK; in _stop_status_thread()
588 cb_param.job_done_result = OK; in _job_status_callback()
637 cb_param.job_done_result = OK; in _job_status_callback()
661 result = OK; in _start_status_thread()
668 if (result == OK) { in _start_status_thread()
680 if (result == OK) { in _start_status_thread()
704 while (OK == msgQReceive(_msgQ, (char *) &msg, sizeof(msg), WAIT_FOREVER)) { in _job_thread()
729 job_result = OK; in _job_thread()
733 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.c358 if (result != OK) { in _print_pdf_pages()
370 if (result != OK) { in _print_pdf_pages()
376 LOGI(" _print_pdf_pages(), printing result: %s", result == OK ? "OK" : "ERROR"); in _print_pdf_pages()
594 return OK; in _convertPrinterCaps_to_C()
676 return OK; in _convertPrinterCaps_to_Java()
835 return OK; in _convertJobParams_to_C()
924 return OK; in _covertJobParams_to_Java()
980 case OK: in _wprint_callback_fn()
1269 result = OK; in Java_com_android_bips_ipp_Backend_nativeStartJob()
1270 for (pageIndex = 0; ((result == OK) && (pageIndex < len)); pageIndex++) { in Java_com_android_bips_ipp_Backend_nativeStartJob()
[all …]
Dwprint_msgq.c92 return (msgq ? OK : ERROR); in msgQDelete()
113 result = OK; in msgQSend()
/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()
Dlib_pclm.c267 return OK; in _print_swath()
286 return OK; in _end_page()
298 return OK; in _end_job()
Dlib_pwg.c316 return OK; in _print_swath()
387 return OK; in _end_page()
394 return OK; in _end_job()
Dpdf_render.c73 return OK; in getPageAttributes()
92 return OK; in renderPageStripe()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java139 cb.onValues(StatusCode.OK, res); in getPropConfigs()
148 cb.onValues(StatusCode.OK, handler.onPropertyGet(requestedPropValue)); in get()
159 return StatusCode.OK; in set()
181 return StatusCode.OK; in subscribe()
199 return StatusCode.OK; in unsubscribe()
/packages/experimental/RpcPerformance/
Drpcperftest.cpp55 if (status != OK) { in main()
74 if (status != OK) { in main()
84 if (status != OK) { in main()
/packages/services/Car/evs/app/
DEvsStateControl.cpp211 if (invokeGet(&mGearValue) != StatusCode::OK) { in selectStateForCurrentConditions()
215 if ((mTurnSignalValue.prop == 0) || (invokeGet(&mTurnSignalValue) != StatusCode::OK)) { in selectStateForCurrentConditions()
263 if (s == StatusCode::OK) { in invokeGet()
326 if (result != EvsResult::OK) { in configureEvsPipeline()
/packages/services/Car/evs/manager/
DVirtualCamera.cpp120 return EvsResult::OK; in setMaxFramesInFlight()
140 if ((!result.isOk()) || (result != EvsResult::OK)) { in startVideoStream()
150 return EvsResult::OK; in startVideoStream()
DHalCamera.cpp105 bool success = (result.isOk() && result == EvsResult::OK); in changeFramesInFlight()
130 Return<EvsResult> result = EvsResult::OK; in clientStreamStarting()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.c115 return OK; in set_ipp_version()
125 if ((test_and_set_ipp_version(printer_uri, http, 1, 1) == OK) in determine_ipp_version()
126 || (test_and_set_ipp_version(printer_uri, http, 1, 0) == OK) in determine_ipp_version()
127 || (test_and_set_ipp_version(printer_uri, http, 2, 0) == OK)) { in determine_ipp_version()
133 return OK; in determine_ipp_version()
201 return_value = OK; in test_and_set_ipp_version()
207 return_value = OK; in test_and_set_ipp_version()
213 return_value = OK; in test_and_set_ipp_version()
Dipp_print.c116 return OK; in _init()
454 result = OK; in _validate_job()
518 result = ((ipp_job->status == HTTP_CONTINUE) ? OK : ERROR); in _start_job()
580 result = OK; in _end_job()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java1093 ResultCode.PRFRMD_ICON_NOT_DISPLAYED : ResultCode.OK); in handleCmdResponse()
1112 ResultCode.PRFRMD_ICON_NOT_DISPLAYED : ResultCode.OK); in handleCmdResponse()
1124 ResultCode.PRFRMD_ICON_NOT_DISPLAYED : ResultCode.OK); in handleCmdResponse()
1130 resMsg.setResultCode(confirmed ? ResultCode.OK in handleCmdResponse()
1139 resMsg.setResultCode(ResultCode.OK); in handleCmdResponse()
1149 resMsg.setResultCode(ResultCode.OK); in handleCmdResponse()
1168 resMsg.setResultCode(ResultCode.OK); in handleCmdResponse()
1178 resMsg.setResultCode(ResultCode.OK); in handleCmdResponse()
1409 resMsg.setResultCode(ResultCode.OK); in sendSetUpEventResponse()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapResponse.java30 return ImapConstants.OK.equalsIgnoreCase(symbol) in isStatusResponse()
53 return is(0, ImapConstants.OK); in isOk()
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
DImapResponse.java33 return ImapConstants.OK.equalsIgnoreCase(symbol) in isStatusResponse()
62 return is(0, ImapConstants.OK); in isOk()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DObd2FreezeFrameTest.java55 assertEquals(StatusCode.OK, status.intValue()); in testFreezeFrame()
66 if (StatusCode.OK == frameStatus.intValue()) { in testFreezeFrame()
DE2ePerformanceTest.java113 (status, propConfigs) -> assumeTrue(status == StatusCode.OK)); in connectToVehicleHal()
427 assertEquals(StatusCode.OK, mVehicle.set(request)); in start()
439 assertEquals(StatusCode.OK, mVehicle.set(request)); in stop()
/packages/services/Car/evs/sampleDriver/
DEvsGlDisplay.cpp128 return EvsResult::OK; in setDisplayState()
290 return EvsResult::OK; in returnTargetBufferForDisplay()
/packages/services/Car/service/src/com/android/car/hal/
DHalClient.java100 if (StatusCode.OK != status) { in setValue()
126 if (StatusCode.OK != status || valueWrapper.object == null) { in getValue()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarVendorExtensionManagerTest.java243 return StatusCode.OK; in set()
270 cb.onValues(StatusCode.OK, result); in get()

123