Home
last modified time | relevance | path

Searched refs:stderr (Results 1 – 25 of 244) sorted by relevance

12345678910

/frameworks/base/tools/aapt/
DMain.cpp59 fprintf(stderr, "Android Asset Packaging Tool\n\n"); in usage()
60 fprintf(stderr, "Usage:\n"); in usage()
61 fprintf(stderr, in usage()
64 fprintf(stderr, in usage()
73 fprintf(stderr, in usage()
98 fprintf(stderr, in usage()
102 fprintf(stderr, in usage()
105 fprintf(stderr, in usage()
109 fprintf(stderr, in usage()
112 fprintf(stderr, in usage()
[all …]
DPackage.cpp80 fprintf(stderr, "ERROR: unable to remove '%s': %s\n", outputFile.string(), in writeAPK()
85 fprintf(stderr, "ERROR: '%s' exists (use '-f' to force overwrite)\n", in writeAPK()
90 fprintf(stderr, "ERROR: '%s' exists and is not a regular file\n", outputFile.string()); in writeAPK()
103 fprintf(stderr, "ERROR: unable to open '%s' as Zip file for writing\n", in writeAPK()
114 fprintf(stderr, "ERROR: unable to process assets while packaging '%s'\n", in writeAPK()
126 fprintf(stderr, "ERROR: unable to process jar files while packaging '%s'\n", in writeAPK()
165 fprintf(stderr, "ERROR: Zip flush failed, archive may be hosed\n"); in writeAPK()
177 fprintf(stderr, "warning: could not unlink '%s'\n", outputFile.string()); in writeAPK()
205 fprintf(stderr, "warning: could not unlink '%s'\n", outputFile.string()); in writeAPK()
226 fprintf(stderr, "warning: null file being processed.\n"); in processAssets()
[all …]
/frameworks/wilhelm/src/
Dsllog.h87 #define SL_LOGE(...) do { fprintf(stderr, "SL_LOGE: %s:%s:%d ", __FILE__, __FUNCTION__, __LINE__); \
88 fprintf(stderr, __VA_ARGS__); fputc('\n', stderr); } while(0)
94 #define SL_LOGW(...) do { fprintf(stderr, "SL_LOGW: %s:%s:%d ", __FILE__, __FUNCTION__, __LINE__); \
95 fprintf(stderr, __VA_ARGS__); fputc('\n', stderr); } while(0)
101 #define SL_LOGI(...) do { fprintf(stderr, "SL_LOGI: %s:%s:%d ", __FILE__, __FUNCTION__, __LINE__); \
102 fprintf(stderr, __VA_ARGS__); fputc('\n', stderr); } while(0)
108 #define SL_LOGD(...) do { fprintf(stderr, "SL_LOGD: %s:%s:%d ", __FILE__, __FUNCTION__, __LINE__); \
109 fprintf(stderr, __VA_ARGS__); fputc('\n', stderr); } while(0)
115 #define SL_LOGV(...) do { fprintf(stderr, "SL_LOGV: %s:%s:%d ", __FILE__, __FUNCTION__, __LINE__); \
116 fprintf(stderr, __VA_ARGS__); fputc('\n', stderr); } while(0)
/frameworks/native/cmds/rawbu/
Dbackup.cpp75 fprintf (stderr, "Error opendir'ing %s: %s\n", in wipe()
126 fprintf(stderr, "warning -- stat() error on '%s': %s\n", in wipe()
144 fprintf(stderr, "warning -- rmdir() error on '%s': %s\n", in wipe()
162 fprintf(stderr, "warning -- unlink() error on '%s': %s\n", 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()
207 fprintf(stderr, "unable to read source (%d of %ld bytes) file '%s': %s\n", in copy_file()
210 fprintf(stderr, "unable to read buffer (%d of %ld bytes): %s\n", in copy_file()
218 fprintf(stderr, "unable to write file (%d of %d bytes) '%s': '%s'\n", in copy_file()
221 fprintf(stderr, "unable to write buffer (%d of %d bytes): '%s'\n", in copy_file()
[all …]
/frameworks/base/tools/obbtool/
DMain.cpp72 fprintf(stderr, "Opaque Binary Blob (OBB) Tool\n\n"); in usage()
73 fprintf(stderr, "Usage:\n"); in usage()
74 fprintf(stderr, in usage()
77 fprintf(stderr, in usage()
84 fprintf(stderr, in usage()
87 fprintf(stderr, in usage()
95 fprintf(stderr, "ERROR: %s: OBB signature already present\n", filename); in doAdd()
107 fprintf(stderr, "ERROR: %s: couldn't write OBB signature: %s\n", in doAdd()
112 fprintf(stderr, "OBB signature successfully written\n"); in doAdd()
118 fprintf(stderr, "ERROR: %s: no OBB signature present\n", filename); in doRemove()
[all …]
/frameworks/av/cmds/stagefright/
Drecordvideo.cpp40 fprintf(stderr, "usage: %s\n", me); in usage()
41 fprintf(stderr, " -h(elp)\n"); in usage()
42 fprintf(stderr, " -b bit rate in bits per second (default: 300000)\n"); in usage()
43 …fprintf(stderr, " -c YUV420 color format: [0] semi planar or [1] planar or other omx YUV420 … in usage()
44 fprintf(stderr, " -f frame rate in frames per second (default: 30)\n"); in usage()
45 fprintf(stderr, " -i I frame interval in seconds (default: 1)\n"); in usage()
46 fprintf(stderr, " -n number of frames to be recorded (default: 300)\n"); in usage()
47 fprintf(stderr, " -w width in pixels (default: 176)\n"); in usage()
48 fprintf(stderr, " -t height in pixels (default: 144)\n"); in usage()
49 fprintf(stderr, " -l encoder level. see omx il header (default: encoder specific)\n"); in usage()
[all …]
Dmuxer.cpp39 fprintf(stderr, "usage: %s [-a] [-v] [-s <trim start time>]" in usage()
42 fprintf(stderr, " -h help\n"); in usage()
43 fprintf(stderr, " -a use audio\n"); in usage()
44 fprintf(stderr, " -v use video\n"); in usage()
45 fprintf(stderr, " -w mux into WebM container (default is MP4)\n"); in usage()
46 fprintf(stderr, " -s Time in milli-seconds when the trim should start\n"); in usage()
47 fprintf(stderr, " -e Time in milli-seconds when the trim should end\n"); in usage()
48 fprintf(stderr, " -o output file name. Default is /sdcard/muxeroutput.mp4\n"); in usage()
67 fprintf(stderr, "unable to instantiate extractor. %s\n", path); in muxing()
133 fprintf(stderr, "Warning: trimStartTimeUs > duration," in muxing()
[all …]
Daudioloop.cpp43 fprintf(stderr, "Usage: %s [-d du.ration] [-m] [-w] [-N name] [<output-file>]\n", name); in usage()
44 fprintf(stderr, "Encodes either a sine wave or microphone input to AMR format\n"); in usage()
45 fprintf(stderr, " -d duration in seconds, default 5 seconds\n"); in usage()
46 fprintf(stderr, " -m use microphone for input, default sine source\n"); in usage()
47 fprintf(stderr, " -w use AMR wideband (default narrowband)\n"); in usage()
48 fprintf(stderr, " -N name of the encoder; must be set with -M\n"); in usage()
49 fprintf(stderr, " -M media type of the encoder; must be set with -N\n"); in usage()
50 fprintf(stderr, " <output-file> output file for AMR encoding," in usage()
93 fprintf(stderr, "-N and -M must be set together\n"); in main()
98 fprintf(stderr, "-N and -M cannot be used with <output file>\n"); in main()
/frameworks/av/media/libeffects/factory/test/
DDumpConfig.cpp28 fprintf(stderr, "Dumping legacy effect config file\n"); in main()
32 fprintf(stderr, "Dumping XML effect config file: %s\n", path); in main()
34 fprintf(stderr, "Dumping default XML effect config file.\n"); in main()
37 fprintf(stderr, "Invalid arguments.\n" in main()
45 fprintf(stderr, "loadXmlEffectConfig failed, see logcat for detail.\n"); in main()
49 fprintf(stderr, "Partially failed to load config. Skipped %zu elements, " in main()
57 fprintf(stderr, "loadEffectConfig failed, see logcat for detail.\n"); in main()
60 fprintf(stderr, "legacy loadEffectConfig has probably succeed, see logcat to make sure.\n"); in main()
64 fprintf(stderr, "Effect dump failed, see logcat for detail.\n"); in main()
/frameworks/base/libs/usb/tests/accessorytest/
Dhid.c59 fprintf(stderr, "hid_thread start fd: %d\n", fd); in hid_thread()
62 fprintf(stderr, "HIDIOCGRDESCSIZE failed\n"); in hid_thread()
69 fprintf(stderr, "HIDIOCGRDESC failed\n"); in hid_thread()
75 fprintf(stderr, "waiting for device fd: %d\n", fd); in hid_thread()
89 fprintf(stderr, "ACCESSORY_REGISTER_HID returned %d\n", ret); in hid_thread()
98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n", in hid_thread()
102 fprintf(stderr, "ACCESSORY_SET_HID_REPORT_DESC returned %d errno %d\n", ret, errno); in hid_thread()
111 fprintf(stderr, "read failed, errno: %d, fd: %d\n", errno, fd); in hid_thread()
118 fprintf(stderr, "ACCESSORY_SEND_HID_EVENT returned %d errno: %d\n", ret, errno); in hid_thread()
123 fprintf(stderr, "ACCESSORY_UNREGISTER_HID\n"); in hid_thread()
[all …]
Dusb.c56 fprintf(stderr, "\n"); in read_thread()
93 fprintf(stderr, "usb_device_open failed\n"); in usb_device_added()
103 fprintf(stderr, "Found android device in accessory mode\n"); in usb_device_added()
129 fprintf(stderr, "interface not found\n"); in usb_device_added()
133 fprintf(stderr, "endpoints not found\n"); in usb_device_added()
138 fprintf(stderr, "usb_device_claim_interface failed errno: %d\n", errno); in usb_device_added()
162 fprintf(stderr, "device supports protocol version %d\n", protocol); in usb_device_added()
173 fprintf(stderr, "sending ACCESSORY_SET_AUDIO_MODE\n"); in usb_device_added()
177 fprintf(stderr, "ACCESSORY_SET_AUDIO_MODE returned %d errno: %d\n", ret, errno); in usb_device_added()
179 fprintf(stderr, "sending ACCESSORY_START\n"); in usb_device_added()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp49 fprintf(stderr, "Usage %s <input yuv> <output file> <mode> <width> " in main()
51 fprintf(stderr, "mode : h263 or mpeg4\n"); in main()
52 fprintf(stderr, "Max width %d\n", kMaxWidth); in main()
53 fprintf(stderr, "Max height %d\n", kMaxHeight); in main()
54 fprintf(stderr, "Max framerate %d\n", kMaxFrameRate); in main()
55 fprintf(stderr, "Max bitrate %d kbps\n", kMaxBitrate); in main()
66 fprintf(stderr, "Unsupported mode %s\n", argv[3]); in main()
76 fprintf(stderr, "Unsupported dimensions %dx%d\n", width, height); in main()
81 fprintf(stderr, "Video frame size %dx%d must be a multiple of 16\n", in main()
90 fprintf(stderr, "Unsupported frame rate %d\n", frameRate); in main()
[all …]
/frameworks/native/cmds/bugreport/
Dbugreport.cpp31 …fprintf(stderr, "=============================================================================\n"); in main()
32 fprintf(stderr, "WARNING: Flat (text file, non-zipped) bugreports are deprecated.\n"); in main()
33 fprintf(stderr, "WARNING: Please generate zipped bugreports instead.\n"); in main()
34 fprintf(stderr, "WARNING: On the host use: adb bugreport filename.zip\n"); in main()
35 fprintf(stderr, "WARNING: On the device use: bugreportz\n"); in main()
36 fprintf(stderr, "WARNING: bugreportz will output the filename to use with adb pull.\n"); in main()
37 …fprintf(stderr, "=============================================================================\n\n… in main()
40 fprintf(stderr, "usage: bugreport\n"); in main()
/frameworks/base/tools/stats_log_api_gen/
Dmain.cpp491 fprintf(stderr, "usage: stats-log-api-gen OPTIONS\n"); in print_usage()
492 fprintf(stderr, "\n"); in print_usage()
493 fprintf(stderr, "OPTIONS\n"); in print_usage()
494 fprintf(stderr, " --cpp FILENAME the header file to output for write helpers\n"); in print_usage()
495 fprintf(stderr, " --header FILENAME the cpp file to output for write helpers\n"); in print_usage()
496 fprintf(stderr, in print_usage()
498 fprintf(stderr, " --atomsInfoHeader FILENAME the cpp file to output for statsd metadata\n"); in print_usage()
499 fprintf(stderr, " --help this message\n"); in print_usage()
500 fprintf(stderr, " --java FILENAME the java file to output\n"); in print_usage()
501 fprintf(stderr, " --jni FILENAME the jni file to output\n"); in print_usage()
[all …]
/frameworks/av/media/libaudioprocessing/tests/
Dtest-resampler.cpp40 fprintf(stderr,"Usage: %s [-p] [-f] [-F] [-v] [-c channels]" in usage()
45 fprintf(stderr," -p enable profiling\n"); in usage()
46 fprintf(stderr," -f enable filter profiling\n"); in usage()
47 fprintf(stderr," -F enable floating point -q {dlq|dmq|dhq} only"); in usage()
48 fprintf(stderr," -v verbose : log buffer provider calls\n"); in usage()
49 fprintf(stderr," -c # channels (1-2 for lq|mq|hq; 1-8 for dlq|dmq|dhq)\n"); in usage()
50 fprintf(stderr," -q resampler quality\n"); in usage()
51 fprintf(stderr," dq : default quality\n"); in usage()
52 fprintf(stderr," lq : low quality\n"); in usage()
53 fprintf(stderr," mq : medium quality\n"); in usage()
[all …]
/frameworks/native/cmds/atrace/
Datrace.cpp357 fprintf(stderr, "error truncating %s: %s (%d)\n", (g_traceFolder + path).c_str(), in truncateFile()
372 fprintf(stderr, "error opening %s: %s (%d)\n", fullFilename.c_str(), in _writeStr()
380 fprintf(stderr, "error writing to %s: %s (%d)\n", fullFilename.c_str(), in _writeStr()
408 fprintf(stderr, "error opening %s: %s (%d)\n", k_traceMarkerPath, in writeClockSyncMarker()
416 fprintf(stderr, "error writing clock sync marker %s (%d)\n", strerror(errno), errno); in writeClockSyncMarker()
422 fprintf(stderr, "error writing clock sync marker %s (%d)\n", strerror(errno), errno); in writeClockSyncMarker()
500 fprintf(stderr, "error setting user initiated strace system property\n"); in setUserInitiatedTraceProperty()
588 fprintf(stderr, "error setting trace tags system property\n"); in setTagsProperty()
597 fprintf(stderr, "failed to clear system property: %s", in clearAppProperties()
616 fprintf(stderr, "error setting trace app %d property to %s\n", i, key.c_str()); in setAppCmdlineProperty()
[all …]
/frameworks/native/cmds/flatland/
DGLHelper.cpp44 fprintf(stderr, "eglGetDisplay error: %#x\n", eglGetError()); in setUp()
52 fprintf(stderr, "eglInitialize error: %#x\n", eglGetError()); in setUp()
69 fprintf(stderr, "eglChooseConfig error: %#x\n", eglGetError()); in setUp()
80 fprintf(stderr, "eglCreateContext error: %#x\n", eglGetError()); in setUp()
139 fprintf(stderr, "eglMakeCurrent error: %#x\n", eglGetError()); in makeCurrent()
161 fprintf(stderr, "glGenTextures error: %#x\n", glGetError()); in createSurfaceTexture()
182 fprintf(stderr, "eglSwapBuffers error: %#x\n", eglGetError()); in swapBuffers()
196 fprintf(stderr, "unknown shader name: \"%s\"\n", name); in getShaderProgram()
215 fprintf(stderr, "eglCreateWindowSurface error: %#x\n", eglGetError()); in createNamedSurfaceTexture()
227 fprintf(stderr, "SurfaceComposer::getInternalDisplayToken failed.\n"); in computeWindowScale()
[all …]
/frameworks/base/cmds/incident/
Dmain.cpp78 fprintf(stderr, "section %d status %d\n", section, status); in onReportSectionStatus()
86 fprintf(stderr, "service '%s' status %d\n", String8(service).string(), status); in onReportServiceStatus()
94 fprintf(stderr, "done\n"); in onReportFinished()
103 fprintf(stderr, "failed\n"); in onReportFailed()
268 usage(stderr); in main()
275 usage(stderr); in main()
282 usage(stderr); in main()
292 usage(stderr); in main()
299 usage(stderr); in main()
306 usage(stderr); in main()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp164 fprintf(stderr, "Unable to determine native byte order\n"); in main()
220 fprintf(stderr, "option %s ignored\n", arg); in main()
225 fprintf(stderr, "usage: [-b/l] [-8 | | -16 | -24 | -32 | -32f] [-f#] [-n#] [-p#] [-r]" in main()
227 fprintf(stderr, " -b force big-endian byte order (default is native byte order)\n"); in main()
228 fprintf(stderr, " -l force little-endian byte order (default is native byte order)\n"); in main()
229 fprintf(stderr, " -8 output 8-bits per sample (default is that of input file)\n"); in main()
230 fprintf(stderr, " -16 output 16-bits per sample\n"); in main()
231 fprintf(stderr, " -24 output 24-bits per sample\n"); in main()
232 fprintf(stderr, " -32 output 32-bits per sample\n"); in main()
233 fprintf(stderr, " -32f output float 32-bits per sample\n"); in main()
[all …]
/frameworks/base/libs/androidfw/
DPosixUtils.cpp59 int stderr[2]; // stdout[0] read, stdout[1] write in ExecuteBinary() local
60 if (pipe(stderr) != 0) { in ExecuteBinary()
95 close(stderr[0]); in ExecuteBinary()
96 if (dup2(stderr[1], STDERR_FILENO) == -1) { in ExecuteBinary()
105 close(stderr[1]); in ExecuteBinary()
116 const auto err = ReadFile(stderr[0]); in ExecuteBinary()
117 result->stderr = err ? *err : ""; in ExecuteBinary()
118 close(stderr[0]); in ExecuteBinary()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test_fixture.cpp29 fprintf(stderr, "stderr\n"); in PrintDefaultOutput()
30 fflush(stderr); in PrintDefaultOutput()
93 fprintf(stderr, "sleeping for %ds\n", napTime); in main()
94 fflush(stderr); in main()
98 fprintf(stderr, "woke up\n"); in main()
99 fflush(stderr); in main()
/frameworks/base/tools/bit/
Dprint.cpp93 fputs(g_escapeRedBold, stderr); in print_error()
97 vfprintf(stderr, format, args); in print_error()
100 fputs(g_escapeEndColor, stderr); in print_error()
101 fputc('\n', stderr); in print_error()
107 fputs(g_escapeYellowBold, stderr); in print_warning()
111 vfprintf(stderr, format, args); in print_warning()
114 fputs(g_escapeEndColor, stderr); in print_warning()
115 fputc('\n', stderr); in print_warning()
163 fputc('\n', stderr); in check_error()
/frameworks/base/libs/hwui/tests/macrobench/
Dmain.cpp109 fprintf(stderr, "don't have access to cpusets, skipping...\n"); in moveToCpuSet()
116 fprintf(stderr, "Error, cpusetName too large to fit in buffer '%s'\n", cpusetName); in moveToCpuSet()
121 fprintf(stderr, "Error opening file %d\n", errno); in moveToCpuSet()
128 fprintf(stderr, "Buffer wasn't large enough?\n"); in moveToCpuSet()
131 fprintf(stderr, "Failed to write, errno=%d", errno); in moveToCpuSet()
143 fprintf(stderr, "Unknown format '%s'", format); in setBenchmarkFormat()
155 fprintf(stderr, "Unknown format '%s'", renderer); in setRenderer()
222 fprintf(stderr, "Invalid frames argument '%s'\n", optarg); in parseOptions()
230 fprintf(stderr, "Invalid repeat argument '%s'\n", optarg); in parseOptions()
241 fprintf(stderr, "Invalid report frametime weight '%s'\n", optarg); in parseOptions()
[all …]
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp158 fprintf(stderr, "Unable to configure SIGINT handler: %s\n", in configureSignals()
164 fprintf(stderr, "Unable to configure SIGHUP handler: %s\n", in configureSignals()
208 fprintf(stderr, "ERROR: unable to create %s codec instance\n", in prepareEncoder()
215 fprintf(stderr, "ERROR: unable to create %s codec instance\n", in prepareEncoder()
224 fprintf(stderr, "ERROR: unable to configure %s codec at %dx%d (err=%d)\n", in prepareEncoder()
240 fprintf(stderr, in prepareEncoder()
251 fprintf(stderr, "ERROR: unable to start codec (err=%d)\n", err); in prepareEncoder()
378 fprintf(stderr, "Unable to get output buffers (err=%d)\n", err); in runEncoder()
470 fprintf(stderr, in runEncoder()
479 fprintf(stderr, "Unable to release output buffer (err=%d)\n", in runEncoder()
[all …]
/frameworks/base/cmds/incident_helper/tests/
DPsParser_test.cpp219 … fprintf(stderr, "Got %d processes, want %d\n", got.processes_size(), expected.processes_size()); in TEST_F()
228 …fprintf(stderr, "prcs[%d]: Invalid label. Got %s, want %s\n", i, g.label().c_str(), e.label().c_st… in TEST_F()
232 …fprintf(stderr, "prcs[%d]: Invalid user. Got %s, want %s\n", i, g.user().c_str(), e.user().c_str()… in TEST_F()
236 fprintf(stderr, "prcs[%d]: Invalid pid. Got %d, want %d\n", i, g.pid(), e.pid()); in TEST_F()
240 fprintf(stderr, "prcs[%d]: Invalid tid. Got %d, want %d\n", i, g.tid(), e.tid()); in TEST_F()
244 fprintf(stderr, "prcs[%d]: Invalid ppid. Got %d, want %d\n", i, g.ppid(), e.ppid()); in TEST_F()
248 fprintf(stderr, "prcs[%d]: Invalid vsz. Got %d, want %d\n", i, g.vsz(), e.vsz()); in TEST_F()
252 fprintf(stderr, "prcs[%d]: Invalid rss. Got %d, want %d\n", i, g.rss(), e.rss()); in TEST_F()
256 …fprintf(stderr, "prcs[%d]: Invalid wchan. Got %s, want %s\n", i, g.wchan().c_str(), e.wchan().c_st… in TEST_F()
260 …fprintf(stderr, "prcs[%d]: Invalid addr. Got %s, want %s\n", i, g.addr().c_str(), e.addr().c_str()… in TEST_F()
[all …]

12345678910