/system/libufdt/tests/ |
H A 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..."
|
H A D | common.sh | 20 die() { function
|
H A 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..."
|
H A 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."
|
/system/update_engine/scripts/ |
H A D | brillo_update_payload | 79 die() { function 91 . "${path}/shflags" || die "Could not load ${path}/shflags." 95 die "Could not find shflags." 297 die "Cleanup encountered an error." 304 die "Cleanup success after an error." 343 die "Couldn't detect the image format of ${image}" 402 die "Invalid partition names found in the partition list." 407 die "The list of partitions is empty. Can't generate a payload." 508 die "You must specify an output filename with --payload FILENAME" 511 die "Yo [all...] |
H A D | test_paycheck.sh | 64 die() { function 119 die "Error: unexpected number of arguments" 128 die "cannot find ${paycheck} or file is not executable"
|
/system/core/fastboot/ |
H A D | util.cpp | 44 void die(const char* fmt, ...) { function 56 if (!result) die("out of memory");
|
H A D | fastboot.cpp | 140 die("ANDROID_PRODUCT_OUT not set"); 452 if (kdata == nullptr) die("cannot load '%s': %s", kernel.c_str(), strerror(errno)); 456 die("cannot load '%s': too short", kernel.c_str()); 461 if (!ramdisk.empty()) die("cannot boot a boot.img *and* ramdisk"); 471 if (rdata == nullptr) die("cannot load '%s': %s", ramdisk.c_str(), strerror(errno)); 478 if (sdata == nullptr) die("cannot load '%s': %s", second_stage.c_str(), strerror(errno)); 487 if (bdata == nullptr) die("failed to create boot.img"); 508 if (data == nullptr) die("failed to allocate %" PRId64 " bytes for '%s'", *sz, entry_name); 511 if (error != 0) die("failed to extract '%s': %s", entry_name, ErrorCodeString(error)); 528 die("GetTempPat [all...] |
H A D | bootimg_utils.cpp | 38 if (strlen(cmdline) >= sizeof(h->cmdline)) die("command line too large: %zu", strlen(cmdline));
|
H A D | fastboot.h | 91 void die(const char* fmt, ...) __attribute__((__noreturn__))
|
H A D | engine.cpp | 230 if (a.data == nullptr) die("out of memory"); 346 die("unknown action: %d", a->op);
|
/system/core/cpio/ |
H A D | mkbootfs.c | 26 void die(const char *why, ...) function 128 if(strlen(out) != (unsigned int)olen) die("ACK!"); 171 if(d == 0) die("cannot open directory '%s'", in); 241 if(lstat(in, &s)) die("could not stat '%s'\n", in); 248 if(fd < 0) die("cannot open '%s' for read", in); 251 if(tmp == 0) die("cannot allocate %d bytes", s.st_size); 254 die("cannot read %d bytes", s.st_size); 268 if(size < 0) die("cannot read symlink '%s'", in); 271 die("Unknown '%s' (mode %d)?\n", in, s.st_mode); 296 if (f == NULL) die("faile [all...] |
/system/extras/cpustats/ |
H A D | cpustats.c | 50 #define die(...) { fprintf(stderr, __VA_ARGS__); exit(EXIT_FAILURE); } macro 108 if (cpu_count < 1) die("Unexpected cpu count\n"); 111 if (!old_cpus) die("Could not allocate struct cpu_info\n"); 113 if (!new_cpus) die("Could not allocate struct cpu_info\n"); 117 if (freq_count < 1) die("Unexpected frequency scale count\n"); 120 if (!new_cpus[i].freqs) die("Could not allocate struct freq_info\n"); 122 if (!old_cpus[i].freqs) die("Could not allocate struct freq_info\n"); 132 if (!new_total_cpu.freqs) die("Could not allocate struct freq_info\n"); 134 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n"); 182 die("presen [all...] |
/system/extras/power_profile/camera_avg/ |
H A 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 found in your PATH.
|
/system/extras/power_profile/camera_flashlight/ |
H A 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 found in your PATH.
|
/system/extras/power_profile/gps_on/ |
H A 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 found in your PATH.
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/ |
H A 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 found in your PATH.
|
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/ |
H A 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 found in your PATH.
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/ |
H A 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 found in your PATH.
|
/system/extras/boottime_tools/bootio/ |
H A 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"); 170 if (!procDir) die("Could not open /proc.\n");
|