Searched defs:constructor (Results 1 - 14 of 14) sorted by relevance

/art/test/ti-agent/
H A Dstack_trace_helper.cc45 jmethodID constructor = env->GetMethodID( local
79 constructor,
H A Dlocals_helper.cc174 jmethodID constructor = env->GetMethodID( local
184 constructor,
H A Dmonitors_helper.cc43 jmethodID constructor = env->GetMethodID( local
68 return env->NewObject(klass.get(), constructor,
/art/test/1922-owned-monitors-info/
H A Downed_monitors.cc104 jmethodID constructor = env->GetMethodID(ret_class.get(), "<init>", "(ILjava/lang/Object;)V"); local
111 constructor,
/art/test/141-class-unload/src/
H A DMain.java35 Constructor<?> constructor =
38 testUnloadClass(constructor);
39 testUnloadLoader(constructor);
41 testNoUnloadInstance(constructor);
43 testLoadAndUnloadLibrary(constructor);
45 testStackTrace(constructor);
47 stressTest(constructor);
51 testStickyUnload(constructor);
78 private static void stressTest(Constructor<?> constructor) throws Exception { argument
80 setUpUnloadLoader(constructor, fals
95 testUnloadClass(Constructor<?> constructor) argument
106 testUnloadLoader(Constructor<?> constructor) argument
115 testStackTrace(Constructor<?> constructor) argument
127 testLoadAndUnloadLibrary(Constructor<?> constructor) argument
150 testNoUnloadInstanceHelper(Constructor<?> constructor) argument
157 testNoUnloadInstance(Constructor<?> constructor) argument
165 setUpUnloadClass(Constructor<?> constructor) argument
180 allocObjectInOtherClassLoader(Constructor<?> constructor) argument
188 testStickyUnload(Constructor<?> constructor) argument
204 setUpUnloadClassWeak(Constructor<?> constructor) argument
209 setUpUnloadLoader(Constructor<?> constructor, boolean waitForCompilation) argument
232 setUpLoadLibrary(Constructor<?> constructor) argument
[all...]
/art/test/674-hiddenapi/
H A Dhiddenapi.cc65 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); local
66 if (constructor == NULL) {
69 return env->NewObject(klass, constructor);
226 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); local
227 if (constructor == NULL) {
238 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); local
239 if (constructor == NULL) {
250 env->NewObjectA(klass, constructor, initargs);
263 jmethodID constructor = env->GetMethodID(klass, "<init>", utf_args.c_str()); local
264 if (constructor
[all...]
/art/compiler/driver/
H A Dcompiler_driver_test.cc168 jmethodID constructor = env_->GetMethodID(c_class, "<init>", "()V"); local
170 jobject jobj_ = env_->NewObject(c_class, constructor);
/art/runtime/
H A Dreference_table_test.cc62 ArtMethod* constructor = h_ref_class->FindConstructor( local
64 CHECK(constructor != nullptr);
70 constructor->Invoke(self, args, sizeof(uint32_t), &result, constructor->GetShorty());
H A Djni_internal_test.cc659 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); local
660 jobj_ = env_->NewObject(jklass_, constructor);
685 // we didn't call a constructor.
808 // Check that GetMethodID for java.lang.NoSuchMethodError.<init>(String) finds the constructor.
827 // Check that GetMethodID for java.lang.NoSuchMethodError.<init>(String) finds the constructor.
/art/runtime/native/
H A Djava_lang_Class.cc551 auto* constructor = mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize, false>( local
553 if (UNLIKELY(constructor == nullptr)) {
557 h_constructors->SetWithoutChecks<false>(constructor_count++, constructor);
593 // Add non-constructor declared methods.
823 ArtMethod* constructor = klass->GetDeclaredConstructor( local
827 if (UNLIKELY(constructor == nullptr) || ShouldBlockAccessToMember(constructor, soa.Self())) {
829 "%s has no zero argument constructor",
848 // Verify that we can access the constructor.
849 auto* declaring_class = constructor
[all...]
/art/dexdump/
H A Ddexdump.cc1252 const bool constructor = (name[0] == '<'); local
1255 if (constructor) {
1257 fprintf(gOutFile, "<constructor name=\"%s\"\n", dot.get());
1314 if (constructor) {
1315 fprintf(gOutFile, "</constructor>\n");
1638 type = "invoke-constructor";
/art/dexlayout/
H A Ddexlayout.cc1212 const bool constructor = (name[0] == '<'); local
1215 if (constructor) {
1217 fprintf(out_file_, "<constructor name=\"%s\"\n", dot.c_str());
1274 if (constructor) {
1275 fprintf(out_file_, "</constructor>\n");
/art/runtime/interpreter/
H A Dunstarted_runtime.cc266 StackHandleScope<2> hs(self); // Class, constructor, object.
292 // 2) If we can't find the default constructor. We'll postpone the exception to runtime.
311 "Could not find default constructor for '%s'",
414 // Special managed code cut-out to allow constructor lookup in a un-started runtime.
427 ObjPtr<mirror::Constructor> constructor; local
430 constructor = mirror::Class::GetDeclaredConstructorInternal<PointerSize::k64,
433 constructor = mirror::Class::GetDeclaredConstructorInternal<PointerSize::k32,
438 constructor = mirror::Class::GetDeclaredConstructorInternal<PointerSize::k64,
441 constructor = mirror::Class::GetDeclaredConstructorInternal<PointerSize::k32,
445 if (constructor !
636 ArtMethod* constructor = h_class->FindConstructor("([B)V", cl->GetImagePointerSize()); local
[all...]
/art/compiler/jni/
H A Djni_compiler_test.cc320 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); local
321 jobj_ = env_->NewObject(jklass_, constructor);

Completed in 818 milliseconds