Home
last modified time | relevance | path

Searched refs:NewObjectArray (Results 1 – 18 of 18) sorted by relevance

/art/runtime/
Dproxy_test.h50 soa.Env()->NewObjectArray(interfaces.size(), javaLangClass, /* initialElement= */ nullptr); in GenerateProxyClass()
62 jobjectArray proxyClassMethods = soa.Env()->NewObjectArray( in GenerateProxyClass()
106 jobjectArray proxyClassThrows = soa.Env()->NewObjectArray(0, javaLangClass, nullptr); in GenerateProxyClass()
/art/test/ti-agent/
Djni_helper.h40 ScopedLocalRef<jobjectArray> ret(env, env->NewObjectArray(length, obj_class.get(), nullptr)); in CreateObjectArray()
Dstack_trace_helper.cc67 jobjectArray frames_array = env->NewObjectArray(nframes, klass.get(), nullptr); in Java_art_StackTrace_nativeGetStackTrace()
Dbreakpoint_helper.cc90 jobjectArray ret = env->NewObjectArray(2, object_class.get(), nullptr); in Java_art_Breakpoint_getLineNumberTableNative()
Dlocals_helper.cc167 jobjectArray vars_array = env->NewObjectArray(nvars, klass.get(), nullptr); in Java_art_Locals_GetLocalVariableTable()
/art/runtime/native/
Ddalvik_system_BaseDexClassLoader.cc43 jobjectArray result = env->NewObjectArray(2 * contextMap.size(), in BaseDexClassLoader_computeClassLoaderContextsNative()
Ddalvik_system_VMDebug.cc62 jobjectArray result = env->NewObjectArray(arraysize(features), in VMDebug_getVmFeatureList()
364 jobjectArray result = env->NewObjectArray(num_classes, object_array_class, nullptr); in VMDebug_getInstancesOfClasses()
377 jobjectArray array = env->NewObjectArray(raw_instances.size(), in VMDebug_getInstancesOfClasses()
522 jobjectArray result = env->NewObjectArray( in VMDebug_getRuntimeStatsInternal()
Djava_lang_VMClassLoader.cc137 env->NewObjectArray(path.size(), WellKnownClasses::java_lang_String, nullptr); in VMClassLoader_getBootClassPathEntries()
Ddalvik_system_DexFile.cc506 jobjectArray result = env->NewObjectArray(descriptors.size(), in DexFile_getClassNameList()
655 jobjectArray result = env->NewObjectArray(2, in DexFile_getDexFileOptimizationStatus()
854 jobjectArray result = env->NewObjectArray(2, in DexFile_getDexFileOutputPaths()
Ddalvik_system_VMRuntime.cc198 env->NewObjectArray(static_cast<jsize>(properties.size()), in VMRuntime_properties()
/art/test/903-hello-tagging/
Dtagging.cc72 resultObjectArray = env->NewObjectArray(result_count, obj_class.get(), nullptr); in Java_art_Test903_getTaggedObjects()
97 jobjectArray resultArray = env->NewObjectArray(3, obj_class.get(), nullptr); in Java_art_Test903_getTaggedObjects()
/art/test/1922-owned-monitors-info/
Downed_monitors.cc130 jobjectArray ret = env->NewObjectArray(len, obj_class.get(), nullptr); in Java_art_Test1922_getOwnedMonitors()
/art/test/1946-list-descriptors/
Ddescriptors.cc71 ScopedLocalRef<jobjectArray> arr(env, env->NewObjectArray(cnt, in Java_art_Test1946_getClassloaderDescriptors()
/art/runtime/jni/
Djni_internal_test.cc605 env_->NewObjectArray(-1, element_class, nullptr); in NewObjectArrayBadArguments()
608 env_->NewObjectArray(std::numeric_limits<jint>::min(), element_class, nullptr); in NewObjectArrayBadArguments()
1282 TEST_F(JniInternalTest, NewObjectArray) { in TEST_F() argument
1288 jobjectArray a = env_->NewObjectArray(0, element_class, nullptr); in TEST_F()
1293 a = env_->NewObjectArray(1, element_class, nullptr); in TEST_F()
1314 env_->NewObjectArray(0, nullptr, nullptr); in TEST_F()
1317 env_->NewObjectArray(1, primitive_class, nullptr); in TEST_F()
1323 env_->NewObjectArray(0, nullptr, nullptr); in TEST_F()
1326 env_->NewObjectArray(1, primitive_class, nullptr); in TEST_F()
1340 jobjectArray a = env_->NewObjectArray(2, element_class, s); in TEST_F()
[all …]
Djni_internal.cc2047 static jobjectArray NewObjectArray(JNIEnv* env, jsize length, jclass element_jclass, in NewObjectArray() function in art::JNI
2898 JNIImpl::NewObjectArray,
/art/test/1974-resize-array/
Dresize_array.cc152 jobjectArray ret = env->NewObjectArray(cnt, env->FindClass("java/lang/Object"), nullptr); in Java_art_Test1974_GetObjectsWithTag()
/art/runtime/entrypoints/
Dentrypoint_utils.cc73 args_jobj = soa.Env()->NewObjectArray(args.size(), WellKnownClasses::java_lang_Object, nullptr); in InvokeProxyInvocationHandler()
/art/test/004-JniTest/
Djni_test.cc88 jobjectArray array = env->NewObjectArray(0, clazz, nullptr); in testFindClassOnAttachedNativeThread()