Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/rs/
DrsSignal.cpp35 ALOGE("Signal::init: mutex init failure: %s", strerror(status)); in init()
41 ALOGE("Signal::init: condition init failure: %s", strerror(status)); in init()
52 ALOGE("Signal::set: error locking for set condition: %s", strerror(status)); in set()
60 ALOGE("Signal::set: error on set condition: %s", strerror(status)); in set()
65 ALOGE("Signal::set: error unlocking for set condition: %s", strerror(status)); in set()
72 ALOGE("Signal::wait: error locking for condition: %s", strerror(status)); in wait()
83 ALOGE("Signal::wait: error waiting for condition: %s", strerror(status)); in wait()
88 ALOGE("Signal::wait: error unlocking for condition: %s", strerror(status)); in wait()
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp39 ALOGE("nativeWindowDisconnect failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
45 ALOGE("nativeWindowConnect failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
52 ALOGE("native_window_set_buffers_dimensions failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
58 ALOGE("native_window_set_buffers_format failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
74 ALOGE("native_window_set_buffers_transform failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
93 ALOGE("error authenticating native window: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
102 ALOGE("error query native window: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
118 ALOGE("native_window_set_usage failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
125 ALOGE("native_window_set_scaling_mode failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
179 ALOGE("error pushing blank frames: api_disconnect failed: %s (%d)", strerror(-err), -err); in pushBlankBuffersToNativeWindow()
[all …]
/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", (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()
287 ALOGW("couldn't write package name length: %s\n", strerror(errno)); in writeTo()
[all …]
DBackupHelpers.cpp165 ALOGW("write_snapshot_file error writing header %s", strerror(errno)); in write_snapshot_file()
177 ALOGW("write_snapshot_file error writing header %s", strerror(errno)); in write_snapshot_file()
184 ALOGW("write_snapshot_file error writing filename %s", strerror(errno)); in write_snapshot_file()
193 paddingLen, strerror(errno)); in write_snapshot_file()
519 ALOGE("Error %d (%s) from lstat64(%s)", err, strerror(err), filepath.string()); in write_tarfile()
547 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/base/cmds/idmap/
Didmap.cpp141 ALOGD("error: failed to read apk %s: %s\n", target_apk_path, strerror(errno)); in maybe_create_fd()
146 ALOGD("error: failed to read apk %s: %s\n", overlay_apk_path, strerror(errno)); in maybe_create_fd()
162 ALOGD("error: failed to read apk %s: %s\n", target_apk_path, strerror(errno)); in maybe_create_path()
167 ALOGD("error: failed to read apk %s: %s\n", overlay_apk_path, strerror(errno)); in maybe_create_path()
185 ALOGD("error: failed to read apk %s: %s\n", target_apk_path, strerror(errno)); in maybe_verify_fd()
190 ALOGD("error: failed to read apk %s: %s\n", overlay_apk_path, strerror(errno)); in maybe_verify_fd()
206 ALOGD("error: failed to read apk %s: %s\n", target_apk_path, strerror(errno)); in maybe_scan()
211 ALOGD("error: no write access to %s: %s\n", idmap_dir, strerror(errno)); in maybe_scan()
219 ALOGD("error: no read access to %s: %s\n", dir, strerror(errno)); in maybe_scan()
231 ALOGD("error: failed to read idmap %s: %s\n", idmap_path, strerror(errno)); in maybe_inspect()
/frameworks/native/cmds/rawbu/
Dbackup.cpp76 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()
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()
222 writeLen, readLen, strerror(errno)); in copy_file()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp127 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewRequest()
136 strerror(-res), res); in updatePreviewRequest()
144 __FUNCTION__, mId, strerror(-res), res); in updatePreviewRequest()
168 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
179 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
186 strerror(-res), res); in updatePreviewStream()
200 __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
209 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
235 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
241 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
[all …]
/frameworks/native/cmds/dumpstate/
DDumpstateInternal.cpp56 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()
186 dprintf(out_fd, "*** %s: Failed to read from fd: %s", path, strerror(errno)); in DumpFileFromFdToFd()
DDumpstateUtil.cpp52 printf("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
64 printf("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
74 printf("*** sigtimedwait failed: %s\n", strerror(errno)); in waitpid_with_timeout()
84 printf("*** waitpid failed: %s\n", strerror(errno)); in waitpid_with_timeout()
210 dprintf(out_fd, "*** Error dumping %s: %s\n", path.c_str(), strerror(err)); in DumpFileToFd()
213 strerror(err)); in DumpFileToFd()
292 if (!silent) dprintf(fd, "*** fork: %s\n", strerror(errno)); in RunCommandToFd()
293 MYLOGE("*** fork: %s\n", strerror(errno)); in RunCommandToFd()
302 strerror(errno)); in RunCommandToFd()
304 MYLOGE("*** could not drop root before running %s: %s\n", command, strerror(errno)); in RunCommandToFd()
[all …]
/frameworks/native/services/vr/performanced/
Dperformance_service_tests.cpp50 return std::string("errno:") + strerror(error); in GetTaskCpuSet()
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 …]
Dmain.cpp40 CHECK_ERROR(ret < 0, error, "Failed to set KEEPCAPS: %s", strerror(errno)); in main()
44 CHECK_ERROR(ret < 0, error, "Failed to set GID: %s", strerror(errno)); in main()
46 CHECK_ERROR(ret < 0, error, "Failed to set UID: %s", strerror(errno)); in main()
59 strerror(errno)); in main()
72 strerror(-ret)); in main()
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp61 strerror(errno), errno); in FileBlobCache()
68 ALOGE("error stat'ing cache file: %s (%d)", strerror(errno), errno); in FileBlobCache()
85 ALOGE("error mmaping cache file: %s (%d)", strerror(errno), in FileBlobCache()
107 ALOGE("error reading cache contents: %s (%d)", strerror(-err), in FileBlobCache()
134 strerror(errno), errno); in writeToFile()
142 strerror(errno), errno); in writeToFile()
152 strerror(errno), errno); in writeToFile()
160 ALOGE("error writing cache contents: %s (%d)", strerror(-err), in writeToFile()
174 ALOGE("error writing cache file: %s (%d)", strerror(errno), in writeToFile()
/frameworks/opt/net/wifi/libwifi_system_iface/
Dinterface_tool.cpp47 << " (" << strerror(errno) << ")"; in GetIfState()
60 << strerror(errno) << ")"; in GetUpState()
76 << strerror(errno) << ")"; in SetUpState()
98 << " (" << strerror(errno) << ")"; in SetUpState()
118 << strerror(errno) << ")"; in SetMacAddress()
131 << " (" << strerror(errno) << ")"; in SetMacAddress()
146 << strerror(errno) << ")"; in GetFactoryMacAddress()
157 << strerror(errno) << ")"; in GetFactoryMacAddress()
167 << " (" << strerror(errno) << ")"; in GetFactoryMacAddress()
/frameworks/base/packages/Tethering/jni/
Dandroid_net_util_TetheringUtils.cpp46 "setsockopt(ICMP6_FILTER): %s", strerror(errno)); in android_net_util_setupRaSocket()
59 "setsockopt(IPV6_MULTICAST_HOPS): %s", strerror(errno)); in android_net_util_setupRaSocket()
68 "setsockopt(IPV6_UNICAST_HOPS): %s", strerror(errno)); in android_net_util_setupRaSocket()
77 "setsockopt(IPV6_MULTICAST_LOOP): %s", strerror(errno)); in android_net_util_setupRaSocket()
85 "setsockopt(IPV6_MULTICAST_IF): %s", strerror(errno)); in android_net_util_setupRaSocket()
106 "bind(IN6ADDR_ANY): %s", strerror(errno)); in android_net_util_setupRaSocket()
118 "setsockopt(IPV6_JOIN_GROUP): %s", strerror(errno)); in android_net_util_setupRaSocket()
/frameworks/native/services/inputflinger/reader/
DTouchVideoDevice.cpp54 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 ALOGE("VIDIOC_DQBUF failed: %s", strerror(errno)); in readFrame()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp137 ALOGV("settimeofday() failed: %s", strerror(errno)); in setTime()
143 ALOGE("Unable to open %s: %s", rtc_dev.c_str(), strerror(errno)); in setTime()
149 ALOGV("gmtime_r() failed: %s", strerror(errno)); in setTime()
164 ALOGV("RTC_SET_TIME ioctl failed: %s", strerror(errno)); in setTime()
217 ALOGW("Unable to set rtc to %ld: %s", tv.tv_sec, strerror(errno)); in android_server_AlarmManagerService_setKernelTime()
232 ALOGE("Unable to set kernel timezone to %d: %s\n", minswest, strerror(errno)); in android_server_AlarmManagerService_setKernelTimezone()
264 ALOGE("timerfd_create(%u) failed: %s", id, strerror(errno)); in log_timerfd_create_error()
274 ALOGE("epoll_create(%zu) failed: %s", fds.size(), strerror(errno)); in android_server_AlarmManagerService_init()
311 ALOGE("epoll_ctl(EPOLL_CTL_ADD) failed: %s", strerror(errno)); in android_server_AlarmManagerService_init()
323 ALOGE("timerfd_settime() failed: %s", strerror(errno)); in android_server_AlarmManagerService_init()
[all …]
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp117 ALOGW("native_window_api_connect failed: %s (%d)", strerror(-err), err); in ResetNativeWindow()
124 ALOGW("native_window->setSwapInterval(1) failed: %s (%d)", strerror(-err), err); in ResetNativeWindow()
130 ALOGW("native_window_set_shared_buffer_mode(false) failed: %s (%d)", strerror(-err), err); in ResetNativeWindow()
136 ALOGW("native_window_set_auto_refresh(false) failed: %s (%d)", strerror(-err), err); in ResetNativeWindow()
224 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in Create()
321 windowInfo.pixelFormat, strerror(-err), err); in UpdateWindow()
329 windowInfo.dataspace, strerror(-err), err); in UpdateWindow()
338 size.width(), size.height(), strerror(-err), err); in UpdateWindow()
352 windowInfo.transform, strerror(-err), err); in UpdateWindow()
362 strerror(-err), err); in UpdateWindow()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp119 strerror(-err), err); in connectSurface()
126 strerror(-err), err); in connectSurface()
136 __FUNCTION__, strerror(-err), err); in connectSurface()
146 strerror(-err), err); in connectSurface()
204 strerror(-err), err); in produceFrame()
224 strerror(-err), err); in produceFrame()
290 strerror(-err), err); in produceFrame()
323 strerror(-err), err); in produceFrame()
347 ALOGE("%s: Failed to lock buffer, error %s (%d).", __FUNCTION__, strerror(-err), in produceFrame()
365 ALOGE("%s: Failed to unlock buffer, error %s (%d).", __FUNCTION__, strerror(-err), err); in produceFrame()
[all …]
Dcom_android_internal_os_Zygote.cpp390 strerror(errno)); in sendSigChildStatus()
449 "Zygote SIGCHLD error in waitpid: %s", strerror(errno)); in SigChldHandler()
458 strerror(errno)); in SigChldHandler()
487 ALOGW("Error setting SIGCHLD handler: %s", strerror(errno)); in SetSignalHandlers()
493 ALOGW("Error setting SIGHUP handler: %s", strerror(errno)); in SetSignalHandlers()
504 ALOGW("Error unsetting SIGCHLD handler: %s", strerror(errno)); in UnsetChldSignalHandler()
521 fail_fn(CREATE_ERROR("setgroups failed: %s, gids.size=%zu", strerror(errno), gids.size())); in SetGids()
622 fail_fn(CREATE_ERROR("prctl(PR_SET_KEEPCAPS) failed: %s", strerror(errno))); in EnableKeepCapabilities()
633 fail_fn(CREATE_ERROR("prctl(PR_CAPBSET_DROP, %d) failed: %s", i, strerror(errno))); in DropCapabilitiesBoundingSet()
647 fail_fn(CREATE_ERROR("capget failed: %s", strerror(errno))); in SetInheritable()
[all …]
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache.cpp177 ALOGE("error unlinking cache file %s: %s (%d)", fname, strerror(errno), errno); in saveBlobCacheLocked()
184 ALOGE("error creating cache file %s: %s (%d)", fname, strerror(errno), errno); in saveBlobCacheLocked()
193 ALOGE("error allocating buffer for cache contents: %s (%d)", strerror(errno), errno); in saveBlobCacheLocked()
201 ALOGE("error writing cache contents: %s (%d)", strerror(-err), -err); in saveBlobCacheLocked()
214 ALOGE("error writing cache file: %s (%d)", strerror(errno), errno); in saveBlobCacheLocked()
234 ALOGE("error opening cache file %s: %s (%d)", mFilename.c_str(), strerror(errno), in loadBlobCacheLocked()
242 ALOGE("error stat'ing cache file: %s (%d)", strerror(errno), errno); in loadBlobCacheLocked()
258 ALOGE("error mmaping cache file: %s (%d)", strerror(errno), errno); in loadBlobCacheLocked()
279 ALOGE("error reading cache contents: %s (%d)", strerror(-err), -err); in loadBlobCacheLocked()
/frameworks/native/libs/vr/libpdx/
Dservice_dispatcher.cpp28 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()
99 strerror(errno)); in RemoveService()
120 strerror(errno)); in ReceiveAndDispatch()
152 ALOGE("Failed to wait for epoll events because: %s\n", strerror(errno)); in EnterDispatchLoop()
/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()
105 ALOGE("Cannot set address: %s", strerror(errno)); in main()
113 ALOGE("Cannot set netmask: %s", strerror(errno)); in main()
135 ALOGE("Cannot write state: %s", strerror(errno)); in main()
/frameworks/native/libs/vr/libvrflinger/
Depoll_event_dispatcher.cpp16 ALOGE("Failed to create epoll fd: %s", strerror(errno)); in EpollEventDispatcher()
22 ALOGE("Failed to create event for epolling: %s", strerror(errno)); in EpollEventDispatcher()
31 ALOGE("Failed to add eventfd to epoll set because: %s", strerror(errno)); in EpollEventDispatcher()
60 ALOGE("Failed to add fd to epoll set because: %s", strerror(error)); in AddEventHandler()
74 ALOGE("Failed to remove fd from epoll set because: %s", strerror(error)); in RemoveEventHandler()
94 strerror(-error)); in EventThread()
/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp77 VLOG("poll failed: %s", strerror(errno)); in read()
81 VLOG("return event has error %s", strerror(errno)); in read()
90 VLOG("Fail to read %d: %s", fd, strerror(errno)); in read()
123 VLOG("Fail to read %d: %s", fd, strerror(errno)); in readFully()
183 VLOG("Fail to poll: %s", strerror(errno)); in readProcessedDataInStream()
194 VLOG("fd[%d]=%d returns error events: %s", i, fd, strerror(errno)); in readProcessedDataInStream()
209 VLOG("Fail to read fd %d: %s", fd, strerror(errno)); in readProcessedDataInStream()
231 VLOG("Fail to write toFd %d: %s", toFd.get(), strerror(errno)); in readProcessedDataInStream()
260 VLOG("Fail to read fromFd %d: %s", fromFd.get(), strerror(errno)); in readProcessedDataInStream()
/frameworks/native/cmds/bugreport/
Dbugreport.cpp59 printf("Failed to connect to dumpstate service: %s\n", strerror(errno)); in main()
70 printf("WARNING: Cannot set socket timeout: %s\n", strerror(errno)); in main()
83 printf("\nBugreport read terminated abnormally (%s).\n", strerror(errno)); in main()
95 bytes_read, bytes_to_send, strerror(errno)); in main()

12345678910>>...12