Searched refs:errno (Results 1 - 25 of 220) sorted by path

123456789

/frameworks/av/cmds/screenrecord/
H A DFrameOutput.cpp185 // errno may not be useful; log it anyway
186 ALOGE("write failed (errno=%d)", errno);
H A Dscreenrecord.cpp122 status_t err = -errno;
124 strerror(errno));
128 status_t err = -errno;
130 strerror(errno));
504 fprintf(stderr, "fopen raw failed: %s\n", strerror(errno));
760 int err = errno;
769 ALOGW("waitpid(%d) returned %d (errno=%d)", pid, actualPid, errno);
787 ALOGE("execv(%s) failed: %s\n", kCommand, strerror(errno));
993 fprintf(stderr, "Unable to open '%s': %s\n", fileName, strerror(errno));
[all...]
/frameworks/av/cmds/stagefright/
H A Djpeg.cpp17 #include <errno.h>
49 return -errno;
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp24 #include <errno.h>
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp20 #include <errno.h>
142 "errno = %d", errno);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c18 #include <errno.h>
61 if (mkdir(partialPath, mode) != 0 && errno != EEXIST) {
85 } else if (errno == ENOENT &&
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c19 #include <errno.h>
92 errno = EBADF;
112 errno = ENFILE;
128 errno = EBADF;
142 errno = EBADF;
206 errno = ENOSYS;
332 errno = EINVAL;
342 errno = EINVAL;
/frameworks/av/include/media/
H A DEffectsFactoryApi.h20 #include <errno.h>
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp20 #include <errno.h>
42 ALOGE("clock_gettime(CLOCK_THREAD_CPUTIME_ID) errno=%d", errno);
50 ALOGE("clock_gettime(CLOCK_MONOTONIC) errno=%d", errno);
61 ALOGE("clock_gettime(CLOCK_THREAD_CPUTIME_ID) errno=%d", errno);
104 ALOGE("clock_gettime(CLOCK_THREAD_CPUTIME_ID) errno=%d", errno);
135 ALOGE("clock_gettime(CLOCK_MONOTONIC) errno
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp1621 ALOGE_IF(gPcmDumpFh <= 0, "gPcmDumpFh open error %d %s", errno, strerror(errno));
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp279 errno = 0;
282 status_t error = errno; // clock_gettime can affect errno
497 errno = 0;
500 switch (errno) {
507 status = errno;
H A DIOMX.cpp807 ALOGE("couldn't map: %s", strerror(errno));
H A DMediaScanner.cpp156 ALOGW("Error opening directory '%s', skipping: %s.", path, strerror(errno));
202 ALOGD("stat() failed for %s: %s", path, strerror(errno) );
H A DMidiIoWrapper.cpp76 errno = EBADF;
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp771 ALOGE("fstat(%d) failed: %d, %s", fd, ret, strerror(errno));
H A DMetadataRetrieverClient.cpp143 ALOGE("fstat(%d) failed: %d, %s", fd, ret, strerror(errno));
H A DStagefrightRecorder.cpp277 // It is lame, but according to man page, we have to set errno to 0
279 errno = 0;
282 if (end == s || errno == ERANGE) {
302 // It is lame, but according to man page, we have to set errno to 0
304 errno = 0;
307 if (end == s || errno == ERANGE) {
/frameworks/av/media/libstagefright/
H A DFileSource.cpp52 ALOGE("Failed to open file '%s'. (%s)", filename, strerror(errno));
H A DMPEG4Writer.cpp418 ALOGE("cannot seek mFd: %s (%d)", strerror(errno), errno);
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp17 #include <errno.h>
56 errno = 0; // strtol does not clear errno, but it can be set for any return value
61 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) {
H A DANetworkSession.cpp284 } while (n < 0 && errno == EINTR);
288 err = -errno;
343 } while (n < 0 && errno == EINTR);
355 err = -errno;
563 } while (n < 0 && errno == EINTR);
574 err = -errno;
632 } while (n < 0 && errno == EINTR);
655 err = -errno;
817 return -errno;
956 return -errno;
[all...]
H A DMediaBuffer.cpp20 #include <errno.h>
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp349 } while (n < 0 && errno == EINTR);
353 n == 0 ? "connection gone" : strerror(errno));
393 } while (nbytes < 0 && errno == EINTR);
H A DARTSPConnection.cpp288 if (errno == EINPROGRESS) {
296 reply->setInt32("result", -errno);
448 if (n < 0 && errno == EINTR) {
462 ALOGE("Error sending rtsp request. (%s)", strerror(errno));
463 reply->setInt32("result", -errno);
537 if (n < 0 && errno == EINTR) {
549 ALOGE("Error reading rtsp response. (%s)", strerror(errno));
550 return -errno;
799 if (n < 0 && errno == EINTR) {
808 ALOGE("Error sending rtsp response (%s).", strerror(errno));
[all...]
H A DMyTransmitter.h674 LOG(ERROR) << "send failed (" << strerror(errno) << ")";

Completed in 660 milliseconds

123456789