Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 22 of 22) sorted by relevance

/art/runtime/jni/
Djava_vm_ext_test.cc52 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in TEST_F() local
53 EXPECT_EQ(JNI_OK, ok); in TEST_F()
65 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in attach_current_thread_callback() local
66 EXPECT_EQ(JNI_OK, ok); in attach_current_thread_callback()
67 if (ok == JNI_OK) { in attach_current_thread_callback()
69 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); in attach_current_thread_callback()
71 ok = vms_buf[0]->AttachCurrentThreadAsDaemon(&env, nullptr); in attach_current_thread_callback()
77 EXPECT_EQ(JNI_OK, ok); in attach_current_thread_callback()
79 if (ok == JNI_OK) { in attach_current_thread_callback()
80 ok = vms_buf[0]->DetachCurrentThread(); in attach_current_thread_callback()
[all …]
/art/test/088-monitor-verification/
Dexpected-stdout.txt2 recursiveSync ok
3 nestedMayThrow ok
4 constantLock ok
5 notNested ok
6 twoPath ok
7 triplet ok
/art/test/982-ok-no-retransform/
DAndroid.bp3 // 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/libnativeloader/
Dlibrary_namespaces.cpp298 if (!app_ns.ok()) { in Create()
305 if (!system_ns.ok()) { in Create()
310 if (!linked.ok()) { in Create()
317 if (ns.ok()) { in Create()
319 if (!linked.ok()) { in Create()
328 if (vndk_ns.ok()) { in Create()
330 if (!linked.ok()) { in Create()
339 if (vndk_ns.ok()) { in Create()
341 if (!linked.ok()) { in Create()
349 if (apex_ns_name.ok()) { in Create()
[all …]
Dnative_loader.cpp73 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 …]
Dpublic_libraries.cpp99 if (!result.ok()) { in ReadConfig()
135 if (ret.ok()) { in ReadExtensionLibraries()
156 if (!sonames.ok()) { in InitDefaultPublicLibraries()
181 if (!sonames.ok()) { in InitVendorPublicLibraries()
204 if (!sonames.ok()) { in InitLlndkLibrariesVendor()
218 if (!sonames.ok()) { in InitLlndkLibrariesProduct()
229 if (!sonames.ok()) { in InitVndkspLibrariesVendor()
243 if (!sonames.ok()) { in InitVndkspLibrariesProduct()
257 if (!config.ok()) { in InitApexLibraries()
408 if (!ret.ok()) { in ParseConfig()
[all …]
Dnative_loader_test.cpp522 ASSERT_FALSE(ParseConfig("libA.so 32 64", always_true).ok()); in TEST()
523 ASSERT_FALSE(ParseConfig("libA.so 32 32", always_true).ok()); in TEST()
524 ASSERT_FALSE(ParseConfig("libA.so 32 nopreload 64", always_true).ok()); in TEST()
525 ASSERT_FALSE(ParseConfig("32 libA.so nopreload", always_true).ok()); in TEST()
526 ASSERT_FALSE(ParseConfig("nopreload libA.so 32", always_true).ok()); in TEST()
527 ASSERT_FALSE(ParseConfig("libA.so nopreload # comment", always_true).ok()); in TEST()
564 ASSERT_FALSE(result.ok()); in TEST()
576 ASSERT_FALSE(result.ok()); in TEST()
586 ASSERT_FALSE(result.ok()); in TEST()
596 ASSERT_FALSE(result.ok()); in TEST()
Dnative_loader_namespace.cpp73 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/
Dexpected-stdout.txt6 instanceof ok
7 checkcast ok
/art/test/063-process-manager/src/
DMain.java68 boolean ok = true; in waitForReaperTimedWaiting()
76 ok = false; in waitForReaperTimedWaiting()
82 if (ok && (!reaperMustExist || found)) { in waitForReaperTimedWaiting()
/art/compiler/utils/
Dassembler_test_base.h163 bool ok = CommonArtTestImpl::ForkAndExec(args, [](){ return true; }, &output).StandardSuccess(); in Assemble() local
164 if (!ok) { in Assemble()
167 return ok; in Assemble()
173 bool ok = CommonArtTestImpl::ForkAndExec(args, [](){ return true; }, output).StandardSuccess(); in Disassemble() local
174 if (!ok) { in Disassemble()
178 return ok; in Disassemble()
/art/test/178-app-image-native-method/
Dnative_methods.cc67 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/
Delf_file_impl.h150 Elf_Word GetHashBucket(size_t i, bool* ok) const;
151 Elf_Word GetHashChain(size_t i, bool* ok) const;
Delf_file.cc651 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 …]
Ddexopt_test.cc91 bool ok = CompileBootImage(extra_args, filename_prefix, dex_files, dex_locations, &error_msg); in GenerateAlternateImage() local
92 EXPECT_TRUE(ok) << error_msg; in GenerateAlternateImage()
/art/build/
Dart.go321 if oldSrc, ok := testcasesContent[dst]; ok {
/art/libartbase/base/
Dcommon_art_test.cc63 bool ok = (mkdtemp(&path_[0]) != nullptr); in ScratchDir() local
64 CHECK(ok) << strerror(errno) << " for " << path_; in ScratchDir()
/art/build/apex/
Dart_apex_test.py224 ok, msg = self.is_file(path)
225 if not ok:
228 return ok
/art/runtime/interpreter/
Dunstarted_runtime.cc310 bool ok = false; in UnstartedClassNewInstance() local
323 ok = true; in UnstartedClassNewInstance()
331 if (!ok) { in UnstartedClassNewInstance()
/art/compiler/optimizing/
Dregister_allocator_graph_color.cc769 bool ok = ValidateIntervals(ArrayRef<LiveInterval* const>(intervals), in Validate() local
775 if (!ok) { in Validate()
/art/test/
DAndroid.bp986 "982-ok-no-retransform/src/art/Test982.java",
1127 "982-ok-no-retransform/expected-stdout.txt",
/art/test/dexdump/
Dbytecodes.txt571 000bd6: 1a02 7600 |0099: const-string v2, "ok then" // string@0076