Home
last modified time | relevance | path

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

1234567

/packages/services/BuiltInPrintService/jni/lib/
Dprinter.c51 if (!print_job) return ERROR; in _init()
59 if (print_job->psock == ERROR) { in _init()
69 print_job->job_status = ((print_job->psock != -1) ? OK : ERROR); in _init()
86 return ERROR; in _start_job()
101 retval = ERROR; in _send_data()
120 retval = ERROR; in _send_data()
126 retval = ERROR; in _send_data()
133 retval = ERROR; in _send_data()
136 retval = (print_job->timeout_enabled ? ERROR : OK); in _send_data()
137 if (retval == ERROR) { in _send_data()
[all …]
Dlib_wprint.c461 return ERROR; in _recycle_handle()
493 return ERROR; in _recycle_handle()
509 return ERROR; in _stop_status_thread()
616 cb_param.job_done_result = ERROR; in _job_status_callback()
664 int result = ERROR; in _start_status_thread()
679 if ((result == ERROR) && (_job_status_tid != pthread_self())) { in _start_status_thread()
919 PRINT_STATUS_IDLE) ? OK : ERROR); in _job_thread()
928 if (job_result == ERROR) { in _job_thread()
1008 if (jq->print_ifc->check_status(jq->print_ifc) == ERROR) { in _job_thread()
1009 job_result = ERROR; in _job_thread()
[all …]
DwprintJNI.c349 jint result = ERROR; in _print_pdf_pages()
592 return ERROR; in _convertPrinterCaps_to_C()
598 return ERROR; in _convertPrinterCaps_to_C()
613 return ERROR; in _convertPrinterCaps_to_Java()
709 return ERROR; in _convertJobParams_to_C()
715 return ERROR; in _convertJobParams_to_C()
854 return ERROR; in _covertJobParams_to_Java()
995 case ERROR: in _wprint_callback_fn()
1207 result = ERROR; in Java_com_android_bips_ipp_Backend_nativeGetCapabilities()
1283 jint result = ERROR; in Java_com_android_bips_ipp_Backend_nativeStartJob()
[all …]
/packages/apps/Nfc/nci/jni/
DRoutingManager.cpp133 LOG(ERROR) << StringPrintf("%s: fail ee register; error=0x%X", fn, in initialize()
153 LOG(ERROR) << StringPrintf("Failed to configure CE IsoDep technologies"); in initialize()
158 LOG(ERROR) << fn << "Failed to register wildcard AID for DH"; in initialize()
183 LOG(ERROR) << fn << "Fail to set default proto routing for T3T"; in enableRoutingToHost()
194 LOG(ERROR) << fn << "Fail to set default proto routing for IsoDep"; in enableRoutingToHost()
206 LOG(ERROR) << fn << "Fail to set default tech routing for Nfc-A"; in enableRoutingToHost()
218 LOG(ERROR) << fn << "Fail to set default tech routing for Nfc-F"; in enableRoutingToHost()
234 LOG(ERROR) << fn << "Fail to set default proto routing for IsoDep"; in disableRoutingToHost()
243 LOG(ERROR) << fn << "Fail to set default tech routing for Nfc-A"; in disableRoutingToHost()
252 LOG(ERROR) << fn << "Fail to set default tech routing for Nfc-F"; in disableRoutingToHost()
[all …]
DPeerToPeer.cpp226 LOG(ERROR) << StringPrintf("%s: service name=%s no free entry", fn, in registerServer()
236 LOG(ERROR) << StringPrintf("%s: invalid server handle", fn); in registerServer()
268 LOG(ERROR) << StringPrintf("%s: unknown server jni handle: %u", fn, in removeServer()
296 LOG(ERROR) << StringPrintf("%s: jni env is null", fn); in llcpActivatedHandler()
304 LOG(ERROR) << StringPrintf("%s: fail get p2p device", fn); in llcpActivatedHandler()
346 LOG(ERROR) << StringPrintf("%s: fail notify", fn); in llcpActivatedHandler()
371 LOG(ERROR) << StringPrintf("%s: jni env is null", fn); in llcpDeactivatedHandler()
383 LOG(ERROR) << StringPrintf("%s: fail notify", fn); in llcpDeactivatedHandler()
398 LOG(ERROR) << StringPrintf("%s: jni env is null", fn); in llcpFirstPacketHandler()
410 LOG(ERROR) << StringPrintf("%s: fail notify", fn); in llcpFirstPacketHandler()
[all …]
DNativeNfcTag.cpp238 LOG(ERROR) << StringPrintf("%s: Unknown event %u ????", __func__, event); in ndefHandlerCallback()
367 LOG(ERROR) << StringPrintf("%s: semaphore creation failed (errno=0x%08x)", in nativeNfcTag_doWrite()
387 LOG(ERROR) << StringPrintf("%s: can't format mifare classic tag", in nativeNfcTag_doWrite()
400 LOG(ERROR) << StringPrintf("%s: can't format mifare classic tag", in nativeNfcTag_doWrite()
441 LOG(ERROR) << StringPrintf("%s: write/format error=%d", __func__, status); in nativeNfcTag_doWrite()
448 LOG(ERROR) << StringPrintf("%s: wait semaphore (errno=0x%08x)", __func__, in nativeNfcTag_doWrite()
458 LOG(ERROR) << StringPrintf("%s: failed destroy semaphore (errno=0x%08x)", in nativeNfcTag_doWrite()
534 LOG(ERROR) << StringPrintf("%s: Handle not found", __func__); in nativeNfcTag_doConnect()
540 LOG(ERROR) << StringPrintf("%s: tag already deactivated", __func__); in nativeNfcTag_doConnect()
621 LOG(ERROR) << StringPrintf("%s: deactivate failed, status = %d", in reSelect()
[all …]
DNativeNfcManager.cpp307 LOG(ERROR) << StringPrintf("%s: NFA_DISC_RESULT_EVT error: status = %d", in nfaConnectionCallback()
329 LOG(ERROR) << StringPrintf( in nfaConnectionCallback()
395 LOG(ERROR) << StringPrintf("%s: Failed to disable RF field events", in nfaConnectionCallback()
459 LOG(ERROR) << StringPrintf( in nfaConnectionCallback()
477 LOG(ERROR) << StringPrintf("%s: NFA_TLV_DETECT_EVT error: status = %d", in nfaConnectionCallback()
516 LOG(ERROR) << StringPrintf("%s: NFA_SELECT_CPLT_EVT error: status = %d", in nfaConnectionCallback()
546 LOG(ERROR) << StringPrintf( in nfaConnectionCallback()
636 LOG(ERROR) << StringPrintf("%s: fail allocate native data", __func__); in nfcManager_initNativeStruc()
685 LOG(ERROR) << StringPrintf("%s: fail cache NativeNfcTag", __func__); in nfcManager_initNativeStruc()
691 LOG(ERROR) << StringPrintf("%s: fail cache NativeP2pDevice", __func__); in nfcManager_initNativeStruc()
[all …]
DCondVar.cpp48 LOG(ERROR) << StringPrintf("CondVar::CondVar: fail init; error=0x%X", res); in CondVar()
64 LOG(ERROR) << StringPrintf("CondVar::~CondVar: fail destroy; error=0x%X", in ~CondVar()
81 LOG(ERROR) << StringPrintf("CondVar::wait: fail wait; error=0x%X", res); in wait()
100 LOG(ERROR) << StringPrintf("CondVar::wait: fail get time; errno=0x%X", in wait()
115 LOG(ERROR) << StringPrintf("CondVar::wait: fail timed wait; error=0x%X", in wait()
133 LOG(ERROR) << StringPrintf("CondVar::notifyOne: fail signal; error=0x%X", in notifyOne()
DPowerSwitch.cpp115 LOG(ERROR) << StringPrintf("%s: not handled", fn); in initialize()
162 LOG(ERROR) << StringPrintf("%s: unknown power level", fn); in setLevel()
197 LOG(ERROR) << StringPrintf("%s: not handled", fn); in setLevel()
296 LOG(ERROR) << StringPrintf("%s: API fail; stat=0x%X", fn, stat); in setPowerOffSleepState()
300 LOG(ERROR) << StringPrintf( in setPowerOffSleepState()
321 LOG(ERROR) << StringPrintf( in setPowerOffSleepState()
330 LOG(ERROR) << StringPrintf("%s: API fail; stat=0x%X", fn, stat); in setPowerOffSleepState()
334 LOG(ERROR) << StringPrintf( in setPowerOffSleepState()
DNativeLlcpConnectionlessSocket.cpp86 LOG(ERROR) << StringPrintf("%s: NFA_P2pSendUI failed, status = %d", in nativeLlcpConnectionlessSocket_doSendTo()
191 LOG(ERROR) << StringPrintf("%s: semaphore creation failed (errno=0x%08x)", in nativeLlcpConnectionlessSocket_doReceiveFrom()
200 LOG(ERROR) << StringPrintf( in nativeLlcpConnectionlessSocket_doReceiveFrom()
209 LOG(ERROR) << StringPrintf("%s: Find LlcpPacket class error", __func__); in nativeLlcpConnectionlessSocket_doReceiveFrom()
217 LOG(ERROR) << StringPrintf("%s: Get Object class error", __func__); in nativeLlcpConnectionlessSocket_doReceiveFrom()
244 LOG(ERROR) << StringPrintf( in nativeLlcpConnectionlessSocket_doReceiveFrom()
271 LOG(ERROR) << StringPrintf("%s: disconnect failed, status = %d", __func__, in nativeLlcpConnectionlessSocket_doClose()
DNfcTag.cpp386 LOG(ERROR) << StringPrintf("%s: unknown protocol ????", fn); in discoverTechnologies()
419 LOG(ERROR) << StringPrintf("%s: exceed max=%d", fn, MAX_NUM_TECHNOLOGY); in discoverTechnologies()
507 LOG(ERROR) << StringPrintf("%s: unknown protocol ????", fn); in discoverTechnologies()
543 LOG(ERROR) << StringPrintf("%s: jni env is null", fn); in createNativeNfcTag()
551 LOG(ERROR) << StringPrintf("%s: failed to get class", fn); in createNativeNfcTag()
587 LOG(ERROR) << StringPrintf("%s: fail notify nfc service", fn); in createNativeNfcTag()
722 LOG(ERROR) << StringPrintf("%s: sensb_res_len error", fn); in fillNativeNfcTagMembers3()
778 LOG(ERROR) << StringPrintf("%s: tech unknown ????", fn); in fillNativeNfcTagMembers3()
859 LOG(ERROR) << StringPrintf( in fillNativeNfcTagMembers4()
884 LOG(ERROR) << StringPrintf( in fillNativeNfcTagMembers4()
[all …]
DNfcJniUtil.cpp83 LOG(ERROR) << StringPrintf("%s: find class error", __func__); in nfc_jni_cache_object()
90 LOG(ERROR) << StringPrintf("%s: create object error", __func__); in nfc_jni_cache_object()
96 LOG(ERROR) << StringPrintf("%s: global ref error", __func__); in nfc_jni_cache_object()
150 LOG(ERROR) << StringPrintf("%s: find class error", __func__); in nfc_jni_cache_object_local()
157 LOG(ERROR) << StringPrintf("%s: create object error", __func__); in nfc_jni_cache_object_local()
163 LOG(ERROR) << StringPrintf("%s: global ref error", __func__); in nfc_jni_cache_object_local()
DMutex.cpp45 LOG(ERROR) << StringPrintf("Mutex::Mutex: fail init; error=0x%X", res); in Mutex()
61 LOG(ERROR) << StringPrintf("Mutex::~Mutex: fail destroy; error=0x%X", res); in ~Mutex()
77 LOG(ERROR) << StringPrintf("Mutex::lock: fail lock; error=0x%X", res); in lock()
93 LOG(ERROR) << StringPrintf("Mutex::unlock: fail unlock; error=0x%X", res); in unlock()
109 LOG(ERROR) << StringPrintf("Mutex::tryLock: error=0x%X", res); in tryLock()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/
DphNxpExtns.cpp62 LOG(ERROR) << StringPrintf("EXTNS_Init(): error null callback"); in EXTNS_Init()
70 LOG(ERROR) << StringPrintf("ERROR: MFC Module Init Failed"); in EXTNS_Init()
122 LOG(ERROR) << StringPrintf("Error Sending msg to Extension Thread"); in EXTNS_MfcCallBack()
153 LOG(ERROR) << StringPrintf("Error Sending msg to Extension Thread"); in EXTNS_MfcCheckNDef()
185 LOG(ERROR) << StringPrintf("Error Sending msg to Extension Thread"); in EXTNS_MfcReadNDef()
213 LOG(ERROR) << StringPrintf("%s: semaphore creation failed (errno=%d)", in EXTNS_MfcPresenceCheck()
220 LOG(ERROR) << StringPrintf("Error Sending msg to Extension Thread"); in EXTNS_MfcPresenceCheck()
254 LOG(ERROR) << StringPrintf("Error Sending msg to Extension Thread"); in EXTNS_MfcSetReadOnly()
287 LOG(ERROR) << StringPrintf("Error Sending msg to Extension Thread"); in EXTNS_MfcWriteNDef()
318 LOG(ERROR) << StringPrintf("Error Sending msg to Extension Thread"); in EXTNS_MfcFormatTag()
[all …]
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/
Dbt_binder_facade.cpp55 LOG(ERROR) << sl4n::kTagStr << " IBluetooth interface not initialized"; in SharedValidator()
61 LOG(ERROR) << sl4n::kTagStr << " IBluetooth interface not enabled"; in SharedValidator()
69 LOG(ERROR) << sl4n::kTagStr << ": IBluetooth interface not enabled"; in BtBinderEnable()
75 LOG(ERROR) << sl4n::kTagStr << ": Failed to enable the Bluetooth service"; in BtBinderEnable()
100 LOG(ERROR) << sl4n::kTagStr << ": Failed to get device name"; in BtBinderGetName()
117 LOG(ERROR) << sl4n::kTagStr << ": Failed to set device name"; in BtBinderSetName()
126 LOG(ERROR) << "Failed to get service binder: '" << kServiceName in BtBinderInitInterface()
140 LOG(ERROR) << sl4n::kTagStr << ": Failed to register BLE"; in BtBinderRegisterBLE()
163 LOG(ERROR) << sl4n::kTagStr << in BtBinderSetAdvSettings()
187 LOG(ERROR) << sl4n::kTagStr << in BtBinderSetAdvSettings()
[all …]
/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pcl.c159 return ERROR; in _start_thread()
173 if ((result == ERROR) && (param->send_tid != pthread_self())) { in _start_thread()
198 status_t result = ERROR; in _stop_thread()
262 if (_start_thread(priv) == ERROR) continue; in _start_job()
273 return ERROR; in _start_job()
292 if (job_params == NULL) return ERROR; in _print_page()
296 if (priv == NULL) return ERROR; in _print_page()
311 result = ERROR; in _print_page()
314 if (image_info == NULL) return ERROR; in _print_page()
398 while ((result != ERROR) && (num_rows > 0)) { in _print_page()
[all …]
Dplugin_pdf.c57 if (job_params == NULL) return ERROR; in _start_job()
60 if ((wprint_ifc_p == NULL) || (print_job_ifc_p == NULL)) return ERROR; in _start_job()
78 if (job_params == NULL) return ERROR; in _print_page()
82 if (priv == NULL) return ERROR; in _print_page()
88 return ERROR; in _print_page()
92 if (fd != ERROR) { in _print_page()
102 result = ERROR; in _print_page()
Dpdf_render.c50 if (!gPdfRenderClass) return ERROR; in openDocument()
62 if (!gPdfRenderClass) return ERROR; in getPageAttributes()
68 if (size == NULL) return ERROR; in getPageAttributes()
79 if (!gPdfRenderClass) return ERROR; in renderPageStripe()
88 return ERROR; in renderPageStripe()
/packages/apps/Test/connectivity/sl4n/facades/wifi/
Dwifi_facade.cpp77 LOG(ERROR) << sl4n::kTagStr << ": Can not get Wi-Fi interfaces"; in WifiGetInterfaces()
82 LOG(ERROR) << sl4n::kTagStr << ": Negative number of interfaces"; in WifiGetInterfaces()
87 LOG(ERROR) << sl4n::kTagStr in WifiGetInterfaces()
93 LOG(ERROR) << sl4n::kTagStr in WifiGetInterfaces()
103 LOG(ERROR) << sl4n::kTagStr in WifiGetInterfaces()
119 LOG(ERROR) << sl4n::kTagStr << "HAL handle not initialized"; in SharedValidator()
124 LOG(ERROR) << sl4n::kTagStr << "HAL interfaces not initialized"; in SharedValidator()
129 LOG(ERROR) << sl4n::kTagStr << kWlanInterface << " interface not found"; in SharedValidator()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hearing_aid.cpp57 LOG(ERROR) << "Failed to new jbyteArray bd addr for connection state"; in OnConnectionState()
79 LOG(ERROR) << "Failed to new jbyteArray bd addr for connection state"; in OnDeviceAvailable()
109 LOG(ERROR) << "Bluetooth module is not loaded"; in initNative()
126 LOG(ERROR) << "Failed to allocate Global Ref for Hearing Aid Callbacks"; in initNative()
133 LOG(ERROR) << "Failed to get Bluetooth Hearing Aid Interface"; in initNative()
146 LOG(ERROR) << "Bluetooth module is not loaded"; in cleanupNative()
215 LOG(ERROR) << __func__ in setVolumeNative()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipp_print.c84 return ERROR; in _init()
407 status_t result = ERROR; in _validate_job()
462 result = ERROR; in _validate_job()
524 result = ((ipp_job->status == HTTP_CONTINUE) ? OK : ERROR); in _start_job()
533 return ERROR; in _send_data()
538 return ERROR; in _send_data()
542 return ERROR; in _send_data()
551 return ((ipp_job->status == HTTP_CONTINUE) ? length : (int) ERROR); in _send_data()
556 status_t result = ERROR; in _end_job()
/packages/apps/Test/connectivity/sl4n/
Dmain.cpp61 LOG(ERROR) << sl4n::kTagStr << in SockTest()
69 LOG(ERROR) << sl4n::kTagStr << ": Failed to setup the passive socket." in SockTest()
76 LOG(ERROR) << sl4n::kTagStr << ": Failed to accept the socket." in SockTest()
110 LOG(ERROR) << "Failed to set up logging"; in main()
/packages/apps/Car/Radio/src/com/android/car/radio/util/
DLog.java30 public static final int ERROR = android.util.Log.ERROR; field in Log
66 if (!isLoggable(tag, ERROR)) return 0; in e()
72 if (!isLoggable(tag, ERROR)) return 0; in e()
/packages/apps/Messaging/src/com/android/messaging/util/
DLogUtil.java36 public static final int ERROR = android.util.Log.ERROR; field in LogUtil
165 println(android.util.Log.ERROR, tag, msg); in e()
176 println(android.util.Log.ERROR, tag, msg); in e()
177 println(android.util.Log.ERROR, tag, android.util.Log.getStackTraceString(tr)); in e()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DBodyDescriptor.java177 final byte ERROR = 99; in getHeaderParams()
185 case ERROR: in getHeaderParams()
193 state = ERROR; in getHeaderParams()
206 state = ERROR; in getHeaderParams()
269 state = ERROR; in getHeaderParams()

1234567