Home
last modified time | relevance | path

Searched refs:strerror (Results 1 – 25 of 169) sorted by relevance

1234567

/frameworks/base/libs/androidfw/
DObbFile.cpp93 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()
287 ALOGW("couldn't write package name length: %s\n", strerror(errno)); in writeTo()
[all …]
DBackupHelpers.cpp169 ALOGW("write_snapshot_file error writing header %s", strerror(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()
531 ALOGE("Error %d (%s) from lstat64(%s)", err, strerror(err), filepath.string()); in write_tarfile()
546 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.string()); in write_tarfile()
695 err, strerror(err)); in write_tarfile()
766 (long)amt, strerror(errno)); in WriteFile()
784 ALOGW("Could not open file %s -- %s", filename.string(), strerror(errno)); in WriteFile()
792 ALOGW("Error '%s' writing '%s'", strerror(errno), filename.string()); in WriteFile()
[all …]
/frameworks/native/cmds/dumpstate/
Dutils.c64 printf("Failed to open /data/system/users (%s)\n", strerror(errno)); in for_each_userid()
84 printf("Failed to open /proc (%s)\n", strerror(errno)); in __for_each_pid()
131 printf("Failed to open %s (%s)\n", taskpath, strerror(errno)); in for_each_tid_helper()
184 printf("Failed to open '%s' (%s)\n", path, strerror(errno)); in show_wchan()
189 printf("Failed to read '%s' (%s)\n", path, strerror(errno)); in show_wchan()
259 printf("*** %s: %s\n", path, strerror(err)); in dump_file()
312 printf("*** fork: %s\n", strerror(errno)); in run_command()
342 printf("*** exec(%s): %s\n", command, strerror(errno)); in run_command()
407 fprintf(stderr, "android_get_control_socket(%s): %s\n", service, strerror(errno)); in redirect_to_socket()
411 fprintf(stderr, "listen(control socket): %s\n", strerror(errno)); in redirect_to_socket()
[all …]
Ddumpstate.c189 printf("*** NO ANR VM TRACES FILE (%s): %s\n\n", anr_traces_path, strerror(errno)); in dumpstate()
494 ALOGE("prctl(PR_SET_KEEPCAPS) failed: %s\n", strerror(errno)); in main()
502 ALOGE("Unable to setgroups, aborting: %s\n", strerror(errno)); in main()
506 ALOGE("Unable to setgid, aborting: %s\n", strerror(errno)); in main()
510 ALOGE("Unable to setuid, aborting: %s\n", strerror(errno)); in main()
527 ALOGE("capset failed: %s\n", strerror(errno)); in main()
573 fprintf(stderr, "rename(%s, %s): %s\n", tmp_path, path, strerror(errno)); in main()
/frameworks/base/cmds/idmap/
Didmap.cpp136 ALOGD("error: failed to read apk %s: %s\n", target_apk_path, strerror(errno)); in maybe_create_fd()
141 ALOGD("error: failed to read apk %s: %s\n", overlay_apk_path, strerror(errno)); in maybe_create_fd()
157 ALOGD("error: failed to read apk %s: %s\n", target_apk_path, strerror(errno)); in maybe_create_path()
162 ALOGD("error: failed to read apk %s: %s\n", overlay_apk_path, strerror(errno)); in maybe_create_path()
178 ALOGD("error: no read access to %s: %s\n", overlay_dir, strerror(errno)); in maybe_scan()
183 ALOGD("error: failed to read apk %s: %s\n", target_apk_path, strerror(errno)); in maybe_scan()
188 ALOGD("error: no write access to %s: %s\n", idmap_dir, strerror(errno)); in maybe_scan()
199 ALOGD("error: failed to read idmap %s: %s\n", idmap_path, strerror(errno)); in maybe_inspect()
Dcreate.cpp36 ALOGD("error: open %s: %s\n", path, strerror(errno)); in open_idmap()
40 ALOGD("error: fchmod %s: %s\n", path, strerror(errno)); in open_idmap()
44 ALOGD("error: flock %s: %s\n", path, strerror(errno)); in open_idmap()
66 fprintf(stderr, "error: write: %s\n", strerror(errno)); in write_idmap()
/frameworks/native/cmds/rawbu/
Dbackup.cpp76 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()
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()
223 writeLen, readLen, strerror(errno)); in copy_file()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp123 ALOGV("ANDROID_ALARM_SET_RTC ioctl failed: %s\n", strerror(errno)); in setTime()
169 ALOGV("settimeofday() failed: %s\n", strerror(errno)); in setTime()
175 ALOGV("Unable to open RTC driver: %s\n", strerror(errno)); in setTime()
181 ALOGV("gmtime_r() failed: %s\n", strerror(errno)); in setTime()
198 ALOGV("RTC_SET_TIME ioctl failed: %s\n", strerror(errno)); in setTime()
250 ALOGW("Unable to set rtc to %ld: %s\n", tv.tv_sec, strerror(errno)); in android_server_AlarmManagerService_setKernelTime()
265 ALOGE("Unable to set kernel timezone to %d: %s\n", minswest, strerror(errno)); in android_server_AlarmManagerService_setKernelTimezone()
278 ALOGV("opening alarm driver failed: %s", strerror(errno)); in init_alarm_driver()
294 strerror(errno)); in init_timerfd()
302 strerror(errno)); in init_timerfd()
[all …]
Dcom_android_server_connectivity_Vpn.cpp67 ALOGE("Cannot allocate TUN: %s", strerror(errno)); in create_interface()
74 ALOGE("Cannot activate %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface()
81 ALOGE("Cannot set MTU on %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface()
96 ALOGE("Cannot get interface name: %s", strerror(errno)); in get_interface_name()
108 ALOGE("Cannot get index of %s: %s", name, strerror(errno)); in get_interface_index()
182 ALOGE("Cannot add address: %s/%d: %s", address, prefix, strerror(errno)); in set_addresses()
198 ALOGE("Cannot reset %s: %s", name, strerror(errno)); in reset_interface()
211 ALOGE("Cannot check %s: %s", name, strerror(errno)); in check_interface()
231 strerror(-error)); in modifyAddress()
236 strerror(-error)); in modifyAddress()
/frameworks/native/cmds/installd/
Dcommands.c62 ALOGE("cannot create dir '%s': %s\n", pkgdir, strerror(errno)); in install()
66 ALOGE("cannot chmod dir '%s': %s\n", pkgdir, strerror(errno)); in install()
73 ALOGE("couldn't stat lib dir: %s\n", strerror(errno)); in install()
91 ALOGE("cannot setfilecon dir '%s': %s\n", pkgdir, strerror(errno)); in install()
99 strerror(errno)); in install()
105 ALOGE("cannot chown dir '%s': %s\n", pkgdir, strerror(errno)); in install()
138 ALOGE("cannot rename dir '%s' to '%s': %s\n", oldpkgdir, newpkgdir, strerror(errno)); in renamepkg()
168 ALOGE("cannot chmod dir '%s': %s\n", pkgdir, strerror(errno)); in fix_uid()
173 ALOGE("cannot chown dir '%s': %s\n", pkgdir, strerror(errno)); in fix_uid()
212 ALOGE("cannot create dir '%s': %s\n", pkgdir, strerror(errno)); in make_user_data()
[all …]
Dutils.c253 ALOGE("Couldn't openat %s: %s\n", name, strerror(errno)); in _delete_dir_contents()
259 ALOGE("Couldn't fdopendir %s: %s\n", name, strerror(errno)); in _delete_dir_contents()
269 ALOGE("Couldn't unlinkat %s: %s\n", name, strerror(errno)); in _delete_dir_contents()
274 ALOGE("Couldn't unlinkat %s: %s\n", name, strerror(errno)); in _delete_dir_contents()
292 ALOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno)); in delete_dir_contents()
299 ALOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno)); in delete_dir_contents()
313 ALOGE("Couldn't openat %s: %s\n", name, strerror(errno)); in delete_dir_contents_fd()
318 ALOGE("Couldn't fdopendir %s: %s\n", name, strerror(errno)); in delete_dir_contents_fd()
351 ALOGE("Couldn't fdopendir: %s\n", strerror(errno)); in _copy_dir_files()
364 ALOGW("Couldn't copy %s: %s\n", name, strerror(errno)); in _copy_dir_files()
[all …]
Dinstalld.c198 ALOGE("read error: %s\n", strerror(errno)); in readx()
219 ALOGE("write error: %s\n", strerror(errno)); in writex()
424 ALOGE("Failed to move legacy media path: %s", strerror(errno)); in initialize_directories()
445 ALOGE("Failed to move owner media path: %s", strerror(errno)); in initialize_directories()
496 ALOGE("Failed to move OBB from owner: %s", strerror(errno)); in initialize_directories()
584 ALOGE("Failed to save version to %s: %s", version_path, strerror(errno)); in initialize_directories()
601 ALOGE("prctl(PR_SET_KEEPCAPS) failed: %s\n", strerror(errno)); in drop_privileges()
634 ALOGE("capset failed: %s\n", strerror(errno)); in drop_privileges()
692 ALOGE("Failed to get socket from environment: %s\n", strerror(errno)); in main()
696 ALOGE("Listen on socket failed: %s\n", strerror(errno)); in main()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp114 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewRequest()
123 strerror(-res), res); in updatePreviewRequest()
131 __FUNCTION__, mId, strerror(-res), res); in updatePreviewRequest()
156 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
167 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
174 strerror(-res), res); in updatePreviewStream()
187 __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
196 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
222 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
228 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
[all …]
DZslProcessor.cpp154 mId, strerror(-res), res); in updateStream()
163 mId, strerror(-res), res); in updateStream()
172 mId, strerror(-res), res); in updateStream()
193 strerror(-res), res); in updateStream()
201 strerror(-res), res); in updateStream()
240 mZslReprocessStreamId, strerror(-res), res); in disconnect()
249 mZslStreamId, strerror(-res), res); in disconnect()
339 __FUNCTION__, mId, strerror(-res), res); in pushToReprocess()
347 __FUNCTION__, strerror(-res), res); in pushToReprocess()
359 strerror(-res), res); in pushToReprocess()
[all …]
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp59 handle, err, strerror(-err)); in registerBuffer()
71 handle, err, strerror(-err)); in unregisterBuffer()
85 ALOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err)); in lock()
103 ALOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err)); in lockYCbCr()
114 ALOGW_IF(err, "unlock(...) failed %d (%s)", err, strerror(-err)); in unlock()
136 ALOGW_IF(err, "lockAsync(...) failed %d (%s)", err, strerror(-err)); in lockAsync()
161 ALOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err)); in lockAsyncYCbCr()
177 ALOGW_IF(err, "unlockAsync(...) failed %d (%s)", err, strerror(-err)); in unlockAsync()
/frameworks/native/cmds/ip-up-vpn/
Dip-up-vpn.c71 ALOGE("Cannot create state: %s", strerror(errno)); in main()
97 ALOGE("Cannot bring up %s: %s", interface, strerror(errno)); in main()
104 ALOGE("Cannot set address: %s", strerror(errno)); in main()
111 ALOGE("Cannot set netmask: %s", strerror(errno)); in main()
131 ALOGE("Cannot write state: %s", strerror(errno)); in main()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp105 strerror(-err), err); in configureSurface()
112 strerror(-err), err); in configureSurface()
119 strerror(-err), err); in configureSurface()
129 __FUNCTION__, strerror(-err), err); in configureSurface()
139 strerror(-err), err); in configureSurface()
211 strerror(-err), err); in produceFrame()
276 strerror(-err), err); in produceFrame()
309 strerror(-err), err); in produceFrame()
333 ALOGE("%s: Failed to lock buffer, error %s (%d).", __FUNCTION__, strerror(-err), in produceFrame()
351 ALOGE("%s: Failed to unlock buffer, error %s (%d).", __FUNCTION__, strerror(-err), err); in produceFrame()
[all …]
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp232 strerror(errno), errno); in saveBlobCacheLocked()
240 strerror(errno), errno); in saveBlobCacheLocked()
250 strerror(errno), errno); in saveBlobCacheLocked()
258 ALOGE("error writing cache contents: %s (%d)", strerror(-err), in saveBlobCacheLocked()
272 ALOGE("error writing cache file: %s (%d)", strerror(errno), in saveBlobCacheLocked()
294 strerror(errno), errno); in loadBlobCacheLocked()
301 ALOGE("error stat'ing cache file: %s (%d)", strerror(errno), errno); in loadBlobCacheLocked()
317 ALOGE("error mmaping cache file: %s (%d)", strerror(errno), in loadBlobCacheLocked()
339 ALOGE("error reading cache contents: %s (%d)", strerror(-err), in loadBlobCacheLocked()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp87 __FUNCTION__, mCameraId, strerror(-res), res); in initialize()
577 __FUNCTION__, strerror(-res), res); in setPreviewWindowL()
588 __FUNCTION__, strerror(-res), res); in setPreviewWindowL()
642 " %s (%d)", __FUNCTION__, mCameraId, strerror(-res), res); in setPreviewCallbackFlagL()
677 __FUNCTION__, mCameraId, strerror(-res), res); in setPreviewCallbackTarget()
756 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
775 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
801 strerror(-res), res); in startPreviewL()
809 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
823 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
[all …]
/frameworks/base/tools/obbtool/
Dpbkdf2gen.cpp45 fprintf(stderr, "Could not open /dev/urandom: %s\n", strerror(errno)); in main()
53 fprintf(stderr, "Could not read salt from /dev/urandom: %s\n", strerror(errno)); in main()
63 fprintf(stderr, "Could not generate PBKDF2 output: %s\n", strerror(errno)); in main()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp115 __FUNCTION__, mId, strerror(-res), res); in getBufferLocked()
176 __FUNCTION__, mId, strerror(-res), res); in returnBufferCheckedLocked()
204 " %s (%d)", __FUNCTION__, mId, strerror(-res), res); in returnBufferCheckedLocked()
221 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in returnBufferCheckedLocked()
262 __FUNCTION__, transform, strerror(-res), res); in setTransformLocked()
298 __FUNCTION__, strerror(-res), res); in configureQueueLocked()
360 __FUNCTION__, mTransform, strerror(-res), res); in configureQueueLocked()
388 __FUNCTION__, mId, res, strerror(-res)); in disconnectLocked()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp95 ALOGE("error acquiring buffer: %s (%d)", strerror(-err), err); in nextBuffer()
113 ALOGE("error releasing buffer: %s (%d)", strerror(-err), err); in nextBuffer()
131 strerror(-err), err); in onFrameAvailable()
154 strerror(-err), err); in onFrameCommitted()
/frameworks/native/cmds/atrace/
Datrace.cpp213 strerror(errno), errno); in truncateFile()
227 strerror(errno), errno); in _writeStr()
235 strerror(errno), errno); in _writeStr()
352 strerror(errno), errno); in isTraceClock()
361 strerror(errno), errno); in isTraceClock()
477 strerror(errno), errno); in verifyKernelTraceFuncs()
486 strerror(errno), errno); in verifyKernelTraceFuncs()
642 strerror(errno), errno); in dumpTrace()
674 strerror(errno), errno); in dumpTrace()
690 strerror(errno), errno); in dumpTrace()
[all …]
/frameworks/webview/chromium/loader/
Dloader.cpp51 vsize, strerror(errno)); in DoReserveAddressSpace()
67 ALOGW("Failed to unlink old file %s: %s", relro, strerror(errno)); in DoCreateRelroFile()
75 ALOGE("Failed to create temporary file %s: %s", relro_tmp, strerror(errno)); in DoCreateRelroFile()
93 ALOGE("Failed to update relro file %s: %s", relro, strerror(errno)); in DoCreateRelroFile()
104 ALOGE("Failed to open relro file %s: %s", relro, strerror(errno)); in DoLoadWithRelroFile()
/frameworks/base/cmds/app_process/
Dapp_main.cpp161 "Error constructing dalvik cache : %s", strerror(errno)); in maybeCreateDalvikCache()
165 "Error creating cache dir %s : %s", dalvikCacheDir, strerror(errno)); in maybeCreateDalvikCache()
171 … LOG_ALWAYS_FATAL_IF((result < 0), "Error changing dalvik-cache ownership : %s", strerror(errno)); in maybeCreateDalvikCache()
175 "Error changing dalvik-cache permissions : %s", strerror(errno)); in maybeCreateDalvikCache()
192 LOG_ALWAYS_FATAL("PR_SET_NO_NEW_PRIVS failed: %s", strerror(errno)); in main()

1234567