/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 80 final int errno = native_tagSocketFd(fd, tag, uid); in tagSocketFd() local 81 if (errno < 0) { in tagSocketFd() 84 + uid + ") failed with errno" + errno); in tagSocketFd() 102 final int errno = native_untagSocketFd(fd); in unTagSocketFd() local 103 if (errno < 0) { in unTagSocketFd() 104 Log.w(TAG, "untagSocket(" + fd.getInt$() + ") failed with errno " + errno); in unTagSocketFd() 116 final int errno = native_setCounterSet(counterSet, uid); in setKernelCounterSet() local 117 if (errno < 0) { in setKernelCounterSet() 119 + errno); in setKernelCounterSet() 126 int errno = native_deleteTagData(0, uid); in resetKernelUidStats() local [all …]
|
/frameworks/native/cmds/installd/ |
D | commands.c | 59 ALOGE("cannot create dir '%s': %s\n", pkgdir, strerror(errno)); in install() 63 ALOGE("cannot chmod dir '%s': %s\n", pkgdir, strerror(errno)); in install() 69 if (errno != ENOENT) { in install() 70 ALOGE("couldn't stat lib dir: %s\n", strerror(errno)); in install() 89 strerror(errno)); in install() 95 ALOGE("cannot setfilecon dir '%s': %s\n", pkgdir, strerror(errno)); in install() 98 return -errno; in install() 102 ALOGE("cannot chown dir '%s': %s\n", pkgdir, strerror(errno)); in install() 133 ALOGE("cannot rename dir '%s' to '%s': %s\n", oldpkgdir, newpkgdir, strerror(errno)); in renamepkg() 134 return -errno; in renamepkg() [all …]
|
D | installd.c | 157 if (errno == EINTR) continue; in readx() 158 ALOGE("read error: %s\n", strerror(errno)); in readx() 178 if (errno == EINTR) continue; in writex() 179 ALOGE("write error: %s\n", strerror(errno)); in writex() 382 ALOGE("Failed to move legacy media path: %s", strerror(errno)); in initialize_directories() 399 ALOGE("Failed to move owner media path: %s", strerror(errno)); in initialize_directories() 450 ALOGE("Failed to move OBB from owner: %s", strerror(errno)); in initialize_directories() 469 ALOGE("Failed to save version to %s: %s", version_path, strerror(errno)); in initialize_directories() 486 ALOGE("prctl(PR_SET_KEEPCAPS) failed: %s\n", strerror(errno)); in drop_privileges() 518 ALOGE("capset failed: %s\n", strerror(errno)); in drop_privileges() [all …]
|
/frameworks/native/cmds/ip-up-vpn/ |
D | ip-up-vpn.c | 43 errno = EINVAL; in set_address() 70 ALOGE("Cannot create state: %s", strerror(errno)); in main() 99 if (errno != ESRCH) { in main() 100 ALOGE("Cannot remove host route: %s", strerror(errno)); in main() 107 (ioctl(s, SIOCADDRT, &rt) && errno != EEXIST)) { in main() 108 ALOGE("Cannot create host route: %s", strerror(errno)); in main() 116 ALOGE("Cannot bring up %s: %s", interface, strerror(errno)); in main() 123 ALOGE("Cannot set address: %s", strerror(errno)); in main() 130 ALOGE("Cannot set netmask: %s", strerror(errno)); in main() 149 ALOGE("Cannot write state: %s", strerror(errno)); in main()
|
/frameworks/av/libvideoeditor/osal/src/ |
D | LVOSA_FileReader_optim.c | 230 M4OSA_ERR errno = M4NO_ERROR; in M4OSA_FileReader_BufferFill() local 235 M4OSA_UInt16 errno; in M4OSA_FileReader_BufferFill() local 255 errno = apContext->FS->seek(apContext->aFileDesc, M4OSA_kFileSeekCurrent, in M4OSA_FileReader_BufferFill() 259 if(M4NO_ERROR != errno) in M4OSA_FileReader_BufferFill() 261 err = errno; in M4OSA_FileReader_BufferFill() 268 M4OSA_kFileSeekCurrent, &errno); in M4OSA_FileReader_BufferFill() 273 err = M4OSA_ERR_CREATE(M4_ERR, M4OSA_FILE_READER, errno); in M4OSA_FileReader_BufferFill() 285 errno = apContext->FS->readData(apContext->aFileDesc, in M4OSA_FileReader_BufferFill() 289 if ((M4NO_ERROR != errno)&&(M4WAR_NO_DATA_YET != errno)) in M4OSA_FileReader_BufferFill() 294 err = errno; in M4OSA_FileReader_BufferFill() [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", 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() 299 return errno; in write_update_file() 304 return errno; in write_update_file() 527 err = errno; in write_tarfile() 542 err = errno; in write_tarfile() [all …]
|
/frameworks/native/cmds/rawbu/ |
D | backup.cpp | 76 path, strerror(errno)); in wipe() 127 nameBuffer, strerror(errno)); in wipe() 146 newpath, strerror(errno)); in wipe() 164 nameBuffer, strerror(errno)); in wipe() 178 fprintf(stderr, "unable to write int32 (%d bytes): %s\n", res, strerror(errno)); in write_int32() 189 fprintf(stderr, "unable to write int64 (%d bytes): %s\n", res, strerror(errno)); in write_int64() 199 errno = 0; in copy_file() 209 amt, origSize, srcName, errno != 0 ? strerror(errno) : "unexpected EOF"); in copy_file() 212 amt, origSize, errno != 0 ? strerror(errno) : "unexpected EOF"); in copy_file() 220 writeLen, readLen, destName, strerror(errno)); in copy_file() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | utils.c | 57 printf("Failed to open /proc (%s)\n", strerror(errno)); in __for_each_pid() 104 printf("Failed to open %s (%s)\n", taskpath, strerror(errno)); in for_each_tid_helper() 157 printf("Failed to open '%s' (%s)\n", path, strerror(errno)); in show_wchan() 162 printf("Failed to read '%s' (%s)\n", path, strerror(errno)); in show_wchan() 215 int err = errno; in dump_file() 259 printf("*** fork: %s\n", strerror(errno)); in run_command() 283 printf("*** exec(%s): %s\n", command, strerror(errno)); in run_command() 348 fprintf(stderr, "android_get_control_socket(%s): %s\n", service, strerror(errno)); in redirect_to_socket() 352 fprintf(stderr, "listen(control socket): %s\n", strerror(errno)); in redirect_to_socket() 360 fprintf(stderr, "accept(control socket): %s\n", strerror(errno)); in redirect_to_socket() [all …]
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_ZygoteInit.cpp | 43 return errno; in com_android_internal_os_ZygoteInit_setreuid() 56 return errno; in com_android_internal_os_ZygoteInit_setregid() 69 return errno; in com_android_internal_os_ZygoteInit_setpgid() 85 jniThrowIOException(env, errno); in com_android_internal_os_ZygoteInit_getpgid() 105 } while (err < 0 && errno == EINTR); in com_android_internal_os_ZygoteInit_reopenStdio() 115 } while (err < 0 && errno == EINTR); in com_android_internal_os_ZygoteInit_reopenStdio() 125 } while (err < 0 && errno == EINTR); in com_android_internal_os_ZygoteInit_reopenStdio() 144 jniThrowIOException(env, errno); in com_android_internal_os_ZygoteInit_setCloseOnExec() 157 jniThrowIOException(env, errno); in com_android_internal_os_ZygoteInit_setCloseOnExec() 178 jniThrowIOException(env, errno); in com_android_internal_os_ZygoteInit_capgetPermitted() [all …]
|
D | android_net_LocalSocketImpl.cpp | 60 jniThrowIOException(env, errno); in socket_create() 95 jniThrowIOException(env, errno); in socket_connect_local() 132 jniThrowIOException(env, errno); in socket_bind_local() 153 jniThrowIOException(env, errno); in socket_listen() 189 } while (ret < 0 && errno == EINTR); in socket_accept() 192 jniThrowIOException(env, errno); in socket_accept() 219 jniThrowIOException(env, errno); in socket_shutdown() 299 jniThrowIOException(env, errno); in socket_getOption() 370 jniThrowIOException(env, errno); in socket_setOption() 393 jniThrowIOException(env, errno); in socket_pending() [all …]
|
D | android_server_NetworkManagementSocketTagger.cpp | 45 return (jint)-errno; in QTagUid_tagSocketFd() 61 return (jint)-errno; in QTagUid_untagSocketFd() 71 return (jint)-errno; in QTagUid_setCounterSet() 81 return (jint)-errno; in QTagUid_deleteTagData()
|
/frameworks/compile/libbcc/lib/Support/ |
D | FileBase.cpp | 79 if (errno != EINTR) { in open() 97 } else if (errno != EINTR) { in checkFileIntegrity() 107 } else if (errno != EINTR) { in checkFileIntegrity() 119 mError.assign(errno, llvm::posix_category()); in detectError() 177 if (errno == EINTR) { in lock() 181 } else if (errno == EWOULDBLOCK) { in lock() 207 } while (errno == EINTR); in unlock() 243 } else if (errno != EINTR) { in getSize() 262 } while (errno == EINTR); in seek() 278 } while (errno == EINTR); in tell()
|
D | OutputFile.cpp | 50 llvm::error_code err(errno, llvm::posix_category()); in CreateTemporary() 99 } else if ((errno == EAGAIN) || (errno == EINTR)) { in write() 121 } while (errno == EINTR); in truncate() 133 if (errno != EINTR) { in dup()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_cache.cpp | 230 if (errno == EEXIST) { in saveBlobCacheLocked() 235 strerror(errno), errno); in saveBlobCacheLocked() 243 strerror(errno), errno); in saveBlobCacheLocked() 253 strerror(errno), errno); in saveBlobCacheLocked() 276 ALOGE("error writing cache file: %s (%d)", strerror(errno), in saveBlobCacheLocked() 277 errno); in saveBlobCacheLocked() 296 if (errno != ENOENT) { in loadBlobCacheLocked() 298 strerror(errno), errno); in loadBlobCacheLocked() 305 ALOGE("error stat'ing cache file: %s (%d)", strerror(errno), errno); in loadBlobCacheLocked() 321 ALOGE("error mmaping cache file: %s (%d)", strerror(errno), in loadBlobCacheLocked() [all …]
|
/frameworks/base/services/jni/ |
D | com_android_server_connectivity_Vpn.cpp | 66 ALOGE("Cannot allocate TUN: %s", strerror(errno)); in create_interface() 73 ALOGE("Cannot activate %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface() 80 ALOGE("Cannot set MTU on %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface() 95 ALOGE("Cannot get interface name: %s", strerror(errno)); in get_interface_name() 107 ALOGE("Cannot get index of %s: %s", name, strerror(errno)); in get_interface_index() 148 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; in set_addresses() 163 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; in set_addresses() 170 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; in set_addresses() 181 ALOGE("Cannot add address: %s/%d: %s", address, prefix, strerror(errno)); in set_addresses() 226 if (ioctl(inet6, SIOCADDRT, &rt6) && errno != EEXIST) { in set_routes() [all …]
|
D | com_android_server_AlarmManagerService.cpp | 49 ALOGE("Unable to set kernel timezone to %d: %s\n", minswest, strerror(errno)); in android_server_AlarmManagerService_setKernelTimezone() 77 ALOGE("Unable to set alarm to %lld.%09lld: %s\n", seconds, nanoseconds, strerror(errno)); in android_server_AlarmManagerService_set() 88 } while (result < 0 && errno == EINTR); in android_server_AlarmManagerService_waitForAlarm() 92 ALOGE("Unable to wait on alarm: %s\n", strerror(errno)); in android_server_AlarmManagerService_waitForAlarm()
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 189 strerror(errno), errno); in truncateFile() 203 strerror(errno), errno); in _writeStr() 211 strerror(errno), errno); in _writeStr() 408 strerror(errno), errno); in verifyKernelTraceFuncs() 417 strerror(errno), errno); in verifyKernelTraceFuncs() 573 strerror(errno), errno); in dumpTrace() 605 strerror(errno), errno); in dumpTrace() 621 strerror(errno), errno); in dumpTrace() 641 strerror(errno), errno); in dumpTrace() 656 fprintf(stderr, "error dumping trace: %s (%d)\n", strerror(errno), in dumpTrace() [all …]
|
/frameworks/av/libvideoeditor/osal/inc/ |
D | LVOSA_FileReader_optim.h | 38 M4OSA_UInt16* errno ); 42 M4OSA_UInt16* errno ); 46 M4OSA_UInt16* errno ); 48 M4OSA_UInt16* errno ); 50 M4OSA_UInt16* errno );
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_file.c | 100 Trace("getFileStat %s: stat() errno=%d", tmpPathBuf1, errno); in getFileStat() 261 Trace("DRM_file_listOpen: opendir %s: errno=%d", tmpPathBuf1, errno); in DRM_file_listOpen() 401 Trace("DRM_file_delete: stat failed, errno=%d", errno); in DRM_file_delete() 408 Trace("DRM_file_delete: dir remove failed, errno=%d", errno); in DRM_file_delete() 420 Trace("DRM_file_delete: file remove failed, errno=%d", errno); in DRM_file_delete() 454 Trace("DRM_file_rename: failed errno=%d", errno); in DRM_file_rename() 520 Trace("DRM_file_open: open failed errno=%d", errno); in DRM_file_open() 553 Trace("DRM_file_read failed handle=%d, errno=%d", handle, errno); in DRM_file_read() 576 Trace("DRM_file_write: fstat error %d", errno); in DRM_file_write() 583 Trace("DRM_file_write: get current pos error %d", errno); in DRM_file_write() [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | FileFinder_test.cpp | 47 errno = 0; in main() 69 errno++; in main() 95 if(errno == 0) { in main() 98 cout << errno << " TESTS FAILED" << endl; in main() 100 return errno; in main()
|
D | CrunchCache_test.cpp | 22 errno += ((got == expected) ? 0 : 1); in expectEqual() 27 errno = 0; in main() 60 errno += ((result > 0) ? 0 : 1); in main() 78 if (errno == 0) in main() 81 cout << errno << " TESTS FAILED" << endl; in main()
|
/frameworks/native/libs/utils/ |
D | Tokenizer.cpp | 60 result = -errno; in open() 61 ALOGE("Error opening file '%s', %s.", filename.string(), strerror(errno)); in open() 65 result = -errno; in open() 66 ALOGE("Error getting size of file '%s', %s.", filename.string(), strerror(errno)); in open() 87 result = -errno; in open() 88 ALOGE("Error reading file '%s', %s.", filename.string(), strerror(errno)); in open()
|
D | Looper.cpp | 74 LOG_ALWAYS_FATAL_IF(result != 0, "Could not create wake pipe. errno=%d", errno); in Looper() 81 errno); in Looper() 85 errno); in Looper() 89 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance. errno=%d", errno); in Looper() 97 errno); in Looper() 225 if (errno == EINTR) { in pollInner() 228 ALOGW("Poll failed with an unexpected error, errno=%d", errno); in pollInner() 368 } while (nWrite == -1 && errno == EINTR); in wake() 371 if (errno != EAGAIN) { in wake() 372 ALOGW("Could not write wake signal, errno=%d", errno); in wake() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | ANetworkSession.cpp | 253 } while (n < 0 && errno == EINTR); in readMore() 257 err = -errno; in readMore() 312 } while (n < 0 && errno == EINTR); in readMore() 324 err = -errno; in readMore() 469 } while (n < 0 && errno == EINTR); in writeMore() 480 err = -errno; in writeMore() 538 } while (n < 0 && errno == EINTR); in writeMore() 561 err = -errno; in writeMore() 675 return -errno; in start() 814 return -errno; in MakeSocketNonBlocking() [all …]
|