Searched refs:errno (Results 51 - 75 of 220) sorted by path

123456789

/frameworks/base/core/java/android/net/
H A DNetwork.java340 if (e.errno != OsConstants.ENOTCONN) {
350 // bindSocketToNetwork returns negative errno.
/frameworks/base/core/java/android/os/
H A DFileUtils.java91 * @return 0 on success, otherwise errno.
103 * @return 0 on success, otherwise errno.
110 return e.errno;
118 return e.errno;
131 * @return 0 on success, otherwise errno.
138 return e.errno;
146 return e.errno;
H A DParcelFileDescriptor.java780 if (e.errno == OsConstants.EAGAIN) {
/frameworks/base/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java80 final int errno = native_tagSocketFd(fd, tag, uid);
81 if (errno < 0) {
84 + uid + ") failed with errno" + errno);
102 final int errno = native_untagSocketFd(fd);
103 if (errno < 0) {
104 Log.w(TAG, "untagSocket(" + fd.getInt$() + ") failed with errno " + errno);
116 final int errno = native_setCounterSet(counterSet, uid);
117 if (errno <
[all...]
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp766 strerror(errno));
H A Dandroid_app_NativeActivity.cpp93 if (res < 0 && errno == EINTR) {
99 if (res < 0) ALOGW("Failed writing to work fd: %s", strerror(errno));
108 if (res < 0) ALOGW("Failed reading work fd: %s", strerror(errno));
305 ALOGW("could not create pipe: %s", strerror(errno));
312 "non-blocking: %s", strerror(errno));
315 "non-blocking: %s", strerror(errno));
H A Dandroid_app_admin_SecurityLog.cpp138 jniThrowIOException(env, errno);
143 jniThrowIOException(env, errno);
H A Dandroid_backup_BackupHelperDispatcher.cpp192 return (jint) errno;
199 return (jint) errno;
206 return (jint) errno;
H A Dandroid_database_SQLiteConnection.cpp518 error = errno;
524 error = errno;
534 error = errno;
535 ALOGE("ashmem_set_prot_region failed: %s", strerror(errno));
H A Dandroid_ddm_DdmHandleNativeHeap.cpp29 #include <errno.h>
H A Dandroid_hardware_UsbDeviceConnection.cpp118 if (ret && force && errno == EBUSY) {
H A Dandroid_hardware_camera2_CameraMetadata.cpp387 ALOGE("%s: Failed to close writeFd (errno = %#x, message = '%s')",
388 __FUNCTION__, errno, strerror(errno));
414 "Failed to create socketpair (errno = %#x, message = '%s')",
415 errno, strerror(errno));
443 "Failed to create thread for writing (errno = %#x, message = '%s')",
469 "Failed to read from fd (errno = %#x, message = '%s')",
470 errno, strerror(errno));
[all...]
H A Dandroid_net_LocalSocketImpl.cpp32 #include <errno.h>
76 jniThrowIOException(env, errno);
110 jniThrowIOException(env, errno);
207 } while (ret < 0 && errno == EINTR);
209 if (ret < 0 && errno == EPIPE) {
215 jniThrowIOException(env, errno);
303 } while (ret < 0 && errno == EINTR);
306 jniThrowIOException(env, errno);
341 jniThrowIOException(env, errno);
483 jniThrowIOException(env, errno);
[all...]
H A Dandroid_net_NetUtils.cpp86 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno));
124 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno));
H A Dandroid_net_TrafficStats.cpp20 #include <errno.h>
H A Dandroid_os_Debug.cpp35 #include <errno.h>
693 ALOGW("Unable to open /proc/meminfo: %s\n", strerror(errno));
997 ALOGW("dup(%d) failed: %s\n", origFd, strerror(errno));
1004 ALOGW("fdopen(%d) failed: %s\n", fd, strerror(errno));
1035 fprintf(stderr, "Can't open %s: %s\n", fileName8.string(), strerror(errno));
1040 fprintf(stderr, "lseek: %s\n", strerror(errno));
H A Dandroid_os_MemoryFile.cpp128 if (errno == ENOTTY) {
134 jniThrowIOException(env, errno);
H A Dandroid_os_Parcel.cpp487 jniThrowException(env, "java/io/FileNotFoundException", strerror(errno));
511 jniThrowIOException(env, errno);
H A Dandroid_os_SELinux.cpp25 #include <errno.h>
H A Dandroid_os_SystemClock.cpp25 #include <errno.h>
H A Dandroid_server_NetworkManagementSocketTagger.cpp26 #include <errno.h>
45 return (jint)-errno;
61 return (jint)-errno;
71 return (jint)-errno;
81 return (jint)-errno;
H A Dandroid_server_Watchdog.cpp25 #include <errno.h>
51 ALOGE("Unable to open stack of tid %d : %d (%s)", tid, errno, strerror(errno));
70 ALOGE("Unable to open stack dump file: %d (%s)", errno, strerror(errno));
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp1020 ALOGE("Error allocating dup fd. Error:%d", errno);
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfEditor.cpp79 ALOGE("Cannot read from file descriptor. Error:%d", errno);
142 if (errno == EINTR) {
146 "Error writing to buffer: %d", errno);
159 ALOGE("Cannot write to file descriptor. Error:%d", errno);
173 "cannot write to fd. Error: %d", errno);
H A DPdfRenderer.cpp71 ALOGE("Cannot read from file descriptor. Error:%d", errno);

Completed in 185 milliseconds

123456789