Home
last modified time | relevance | path

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

1234567891011

/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp36 ALOGE("nativeWindowDisconnect failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
42 ALOGE("nativeWindowConnect failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
49 ALOGE("native_window_set_buffers_dimensions failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
55 ALOGE("native_window_set_buffers_format failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
71 ALOGE("native_window_set_buffers_transform failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
90 ALOGE("error authenticating native window: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
99 ALOGE("error query native window: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
115 ALOGE("native_window_set_usage failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
122 ALOGE("native_window_set_scaling_mode failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
142 ALOGE("error pushing blank frames: api_disconnect failed: %s (%d)", strerror(-err), -err); in pushBlankBuffersToNativeWindow()
[all …]
/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/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/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()
169 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
180 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
187 strerror(-res), res); in updatePreviewStream()
201 __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
210 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
236 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
242 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
[all …]
/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.cpp130 ALOGV("settimeofday() failed: %s\n", strerror(errno)); in setTime()
143 ALOGV("Unable to open %s: %s\n", rtc_dev.string(), strerror(errno)); in setTime()
149 ALOGV("gmtime_r() failed: %s\n", strerror(errno)); in setTime()
166 ALOGV("RTC_SET_TIME ioctl failed: %s\n", strerror(errno)); in setTime()
218 ALOGW("Unable to set rtc to %ld: %s\n", tv.tv_sec, strerror(errno)); in android_server_AlarmManagerService_setKernelTime()
233 ALOGE("Unable to set kernel timezone to %d: %s\n", minswest, strerror(errno)); in android_server_AlarmManagerService_setKernelTimezone()
250 ALOGE("failed to open %s: %s", hctosys_path.string(), strerror(errno)); in rtc_is_hctosys()
259 strerror(errno)); in rtc_is_hctosys()
273 ALOGE("failed to open %s: %s", rtc_sysfs, strerror(errno)); in wall_clock_rtc()
296 ALOGE("failed to enumerate RTCs: %s", strerror(errno)); in wall_clock_rtc()
[all …]
Dcom_android_server_connectivity_Vpn.cpp68 ALOGE("Cannot allocate TUN: %s", strerror(errno)); in create_interface()
75 ALOGE("Cannot activate %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface()
82 ALOGE("Cannot set MTU on %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface()
97 ALOGE("Cannot get interface name: %s", strerror(errno)); in get_interface_name()
109 ALOGE("Cannot get index of %s: %s", name, strerror(errno)); in get_interface_index()
183 ALOGE("Cannot add address: %s/%d: %s", address, prefix, strerror(errno)); in set_addresses()
199 ALOGE("Cannot reset %s: %s", name, strerror(errno)); in reset_interface()
212 ALOGE("Cannot check %s: %s", name, strerror(errno)); in check_interface()
232 strerror(-error)); in modifyAddress()
237 strerror(-error)); in modifyAddress()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp135 ALOGW("Zygote SIGCHLD error in waitpid: %s", strerror(errno)); in SigChldHandler()
155 ALOGW("Error setting SIGCHLD handler: %s", strerror(errno)); in SetSigChldHandler()
167 ALOGW("Error unsetting SIGCHLD handler: %s", strerror(errno)); in UnsetSigChldHandler()
185 oss << "setgroups failed: " << strerror(errno) << ", gids.size=" << gids.size(); in SetGids()
239 ALOGE("prctl(PR_CAPBSET_DROP, %d) failed: %s", i, strerror(errno)); in DropCapabilitiesBoundingSet()
254 ALOGE("capget failed: %s", strerror(errno)); in SetInheritable()
262 ALOGE("capset(inh=%" PRIx64 ") failed: %s", inheritable, strerror(errno)); in SetInheritable()
285 effective, inheritable, strerror(errno)); in SetCapabilities()
303 ALOGE("Error opening /proc/mounts: %s", strerror(errno)); in UnmountTree()
320 ALOGW("Failed to unmount %s: %s", path.c_str(), strerror(errno)); in UnmountTree()
[all …]
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp103 strerror(-err), err); in connectSurface()
110 strerror(-err), err); in connectSurface()
119 __FUNCTION__, strerror(-err), err); in connectSurface()
128 strerror(-err), err); in connectSurface()
200 strerror(-err), err); in produceFrame()
265 strerror(-err), err); in produceFrame()
298 strerror(-err), err); in produceFrame()
322 ALOGE("%s: Failed to lock buffer, error %s (%d).", __FUNCTION__, strerror(-err), in produceFrame()
340 ALOGE("%s: Failed to unlock buffer, error %s (%d).", __FUNCTION__, strerror(-err), err); in produceFrame()
347 ALOGE("%s: Failed to queue buffer, error %s (%d).", __FUNCTION__, strerror(-err), err); in produceFrame()
[all …]
Dandroid_net_NetUtils.cpp88 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno)); in android_net_utils_attachDhcpFilter()
122 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno)); in android_net_utils_attachRaFilter()
197 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno)); in android_net_utils_attachControlPacketFilter()
215 "setsockopt(ICMP6_FILTER): %s", strerror(errno)); in android_net_utils_setupRaSocket()
230 "setsockopt(IPV6_MULTICAST_HOPS): %s", strerror(errno)); in android_net_utils_setupRaSocket()
239 "setsockopt(IPV6_UNICAST_HOPS): %s", strerror(errno)); in android_net_utils_setupRaSocket()
248 "setsockopt(IPV6_MULTICAST_LOOP): %s", strerror(errno)); in android_net_utils_setupRaSocket()
256 "setsockopt(IPV6_MULTICAST_IF): %s", strerror(errno)); in android_net_utils_setupRaSocket()
277 "bind(IN6ADDR_ANY): %s", strerror(errno)); in android_net_utils_setupRaSocket()
289 "setsockopt(IPV6_JOIN_GROUP): %s", strerror(errno)); in android_net_utils_setupRaSocket()
/frameworks/native/services/vr/performanced/
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/cmds/dumpstate/
DDumpstateInternal.cpp51 MYLOGE("prctl(PR_SET_KEEPCAPS) failed: %s\n", strerror(errno)); in DropRootUser()
58 MYLOGE("Unable to setgroups, aborting: %s\n", strerror(errno)); in DropRootUser()
62 MYLOGE("Unable to setgid, aborting: %s\n", strerror(errno)); in DropRootUser()
66 MYLOGE("Unable to setuid, aborting: %s\n", strerror(errno)); in DropRootUser()
83 MYLOGE("capset failed: %s\n", strerror(errno)); in DropRootUser()
132 dprintf(out_fd, "*** %s: select failed: %s\n", path, strerror(errno)); in DumpFileFromFdToFd()
148 dprintf(out_fd, "*** %s: Failed to read from fd: %s", path, strerror(errno)); in DumpFileFromFdToFd()
DDumpstateUtil.cpp51 printf("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
62 printf("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
72 printf("*** sigtimedwait failed: %s\n", strerror(errno)); in waitpid_with_timeout()
82 printf("*** waitpid failed: %s\n", strerror(errno)); in waitpid_with_timeout()
183 dprintf(out_fd, "*** Error dumping %s: %s\n", path.c_str(), strerror(err)); in DumpFileToFd()
186 strerror(err)); in DumpFileToFd()
265 if (!silent) dprintf(fd, "*** fork: %s\n", strerror(errno)); in RunCommandToFd()
266 MYLOGE("*** fork: %s\n", strerror(errno)); in RunCommandToFd()
275 strerror(errno)); in RunCommandToFd()
277 MYLOGE("*** could not drop root before running %s: %s\n", command, strerror(errno)); in RunCommandToFd()
[all …]
Dutils.cpp274 printf("Failed to open /data/system/users (%s)\n", strerror(errno)); in for_each_userid()
294 printf("Failed to open /proc (%s)\n", strerror(errno)); in __for_each_pid()
365 printf("Failed to open %s (%s)\n", taskpath, strerror(errno)); in for_each_tid_helper()
426 printf("Failed to open '%s' (%s)\n", path, strerror(errno)); in show_wchan()
435 printf("Failed to read '%s' (%s)\n", path, strerror(save_errno)); in show_wchan()
492 printf("Failed to open '%s' (%s)\n", path, strerror(errno)); in show_showtime()
501 printf("Failed to read '%s' (%s)\n", path, strerror(save_errno)); in show_showtime()
598 MYLOGE("Error opening file descriptor for %s: %s\n", path, strerror(err)); in read_file_as_long()
604 MYLOGE("Error reading file %s: %s\n", path, strerror(errno)); in read_file_as_long()
641 MYLOGE("%s: %s\n", dir, strerror(errno)); in dump_files()
[all …]
/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/native/cmds/bugreport/
Dbugreport.cpp51 printf("Failed to connect to dumpstate service: %s\n", strerror(errno)); in main()
62 printf("WARNING: Cannot set socket timeout: %s\n", strerror(errno)); in main()
75 printf("\nBugreport read terminated abnormally (%s).\n", strerror(errno)); in main()
87 bytes_read, bytes_to_send, strerror(errno)); in main()
/frameworks/native/libs/vr/libpdx_uds/
Dservice_dispatcher.cpp29 ALOGE("Failed to create event fd because: %s\n", strerror(errno)); in ServiceDispatcher()
35 ALOGE("Failed to create epoll fd because: %s\n", strerror(errno)); in ServiceDispatcher()
46 ALOGE("Failed to add event fd to epoll fd because: %s\n", strerror(errno)); in ServiceDispatcher()
85 ALOGE("Failed to add service to dispatcher because: %s\n", strerror(errno)); in AddService()
109 strerror(errno)); in RemoveService()
129 strerror(errno)); in ReceiveAndDispatch()
161 ALOGE("Failed to wait for epoll events because: %s\n", strerror(errno)); in EnterDispatchLoop()
/frameworks/opt/net/wifi/libwifi_system/
Dsupplicant_manager.cpp60 << strerror(errno); in ensure_config_file_exists()
66 << strerror(errno); in ensure_config_file_exists()
83 << strerror(errnoSystem); in ensure_config_file_exists()
85 << strerror(errnoVendor); in ensure_config_file_exists()
96 << strerror(errno); in ensure_config_file_exists()
103 << "\": " << strerror(errno); in ensure_config_file_exists()
118 << " to 0660: " << strerror(errno); in ensure_config_file_exists()
Dinterface_tool.cpp44 << " (" << strerror(errno) << ")"; in GetIfState()
57 << strerror(errno) << ")"; in GetUpState()
73 << strerror(errno) << ")"; in SetUpState()
95 << " (" << strerror(errno) << ")"; in SetUpState()
/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/native/opengl/libs/EGL/
Degl_cache.cpp218 strerror(errno), errno); in saveBlobCacheLocked()
226 strerror(errno), errno); in saveBlobCacheLocked()
236 strerror(errno), errno); in saveBlobCacheLocked()
244 ALOGE("error writing cache contents: %s (%d)", strerror(-err), in saveBlobCacheLocked()
258 ALOGE("error writing cache file: %s (%d)", strerror(errno), in saveBlobCacheLocked()
280 strerror(errno), errno); in loadBlobCacheLocked()
287 ALOGE("error stat'ing cache file: %s (%d)", strerror(errno), errno); in loadBlobCacheLocked()
304 ALOGE("error mmaping cache file: %s (%d)", strerror(errno), in loadBlobCacheLocked()
326 ALOGE("error reading cache contents: %s (%d)", strerror(-err), in loadBlobCacheLocked()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp93 __FUNCTION__, mCameraId, strerror(-res), res); in initializeImpl()
568 __FUNCTION__, strerror(-res), res); in setPreviewWindowL()
579 __FUNCTION__, strerror(-res), res); in setPreviewWindowL()
633 " %s (%d)", __FUNCTION__, mCameraId, strerror(-res), res); in setPreviewCallbackFlagL()
668 __FUNCTION__, mCameraId, strerror(-res), res); in setPreviewCallbackTarget()
747 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
771 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
798 strerror(-res), res); in startPreviewL()
806 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
820 __FUNCTION__, mCameraId, strerror(-res), res); in startPreviewL()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp108 strerror(-result), result); in advanceFrame()
145 ALOGE("error acquiring buffer: %s (%d)", strerror(-err), err); in nextBuffer()
168 ALOGE("error releasing buffer: %s (%d)", strerror(-err), err); in nextBuffer()
196 strerror(-err), err); in nextBuffer()
221 " fence: %s (%d)", strerror(-result), result); in nextBuffer()
226 " %s (%d)", strerror(-result), result); in nextBuffer()
238 strerror(-err), err); in nextBuffer()

1234567891011