Home
last modified time | relevance | path

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

12345678910>>...13

/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()
119 ALOGE("native_window_set_usage failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
126 ALOGE("native_window_set_scaling_mode failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage()
212 strerror(-err2), -err2); 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.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()
523 ALOGE("Error %d (%s) from lstat64(%s)", err, strerror(err), filepath.c_str()); in write_tarfile()
551 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.c_str()); in write_tarfile()
700 err, strerror(err)); in write_tarfile()
771 (long)amt, strerror(errno)); in WriteFile()
789 ALOGW("Could not open file %s -- %s", filename.c_str(), strerror(errno)); in WriteFile()
797 ALOGW("Error '%s' writing '%s'", strerror(errno), filename.c_str()); in WriteFile()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp132 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewRequest()
141 strerror(-res), res); in updatePreviewRequest()
149 __FUNCTION__, mId, strerror(-res), res); in updatePreviewRequest()
173 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
184 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
191 strerror(-res), res); in updatePreviewStream()
206 __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
215 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewStream()
241 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
247 __FUNCTION__, strerror(-res), res); in deletePreviewStream()
[all …]
/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/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()
185 dprintf(out_fd, "*** %s: Failed to read from fd: %s", path, strerror(errno)); in DumpFileFromFdToFd()
DDumpstateUtil.cpp53 printf("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
79 printf("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
89 printf("*** sigtimedwait failed: %s\n", strerror(errno)); in waitpid_with_timeout()
99 printf("*** waitpid failed: %s\n", strerror(errno)); in waitpid_with_timeout()
254 dprintf(out_fd, "*** Error dumping %s: %s\n", path.c_str(), strerror(err)); in DumpFileToFd()
257 strerror(err)); in DumpFileToFd()
334 if (!silent) dprintf(fd, "*** fork: %s\n", strerror(errno)); in RunCommandToFd()
335 MYLOGE("*** fork: %s\n", strerror(errno)); in RunCommandToFd()
344 strerror(errno)); in RunCommandToFd()
346 MYLOGE("*** could not drop root before running %s: %s\n", command, strerror(errno)); in RunCommandToFd()
[all …]
/frameworks/opt/net/wifi/libwifi_system_iface/
Dinterface_tool.cpp53 << " (" << strerror(errno) << ")"; in GetIfState()
66 << strerror(errno) << ")"; in GetUpState()
82 << strerror(errno) << ")"; in SetUpState()
104 << " (" << strerror(errno) << ")"; in SetUpState()
124 << strerror(errno) << ")"; in SetMacAddress()
137 << " (" << strerror(errno) << ")"; in SetMacAddress()
157 << strerror(errno) << ")"; in GetFactoryMacAddress()
171 << " (" << strerror(errno) << ")"; in GetFactoryMacAddress()
183 << " (" << strerror(errno) << ")"; in createBridge()
195 << " (" << strerror(errno) << ")"; in deleteBridge()
[all …]
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp84 ALOGE("native_window_api_connect failed: %s (%d)", strerror(-err), err); in ConnectAndSetWindowDefaults()
91 ALOGE("native_window->setSwapInterval(1) failed: %s (%d)", strerror(-err), err); in ConnectAndSetWindowDefaults()
97 ALOGE("native_window_set_shared_buffer_mode(false) failed: %s (%d)", strerror(-err), err); in ConnectAndSetWindowDefaults()
103 ALOGE("native_window_set_auto_refresh(false) failed: %s (%d)", strerror(-err), err); in ConnectAndSetWindowDefaults()
110 strerror(-err), err); in ConnectAndSetWindowDefaults()
117 ALOGE("native_window_set_buffers_dimensions(0,0) failed: %s (%d)", strerror(-err), err); in ConnectAndSetWindowDefaults()
128 strerror(-err), err); in ConnectAndSetWindowDefaults()
169 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, width); in InitializeWindowInfoStruct()
174 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, height); in InitializeWindowInfoStruct()
182 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
[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.cpp66 strerror(errno), errno); in FileBlobCache()
73 ALOGE("error stat'ing cache file: %s (%d)", strerror(errno), errno); in FileBlobCache()
90 ALOGE("error mmaping cache file: %s (%d)", strerror(errno), in FileBlobCache()
112 ALOGE("error reading cache contents: %s (%d)", strerror(-err), in FileBlobCache()
141 strerror(errno), errno); in writeToFile()
149 strerror(errno), errno); in writeToFile()
159 strerror(errno), errno); in writeToFile()
167 ALOGE("error writing cache contents: %s (%d)", strerror(-err), in writeToFile()
181 ALOGE("error writing cache file: %s (%d)", strerror(errno), in writeToFile()
DMultifileBlobCache.cpp167 std::strerror(errno)); in MultifileBlobCache()
176 std::strerror(errno)); in MultifileBlobCache()
185 fullPath.c_str(), std::strerror(errno)); in MultifileBlobCache()
195 std::strerror(errno)); in MultifileBlobCache()
212 ALOGE("Failed to mmap cacheEntry, error: %s", std::strerror(errno)); in MultifileBlobCache()
222 ALOGE("Error removing %s: %s", fullPath.c_str(), std::strerror(errno)); in MultifileBlobCache()
234 std::strerror(errno)); in MultifileBlobCache()
451 std::strerror(errno)); in get()
463 ALOGE("Failed to mmap cacheEntry, error: %s", std::strerror(errno)); in get()
544 std::strerror(errno)); in createStatus()
[all …]
/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()
194 ALOGE("VIDIOC_DQBUF failed: %s", strerror(errno)); in readFrame()
[all …]
/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/base/services/core/jni/
Dcom_android_server_SystemClockTime.cpp42 ALOGV("settimeofday() failed: %s", strerror(errno)); in setTime()
48 ALOGE("Unable to open %s: %s", rtc_dev.c_str(), strerror(errno)); in setTime()
54 ALOGV("gmtime_r() failed: %s", strerror(errno)); in setTime()
69 ALOGV("RTC_SET_TIME ioctl failed: %s", strerror(errno)); in setTime()
109 ALOGW("Unable to set rtc to %ld: %s", tv.tv_sec, strerror(errno)); in com_android_server_SystemClockTime_setTime()
Dcom_android_server_connectivity_Vpn.cpp69 ALOGE("Cannot allocate TUN: %s", strerror(errno)); in create_interface()
76 ALOGE("Cannot activate %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface()
83 ALOGE("Cannot set MTU on %s: %s", ifr4.ifr_name, strerror(errno)); in create_interface()
98 ALOGE("Cannot get interface name: %s", strerror(errno)); in get_interface_name()
110 ALOGE("Cannot get index of %s: %s", name, strerror(errno)); in get_interface_index()
184 ALOGE("Cannot add address: %s/%d: %s", address, prefix, strerror(errno)); in set_addresses()
200 ALOGE("Cannot reset %s: %s", name, strerror(errno)); in reset_interface()
213 ALOGE("Cannot check %s: %s", name, strerror(errno)); in check_interface()
233 strerror(-error)); in modifyAddress()
238 strerror(-error)); in modifyAddress()
Dcom_android_server_companion_virtual_InputController.cpp60 ALOGE("Error creating uinput device: %s", strerror(errno)); in openUinput()
137 ALOGE("Error creating touchscreen uinput x axis: %s", strerror(errno)); in openUinput()
145 ALOGE("Error creating touchscreen uinput y axis: %s", strerror(errno)); in openUinput()
153 ALOGE("Error creating touchscreen uinput major axis: %s", strerror(errno)); in openUinput()
161 ALOGE("Error creating touchscreen uinput pressure axis: %s", strerror(errno)); in openUinput()
169 ALOGE("Error creating touchscreen uinput slots: %s", strerror(errno)); in openUinput()
177 ALOGE("Error creating touchscreen uinput tracking ids: %s", strerror(errno)); in openUinput()
186 ALOGE("Error creating stylus uinput x axis: %s", strerror(errno)); in openUinput()
194 ALOGE("Error creating stylus uinput y axis: %s", strerror(errno)); in openUinput()
202 ALOGE("Error creating stylus uinput tilt x axis: %s", strerror(errno)); in openUinput()
[all …]
/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp85 VLOG("poll failed: %s", strerror(errno)); in read()
89 VLOG("return event has error %s", strerror(errno)); in read()
98 VLOG("Fail to read %d: %s", fd, strerror(errno)); in read()
131 VLOG("Fail to read %d: %s", fd, strerror(errno)); in readFully()
191 VLOG("Fail to poll: %s", strerror(errno)); in readProcessedDataInStream()
202 VLOG("fd[%d]=%d returns error events: %s", i, fd, strerror(errno)); in readProcessedDataInStream()
217 VLOG("Fail to read fd %d: %s", fd, strerror(errno)); in readProcessedDataInStream()
239 VLOG("Fail to write toFd %d: %s", toFd.get(), strerror(errno)); in readProcessedDataInStream()
268 VLOG("Fail to read fromFd %d: %s", fromFd.get(), strerror(errno)); in readProcessedDataInStream()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp130 __FUNCTION__, mCameraId, strerror(-res), res); in initializeImpl()
152 __FUNCTION__, strerror(-res), res); in initializeImpl()
160 __FUNCTION__, strerror(-res), res); in initializeImpl()
168 __FUNCTION__, strerror(-res), res); in initializeImpl()
176 __FUNCTION__, strerror(-res), res); in initializeImpl()
184 __FUNCTION__, strerror(-res), res); in initializeImpl()
632 __FUNCTION__, strerror(-res), res); in setPreviewWindowL()
643 __FUNCTION__, strerror(-res), res); in setPreviewWindowL()
697 " %s (%d)", __FUNCTION__, mCameraId, strerror(-res), res); in setPreviewCallbackFlagL()
732 __FUNCTION__, mCameraId, strerror(-res), res); in setPreviewCallbackTarget()
[all …]
/frameworks/base/apex/jobscheduler/service/jni/
Dcom_android_server_alarm_AlarmManagerService.cpp185 ALOGE("timerfd_create(%u) failed: %s", id, strerror(errno)); in log_timerfd_create_error()
195 ALOGE("epoll_create(%zu) failed: %s", fds.size(), strerror(errno)); in android_server_alarm_AlarmManagerService_init()
220 ALOGE("epoll_ctl(EPOLL_CTL_ADD) failed: %s", strerror(errno)); in android_server_alarm_AlarmManagerService_init()
232 ALOGE("timerfd_settime() failed: %s", strerror(errno)); in android_server_alarm_AlarmManagerService_init()
247 ALOGE("timerfd_gettime() failed for fd %d: %s\n", static_cast<int>(type), strerror(errno)); in android_server_alarm_AlarmManagerService_getNextAlarm()
274 static_cast<long long>(nanoseconds), strerror(errno)); in android_server_alarm_AlarmManagerService_set()
291 ALOGE("Unable to wait on alarm: %s\n", strerror(errno)); in android_server_alarm_AlarmManagerService_waitForAlarm()
/frameworks/base/tools/obbtool/
Dpbkdf2gen.cpp46 fprintf(stderr, "Could not open /dev/urandom: %s\n", strerror(errno)); in main()
54 fprintf(stderr, "Could not read salt from /dev/urandom: %s\n", strerror(errno)); in main()
64 fprintf(stderr, "Could not generate PBKDF2 output: %s\n", strerror(errno)); in main()
/frameworks/native/cmds/bugreportz/
Dmain.cpp99 printf("FAIL:Failed to connect to dumpstatez service: %s\n", strerror(errno)); in main()
112 strerror(errno)); in main()
123 fprintf(stderr, "WARNING: error closing socket: %s\n", strerror(errno)); in main()
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_event_set.cpp24 strerror(error)); in SetupHandle()
85 strerror(error)); in ChannelEventReceiver()
95 strerror(error)); in ChannelEventReceiver()
106 strerror(error)); in ChannelEventReceiver()
125 strerror(error)); in PollPendingEvents()

12345678910>>...13