Home
last modified time | relevance | path

Searched refs:strerror (Results 1 – 25 of 155) 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()
528 ALOGE("Error %d (%s) from lstat64(%s)", err, strerror(err), filepath.string()); in write_tarfile()
543 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.string()); in write_tarfile()
689 err, strerror(err)); in write_tarfile()
760 (long)amt, strerror(errno)); in WriteFile()
778 ALOGW("Could not open file %s -- %s", filename.string(), strerror(errno)); in WriteFile()
786 ALOGW("Error '%s' writing '%s'", strerror(errno), filename.string()); in WriteFile()
[all …]
/frameworks/native/cmds/dumpstate/
Dutils.c59 printf("Failed to open /proc (%s)\n", strerror(errno)); in __for_each_pid()
106 printf("Failed to open %s (%s)\n", taskpath, strerror(errno)); in for_each_tid_helper()
159 printf("Failed to open '%s' (%s)\n", path, strerror(errno)); in show_wchan()
164 printf("Failed to read '%s' (%s)\n", path, strerror(errno)); in show_wchan()
219 printf("*** %s: %s\n", path, strerror(err)); in dump_file()
261 printf("*** fork: %s\n", strerror(errno)); in run_command()
285 printf("*** exec(%s): %s\n", command, strerror(errno)); in run_command()
350 fprintf(stderr, "android_get_control_socket(%s): %s\n", service, strerror(errno)); in redirect_to_socket()
354 fprintf(stderr, "listen(control socket): %s\n", strerror(errno)); in redirect_to_socket()
362 fprintf(stderr, "accept(control socket): %s\n", strerror(errno)); in redirect_to_socket()
[all …]
Ddumpstate.c132 printf("*** NO ANR VM TRACES FILE (%s): %s\n\n", anr_traces_path, strerror(errno)); in dumpstate()
404 ALOGE("prctl(PR_SET_KEEPCAPS) failed: %s\n", strerror(errno)); in main()
412 ALOGE("Unable to setgroups, aborting: %s\n", strerror(errno)); in main()
416 ALOGE("Unable to setgid, aborting: %s\n", strerror(errno)); in main()
420 ALOGE("Unable to setuid, aborting: %s\n", strerror(errno)); in main()
437 ALOGE("capset failed: %s\n", strerror(errno)); in main()
494 fprintf(stderr, "rename(%s, %s): %s\n", tmp_path, path, strerror(errno)); in main()
/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/native/cmds/ip-up-vpn/
Dip-up-vpn.c70 ALOGE("Cannot create state: %s", strerror(errno)); in main()
100 ALOGE("Cannot remove host route: %s", strerror(errno)); 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/native/cmds/installd/
Dcommands.c59 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()
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()
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()
163 ALOGE("cannot chmod dir '%s': %s\n", pkgdir, strerror(errno)); in fix_uid()
168 ALOGE("cannot chown dir '%s': %s\n", pkgdir, strerror(errno)); in fix_uid()
208 ALOGE("cannot create dir '%s': %s\n", pkgdir, strerror(errno)); in make_user_data()
[all …]
Dinstalld.c158 ALOGE("read error: %s\n", strerror(errno)); in readx()
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()
545 ALOGE("Failed to get socket from environment: %s\n", strerror(errno)); in main()
549 ALOGE("Listen on socket failed: %s\n", strerror(errno)); in main()
[all …]
Dutils.c239 ALOGE("Couldn't openat %s: %s\n", name, strerror(errno)); in _delete_dir_contents()
245 ALOGE("Couldn't fdopendir %s: %s\n", name, strerror(errno)); in _delete_dir_contents()
255 ALOGE("Couldn't unlinkat %s: %s\n", name, strerror(errno)); in _delete_dir_contents()
260 ALOGE("Couldn't unlinkat %s: %s\n", name, strerror(errno)); in _delete_dir_contents()
278 ALOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno)); in delete_dir_contents()
285 ALOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno)); in delete_dir_contents()
299 ALOGE("Couldn't openat %s: %s\n", name, strerror(errno)); in delete_dir_contents_fd()
304 ALOGE("Couldn't fdopendir %s: %s\n", name, strerror(errno)); in delete_dir_contents_fd()
369 ALOGE("Couldn't statfs %s: %s\n", android_data_dir.path, strerror(errno)); in data_disk_free()
541 ALOGE("Couldn't openat %s: %s\n", name, strerror(errno)); in _add_cache_files()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp96 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewRequest()
105 strerror(-res), res); in updatePreviewRequest()
113 __FUNCTION__, mId, strerror(-res), res); in updatePreviewRequest()
138 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
149 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
156 strerror(-res), res); in updatePreviewStream()
170 __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
179 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
205 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
211 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
[all …]
DZslProcessor.cpp148 mId, strerror(-res), res); in updateStream()
157 mId, strerror(-res), res); in updateStream()
166 mId, strerror(-res), res); in updateStream()
186 strerror(-res), res); in updateStream()
194 strerror(-res), res); in updateStream()
224 mZslReprocessStreamId, strerror(-res), res); in deleteStream()
233 mZslStreamId, strerror(-res), res); in deleteStream()
323 __FUNCTION__, mId, strerror(-res), res); in pushToReprocess()
331 __FUNCTION__, strerror(-res), res); in pushToReprocess()
343 strerror(-res), res); in pushToReprocess()
[all …]
DZslProcessor3.cpp106 client->getCameraId(), strerror(-res), res); in updateStream()
122 client->getCameraId(), strerror(-res), res); in updateStream()
142 strerror(-res), res); in updateStream()
177 mZslStreamId, strerror(-res), res); in deleteStream()
224 __FUNCTION__, strerror(-res), res); in pushToReprocess()
272 __FUNCTION__, client->getCameraId(), strerror(-res), res); in pushToReprocess()
284 strerror(-res), res); in pushToReprocess()
293 " (%d)", __FUNCTION__, strerror(-res), res); in pushToReprocess()
DCaptureSequencer.cpp267 strerror(-res), res); in manageDone()
322 __FUNCTION__, client->getCameraId(), strerror(-res), res); in manageStart()
364 __FUNCTION__, client->getCameraId(), strerror(-res), res); in manageZslStart()
502 __FUNCTION__, client->getCameraId(), strerror(-res), res); in manageStandardCapture()
524 __FUNCTION__, client->getCameraId(), strerror(-res), res); in manageStandardCapture()
533 __FUNCTION__, client->getCameraId(), strerror(-res), res); in manageStandardCapture()
629 __FUNCTION__, client->getCameraId(), strerror(-res), res); in manageBurstCaptureStart()
684 strerror(-res), res); in updateCaptureRequest()
693 strerror(-res), res); in updateCaptureRequest()
701 strerror(-res), res); in updateCaptureRequest()
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp57 handle, err, strerror(-err)); in registerBuffer()
69 handle, err, strerror(-err)); in unregisterBuffer()
83 ALOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err)); in lock()
97 ALOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err)); in lockYCbCr()
108 ALOGW_IF(err, "unlock(...) failed %d (%s)", err, strerror(-err)); in unlock()
/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/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.cpp113 __FUNCTION__, mId, strerror(-res), res); in getBufferLocked()
174 __FUNCTION__, mId, strerror(-res), res); in returnBufferCheckedLocked()
202 " %s (%d)", __FUNCTION__, mId, strerror(-res), res); in returnBufferCheckedLocked()
210 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in returnBufferCheckedLocked()
251 __FUNCTION__, transform, strerror(-res), res); in setTransformLocked()
286 __FUNCTION__, strerror(-res), res); in configureQueueLocked()
343 __FUNCTION__, mTransform, strerror(-res), res); in configureQueueLocked()
371 __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/base/services/jni/
Dcom_android_server_connectivity_Vpn.cpp66 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()
181 ALOGE("Cannot add address: %s/%d: %s", address, prefix, strerror(errno)); in set_addresses()
271 address, prefix, strerror(errno)); in set_routes()
287 ALOGE("Cannot reset %s: %s", name, strerror(errno)); in reset_interface()
300 ALOGE("Cannot check %s: %s", name, strerror(errno)); in check_interface()
Dcom_android_server_AlarmManagerService.cpp49 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()
92 ALOGE("Unable to wait on alarm: %s\n", strerror(errno)); in android_server_AlarmManagerService_waitForAlarm()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp85 __FUNCTION__, mCameraId, strerror(-res), res); in initialize()
562 __FUNCTION__, strerror(-res), res); in setPreviewWindowL()
573 __FUNCTION__, strerror(-res), res); in setPreviewWindowL()
627 " %s (%d)", __FUNCTION__, mCameraId, strerror(-res), res); in setPreviewCallbackFlagL()
662 __FUNCTION__, mCameraId, strerror(-res), res); in setPreviewCallbackTarget()
741 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
759 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
784 strerror(-res), res); in startPreviewL()
792 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
806 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
[all …]
/frameworks/native/cmds/atrace/
Datrace.cpp193 strerror(errno), errno); in truncateFile()
207 strerror(errno), errno); in _writeStr()
215 strerror(errno), errno); in _writeStr()
412 strerror(errno), errno); in verifyKernelTraceFuncs()
421 strerror(errno), errno); in verifyKernelTraceFuncs()
577 strerror(errno), errno); in dumpTrace()
609 strerror(errno), errno); in dumpTrace()
625 strerror(errno), errno); in dumpTrace()
645 strerror(errno), errno); in dumpTrace()
660 fprintf(stderr, "error dumping trace: %s (%d)\n", strerror(errno), in dumpTrace()
/frameworks/native/libs/gui/
DBufferItemConsumer.cpp60 BI_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err); in acquireBuffer()
69 strerror(-err), err); in acquireBuffer()
91 strerror(-err), err); in releaseBuffer()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp104 ALOGV("Couldn't stat %s, copying: %s\n", filePath, strerror(errno)); in isFileDifferent()
124 ALOGV("Couldn't open file %s: %s", filePath, strerror(errno)); in isFileDifferent()
225 ALOGI("Couldn't open temporary file name: %s: %s\n", localTmpFileName, strerror(errno)); in copyFileIfChanged()
244 ALOGI("Couldn't change modification time on %s: %s\n", localTmpFileName, strerror(errno)); in copyFileIfChanged()
252 ALOGI("Couldn't change permissions on %s: %s\n", localTmpFileName, strerror(errno)); in copyFileIfChanged()
259 ALOGI("Couldn't rename %s to %s: %s\n", localTmpFileName, localFileName, strerror(errno)); in copyFileIfChanged()
/frameworks/rs/
DrsGrallocConsumer.cpp74 ALOGE("Error acquiring buffer: %s (%d)", strerror(err), err); in lockNextBuffer()
85 strerror(-err), err); in lockNextBuffer()
102 strerror(-err), err); in lockNextBuffer()
114 strerror(-err), err); in lockNextBuffer()

1234567