/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 624 die() { function 666 ${error} && die "${*}" 692 ${error} && die "${*}" 805 die "getopt failure" 850 die "${0}: error unknown option ${1}" 890 inAdb || die "no device or more than one device in adb mode" 892 [ -n "${D}" ] || die "cannot get device serial" 897 inFastboot && die "device in fastboot mode" 898 inRecovery && die "device in recovery mode" 903 inAdb || die "specified device not in adb mode" [all …]
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 89 die() { function 103 . "${path}/shflags" || die "Could not load ${path}/shflags." 107 die "Could not find shflags." 357 die "Cleanup encountered an error." 364 die "Cleanup success after an error." 389 { rm -rf "${output_directory}"; die "Failed to extract ${entry_name}"; } 422 die "Couldn't detect the image format of ${image}" 483 [[ -n "${path_in_zip}" ]] || die "Failed to find ${part}.img" 537 die "Invalid partition names found in the partition list." 542 die "The list of partitions is empty. Can't generate a payload." [all …]
|
/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/extras/cpustats/ |
D | cpustats.c | 50 #define die(...) \ macro 112 if (cpu_count < 1) die("Unexpected cpu count\n"); in main() 115 if (!old_cpus) die("Could not allocate struct cpu_info\n"); in main() 117 if (!new_cpus) die("Could not allocate struct cpu_info\n"); in main() 121 if (freq_count < 1) die("Unexpected frequency scale count\n"); in main() 124 if (!new_cpus[i].freqs) die("Could not allocate struct freq_info\n"); in main() 126 if (!old_cpus[i].freqs) die("Could not allocate struct freq_info\n"); in main() 136 if (!new_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main() 138 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main() 186 die("present cpus != online cpus\n"); in get_cpu_count() [all …]
|
/system/libziparchive/ |
D | ziptool.cpp | 75 static void die(int error, const char* fmt, ...) { in die() function 191 die(0, "(EOF/read error; assuming [N]one...)"); in PromptOverwrite() 228 die(0, "failed to extract %s: %s", name.c_str(), ErrorCodeString(err)); in TestOne() 244 die(0, "entry size %" PRIu64 " is too large to extract.", entry.uncompressed_length); in ExtractToPipe() 250 die(0, "failed to extract %s: %s", name.c_str(), ErrorCodeString(err)); in ExtractToPipe() 253 die(errno, "failed to write %s to stdout", name.c_str()); in ExtractToPipe() 261 die(0, "bad filename %s", name.c_str()); in ExtractOne() 274 die(errno, "couldn't create directory hierarchy for %s", dst.c_str()); in ExtractOne() 285 die(errno, "couldn't extract directory %s", dst.c_str()); in ExtractOne() 298 if (fd == -1) die(errno, "couldn't create file %s", dst.c_str()); in ExtractOne() [all …]
|
/system/core/fastboot/ |
D | util.cpp | 51 void die(const char* fmt, ...) { in die() function 61 void die(const std::string& str) { in die() function 62 die("%s", str.c_str()); in die() 108 die("could not get file size"); in get_file_size()
|
D | fastboot.cpp | 187 die("ANDROID_PRODUCT_OUT not set"); in find_item_given_name() 216 die("Command failed"); in Epilog() 652 die("cannot load '%s': %s", kernel.c_str(), strerror(errno)); in LoadBootableImage() 657 die("cannot load '%s': too short", kernel.c_str()); in LoadBootableImage() 664 if (!ramdisk.empty()) die("cannot boot a boot.img *and* ramdisk"); in LoadBootableImage() 672 die("cannot load '%s': %s", ramdisk.c_str(), strerror(errno)); in LoadBootableImage() 679 die("cannot load '%s': %s", second_stage.c_str(), strerror(errno)); in LoadBootableImage() 686 die("Argument dtb not supported for boot image header version %d\n", in LoadBootableImage() 690 die("cannot load '%s': %s", g_dtb_path.c_str(), strerror(errno)); in LoadBootableImage() 716 die("entry '%s' is too large: %" PRIu64, entry_name.c_str(), zip_entry.uncompressed_length); in UnzipToMemory() [all …]
|
D | util.h | 22 void die(const char* fmt, ...) __attribute__((__noreturn__)) 27 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_and_above() 46 if (cmdline.size() >= sizeof(h->cmdline)) die("command line too large: %zu", cmdline.size()); in bootimg_set_cmdline() 84 die("Second stage bootloader and dtb not supported in v%d boot image\n", in mkbootimg()
|
D | result.h | 50 die(r.error().message()); in Expect()
|
D | task.cpp | 46 die("The partition you are trying to flash is dynamic, and " in Run()
|
/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/SimpleperfExampleJava/ |
D | gradlew | 56 die () { function 95 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 102 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/extras/simpleperf/demo/SimpleperfExampleCpp/ |
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/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/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/simpleperf/demo/SimpleperfExampleKotlin/ |
D | gradlew | 56 die () { function 95 die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 102 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
|
/system/tools/mkbootimg/gki/ |
D | boot_signature_info.sh | 24 die() { function 63 die "expected one input image"
|
/system/extras/boottime_tools/bootio/ |
D | bootio_collector.cpp | 44 #define die(...) { LOG(ERROR) << (__VA_ARGS__); exit(EXIT_FAILURE); } macro 51 if (!file) die("Could not open /proc/stat.\n"); in PopulateCpu() 181 if (!procDir) die("Could not open /proc.\n"); in ReadProcData()
|