/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 602 die() { function 711 die "${@}" 727 die "${@}" 788 die "getopt failure" 831 die "${0}: error unknown option ${1}" 851 inFastboot && die "device in fastboot mode" 852 inRecovery && die "device in recovery mode" 857 inAdb || die "specified device not in adb mode" 858 isDebuggable || die "device not a debug build" 999 die "waiting for device after adb shell su root remount -R system `usb_status`" [all …]
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 87 die() { function 99 . "${path}/shflags" || die "Could not load ${path}/shflags." 103 die "Could not find shflags." 322 die "Cleanup encountered an error." 329 die "Cleanup success after an error." 354 { rm -rf "${output_directory}"; die "Failed to extract ${entry_name}"; } 387 die "Couldn't detect the image format of ${image}" 448 [[ -n "${path_in_zip}" ]] || die "Failed to find ${part}.img" 502 die "Invalid partition names found in the partition list." 507 die "The list of partitions is empty. Can't generate a payload." [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/libziparchive/ |
D | ziptool.cpp | 71 static void die(int error, const char* fmt, ...) { in die() function 175 die(0, "(EOF/read error; assuming [N]one...)"); in PromptOverwrite() 201 die(0, "entry size %" PRIu64 " is too large to extract.", entry.uncompressed_length); in ExtractToPipe() 207 die(0, "failed to extract %s: %s", name.c_str(), ErrorCodeString(err)); in ExtractToPipe() 210 die(errno, "failed to write %s to stdout", name.c_str()); in ExtractToPipe() 218 die(0, "bad filename %s", name.c_str()); in ExtractOne() 231 die(errno, "couldn't create directory hierarchy for %s", dst.c_str()); in ExtractOne() 242 die(errno, "couldn't extract directory %s", dst.c_str()); in ExtractOne() 255 if (fd == -1) die(errno, "couldn't create file %s", dst.c_str()); in ExtractOne() 260 if (err < 0) die(0, "failed to extract %s: %s", dst.c_str(), ErrorCodeString(err)); in ExtractOne() [all …]
|
/system/core/cpio/ |
D | mkbootfs.c | 27 void die(const char *why, ...) in die() function 129 if(strlen(out) != (unsigned int)olen) die("ACK!"); in _eject() 172 if(d == 0) die("cannot open directory '%s'", in); in _archive_dir() 242 if(lstat(in, &s)) die("could not stat '%s'\n", in); in _archive() 249 if(fd < 0) die("cannot open '%s' for read", in); in _archive() 252 if(tmp == 0) die("cannot allocate %d bytes", s.st_size); in _archive() 255 die("cannot read %d bytes", s.st_size); in _archive() 269 if(size < 0) die("cannot read symlink '%s'", in); in _archive() 272 die("Unknown '%s' (mode %d)?\n", in, s.st_mode); in _archive() 297 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 | 189 die("ANDROID_PRODUCT_OUT not set"); in find_item_given_name() 218 die("Command failed"); in Epilog() 232 die("could not get file size"); in get_file_size() 321 die("invalid network address '%s': %s\n", net_address, error.c_str()); in open_device() 474 die("cannot load '%s': %s", kernel.c_str(), strerror(errno)); in LoadBootableImage() 479 die("cannot load '%s': too short", kernel.c_str()); in LoadBootableImage() 486 if (!ramdisk.empty()) die("cannot boot a boot.img *and* ramdisk"); in LoadBootableImage() 494 die("cannot load '%s': %s", ramdisk.c_str(), strerror(errno)); in LoadBootableImage() 501 die("cannot load '%s': %s", second_stage.c_str(), strerror(errno)); in LoadBootableImage() 508 die("Argument dtb not supported for boot image header version %d\n", in LoadBootableImage() [all …]
|
D | util.cpp | 46 void die(const char* fmt, ...) { in die() function 56 void die(const std::string& str) { in die() function 57 die("%s", str.c_str()); in die()
|
D | util.h | 16 void die(const char* fmt, ...) __attribute__((__noreturn__)) 21 void die(const std::string& str) __attribute__((__noreturn__));
|
D | bootimg_utils.cpp | 38 if (cmdline.size() >= sizeof(h->cmdline)) die("command line too large: %zu", cmdline.size()); in bootimg_set_cmdline_v3() 46 if (cmdline.size() >= sizeof(h->cmdline)) die("command line too large: %zu", cmdline.size()); in bootimg_set_cmdline() 81 die("Second stage bootloader and dtb not supported in v3 boot image\n"); in mkbootimg()
|
/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_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/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/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()
|