/system/core/toolbox/ |
D | wipe.c | 32 fprintf(stderr, "wipe <system|data|all>\n\n" in usage() 48 fprintf(stdout, "Wiping /system\n"); in wipe_main() 50 fprintf(stdout, "Done wiping /android\n"); in wipe_main() 52 fprintf(stdout, "Wiping /data\n"); in wipe_main() 54 fprintf(stdout, "Done wiping /data\n"); in wipe_main() 56 fprintf(stdout, "Wiping /system and /data\n"); in wipe_main() 59 fprintf(stdout, "Done wiping /system and /data\n"); in wipe_main() 62 fprintf(stdout, "Nuking the device...\n"); in wipe_main() 65 fprintf(stdout, "Device nuked! Rebooting...\n"); in wipe_main() 68 fprintf(stderr, "Reboot failed, %s\n", strerror(errno)); in wipe_main() [all …]
|
D | setconsole.c | 22 …fprintf(stderr, "ioctl( vcfd, VT_ACTIVATE, vtnum) failed, %d %d %s for %d\n", res, errno, strerror… in activate_thread() 54 fprintf(stderr, "%s: cannot specify both -g and -t\n", argv[0]); in setconsole_main() 61 fprintf(stderr, "%s: cannot specify both -g and -t\n", argv[0]); in setconsole_main() 82 fprintf(stderr, "%s [-d <dev>] [-v <vc>] [-gtncpoh]\n" in setconsole_main() 94 fprintf(stderr, "%s: invalid option -%c\n", in setconsole_main() 100 fprintf(stderr,"%s [-d <dev>] [-v <vc>] [-gtncpoh]\n", argv[0]); in setconsole_main() 106 fprintf(stderr, "cannot open %s\n", ttydev); in setconsole_main() 115 fprintf(stderr, "ioctl(vcfd, VT_GETSTATE, &vs) failed, %d\n", res); in setconsole_main() 124 … fprintf(stderr, "ioctl(vcfd, VT_OPENQRY, &vtnum) failed, res %d, vtnum %d\n", res, vtnum); in setconsole_main() 141 …fprintf(stderr, "ioctl( vcfd, VT_WAITACTIVE, vtnum) failed, %d %d %s for %d\n", res, errno, strerr… in setconsole_main() [all …]
|
D | alarm.c | 54 fprintf(stderr, "%s: invalid option -%c\n", in alarm_main() 60 fprintf(stderr,"%s [-uwa] [-t type] [seconds]\n", argv[0]); in alarm_main() 66 fprintf(stderr, "Unable to open rtc: %s\n", strerror(errno)); in alarm_main() 77 fprintf(stderr, "Unable to read alarm: %s\n", strerror(errno)); in alarm_main() 97 fprintf(stderr, "Unable to set alarm: %s\n", strerror(errno)); in alarm_main() 116 fprintf(stderr, "Unable to get current time: %s\n", strerror(errno)); in alarm_main() 128 fprintf(stderr, "Unable to set alarm: %s\n", strerror(errno)); in alarm_main() 135 fprintf(stderr, "Unable to set alarm: %s\n", strerror(errno)); in alarm_main() 140 fprintf(stderr, "Unable to enable alarm: %s\n", strerror(errno)); in alarm_main() 146 fprintf(stderr,"%s [-u] [date]\n", argv[0]); in alarm_main() [all …]
|
D | nandread.c | 76 fprintf(stderr, "%s [-d <dev>] [-f file] [-s sparesize] [-vh]\n" in nandread_main() 87 fprintf(stderr, "%s: invalid option -%c\n", in nandread_main() 94 fprintf(stderr, "%s: extra arguments\n", argv[0]); in nandread_main() 98 fprintf(stderr, "%s: specify device name\n", argv[0]); in nandread_main() 104 fprintf(stderr, "cannot open %s, %s\n", devname, strerror(errno)); in nandread_main() 111 fprintf(stderr, "cannot open %s, %s\n", filename, strerror(errno)); in nandread_main() 119 fprintf(stderr, "cannot open %s, %s\n", statusfilename, strerror(errno)); in nandread_main() 126 fprintf(stderr, "failed get mtd info for %s, %s\n", in nandread_main() 140 fprintf(stderr, "failed allocate readbuffer size %u\n", in nandread_main() 152 fprintf(stderr, "failed get ecc layout for %s, %s\n", in nandread_main() [all …]
|
D | ionice.c | 17 fprintf(stderr, "usage: ionice <pid> [none|rt|be|idle] [prio]\n"); in ionice_main() 22 fprintf(stderr, "Invalid pid specified\n"); in ionice_main() 28 fprintf(stderr, "Failed to read priority (%s)\n", strerror(errno)); in ionice_main() 31 fprintf(stdout, "Pid %d, class %s (%d), prio %d\n", pid, classes[clazz], clazz, ioprio); in ionice_main() 44 fprintf(stderr, "Unsupported class '%s'\n", argv[2]); in ionice_main() 52 fprintf(stderr, "Failed to set priority (%s)\n", strerror(errno)); in ionice_main()
|
/system/extras/tests/bionic/libc/bionic/ |
D | test_dlclose_destruction.c | 47 fprintf(stderr, "Could not load shared library %s: %s\n", libname, dlerror()); in check_library() 51 fprintf(stderr, "%s loaded.\n", libname); in check_library() 55 fprintf(stderr, "Could not access global DLL variable (x) in %s: %s\n", libname, dlerror()); in check_library() 60 fprintf(stderr, "Constructor was not run on dlopen(\"%s\") !\n", libname); in check_library() 66 … fprintf(stderr, "Could not access global DLL function (set_y) in %s: %s\n", libname, dlerror()); in check_library() 74 fprintf(stderr, "Could not unload shared library %s: %s\n", libname, dlerror()); in check_library() 78 fprintf(stderr, "%s unloaded.\n", libname); in check_library() 80 fprintf(stderr, "Static destructors was not called on dlclose()!\n"); in check_library()
|
/system/media/wilhelm/tests/mimeUri/ |
D | slesTestPlayUri.cpp | 63 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 84 fprintf(stdout, "PrefetchEventCallback: Error while prefetching data, exiting\n"); in PrefetchEventCallback() 88 fprintf(stdout, "PrefetchEventCallback: Buffer fill level is = %d\n", level); in PrefetchEventCallback() 91 fprintf(stdout, "PrefetchEventCallback: Prefetch Status is = %u\n", status); in PrefetchEventCallback() 104 fprintf(stdout, "SL_PLAYEVENT_HEADATEND reached\n"); in PlayEventCallback() 111 fprintf(stdout, "SL_PLAYEVENT_HEADATNEWPOS current position=%ums\n", pMsec); in PlayEventCallback() 117 fprintf(stdout, "SL_PLAYEVENT_HEADATMARKER current position=%ums\n", pMsec); in PlayEventCallback() 196 fprintf(stdout, "URI example: after Realize\n"); in TestPlayUri() 232 fprintf(stdout, "Content duration is unknown (before starting to prefetch)\n"); in TestPlayUri() 234 fprintf(stdout, "Content duration is %u ms (before starting to prefetch)\n", in TestPlayUri() [all …]
|
D | slesTestGetPositionUri.cpp | 50 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 75 fprintf(stdout, "PrefetchEventCallback: Error while prefetching data, exiting\n"); in PrefetchEventCallback() 80 fprintf(stdout, "PrefetchEventCallback: Buffer fill level is = %d\n", level); in PrefetchEventCallback() 83 fprintf(stdout, "PrefetchEventCallback: Prefetch Status is = %u\n", status); in PrefetchEventCallback() 98 fprintf(stdout, "SL_PLAYEVENT_HEADATEND reached\n"); in PlayEventCallback() 101 fprintf(stdout, "after getPosition in SL_PLAYEVENT_HEADATEND handler\n"); in PlayEventCallback() 103 fprintf(stderr, "Error: position is SL_TIME_UNKNOWN at SL_PLAYEVENT_HEADATEND\n"); in PlayEventCallback() 105 fprintf(stdout, "position is %d at SL_PLAYEVENT_HEADATEND\n", posMsec); in PlayEventCallback() 114 fprintf(stdout, "SL_PLAYEVENT_HEADATNEWPOS current position=%ums\n", posMsec); in PlayEventCallback() 119 fprintf(stdout, "SL_PLAYEVENT_HEADATMARKER current position=%ums\n", posMsec); in PlayEventCallback() [all …]
|
D | slesTestSlowDownUri.cpp | 58 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 67 fprintf(stdout, "PlayEventCallback event = "); in PlayEventCallback() 69 fprintf(stdout, "SL_PLAYEVENT_HEADATEND \n"); in PlayEventCallback() 78 fprintf(stdout, "old rate = %d, minRate=%d, maxRate=%d\n", rate, minRate, maxRate); in PlayEventCallback() 83 fprintf(stdout, "new rate = %d\n", rate); in PlayEventCallback() 86 fprintf(stderr, "new playback rate %d per mille is unsupported\n", rate); in PlayEventCallback() 92 fprintf(stdout, "SL_PLAYEVENT_HEADATMARKER "); in PlayEventCallback() 95 fprintf(stdout, "SL_PLAYEVENT_HEADATNEWPOS "); in PlayEventCallback() 98 fprintf(stdout, "SL_PLAYEVENT_HEADMOVING "); in PlayEventCallback() 101 fprintf(stdout, "SL_PLAYEVENT_HEADSTALLED"); in PlayEventCallback() [all …]
|
D | slesTest_playStates.cpp | 39 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 129 fprintf(stdout, "URI example: after Realize\n"); in TestPlayUri() 142 fprintf(stdout, "Player configured\n"); in TestPlayUri() 161 fprintf(stdout, "----- Playing\n"); in TestPlayUri() 167 fprintf(stdout, "----- Pausing (1s)\n"); in TestPlayUri() 173 fprintf(stdout, "----- Playing (2s, should have resumed where it paused)\n"); in TestPlayUri() 179 fprintf(stdout, "----- Stopping\n"); in TestPlayUri() 184 fprintf(stdout, "----- Playing (2s, should have started from the beginning\n"); in TestPlayUri() 190 fprintf(stdout, "----- Stopping\n"); in TestPlayUri() 209 fprintf(stdout, "OpenSL ES test %s: exercises SLPlayItf, SLVolumeItf, SLMuteSoloItf\n", in main() [all …]
|
/system/media/wilhelm/tests/examples/ |
D | slesTestSendToPresetReverb.cpp | 42 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 142 fprintf(stdout, "\nUsing preset "); in TestSendToPresetReverb() 145 fprintf(stdout, "SL_REVERBPRESET_NONE, don't expect to hear reverb\n"); in TestSendToPresetReverb() 147 case SL_REVERBPRESET_SMALLROOM: fprintf(stdout, "SL_REVERBPRESET_SMALLROOM\n"); break; in TestSendToPresetReverb() 148 case SL_REVERBPRESET_MEDIUMROOM: fprintf(stdout, "SL_REVERBPRESET_MEDIUMROOM\n"); break; in TestSendToPresetReverb() 149 case SL_REVERBPRESET_LARGEROOM: fprintf(stdout, "SL_REVERBPRESET_LARGEROOM\n"); break; in TestSendToPresetReverb() 150 case SL_REVERBPRESET_MEDIUMHALL: fprintf(stdout, "SL_REVERBPRESET_MEDIUMHALL\n"); break; in TestSendToPresetReverb() 151 case SL_REVERBPRESET_LARGEHALL: fprintf(stdout, "SL_REVERBPRESET_LARGEHALL\n"); break; in TestSendToPresetReverb() 152 case SL_REVERBPRESET_PLATE: fprintf(stdout, "SL_REVERBPRESET_PLATE\n"); break; in TestSendToPresetReverb() 154 fprintf(stdout, "unknown, use at your own risk\n"); break; in TestSendToPresetReverb() [all …]
|
D | xaVideoDecoderCapabilities.cpp | 38 fprintf(stderr, "Error %u encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 88 fprintf(stdout, "Found %d video decoders\n", numDecoders); in TestVideoDecoderCapabilities() 90 fprintf(stderr, "0 video decoders is not an acceptable number, exiting\n"); in TestVideoDecoderCapabilities() 97 fprintf(stdout, "Decoders:\n"); in TestVideoDecoderCapabilities() 99 fprintf(stdout, "decoder %d is %s\n", i, videoCodecIdToString(decoderIds[i])); in TestVideoDecoderCapabilities() 109 fprintf(stdout, "decoder %s has %d profile/level combinations:\n\t", in TestVideoDecoderCapabilities() 116 fprintf(stdout, "%u/%u ", decDescriptor.profileSetting, decDescriptor.levelSetting); in TestVideoDecoderCapabilities() 119 fprintf(stdout, "\n"); in TestVideoDecoderCapabilities() 136 fprintf(stdout, "OpenMAX AL test %s: exercises SLAudioDecoderCapabiltiesItf ", argv[0]); in main() 137 fprintf(stdout, "and displays the list of supported video decoders, and for each, lists the "); in main() [all …]
|
D | slesTestDecodeToBuffQueue.cpp | 100 fprintf(stderr, "Error code %u encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 139 fprintf(stdout, "PrefetchEventCallback: Error while prefetching data, exiting\n"); in PrefetchEventCallback() 157 fprintf(stdout, "SL_PLAYEVENT_HEADATEND current position=%u ms\n", msec); in DecProgressCallback() 162 fprintf(stdout, "SL_PLAYEVENT_HEADATNEWPOS current position=%u ms\n", msec); in DecProgressCallback() 166 fprintf(stdout, "SL_PLAYEVENT_HEADATMARKER current position=%u ms\n", msec); in DecProgressCallback() 189 fprintf(stdout, "Error writing to output file, signaling EOS\n"); in DecPlayCallback() 211 fprintf(stderr, "\DecBufferQueueCallback now has pCntxt->pData=%p queue: " in DecPlayCallback() 222 fprintf(stdout, "Content duration is unknown (in dec callback)\n"); in DecPlayCallback() 224 fprintf(stdout, "Content duration is %ums (in dec callback)\n", in DecPlayCallback() 235 fprintf(stdout, "Content position is unknown (in dec callback)\n"); in DecPlayCallback() [all …]
|
D | slesTestBassBoostPath.cpp | 41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 151 fprintf(stdout, "URI example: after Realize\n"); in TestBassBoostPathFromFD() 163 fprintf(stdout, "Player configured\n"); in TestBassBoostPathFromFD() 189 fprintf(stdout, "Starting to play\n"); in TestBassBoostPathFromFD() 198 fprintf(stdout, "BassBoost strength is not supported on this platform. Too bad!\n"); in TestBassBoostPathFromFD() 200 fprintf(stdout, "BassBoost strength is supported, setting strength to %d\n", boostStrength); in TestBassBoostPathFromFD() 208 fprintf(stdout, "Rounded strength of boost = %d\n", strength); in TestBassBoostPathFromFD() 223 fprintf(stdout, "BassBoost on\n"); in TestBassBoostPathFromFD() 225 fprintf(stdout, "BassBoost off\n"); in TestBassBoostPathFromFD() 232 fprintf(stdout, "Stopping playback\n"); in TestBassBoostPathFromFD() [all …]
|
D | slesTestVirtualizerPath.cpp | 41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 152 fprintf(stdout, "URI example: after Realize\n"); in TestVirtualizerPathFromFD() 164 fprintf(stdout, "Player configured\n"); in TestVirtualizerPathFromFD() 190 fprintf(stdout, "Starting to play\n"); in TestVirtualizerPathFromFD() 199 fprintf(stdout, "Virtualizer strength is not supported on this platform. Too bad!\n"); in TestVirtualizerPathFromFD() 201 fprintf(stdout, "Virtualizer strength is supported, setting strength to %d\n", in TestVirtualizerPathFromFD() 210 fprintf(stdout, "Rounded strength of virt = %d\n", strength); in TestVirtualizerPathFromFD() 225 fprintf(stdout, "Virtualizer on\n"); in TestVirtualizerPathFromFD() 227 fprintf(stdout, "Virtualizer off\n"); in TestVirtualizerPathFromFD() 234 fprintf(stdout, "Stopping playback\n"); in TestVirtualizerPathFromFD() [all …]
|
D | slesTestEqOutputPath.cpp | 41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 163 fprintf(stdout, "URI example: after Realize\n"); in TestEQPathFromFD() 172 fprintf(stdout, "Player configured\n"); in TestEQPathFromFD() 198 fprintf(stdout, "Starting to play\n"); in TestEQPathFromFD() 216 fprintf(stderr, "Using SL_EQUALIZER_UNDEFINED preset, unexpected here!\n"); in TestEQPathFromFD() 218 fprintf(stdout, "Using preset %d\n", preset); in TestEQPathFromFD() 225 fprintf(stdout, "Band level range = %dmB to %dmB\n", minLevel, maxLevel); in TestEQPathFromFD() 241 fprintf(stdout, "Band %d level = %dmB\n", b, level); in TestEQPathFromFD() 256 fprintf(stdout, "EQ on\n"); in TestEQPathFromFD() 258 fprintf(stdout, "EQ off\n"); in TestEQPathFromFD() [all …]
|
D | slesTestEqFdPath.cpp | 41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line); in ExitOnErrorFunc() 156 fprintf(stdout, "URI example: after Realize\n"); in TestEQPathFromFD() 168 fprintf(stdout, "Player configured\n"); in TestEQPathFromFD() 194 fprintf(stdout, "Starting to play\n"); in TestEQPathFromFD() 212 fprintf(stderr, "Using SL_EQUALIZER_UNDEFINED preset, unexpected here!\n"); in TestEQPathFromFD() 214 fprintf(stdout, "Using preset %d\n", preset); in TestEQPathFromFD() 221 fprintf(stdout, "Band level range = %dmB to %dmB\n", minLevel, maxLevel); in TestEQPathFromFD() 237 fprintf(stdout, "Band %d level = %dmB\n", b, level); in TestEQPathFromFD() 252 fprintf(stdout, "EQ on\n"); in TestEQPathFromFD() 254 fprintf(stdout, "EQ off\n"); in TestEQPathFromFD() [all …]
|
/system/media/wilhelm/src/ |
D | sllog.h | 87 #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)
|
/system/extras/ext4_utils/ |
D | setup_fs.c | 28 fprintf(stderr,"not a block device name: %s\n", blockdev); in setup_fs() 34 fprintf(stderr,"device %s already has a filesystem\n", blockdev); in setup_fs() 40 fprintf(stderr,"device %s not wiped, probably encrypted, not wiping\n", blockdev); in setup_fs() 44 fprintf(stderr,"+++\n"); in setup_fs() 48 fprintf(stderr,"error: setup_fs: fork failed\n"); in setup_fs() 58 fprintf(stderr, "error: setup_fs: waitpid failed!\n"); in setup_fs() 63 fprintf(stderr,"---\n"); in setup_fs() 80 fprintf(stderr,"REBOOT!\n"); in main()
|
D | make_ext4fs_main.c | 33 … fprintf(stderr, "%s [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]\n", basename(path)); in usage() 34 fprintf(stderr, " [ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]\n"); in usage() 35 fprintf(stderr, " [ -L <label> ] [ -f ] [ -a <android mountpoint> ]\n"); in usage() 36 fprintf(stderr, " [ -z | -s ] [ -t ] [ -w ] [ -c ] [ -J ]\n"); in usage() 37 fprintf(stderr, " <filename> [<directory>]\n"); in usage() 108 fprintf(stderr, "Cannot specify both gzip and sparse\n"); in main() 114 fprintf(stderr, "Cannot specifiy both wipe and sparse\n"); in main() 120 fprintf(stderr, "Cannot specifiy both wipe and gzip\n"); in main() 126 fprintf(stderr, "Expected filename after options\n"); in main() 137 fprintf(stderr, "Unexpected argument: %s\n", argv[optind]); in main()
|
D | simg2img.c | 41 fprintf(stderr, "Usage: simg2img <sparse_image_file> <raw_image_file>\n"); in usage() 98 fprintf(stderr, "read returned an error copying a raw chunk: %d %d\n", in process_raw_chunk() 105 fprintf(stderr, "write returned an error copying a raw chunk\n"); in process_raw_chunk() 136 fprintf(stderr, "write returned an error copying a raw chunk\n"); in process_fill_chunk() 164 fprintf(stderr, "read returned an error copying a crc32 chunk\n"); in process_crc32_chunk() 169 fprintf(stderr, "computed crc32 of 0x%8.8x, expected 0x%8.8x\n", in process_crc32_chunk() 194 fprintf(stderr, "Cannot malloc copy buf\n"); in main() 202 fprintf(stderr, "Cannot open input file %s\n", argv[1]); in main() 211 fprintf(stderr, "Cannot open output file %s\n", argv[2]); in main() 218 fprintf(stderr, "Error reading sparse file header\n"); in main() [all …]
|
/system/extras/tests/bionic/libc/common/ |
D | test_pthread_cleanup_push.c | 95 fprintf(stderr, "cleanup1 not called !!\n"); in test() 97 fprintf(stderr, "cleanup1 called with wrong argument\n" ); in test() 103 fprintf(stderr, "cleanup2 not called !!\n"); in test() 105 fprintf(stderr, "cleanup2 called with wrong argument\n"); in test() 110 fprintf(stderr, "cleanup3 not called !!\n"); in test() 112 fprintf(stderr, "cleanup3 called with bad argument !!\n"); in test() 118 fprintf(stderr, "cleanup3 wrongly called !!\n"); in test() 120 fprintf(stderr, "cleanup3 wrongly called with bad argument !!\n"); in test()
|
D | test_libgen.c | 25 fprintf(stderr, in test_basename() 30 fprintf(stderr, in test_basename() 40 fprintf(stderr, "KO: basename(\"%s\") returned NULL with error %d\n", in test_basename() 45 fprintf(stderr, "KO: basename(\"%s\") returned \"%s\", instead of \"%s\"\n", in test_basename() 64 fprintf(stderr, in test_basename_r() 72 fprintf(stderr, in test_basename_r() 80 fprintf(stderr, in test_basename_r() 97 fprintf(stderr, in test_dirname_r() 105 fprintf(stderr, in test_dirname_r() 113 fprintf(stderr, in test_dirname_r() [all …]
|
/system/core/fastboot/ |
D | usbtest.c | 99 fprintf(stderr,"write failed (%s)\n", strerror(errno)); in test_null() 104 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_null() 117 fprintf(stderr,"read failed (%s)\n", strerror(errno)); in test_zero() 122 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_zero() 144 fprintf(stderr,"usage: usbtest <testname>\n\navailable tests:\n"); in usage() 146 fprintf(stderr," %-8s %s\n", tests[i].cmd, tests[i].help); in usage() 160 fprintf(stderr,"unknown argument: %s\n", arg); in process_args() 166 fprintf(stderr,"count may not be zero\n"); in process_args() 171 fprintf(stderr,"size may not be greater than 4096\n"); in process_args() 196 fprintf(stderr,"usbtest: %s: could not find interface\n", in main() [all …]
|
/system/extras/latencytop/ |
D | latencytop.c | 82 fprintf(stderr, "Option -d expects an argument.\n"); in main() 90 fprintf(stderr, "Option -n expects an argument.\n"); in main() 102 fprintf(stderr, "Option -p expects an argument.\n"); in main() 110 fprintf(stderr, "Option -t expects an argument.\n"); in main() 116 fprintf(stderr, "Invalid argument \"%s\".\n", argv[i]); in main() 122 … fprintf(stderr, "If you provide a thread ID with -t, you must provide a process ID with -p.\n"); in main() 181 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats() 184 fprintf(f, "erase\n"); in read_global_stats() 190 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats() 211 fprintf(stderr, "Could not open task dir for process %d.\n", pid); in read_process_stats() [all …]
|