Home
last modified time | relevance | path

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

123

/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 …]
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.c268 return OK; in _print_swath()
291 return OK; in _end_page()
303 return OK; in _end_job()
Dlib_pwg.c315 return OK; in _print_swath()
386 return OK; in _end_page()
393 return OK; in _end_job()
Dpdf_render.c73 return OK; in getPageAttributes()
92 return OK; in renderPageStripe()
/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/vehicle-hal-support-lib/src/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/evs/manager/
DVirtualCamera.cpp125 return EvsResult::OK; in setMaxFramesInFlight()
145 if ((!result.isOk()) || (result != EvsResult::OK)) { in startVideoStream()
155 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/Car/evs/app/
DEvsStateControl.cpp219 if (invokeGet(&mGearValue) != StatusCode::OK) { in selectStateForCurrentConditions()
223 if ((mTurnSignalValue.prop == 0) || (invokeGet(&mTurnSignalValue) != StatusCode::OK)) { in selectStateForCurrentConditions()
271 if (s == StatusCode::OK) { in invokeGet()
360 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()
/packages/services/Car/tools/keventreader/server/
Devent.cpp36 return OK; in writeToParcel()
45 return OK; in readFromParcel()
/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()
460 result = OK; in _validate_job()
524 result = ((ipp_job->status == HTTP_CONTINUE) ? OK : ERROR); in _start_job()
586 result = OK; in _end_job()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DJsonVhalEventGenerator.java56 assertEquals(StatusCode.OK, mVehicle.set(request)); in start()
66 assertEquals(StatusCode.OK, mVehicle.set(request)); in stop()
DLinearVhalEventGenerator.java86 assertEquals(StatusCode.OK, mVehicle.set(request)); in start()
95 assertEquals(StatusCode.OK, mVehicle.set(request)); in stop()
DObd2FreezeFrameTest.java56 assertEquals(StatusCode.OK, status.intValue()); in testFreezeFrame()
67 if (StatusCode.OK == frameStatus.intValue()) { in testFreezeFrame()
/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/services/Car/car-bugreportd/
Dmain.cpp71 using android::OK;
437 return OK; in createTempDir()
455 if (createTempDir(kTempDirectory) == OK) { in main()
/packages/services/Car/evs/sampleDriver/
DEvsGlDisplay.cpp130 return EvsResult::OK; in setDisplayState()
297 return EvsResult::OK; in returnTargetBufferForDisplay()

123