Home
last modified time | relevance | path

Searched refs:success (Results 1 – 25 of 87) sorted by relevance

1234

/art/test/1337-gc-coverage/src/
DMain.java42 final boolean success = performHomogeneousSpaceCompact(); in testHomogeneousCompaction()
44 System.out.println("Homogeneous compaction support=" + supportHSC + " success=" + success); in testHomogeneousCompaction()
45 if (supportHSC != success) { in testHomogeneousCompaction()
46 System.out.println("error: Expected " + supportHSC + " but got " + success); in testHomogeneousCompaction()
48 if (success) { in testHomogeneousCompaction()
/art/test/067-preemptive-unpark/src/
DMain.java50 if (test.success) { in main()
55 System.out.println("Value of success = " + test.success); in main()
57 System.out.println("Value of success after sleeping = " + test.success); in main()
87 public volatile boolean success = false; field in Main.ParkTester
106 success = false; in run()
109 success = true; in run()
/art/tools/
Dtest_presubmit.py105 success = 0 # exit code 0 = success, >0 error.
116 success = run_tool(tool_dict, tmp_file)
117 if success != 0:
119 print("[FATAL] Error when running tool (return code %s)" %(success), file=sys.stderr)
121 sys.exit(success)
138 success = 1
141 return success
/art/dex2oat/linker/
Doat_writer_test.cc441 bool success = WriteElf(tmp_vdex.GetFile(), in TEST_F() local
446 ASSERT_TRUE(success); in TEST_F()
560 bool success = WriteElf(tmp_vdex.GetFile(), in TEST_F() local
565 ASSERT_TRUE(success); in TEST_F()
602 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput() local
604 ASSERT_TRUE(success); in TestDexFileInput()
605 success = dex_file1.GetFile()->Flush() == 0; in TestDexFileInput()
606 ASSERT_TRUE(success); in TestDexFileInput()
619 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput()
621 ASSERT_TRUE(success); in TestDexFileInput()
[all …]
Delf_writer.cc44 bool success = elf_file->GetLoadedSize(oat_loaded_size, &error_msg); in GetOatElfInformation() local
45 CHECK(success) << error_msg; in GetOatElfInformation()
Delf_writer_test.cc99 bool success = ef->GetLoadedSize(&size, &error_msg); in TEST_F() local
100 CHECK(success) << error_msg; in TEST_F()
108 success = in TEST_F()
110 CHECK(success) << error_msg; in TEST_F()
Dmulti_oat_relative_patcher_test.cc58 bool success = WriteCodeAlignment(out, next_write_alignment_); in WriteThunks() local
59 CHECK(success); in WriteThunks()
65 bool success = WriteThunk(out, ArrayRef<const uint8_t>(thunk)); in WriteThunks() local
66 CHECK(success); in WriteThunks()
72 bool success = WriteMiscThunk(out, ArrayRef<const uint8_t>(thunk)); in WriteThunks() local
73 CHECK(success); in WriteThunks()
/art/test/454-get-vreg/
Dget_vreg_jni.cc48 bool success = GetVReg(m, 1, kIntVReg, &value); in VisitFrame() local
50 CHECK(!success); in VisitFrame()
53 success = GetVReg(m, 2, kIntVReg, &value); in VisitFrame()
55 CHECK(!success); in VisitFrame()
85 bool success = GetVRegPair(m, 2, kLongLoVReg, kLongHiVReg, &value); in VisitFrame() local
87 CHECK(!success); in VisitFrame()
90 success = GetVRegPair(m, 4, kLongLoVReg, kLongHiVReg, &value); in VisitFrame()
92 CHECK(!success); in VisitFrame()
/art/test/148-multithread-gc-annotations/src/
DMovingGCThread.java36 final boolean success = performHomogeneousSpaceCompact(); in testHomogeneousCompaction()
38 if (!success) { in testHomogeneousCompaction()
39 System.out.println("error: Expected " + supportHSC + " but got " + success); in testHomogeneousCompaction()
/art/libelffile/stream/
Dbuffered_output_stream.cc55 bool success = true; in FlushBuffer() local
57 success = out_->WriteFully(&buffer_[0], used_); in FlushBuffer()
60 return success; in FlushBuffer()
/art/tools/dexfuzz/src/dexfuzz/executors/
DExecutor.java123 boolean success = true; in verifyOnHost()
127 success = false; in verifyOnHost()
130 if (success) { in verifyOnHost()
136 success = false; in verifyOnHost()
145 if (!success) { in verifyOnHost()
151 return success; in verifyOnHost()
/art/runtime/entrypoints/quick/
Dquick_fillarray_entrypoints.cc32 bool success = FillArrayData(array, payload); in artHandleFillArrayDataFromCode() local
33 return success ? 0 : -1; in artHandleFillArrayDataFromCode()
/art/tools/dexfuzz/src/dexfuzz/listeners/
DUpdatingConsoleListener.java32 long success; field in UpdatingConsoleListener
69 iterations, failedVerification, failedMutation, timedOut, success, in handleIterationFinished()
96 success++; in handleSuccess()
DUniqueProgramTrackerListener.java155 boolean success = false; in saveUniqueProgsData()
162 success = true; in saveUniqueProgsData()
170 if (oldWasSaved && success) { in saveUniqueProgsData()
181 } else if (oldWasSaved && !success) { in saveUniqueProgsData()
198 boolean success = before.renameTo(after); in saveDivergentProgram()
199 if (!success) { in saveDivergentProgram()
DLogFileListener.java42 long success; field in LogFileListener
175 success++; in handleSuccess()
213 write("Successful: " + success); in handleSummary()
219 long verified = success + timedOut + truelyDivergent; in handleSummary()
232 (((float) success) / (verified)) * 100.0f; in handleSummary()
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h73 bool success = false; in MarkUnevacFromSpaceRegion() local
79 success = ref->AtomicSetReadBarrierState(/* expected_rb_state= */ ReadBarrier::NonGrayState(), in MarkUnevacFromSpaceRegion()
82 success = !bitmap->AtomicTestAndSet(ref); in MarkUnevacFromSpaceRegion()
84 if (success) { in MarkUnevacFromSpaceRegion()
115 bool success = in MarkImmuneSpace() local
118 if (success) { in MarkImmuneSpace()
/art/runtime/gc/space/
Dimage_space_test.cc93 bool success = CompileBootImage(extra_args, image_dir + '/' + prefix, dex_files, &error_msg); in TEST_F() local
94 ASSERT_TRUE(success) << error_msg; in TEST_F()
112 bool success = StartDex2OatCommandLine(&argv, &error_msg, /*use_runtime_bcp_and_image=*/false); in TEST_F() local
113 ASSERT_TRUE(success) << error_msg; in TEST_F()
128 success = RunDex2Oat(argv, &error_msg); in TEST_F()
129 ASSERT_TRUE(success) << error_msg; in TEST_F()
176 bool success = load_boot_image(); in TEST_F() local
177 ASSERT_TRUE(success); in TEST_F()
188 success = load_boot_image(); in TEST_F()
189 ASSERT_TRUE(success); in TEST_F()
[all …]
/art/runtime/jni/
Dlocal_reference_table_test.cc85 bool success = lrt.Initialize(max_count, &error_msg); in BasicTest() local
86 ASSERT_TRUE(success) << error_msg; in BasicTest()
327 bool success = lrt.Initialize(max_count, &error_msg); in BasicHolesTest() local
328 ASSERT_TRUE(success) << error_msg; in BasicHolesTest()
356 bool success = lrt.Initialize(max_count, &error_msg); in BasicHolesTest() local
357 ASSERT_TRUE(success) << error_msg; in BasicHolesTest()
390 bool success = lrt.Initialize(max_count, &error_msg); in BasicHolesTest() local
391 ASSERT_TRUE(success) << error_msg; in BasicHolesTest()
429 bool success = lrt.Initialize(max_count, &error_msg); in BasicHolesTest() local
430 ASSERT_TRUE(success) << error_msg; in BasicHolesTest()
[all …]
/art/libnativeloader/
Dnative_loader.cpp330 bool success; in CloseNativeLibrary() local
332 success = (NativeBridgeUnloadLibrary(handle) == 0); in CloseNativeLibrary()
333 if (!success) { in CloseNativeLibrary()
337 success = (dlclose(handle) == 0); in CloseNativeLibrary()
338 if (!success) { in CloseNativeLibrary()
343 return success; in CloseNativeLibrary()
/art/libartbase/base/
Dzip_archive_test.cc47 bool success = zip_entry->ExtractToFile(*file, &error_msg); in TEST_F() local
48 ASSERT_TRUE(success) << error_msg; in TEST_F()
/art/test/014-math3/
Dexpected-stdout.txt1 testMath3 success
/art/test/update-rollback/src/com/android/tests/apex/art/
DArtApexTestUtils.java71 boolean success = in reboot()
73 assertWithMessage("Device didn't boot in %s", BOOT_COMPLETE_TIMEOUT).that(success).isTrue(); in reboot()
/art/runtime/mirror/
Dclass.cc721 bool success; in ClassMemberBinarySearch() local
723 std::tie(success, mid, begin, end) = BinarySearch(begin, end, name_cmp); in ClassMemberBinarySearch()
724 if (!success) { in ClassMemberBinarySearch()
744 std::tie(success, mid, begin, end) = BinarySearch(begin, end, name_index_cmp); in ClassMemberBinarySearch()
745 if (!success) { in ClassMemberBinarySearch()
758 std::tie(success, mid, begin, end) = BinarySearch(begin, end, name_index_cmp); in ClassMemberBinarySearch()
759 if (!success) { in ClassMemberBinarySearch()
770 std::tie(success, mid, std::ignore, std::ignore) = BinarySearch(begin, end, second_cmp); in ClassMemberBinarySearch()
771 return {success, mid}; in ClassMemberBinarySearch()
818 auto [success, mid] = in FindDeclaredClassMethod()
[all …]
/art/tools/veridex/
Dhidden_api.cc38 bool success = hiddenapi::ApiList::FromNames(values.begin() + 1, values.end(), &membership); in HiddenApi() local
39 if (!success) { in HiddenApi()
/art/runtime/
Daot_class_linker.cc91 bool success = ClassLinker::InitializeClass(self, klass, can_init_statics, can_init_parents); in InitializeClass() local
94 if (success) { in InitializeClass()
103 return success; in InitializeClass()

1234