Home
last modified time | relevance | path

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

/art/test/088-monitor-verification/
Dexpected.txt2 recursiveSync ok
3 nestedMayThrow ok
4 constantLock ok
5 notNested ok
6 twoPath ok
7 triplet ok
/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/libnativeloader/
Dlibrary_namespaces.cpp301 if (!app_ns.ok()) { in Create()
308 if (!system_ns.ok()) { in Create()
313 if (!linked.ok()) { in Create()
319 if (art_ns.ok()) { in Create()
321 if (!linked.ok()) { in Create()
328 if (i18n_ns.ok()) { in Create()
330 if (!linked.ok()) { in Create()
338 if (nnapi_ns.ok()) { in Create()
340 if (!linked.ok()) { in Create()
348 if (vndk_ns.ok()) { in Create()
[all …]
Dnative_loader.cpp53 if (name.ok()) { in FindExportedNamespace()
85 if (!ns.ok()) { in CreateClassLoaderNamespace()
132 if (!isolated_ns.ok()) { in OpenNativeLibrary()
216 if (!handle.ok() && error_msg != nullptr) { in OpenNativeLibraryInNamespace()
222 return handle.ok() ? *handle : nullptr; in OpenNativeLibraryInNamespace()
Dpublic_libraries.cpp127 if (!result.ok()) { in ReadConfig()
163 if (ret.ok()) { in ReadExtensionLibraries()
184 if (!sonames.ok()) { in InitDefaultPublicLibraries()
252 if (!sonames.ok()) { in InitVendorPublicLibraries()
275 if (!sonames.ok()) { in InitLlndkLibrariesVendor()
289 if (!sonames.ok()) { in InitLlndkLibrariesProduct()
300 if (!sonames.ok()) { in InitVndkspLibrariesVendor()
314 if (!sonames.ok()) { in InitVndkspLibrariesProduct()
336 if (!config.ok()) { in InitApexJniLibraries()
477 if (!ret.ok()) { in ParseConfig()
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()
Dnative_loader_test.cpp679 ASSERT_FALSE(ParseConfig("libA.so 32 64", always_true).ok()); in TEST()
680 ASSERT_FALSE(ParseConfig("libA.so 32 32", always_true).ok()); in TEST()
681 ASSERT_FALSE(ParseConfig("libA.so 32 nopreload 64", always_true).ok()); in TEST()
682 ASSERT_FALSE(ParseConfig("32 libA.so nopreload", always_true).ok()); in TEST()
683 ASSERT_FALSE(ParseConfig("nopreload libA.so 32", always_true).ok()); in TEST()
684 ASSERT_FALSE(ParseConfig("libA.so nopreload # comment", always_true).ok()); in TEST()
707 ASSERT_FALSE(ParseJniConfig("com_android_foo").ok()); in TEST()
/art/test/529-checker-unresolved/
Dexpected.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/982-ok-no-retransform/
DAndroid.bp3 name: "art-run-test-982-ok-no-retransform",
/art/tools/class2greylist/src/com/android/class2greylist/
DStatus.java51 public boolean ok() { in ok() method in Status
DClass2Greylist.java152 if (status.ok()) { in main()
/art/test/178-app-image-native-method/
Dnative_methods.cc59 bool ok = VerifyManyParameters( in Java_Test_nativeMethodWithManyParameters() local
68 return ok ? 42 : -1; in Java_Test_nativeMethodWithManyParameters()
89 bool ok = VerifyManyParameters( in Java_TestFast_nativeMethodWithManyParameters() local
98 return ok ? 42 : -1; in Java_TestFast_nativeMethodWithManyParameters()
118 bool ok = VerifyManyParameters( in Java_TestCritical_nativeMethodWithManyParameters() local
127 return ok ? 42 : -1; in Java_TestCritical_nativeMethodWithManyParameters()
629 bool ok = VerifyManyParameters( in Java_CriticalClinitCheck_nativeMethodWithManyParameters() local
638 return ok ? 42 : -1; in Java_CriticalClinitCheck_nativeMethodWithManyParameters()
/art/runtime/
Delf_file_impl.h157 Elf_Word GetHashBucket(size_t i, bool* ok) const;
158 Elf_Word GetHashChain(size_t i, bool* ok) const;
Ddexopt_test.cc88 bool ok = CompileBootImage(extra_args, filename_prefix, dex_files, dex_locations, &error_msg); in GenerateAlternateImage() local
89 EXPECT_TRUE(ok) << error_msg; in GenerateAlternateImage()
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 …]
/art/libartbase/base/
Dcommon_art_test.cc62 bool ok = (mkdtemp(&path_[0]) != nullptr); in ScratchDir() local
63 CHECK(ok) << strerror(errno) << " for " << path_; in ScratchDir()
/art/build/apex/
Dart_apex_test.py289 ok, msg = self.is_file(path)
290 if not ok:
293 return ok
/art/test/utils/
Dregen-test-files248 art-run-test-982-ok-no-retransform
/art/runtime/interpreter/
Dunstarted_runtime.cc305 bool ok = false; in UnstartedClassNewInstance() local
318 ok = true; in UnstartedClassNewInstance()
326 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.bp722 "982-ok-no-retransform/src/art/Test982.java",
862 "982-ok-no-retransform/expected.txt",
/art/test/dexdump/
Dbytecodes.txt563 000bd6: 1a02 7600 |0099: const-string v2, "ok then" // string@0076