/art/runtime/jni/ |
D | java_vm_ext_test.cc | 56 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in TEST_F() local 57 EXPECT_EQ(JNI_OK, ok); in TEST_F() 69 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in attach_current_thread_callback() local 70 EXPECT_EQ(JNI_OK, ok); in attach_current_thread_callback() 71 if (ok == JNI_OK) { in attach_current_thread_callback() 73 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); in attach_current_thread_callback() 75 ok = vms_buf[0]->AttachCurrentThreadAsDaemon(&env, nullptr); in attach_current_thread_callback() 81 EXPECT_EQ(JNI_OK, ok); in attach_current_thread_callback() 83 if (ok == JNI_OK) { in attach_current_thread_callback() 84 ok = vms_buf[0]->DetachCurrentThread(); in attach_current_thread_callback() [all …]
|
/art/test/088-monitor-verification/ |
D | expected-stdout.txt | 2 recursiveSync ok 3 nestedMayThrow ok 4 constantLock ok 5 notNested ok 6 twoPath ok 7 triplet ok
|
/art/test/982-ok-no-retransform/ |
D | Android.bp | 3 // Build rules for ART run-test `982-ok-no-retransform`. 16 name: "art-run-test-982-ok-no-retransform", 21 ":art-run-test-982-ok-no-retransform-expected-stdout", 22 ":art-run-test-982-ok-no-retransform-expected-stderr", 28 name: "art-run-test-982-ok-no-retransform-expected-stdout", 29 out: ["art-run-test-982-ok-no-retransform-expected-stdout.txt"], 36 name: "art-run-test-982-ok-no-retransform-expected-stderr", 37 out: ["art-run-test-982-ok-no-retransform-expected-stderr.txt"],
|
/art/odrefresh/ |
D | odr_common_test.cc | 33 EXPECT_TRUE(result.ok()); in TEST() 35 EXPECT_FALSE(ParseSecurityPatchStr("").ok()); in TEST() 36 EXPECT_FALSE(ParseSecurityPatchStr("20-2203-08").ok()); in TEST() 37 EXPECT_FALSE(ParseSecurityPatchStr("20220308").ok()); in TEST()
|
D | odr_common.cc | 63 if (!security_patch_value.ok()) { in ShouldDisablePartialCompilation()
|
D | odr_statslog_android.cc | 42 if (!result.ok()) { in ReadValues()
|
D | odr_metrics.cc | 172 if (!result.ok()) { in WriteToFile()
|
/art/libnativeloader/ |
D | library_namespaces.cpp | 326 if (!app_ns.ok()) { in Create() 333 if (!system_ns.ok()) { in Create() 338 if (!linked.ok()) { in Create() 345 if (ns.ok()) { in Create() 347 if (!linked.ok()) { in Create() 356 if (vndk_ns.ok()) { in Create() 358 if (!linked.ok()) { in Create() 367 if (vndk_ns.ok()) { in Create() 369 if (!linked.ok()) { in Create() 377 if (apex_ns_name.ok()) { in Create() [all …]
|
D | native_loader.cpp | 73 if (name.ok()) { in FindExportedNamespace() 106 if (!ns.ok()) { in GetNativeloaderExtraLibsNamespace() 112 if (!linked.ok()) { in GetNativeloaderExtraLibsNamespace() 133 if (!ns.ok()) { in TryLoadNativeloaderExtraLib() 156 if (!ns.ok()) { in CreateClassLoaderNamespaceLocked() 160 if (!linked.ok()) { in CreateClassLoaderNamespaceLocked() 199 if (!ns.ok()) { in CreateClassLoaderNamespace() 236 if (!handle.ok()) { in OpenNativeLibrary() 271 if (!isolated_ns.ok()) { in OpenNativeLibrary() 355 if (!handle.ok() && error_msg != nullptr) { in OpenNativeLibraryInNamespace() [all …]
|
D | public_libraries.cpp | 99 if (!result.ok()) { in ReadConfig() 138 if (ret.ok()) { in ReadExtensionLibraries() 159 if (!sonames.ok()) { in InitDefaultPublicLibraries() 189 if (!sonames.ok()) { in InitVendorPublicLibraries() 232 if (!sonames.ok()) { in InitLlndkLibrariesVendor() 249 if (!sonames.ok()) { in InitLlndkLibrariesProduct() 262 if (!sonames.ok()) { in InitVndkspLibrariesVendor() 279 if (!sonames.ok()) { in InitVndkspLibrariesProduct() 296 if (!config.ok()) { in InitApexLibraries() 468 if (!ret.ok()) { in ParseConfig() [all …]
|
D | native_loader_test.cpp | 542 ASSERT_FALSE(ParseConfig("libA.so 32 64", always_true).ok()); in TEST() 543 ASSERT_FALSE(ParseConfig("libA.so 32 32", always_true).ok()); in TEST() 544 ASSERT_FALSE(ParseConfig("libA.so 32 nopreload 64", always_true).ok()); in TEST() 545 ASSERT_FALSE(ParseConfig("32 libA.so nopreload", always_true).ok()); in TEST() 546 ASSERT_FALSE(ParseConfig("nopreload libA.so 32", always_true).ok()); in TEST() 547 ASSERT_FALSE(ParseConfig("libA.so nopreload # comment", always_true).ok()); in TEST() 584 ASSERT_FALSE(result.ok()); in TEST() 596 ASSERT_FALSE(result.ok()); in TEST() 606 ASSERT_FALSE(result.ok()); in TEST() 616 ASSERT_FALSE(result.ok()); in TEST()
|
D | native_loader_namespace.cpp | 73 if (ns.ok()) return ns; in GetSystemNamespace() 75 if (ns.ok()) return ns; in GetSystemNamespace() 100 if (!system_ns.ok()) { in Create()
|
/art/test/529-checker-unresolved/ |
D | expected-stdout.txt | 6 instanceof ok 7 checkcast ok
|
/art/artd/ |
D | testing.h | 25 if (!tmp__.ok()) { \ 36 ASSERT_TRUE(tmp__.ok()) << tmp__.error().message(); \
|
D | artd.cc | 384 if (!tmp.ok()) { \ 395 return ScopedAStatus::ok(); in isAlive() 406 return ScopedAStatus::ok(); in deleteArtifacts() 414 if (!ofa_context.ok()) { in getDexoptStatus() 445 return ScopedAStatus::ok(); in getDexoptStatus() 463 if (!profile.ok()) { in isProfileUsable() 466 return ScopedAStatus::ok(); in isProfileUsable() 484 if (!result.ok()) { in isProfileUsable() 496 return ScopedAStatus::ok(); in isProfileUsable() 516 if (!src.ok()) { in copyAndRewriteProfile() [all …]
|
D | artd_main.cc | 32 if (auto ret = artd->Start(); !ret.ok()) { in main()
|
/art/test/137-cfi/ |
D | cfi.cc | 115 bool ok = true; in CheckStack() local 119 ok = false; in CheckStack() 140 ok = false; in CheckStack() 147 ok = false; in CheckStack() 150 if (!ok) { in CheckStack() 157 return ok; in CheckStack()
|
/art/test/063-process-manager/src/ |
D | Main.java | 68 boolean ok = true; in waitForReaperTimedWaiting() 76 ok = false; in waitForReaperTimedWaiting() 82 if (ok && (!reaperMustExist || found)) { in waitForReaperTimedWaiting()
|
/art/compiler/utils/ |
D | assembler_test_base.h | 172 bool ok = CommonArtTestImpl::ForkAndExec(args, [](){ return true; }, &output).StandardSuccess(); in Assemble() local 173 if (!ok) { in Assemble() 176 return ok; in Assemble() 182 bool ok = CommonArtTestImpl::ForkAndExec(args, [](){ return true; }, output).StandardSuccess(); in Disassemble() local 183 if (!ok) { in Disassemble() 187 return ok; in Disassemble()
|
/art/test/178-app-image-native-method/ |
D | native_methods.cc | 67 bool ok = VerifyManyParameters( in Java_Test_nativeMethodWithManyParameters() local 76 return ok ? 42 : -1; in Java_Test_nativeMethodWithManyParameters() 97 bool ok = VerifyManyParameters( in Java_TestFast_nativeMethodWithManyParameters() local 106 return ok ? 42 : -1; in Java_TestFast_nativeMethodWithManyParameters() 126 bool ok = VerifyManyParameters( in Java_TestCritical_nativeMethodWithManyParameters() local 135 return ok ? 42 : -1; in Java_TestCritical_nativeMethodWithManyParameters() 637 bool ok = VerifyManyParameters( in Java_CriticalClinitCheck_nativeMethodWithManyParameters() local 646 return ok ? 42 : -1; in Java_CriticalClinitCheck_nativeMethodWithManyParameters()
|
/art/runtime/ |
D | image.cc | 212 bool ok = LZ4_decompress_safe_checked( in Decompress() local 219 if (!ok) { in Decompress() 301 bool ok = LZ4_decompress_safe_checked( in MaybeCompressData() local 308 if (!ok) { in MaybeCompressData()
|
D | elf_file_impl.h | 150 Elf_Word GetHashBucket(size_t i, bool* ok) const; 151 Elf_Word GetHashChain(size_t i, bool* ok) const;
|
D | elf_file.cc | 651 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetHashBucket(size_t i, bool* ok) const { in GetHashBucket() 653 *ok = false; in GetHashBucket() 656 *ok = true; in GetHashBucket() 662 typename ElfTypes::Word ElfFileImpl<ElfTypes>::GetHashChain(size_t i, bool* ok) const { in GetHashChain() 664 *ok = false; in GetHashChain() 667 *ok = true; in GetHashChain() 776 bool ok; in FindDynamicSymbol() local 777 Elf_Word symbol_and_chain_index = GetHashBucket(bucket_index, &ok); in FindDynamicSymbol() 778 if (!ok) { in FindDynamicSymbol() 790 symbol_and_chain_index = GetHashChain(symbol_and_chain_index, &ok); in FindDynamicSymbol() [all …]
|
D | dexopt_test.cc | 92 bool ok = CompileBootImage(extra_args, filename_prefix, dex_files, dex_locations, &error_msg); in GenerateAlternateImage() local 93 EXPECT_TRUE(ok) << error_msg; in GenerateAlternateImage()
|
/art/libarttools/tools/ |
D | art_exec.cc | 189 if (auto result = CloseFds(options.keep_fds); !result.ok()) { in main() 210 if (auto result = DropInheritableCaps(); !result.ok()) { in main()
|