/frameworks/base/core/java/android/net/metrics/ |
D | ConnectStats.java | 63 boolean addEvent(int errno, int latencyMs, String ipAddr) { in addEvent() argument 65 if (isSuccess(errno)) { in addEvent() 66 countConnect(errno, ipAddr); in addEvent() 67 countLatency(errno, latencyMs); in addEvent() 70 countError(errno); in addEvent() 75 private void countConnect(int errno, String ipAddr) { in countConnect() argument 77 if (!isNonBlocking(errno)) { in countConnect() 85 private void countLatency(int errno, int ms) { in countLatency() argument 86 if (isNonBlocking(errno)) { in countLatency() 101 private void countError(int errno) { in countError() argument [all …]
|
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/ |
D | OsConstants.java | 1003 public static String errnoName(int errno) { in errnoName() argument 1004 if (errno == E2BIG) { in errnoName() 1007 if (errno == EACCES) { in errnoName() 1010 if (errno == EADDRINUSE) { in errnoName() 1013 if (errno == EADDRNOTAVAIL) { in errnoName() 1016 if (errno == EAFNOSUPPORT) { in errnoName() 1019 if (errno == EAGAIN) { in errnoName() 1022 if (errno == EALREADY) { in errnoName() 1025 if (errno == EBADF) { in errnoName() 1028 if (errno == EBADMSG) { in errnoName() [all …]
|
D | ErrnoException.java | 35 public final int errno; field in ErrnoException 40 public ErrnoException(String functionName, int errno) { in ErrnoException() argument 42 this.errno = errno; in ErrnoException() 48 public ErrnoException(String functionName, int errno, Throwable cause) { in ErrnoException() argument 51 this.errno = errno; in ErrnoException() 60 return functionName + " failed: " + errno; in getMessage()
|
/frameworks/base/cmds/incidentd/src/ |
D | FdBuffer.cpp | 85 VLOG("poll failed: %s", strerror(errno)); in read() 86 return -errno; in read() 89 VLOG("return event has error %s", strerror(errno)); in read() 90 return errno != 0 ? -errno : UNKNOWN_ERROR; in read() 95 if (errno == EAGAIN || errno == EWOULDBLOCK) { in read() 98 VLOG("Fail to read %d: %s", fd, strerror(errno)); in read() 99 return -errno; in read() 131 VLOG("Fail to read %d: %s", fd, strerror(errno)); in readFully() 132 return -errno; in readFully() 191 VLOG("Fail to poll: %s", strerror(errno)); in readProcessedDataInStream() [all …]
|
D | incidentd_util.cpp | 112 *status = -errno; in fork_execute_cmd() 128 _exit(errno); // always exits with failure if any in fork_execute_cmd() 133 *status = -errno; in fork_execute_cmd() 189 ALOGW("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout() 211 int saved_errno = errno; in waitpid_with_timeout() 215 ALOGW("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout() 221 errno = saved_errno; in waitpid_with_timeout() 222 if (errno == EAGAIN) { in waitpid_with_timeout() 223 errno = ETIMEDOUT; in waitpid_with_timeout() 225 ALOGW("*** sigtimedwait failed: %s\n", strerror(errno)); in waitpid_with_timeout() [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 64 if (errno != ENOENT) { in FileBlobCache() 66 strerror(errno), errno); in FileBlobCache() 73 ALOGE("error stat'ing cache file: %s (%d)", strerror(errno), errno); in FileBlobCache() 90 ALOGE("error mmaping cache file: %s (%d)", strerror(errno), in FileBlobCache() 91 errno); in FileBlobCache() 136 if (errno == EEXIST) { in writeToFile() 141 strerror(errno), errno); in writeToFile() 149 strerror(errno), errno); in writeToFile() 159 strerror(errno), errno); in writeToFile() 181 ALOGE("error writing cache file: %s (%d)", strerror(errno), in writeToFile() [all …]
|
/frameworks/libs/binary_translation/kernel_api/riscv64/ |
D | gen_syscall_emulation_riscv64_to_x86_64-inl.h | 104 errno = ENOSYS; in RunGuestSyscallImpl() 109 errno = ENOSYS; in RunGuestSyscallImpl() 163 errno = ENOSYS; in RunGuestSyscallImpl() 255 errno = ENOSYS; in RunGuestSyscallImpl() 260 errno = ENOSYS; in RunGuestSyscallImpl() 269 errno = ENOSYS; in RunGuestSyscallImpl() 274 errno = ENOSYS; in RunGuestSyscallImpl() 279 errno = ENOSYS; in RunGuestSyscallImpl() 304 errno = ENOSYS; in RunGuestSyscallImpl() 315 errno = ENOSYS; in RunGuestSyscallImpl() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ObbFile.cpp | 68 } while (_rc == -1 && errno == EINTR); \ 93 ALOGW("couldn't open file %s: %s", filename, strerror(errno)); in readFrom() 123 ALOGW("error seeking in ObbFile: %s\n", strerror(errno)); in parseObbFile() 139 ALOGW("couldn't read footer signature: %s\n", strerror(errno)); in parseObbFile() 167 ALOGW("seek %lld failed: %s\n", (long long int)fileOffset, strerror(errno)); in parseObbFile() 175 ALOGW("couldn't allocate scanBuf: %s\n", strerror(errno)); in parseObbFile() 182 ALOGI("couldn't read ObbFile footer: %s\n", strerror(errno)); in parseObbFile() 240 ALOGW("failed to write to %s: %s\n", filename, strerror(errno)); in writeTo() 263 ALOGW("couldn't write signature version: %s\n", strerror(errno)); in writeTo() 280 ALOGW("couldn't write salt: %s\n", strerror(errno)); in writeTo() [all …]
|
D | BackupHelpers.cpp | 98 return errno; in read_snapshot_file() 169 ALOGW("write_snapshot_file error writing header %s", strerror(errno)); in write_snapshot_file() 170 return errno; in write_snapshot_file() 181 ALOGW("write_snapshot_file error writing header %s", strerror(errno)); in write_snapshot_file() 188 ALOGW("write_snapshot_file error writing filename %s", strerror(errno)); in write_snapshot_file() 197 paddingLen, strerror(errno)); in write_snapshot_file() 297 return errno; in write_update_file() 302 return errno; in write_update_file() 522 err = errno; in write_tarfile() 550 err = errno; in write_tarfile() [all …]
|
/frameworks/base/native/android/ |
D | net.c | 55 errno = EINVAL; in android_setsocknetwork() 61 errno = -rval; in android_setsocknetwork() 70 errno = EINVAL; in android_setprocnetwork() 76 errno = -rval; in android_setprocnetwork() 84 errno = EINVAL; in android_getprocnetwork() 96 errno = EINVAL; in android_setprocdns() 102 errno = -rval; in android_setprocdns() 110 errno = EINVAL; in android_getprocdns() 117 errno = -rval; in android_getprocdns() 130 errno = EINVAL; in android_getaddrinfofornetwork()
|
/frameworks/native/cmds/rawbu/ |
D | backup.cpp | 76 path, strerror(errno)); in wipe() 127 nameBuffer, strerror(errno)); in wipe() 145 newpath, strerror(errno)); in wipe() 163 nameBuffer, strerror(errno)); in wipe() 177 fprintf(stderr, "unable to write int32 (%d bytes): %s\n", res, strerror(errno)); in write_int32() 188 fprintf(stderr, "unable to write int64 (%d bytes): %s\n", res, strerror(errno)); in write_int64() 198 errno = 0; in copy_file() 208 amt, origSize, srcName, errno != 0 ? strerror(errno) : "unexpected EOF"); in copy_file() 211 amt, origSize, errno != 0 ? strerror(errno) : "unexpected EOF"); in copy_file() 219 writeLen, readLen, destName, strerror(errno)); in copy_file() [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | service_dispatcher.cpp | 28 ALOGE("Failed to create event fd because: %s\n", strerror(errno)); in ServiceDispatcher() 34 ALOGE("Failed to create epoll fd because: %s\n", strerror(errno)); in ServiceDispatcher() 45 ALOGE("Failed to add event fd to epoll fd because: %s\n", strerror(errno)); in ServiceDispatcher() 80 ALOGE("Failed to add service to dispatcher because: %s\n", strerror(errno)); in AddService() 81 return -errno; in AddService() 99 strerror(errno)); in RemoveService() 100 return -errno; in RemoveService() 120 strerror(errno)); in ReceiveAndDispatch() 122 return count < 0 ? -errno : -ETIMEDOUT; in ReceiveAndDispatch() 151 if (count < 0 && errno != EINTR) { in EnterDispatchLoop() [all …]
|
/frameworks/base/apex/jobscheduler/service/jni/ |
D | com_android_server_alarm_AlarmManagerService.cpp | 105 errno = EINVAL; in set() 125 errno = EINVAL; in getTime() 148 if (err < 0 && errno != EAGAIN) { in waitForAlarm() 149 if (alarm_idx == ANDROID_ALARM_TYPE_COUNT && errno == ECANCELED) { in waitForAlarm() 164 if (errno == EINVAL) { in log_timerfd_create_error() 185 ALOGE("timerfd_create(%u) failed: %s", id, strerror(errno)); in log_timerfd_create_error() 195 ALOGE("epoll_create(%zu) failed: %s", fds.size(), strerror(errno)); in android_server_alarm_AlarmManagerService_init() 220 ALOGE("epoll_ctl(EPOLL_CTL_ADD) failed: %s", strerror(errno)); in android_server_alarm_AlarmManagerService_init() 232 ALOGE("timerfd_settime() failed: %s", strerror(errno)); in android_server_alarm_AlarmManagerService_init() 247 ALOGE("timerfd_gettime() failed for fd %d: %s\n", static_cast<int>(type), strerror(errno)); in android_server_alarm_AlarmManagerService_getNextAlarm() [all …]
|
/frameworks/native/cmds/bugreportz/ |
D | bugreportz.cpp | 53 if (errno == EAGAIN) { in bugreportz() 54 errno = ETIMEDOUT; in bugreportz() 56 printf("FAIL:Bugreport read terminated abnormally (%s)\n", strerror(errno)); in bugreportz() 83 if (errno == EAGAIN) { in bugreportz_stream() 84 errno = ETIMEDOUT; in bugreportz_stream() 86 printf("FAIL:Bugreport read terminated abnormally (%s)\n", strerror(errno)); in bugreportz_stream() 93 strerror(errno)); in bugreportz_stream()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | client_channel_factory.cpp | 70 ALOGE("ClientChannelFactory::Connect: socket error: %s", strerror(errno)); in Connect() 71 return ErrorStatus(errno); in Connect() 100 ALOGD("ClientChannelFactory: Connect error %d: %s", errno, in Connect() 101 strerror(errno)); in Connect() 105 if (errno == ECONNREFUSED || (errno == EACCES && max_eaccess-- > 0)) { in Connect() 109 ALOGD("ClientChannelFactory: %s, waiting...", strerror(errno)); in Connect() 112 } else if (errno != ENOENT && errno != ENOTDIR) { in Connect() 119 strerror(errno)); in Connect() 120 return ErrorStatus(errno); in Connect()
|
/frameworks/base/core/jni/ |
D | com_android_internal_security_VerityUtils.cpp | 43 return errno; in enableFsverityForFd() 54 return errno; in enableFsverityForFd() 80 return -errno; in statxForFsverity() 96 return -errno; in statxForFsverity() 101 if (errno == ENOTTY) { in statxForFsverity() 107 return -errno; in statxForFsverity() 124 return -errno; in measureFsverity() 127 return -errno; in measureFsverity()
|
/frameworks/native/services/gpuservice/gpumem/ |
D | GpuMem.cpp | 46 errno = 0; in initialize() 49 ALOGE("Failed to retrieve pinned program from %s [%d(%s)]", kGpuMemTotalProgPath, errno, in initialize() 50 strerror(errno)); in initialize() 55 errno = 0; in initialize() 60 kGpuMemTotalTracepoint, errno, strerror(errno)); in initialize() 69 errno = 0; in initialize() 72 ALOGE("Failed to create bpf map from %s [%d(%s)]", kGpuMemTotalMapPath, errno, in initialize() 73 strerror(errno)); in initialize()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateInternal.cpp | 56 MYLOGE("Unable to get AID_SHELL: %s\n", strerror(errno)); in DropRootUser() 66 MYLOGE("prctl(PR_SET_KEEPCAPS) failed: %s\n", strerror(errno)); in DropRootUser() 79 strerror(errno)); in DropRootUser() 85 MYLOGE("Unable to setgroups, aborting: %s\n", strerror(errno)); in DropRootUser() 89 MYLOGE("Unable to setgid, aborting: %s\n", strerror(errno)); in DropRootUser() 93 MYLOGE("Unable to setuid, aborting: %s\n", strerror(errno)); in DropRootUser() 105 MYLOGE("capget failed: %s\n", strerror(errno)); in DropRootUser() 127 capdata[1].effective, strerror(errno)); in DropRootUser() 170 dprintf(out_fd, "*** %s: poll failed: %s\n", path, strerror(errno)); in DumpFileFromFdToFd() 185 dprintf(out_fd, "*** %s: Failed to read from fd: %s", path, strerror(errno)); in DumpFileFromFdToFd()
|
/frameworks/opt/net/wifi/libwifi_system_iface/ |
D | interface_tool.cpp | 53 << " (" << strerror(errno) << ")"; in GetIfState() 66 << strerror(errno) << ")"; in GetUpState() 82 << strerror(errno) << ")"; in SetUpState() 104 << " (" << strerror(errno) << ")"; in SetUpState() 124 << strerror(errno) << ")"; in SetMacAddress() 137 << " (" << strerror(errno) << ")"; in SetMacAddress() 157 << strerror(errno) << ")"; in GetFactoryMacAddress() 171 << " (" << strerror(errno) << ")"; in GetFactoryMacAddress() 183 << " (" << strerror(errno) << ")"; in createBridge() 195 << " (" << strerror(errno) << ")"; in deleteBridge() [all …]
|
/frameworks/native/services/inputflinger/reader/ |
D | TouchVideoDevice.cpp | 54 ALOGE("Could not open video device %s: %s", devicePath.c_str(), strerror(errno)); in create() 61 ALOGE("VIDIOC_QUERYCAP failed: %s", strerror(errno)); in create() 77 ALOGE("VIDIOC_ENUMINPUT failed: %s", strerror(errno)); in create() 91 ALOGE("VIDIOC_G_FMT failed: %s", strerror(errno)); in create() 105 ALOGE("VIDIOC_REQBUFS failed: %s", strerror(errno)); in create() 122 ALOGE("VIDIOC_QUERYBUF failed: %s", strerror(errno)); in create() 135 ALOGE("%s: map failed: %s", __func__, strerror(errno)); in create() 143 ALOGE("VIDIOC_STREAMON failed: %s", strerror(errno)); in create() 151 ALOGE("VIDIOC_QBUF failed for buffer %zu: %s", i, strerror(errno)); in create() 193 if (errno != EAGAIN) { in readFrame() [all …]
|
/frameworks/native/services/vr/performanced/ |
D | performance_service_tests.cpp | 40 const int error = file ? 0 : errno; in OpenTaskFile() 280 << "Failed to set gid: " << strerror(errno); in TEST() 282 << "Failed to set uid: " << strerror(errno); in TEST() 318 << "Failed to restore uid: " << strerror(errno); in TEST() 320 << "Failed to set uid: " << strerror(errno); in TEST() 356 << "Failed to restore uid: " << strerror(errno); in TEST() 358 << "Failed to restore gid: " << strerror(errno); in TEST() 360 << "Failed to set gid: " << strerror(errno); in TEST() 362 << "Failed to set uid: " << strerror(errno); in TEST() 398 << "Failed to restore uid: " << strerror(errno); in TEST() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | FileBase.cpp | 88 if (errno != EINTR) { in open() 106 } else if (errno != EINTR) { in checkFileIntegrity() 116 } else if (errno != EINTR) { in checkFileIntegrity() 128 mError.assign(errno, std::generic_category()); in detectError() 186 if (errno == EINTR) { in lock() 190 } else if (errno == EWOULDBLOCK) { in lock() 216 } while (errno == EINTR); in unlock()
|
/frameworks/libs/binary_translation/kernel_api/ |
D | sys_ptrace_emulation.cc | 72 errno = EPERM; in PtraceForGuest() 80 errno = EINVAL; in PtraceForGuest() 82 errno = EFAULT; in PtraceForGuest() 87 errno = EINVAL; in PtraceForGuest() 91 errno = EPERM; in PtraceForGuest()
|
/frameworks/av/services/oboeservice/ |
D | SharedMemoryProxy.cpp | 49 ALOGE("open() ashmem_create_region() failed %d", errno); in open() 54 ALOGE("open() ashmem_set_prot_region() failed %d", errno); in open() 67 mOriginalFileDescriptor, errno, strerror(errno)); in open() 77 ALOGE("open() proxy mmap(%d) failed %d", mProxyFileDescriptor, errno); in open()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_connectivity_Vpn.cpp | 69 ALOGE("Cannot allocate TUN: %s", strerror(errno)); in create_interface() 76 ALOGE("Cannot activate %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface() 83 ALOGE("Cannot set MTU on %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface() 98 ALOGE("Cannot get interface name: %s", strerror(errno)); in get_interface_name() 110 ALOGE("Cannot get index of %s: %s", name, strerror(errno)); in get_interface_index() 151 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; in set_addresses() 166 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; in set_addresses() 173 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; in set_addresses() 184 ALOGE("Cannot add address: %s/%d: %s", address, prefix, strerror(errno)); in set_addresses() 199 if (ioctl(inet4, SIOCSIFFLAGS, &ifr4) && errno != ENODEV) { in reset_interface() [all …]
|