/art/oatdump/ |
oatdump_image_test.cc | 24 std::string error_msg; local 25 ASSERT_TRUE(Exec(kDynamic, kModeArt, {}, kListAndCode, &error_msg)) << error_msg; 29 std::string error_msg; local 30 ASSERT_TRUE(Exec(kStatic, kModeArt, {}, kListAndCode, &error_msg)) << error_msg; 34 std::string error_msg; local 35 ASSERT_TRUE(Exec(kDynamic, kModeOat, {}, kListAndCode, &error_msg)) << error_msg; 39 std::string error_msg; local [all...] |
oatdump_test.cc | 24 std::string error_msg; local 25 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--no-dump:vmap"}, kListAndCode, &error_msg)) << error_msg; 29 std::string error_msg; local 30 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--no-dump:vmap"}, kListAndCode, &error_msg)) << error_msg; 34 std::string error_msg; local 35 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--no-disassemble"}, kListAndCode, &error_msg)) 36 << error_msg; 40 std::string error_msg; local 45 std::string error_msg; local 50 std::string error_msg; local 55 std::string error_msg; local 60 std::string error_msg; local 65 std::string error_msg; local 70 std::string error_msg; local [all...] |
/art/runtime/arch/arm/ |
instruction_set_features_arm_test.cc | 25 std::string error_msg; local 27 InstructionSetFeatures::FromVariant(kArm, "krait", &error_msg)); 28 ASSERT_TRUE(krait_features.get() != nullptr) << error_msg; 39 InstructionSetFeatures::FromVariant(kArm, "kryo", &error_msg)); 40 ASSERT_TRUE(kryo_features.get() != nullptr) << error_msg; 51 InstructionSetFeatures::FromVariant(kArm, "denver", &error_msg)); 52 ASSERT_TRUE(denver_features.get() != nullptr) << error_msg; 65 InstructionSetFeatures::FromVariant(kArm, "generic", &error_msg)); 66 ASSERT_TRUE(generic_features.get() != nullptr) << error_msg; 78 InstructionSetFeatures::FromVariant(kArm, "arm6", &error_msg)); 84 std::string error_msg; local [all...] |
/art/runtime/arch/arm64/ |
instruction_set_features_arm64_test.cc | 25 std::string error_msg; local 27 InstructionSetFeatures::FromVariant(kArm64, "default", &error_msg)); 28 ASSERT_TRUE(arm64_features.get() != nullptr) << error_msg; 35 InstructionSetFeatures::FromVariant(kArm64, "cortex-a57", &error_msg)); 36 ASSERT_TRUE(cortex_a57_features.get() != nullptr) << error_msg; 43 InstructionSetFeatures::FromVariant(kArm64, "cortex-a73", &error_msg)); 44 ASSERT_TRUE(cortex_a73_features.get() != nullptr) << error_msg; 51 InstructionSetFeatures::FromVariant(kArm64, "cortex-a35", &error_msg)); 52 ASSERT_TRUE(cortex_a35_features.get() != nullptr) << error_msg; 59 InstructionSetFeatures::FromVariant(kArm64, "kryo", &error_msg)); [all...] |
/art/runtime/arch/mips/ |
instruction_set_features_mips_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kMips, "default", &error_msg)); 27 ASSERT_TRUE(mips_features.get() != nullptr) << error_msg; 35 std::string error_msg; local 37 InstructionSetFeatures::FromVariant(kMips, "mips32r1", &error_msg)); 38 ASSERT_TRUE(mips32r1_features.get() != nullptr) << error_msg; 45 InstructionSetFeatures::FromVariant(kMips, "default", &error_msg)); 46 ASSERT_TRUE(mips_default_features.get() != nullptr) << error_msg; 51 std::string error_msg; local 53 InstructionSetFeatures::FromVariant(kMips, "mips32r2", &error_msg)); 72 std::string error_msg; local 98 std::string error_msg; local [all...] |
/art/runtime/arch/mips64/ |
instruction_set_features_mips64_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kMips64, "default", &error_msg)); 27 ASSERT_TRUE(mips64_features.get() != nullptr) << error_msg; 35 std::string error_msg; local 37 InstructionSetFeatures::FromVariant(kMips64, "mips64r6", &error_msg)); 38 ASSERT_TRUE(mips64r6_features.get() != nullptr) << error_msg; 45 InstructionSetFeatures::FromVariant(kMips64, "default", &error_msg)); 46 ASSERT_TRUE(mips64_default_features.get() != nullptr) << error_msg;
|
/art/runtime/arch/x86/ |
instruction_set_features_x86_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kX86, "default", &error_msg)); 27 ASSERT_TRUE(x86_features.get() != nullptr) << error_msg; 37 std::string error_msg; local 39 InstructionSetFeatures::FromVariant(kX86, "atom", &error_msg)); 40 ASSERT_TRUE(x86_features.get() != nullptr) << error_msg; 49 InstructionSetFeatures::FromVariant(kX86, "default", &error_msg)); 50 ASSERT_TRUE(x86_default_features.get() != nullptr) << error_msg; 59 InstructionSetFeatures::FromVariant(kX86_64, "atom", &error_msg)); 60 ASSERT_TRUE(x86_64_features.get() != nullptr) << error_msg; 74 std::string error_msg; local 111 std::string error_msg; local [all...] |
/art/runtime/arch/x86_64/ |
instruction_set_features_x86_64_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kX86_64, "default", &error_msg)); 27 ASSERT_TRUE(x86_64_features.get() != nullptr) << error_msg;
|
/cts/tests/tests/jni_vendor/libvendorjnitest/ |
android_jni_vendor_cts_VendorJniTest.cpp | 23 jstring error_msg; local 28 error_msg = env->NewStringUTF(dlerror()); 30 error_msg = env->NewStringUTF(""); 32 return error_msg;
|
/art/runtime/base/ |
scoped_flock_test.cc | 27 std::string error_msg; local 35 &error_msg); 42 &error_msg); 44 ASSERT_TRUE(!error_msg.empty()); 51 &error_msg); 57 &error_msg);
|
/art/runtime/ |
vdex_file_test.cc | 33 std::string error_msg; local 40 &error_msg); 44 tmp.GetFilename(), /*writable*/false, /*low_4gb*/false, /*quicken*/ false, &error_msg);
|
zip_archive_test.cc | 34 std::string error_msg; local 35 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].c_str(), &error_msg)); 36 ASSERT_TRUE(zip_archive.get() != nullptr) << error_msg; 37 ASSERT_TRUE(error_msg.empty()); 38 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg)); 40 ASSERT_TRUE(error_msg.empty()); 46 bool success = zip_entry->ExtractToFile(*file, &error_msg); 47 ASSERT_TRUE(success) << error_msg; 48 ASSERT_TRUE(error_msg.empty());
|
/art/compiler/ |
elf_writer.cc | 35 std::string error_msg; local 40 &error_msg)); 41 CHECK(elf_file.get() != nullptr) << error_msg; 43 bool success = elf_file->GetLoadedSize(oat_loaded_size, &error_msg); 44 CHECK(success) << error_msg; 51 std::string error_msg; local 52 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb*/false, &error_msg)); 53 CHECK(elf_file.get() != nullptr) << error_msg;
|
elf_writer_test.cc | 64 std::string error_msg; local 69 &error_msg)); 70 CHECK(ef.get() != nullptr) << error_msg; 76 std::string error_msg; local 81 &error_msg)); 82 CHECK(ef.get() != nullptr) << error_msg; 89 std::string error_msg; local 94 &error_msg, 96 CHECK(ef.get() != nullptr) << error_msg; 97 CHECK(ef->Load(file.get(), false, /*low_4gb*/false, &error_msg)) << error_msg 115 std::string error_msg; local [all...] |
/art/dexdump/ |
dexdump_test.cc | 42 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 48 return ::art::Exec(exec_argv, error_msg); 56 std::string error_msg; local 57 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; 61 std::string error_msg; local 62 ASSERT_FALSE(Exec({"-o", "/joho", dex_file_}, &error_msg)) << error_msg; 66 std::string error_msg; local 67 ASSERT_FALSE(Exec({"-c", "-i", dex_file_}, &error_msg)) << error_msg 71 std::string error_msg; local 77 std::string error_msg; local [all...] |
/art/dexlist/ |
dexlist_test.cc | 44 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 50 return ::art::Exec(exec_argv, error_msg); 58 std::string error_msg; local 59 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; 63 std::string error_msg; local 64 ASSERT_FALSE(Exec({"-o", "/joho", dex_file_}, &error_msg)) << error_msg; 68 std::string error_msg; local 69 ASSERT_FALSE(Exec({"-m", "joho", dex_file_}, &error_msg)) << error_msg 73 std::string error_msg; local 78 std::string error_msg; local [all...] |
/art/runtime/arch/ |
instruction_set_features_test.cc | 50 std::string error_msg; local 52 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg)); 53 ASSERT_TRUE(property_features.get() != nullptr) << error_msg; 83 std::string error_msg; local 85 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg)); 86 ASSERT_TRUE(base_features.get() != nullptr) << error_msg; 89 base_features->AddFeaturesFromString(dex2oat_isa_features, &error_msg)); 90 ASSERT_TRUE(property_features.get() != nullptr) << error_msg; 120 std::string error_msg; local 122 InstructionSetFeatures::FromVariant(kRuntimeISA, "default", &error_msg)); [all...] |
/art/runtime/gc/space/ |
image_space_test.cc | 35 std::string error_msg; local 41 ASSERT_TRUE(OatFileAssistant::Dex2Oat(args, &error_msg)) << error_msg; 50 &error_msg)); 51 ASSERT_TRUE(oat != nullptr) << error_msg; 54 EXPECT_TRUE(ImageSpace::ValidateOatFile(*oat, &error_msg)) << error_msg; 58 EXPECT_FALSE(ImageSpace::ValidateOatFile(*oat, &error_msg)); 62 EXPECT_TRUE(ImageSpace::ValidateOatFile(*oat, &error_msg)) << error_msg; [all...] |
/art/runtime/gc/accounting/ |
bitmap.cc | 49 std::string error_msg; local 52 &error_msg)); 54 LOG(ERROR) << "Failed to allocate bitmap " << name << ": " << error_msg; local
|
/art/runtime/verifier/ |
method_verifier_test.cc | 43 std::string error_msg; local 45 self, klass, nullptr, true, HardFailLogMode::kLogWarning, &error_msg); 49 failure == FailureKind::kNoFailure) << error_msg; 52 ASSERT_TRUE(failure == FailureKind::kNoFailure) << error_msg;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_eu_validate.c | 52 CAT(error_msg, error(msg)); \ 143 struct string error_msg = { .str = NULL, .len = 0 }; local 178 if (error_msg.str && annotation) { 179 annotation_insert_error(annotation, src_offset, error_msg.str); 181 free(error_msg.str);
|
/system/tools/aidl/ |
type_namespace.cpp | 103 string error_msg; local 104 const ValidatableType* return_type = GetValidatableType(raw_type, &error_msg, 110 << error_msg; 125 string error_msg; local 126 const ValidatableType* t = GetValidatableType(a.GetType(), &error_msg, 129 LOG(ERROR) << error_prefix << error_msg; local
|
/art/compiler/jit/ |
jit_compiler.cc | 110 std::string error_msg; local 115 instruction_set, str.as_string(), &error_msg); 117 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; local 124 instruction_set, "default", &error_msg); 126 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; local 130 instruction_set_features_->AddFeaturesFromString(str.as_string(), &error_msg); 132 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; local
|
/art/dexlayout/ |
dexdiag_test.cc | 69 std::string error_msg; local 77 &error_msg)); 78 EXPECT_TRUE(oat != nullptr) << error_msg; 83 bool Exec(pid_t this_pid, const std::vector<std::string>& args, std::string* error_msg) { 99 return ::art::Exec(exec_argv, error_msg); 110 std::string error_msg; local 111 ASSERT_TRUE(Exec(getpid(), { kDexDiagHelp }, &error_msg)) << "Failed to execute -- because: " 112 << error_msg; local 122 std::string error_msg; local 123 ASSERT_TRUE(Exec(getpid(), { kDexDiagContains }, &error_msg)) << "Failed to execute -- because: 124 << error_msg; local 134 std::string error_msg; local 137 << error_msg; local 147 std::string error_msg; local 149 << error_msg; local [all...] |
/art/imgdiag/ |
imgdiag_test.cc | 89 bool Exec(pid_t image_diff_pid, const std::string& boot_image, std::string* error_msg) { 118 return ::art::Exec(exec_argv, error_msg); 122 bool ExecDefaultBootImage(pid_t image_diff_pid, std::string* error_msg) { 123 return Exec(image_diff_pid, boot_image_location_, error_msg); 144 std::string error_msg; local 145 ASSERT_TRUE(ExecDefaultBootImage(getpid(), &error_msg)) << "Failed to execute -- because: " 146 << error_msg; local 153 std::string error_msg; local 155 &error_msg)) << "Incorrectly executed"; 156 UNUSED(error_msg); [all...] |