/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 431 die() { function 516 die "${@}" 556 die "getopt failure" 585 die "${0}: error unknown option ${1}" 605 inFastboot && die "device in fastboot mode" 606 inRecovery && die "device in recovery mode" 611 inAdb || die "specified device not in adb mode" 612 isDebuggable || die "device not a debug build" 681 die "waiting for device after remount -R `usb_status`" 684 die "remount -R command failed" [all …]
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 83 die() { function 95 . "${path}/shflags" || die "Could not load ${path}/shflags." 99 die "Could not find shflags." 312 die "Cleanup encountered an error." 319 die "Cleanup success after an error." 358 die "Couldn't detect the image format of ${image}" 419 [[ -n "${path_in_zip}" ]] || die "Failed to find ${part}.img" 471 die "Invalid partition names found in the partition list." 476 die "The list of partitions is empty. Can't generate a payload." 588 die "You must specify an output filename with --payload FILENAME" [all …]
|
D | test_paycheck.sh | 71 die() { function 121 die "Error: unexpected number of arguments" 130 die "cannot find ${paycheck} or file is not executable"
|
/system/libufdt/tests/ |
D | run_tests.sh | 35 die "Test case: ${filename} failed!!" 42 die "Run envsetup.sh / lunch yet?" 48 die "Run mmma $(dirname ${SCRIPT_DIR}) yet?" 91 die "Some test cases failed, please check error message..."
|
D | run_stress_test.sh | 73 die "Run envsetup.sh / lunch yet?" 78 die "Run mmma $(dirname $SCRIPT_DIR) yet?" 97 die "Some test cases failed, please check error message..."
|
D | run_performance_test.sh | 89 die "Run envsetup.sh / lunch yet?" 94 die "Run mmma $(dirname $SCRIPT_DIR) yet?" 100 die "adb can not connect to device."
|
D | common.sh | 20 die() { function
|
/system/core/cpio/ |
D | mkbootfs.c | 26 void die(const char *why, ...) in die() function 128 if(strlen(out) != (unsigned int)olen) die("ACK!"); in _eject() 171 if(d == 0) die("cannot open directory '%s'", in); in _archive_dir() 241 if(lstat(in, &s)) die("could not stat '%s'\n", in); in _archive() 248 if(fd < 0) die("cannot open '%s' for read", in); in _archive() 251 if(tmp == 0) die("cannot allocate %d bytes", s.st_size); in _archive() 254 die("cannot read %d bytes", s.st_size); in _archive() 268 if(size < 0) die("cannot read symlink '%s'", in); in _archive() 271 die("Unknown '%s' (mode %d)?\n", in, s.st_mode); in _archive() 296 if (f == NULL) die("failed to open canned file"); in read_canned_config() [all …]
|
/system/extras/cpustats/ |
D | cpustats.c | 50 #define die(...) { fprintf(stderr, __VA_ARGS__); exit(EXIT_FAILURE); } macro 108 if (cpu_count < 1) die("Unexpected cpu count\n"); in main() 111 if (!old_cpus) die("Could not allocate struct cpu_info\n"); in main() 113 if (!new_cpus) die("Could not allocate struct cpu_info\n"); in main() 117 if (freq_count < 1) die("Unexpected frequency scale count\n"); in main() 120 if (!new_cpus[i].freqs) die("Could not allocate struct freq_info\n"); in main() 122 if (!old_cpus[i].freqs) die("Could not allocate struct freq_info\n"); in main() 132 if (!new_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main() 134 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main() 182 die("present cpus != online cpus\n"); in get_cpu_count() [all …]
|
/system/core/fastboot/ |
D | fastboot.cpp | 179 die("ANDROID_PRODUCT_OUT not set"); in find_item_given_name() 206 die("Command failed"); in Epilog() 220 die("could not get file size"); in get_file_size() 305 die("invalid network address '%s': %s\n", net_address, error.c_str()); in open_device() 450 die("cannot load '%s': %s", kernel.c_str(), strerror(errno)); in LoadBootableImage() 455 die("cannot load '%s': too short", kernel.c_str()); in LoadBootableImage() 462 if (!ramdisk.empty()) die("cannot boot a boot.img *and* ramdisk"); in LoadBootableImage() 470 die("cannot load '%s': %s", ramdisk.c_str(), strerror(errno)); in LoadBootableImage() 477 die("cannot load '%s': %s", second_stage.c_str(), strerror(errno)); in LoadBootableImage() 484 die("Argument dtb not supported for boot image header version %d\n", in LoadBootableImage() [all …]
|
D | util.h | 16 void die(const char* fmt, ...) __attribute__((__noreturn__))
|
D | util.cpp | 46 void die(const char* fmt, ...) { in die() function
|
D | bootimg_utils.cpp | 38 if (cmdline.size() >= sizeof(h->cmdline)) die("command line too large: %zu", cmdline.size()); in bootimg_set_cmdline()
|
/system/extras/power_profile/gps_on/ |
D | gradlew | 22 die ( ) { function 79 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 86 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/extras/power_profile/camera_flashlight/ |
D | gradlew | 22 die ( ) { function 79 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 86 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/extras/power_profile/camera_avg/ |
D | gradlew | 22 die ( ) { function 79 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 86 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/ |
D | gradlew | 22 die ( ) { function 74 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 81 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/ |
D | gradlew | 22 die ( ) { function 74 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 81 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/extras/simpleperf/demo/CppApi/ |
D | gradlew | 40 die () { function 78 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 85 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/ |
D | gradlew | 22 die ( ) { function 74 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 81 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/extras/simpleperf/demo/JavaApi/ |
D | gradlew | 40 die () { function 78 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 85 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/extras/boottime_tools/bootio/ |
D | bootio_collector.cpp | 38 #define die(...) { LOG(ERROR) << (__VA_ARGS__); exit(EXIT_FAILURE); } macro 45 if (!file) die("Could not open /proc/stat.\n"); in PopulateCpu() 170 if (!procDir) die("Could not open /proc.\n"); in ReadProcData()
|