Searched defs:clazz (Results 1 - 25 of 229) sorted by relevance

12345678910

/frameworks/ex/framesequence/jni/
H A DJNIHelpers.cpp21 jclass clazz = env->FindClass(className); local
22 if (!clazz) {
28 if (env->ThrowNew(clazz, msg) != JNI_OK) {
32 env->DeleteLocalRef(clazz);
H A DBitmapDecoderJNI.cpp28 jclass clazz = env->FindClass("java/lang/RuntimeException"); local
29 env->ThrowNew(clazz, error);
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DInstrumentationTestSuiteBuilder.java26 public InstrumentationTestSuiteBuilder(Class clazz) { argument
27 this(clazz.getName(), clazz.getClassLoader());
H A DSmokeTestSuiteBuilder.java26 public SmokeTestSuiteBuilder(Class clazz) { argument
27 this(clazz.getName(), clazz.getClassLoader());
H A DUnitTestSuiteBuilder.java26 public UnitTestSuiteBuilder(Class clazz) { argument
27 this(clazz.getName(), clazz.getClassLoader());
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCaseFilter.java38 public boolean accept(Class<?> clazz) { argument
39 return UiAutomatorTestCase.class.isAssignableFrom(clazz);
/frameworks/base/core/jni/android/graphics/
H A DCanvasProperty.cpp29 static jlong createFloat(JNIEnv* env, jobject clazz, jfloat initialValue) { argument
33 static jlong createPaint(JNIEnv* env, jobject clazz, jlong paintPtr) { argument
/frameworks/base/core/jni/
H A Dandroid_os_GraphicsEnvironment.cpp25 void setDriverPath(JNIEnv* env, jobject clazz, jstring path) { argument
H A Dandroid_os_VintfRuntimeInfo.cpp33 static jstring android_os_VintfRuntimeInfo_##javaMethod(JNIEnv* env, jclass clazz) \
51 static jlong android_os_VintfRuntimeInfo_getKernelSepolicyVersion(JNIEnv *env, jclass clazz) argument
H A Dcom_android_internal_util_VirtualRefBasePtr.cpp23 static void incStrong(JNIEnv* env, jobject clazz, jlong objPtr) { argument
28 static void decStrong(JNIEnv* env, jobject clazz, jlong objPtr) { argument
H A Dandroid_app_ApplicationLoaders.cpp25 static void setupVulkanLayerPath_native(JNIEnv* env, jobject clazz, argument
H A Dandroid_database_SQLiteDebug.cpp41 static void nativeGetPagerStats(JNIEnv *env, jobject clazz, jobject statsObj) argument
69 jclass clazz = FindClassOrDie(env, "android/database/sqlite/SQLiteDebug$PagerStats"); local
71 gSQLiteDebugPagerStatsClassInfo.memoryUsed = GetFieldIDOrDie(env, clazz, "memoryUsed", "I");
72 gSQLiteDebugPagerStatsClassInfo.largestMemAlloc = GetFieldIDOrDie(env, clazz,
74 gSQLiteDebugPagerStatsClassInfo.pageCacheOverflow = GetFieldIDOrDie(env, clazz,
H A Dandroid_database_SQLiteGlobal.cpp74 static jint nativeReleaseMemory(JNIEnv* env, jclass clazz) { argument
H A Dandroid_hardware_UsbDevice.cpp30 android_hardware_UsbDevice_get_device_id(JNIEnv *env, jobject clazz, jstring name) argument
39 android_hardware_UsbDevice_get_device_name(JNIEnv *env, jobject clazz, jint id) argument
H A Dandroid_media_DeviceCallback.cpp40 jclass clazz = env->GetObjectClass(thiz); local
41 if (clazz == NULL) {
44 mClass = (jclass)env->NewGlobalRef(clazz);
H A Dandroid_view_InputDevice.cpp33 jclass clazz; member in struct:android::__anon1122
63 ScopedLocalRef<jobject> inputDeviceObj(env, env->NewObject(gInputDeviceClassInfo.clazz,
87 gInputDeviceClassInfo.clazz = FindClassOrDie(env, "android/view/InputDevice");
88 gInputDeviceClassInfo.clazz = MakeGlobalRefOrDie(env, gInputDeviceClassInfo.clazz);
90 gInputDeviceClassInfo.ctor = GetMethodIDOrDie(env, gInputDeviceClassInfo.clazz, "<init>",
93 gInputDeviceClassInfo.addMotionRange = GetMethodIDOrDie(env, gInputDeviceClassInfo.clazz,
H A Dcom_android_internal_os_PathClassLoaderFactory.cpp25 jobject clazz,
24 createClassloaderNamespace_native(JNIEnv* env, jobject clazz, jobject classLoader, jint targetSdkVersion, jstring librarySearchPath, jstring libraryPermittedPath, jboolean isShared) argument
/frameworks/base/core/tests/utiltests/jni/
H A Dandroid_util_MemoryIntArrayTest.cpp25 __attribute__((unused)) jobject clazz,
55 __attribute__((unused)) jobject clazz, jint fd, jint size)
24 android_util_MemoryIntArrayTest_createAshmem(__attribute__((unused)) JNIEnv* env, __attribute__((unused)) jobject clazz, jstring name, jint size) argument
54 android_util_MemoryIntArrayTest_setAshmemSize(__attribute__((unused)) JNIEnv* env, __attribute__((unused)) jobject clazz, jint fd, jint size) argument
/frameworks/base/tools/preload/
H A DPolicy.java85 public static boolean isPreloadable(LoadedClass clazz) { argument
86 return clazz.systemClass && !EXCLUDED_CLASSES.contains(clazz.name)
87 && !clazz.name.endsWith("$NoPreloadHolder");
/frameworks/base/core/java/android/os/
H A DParcelableException.java43 public <T extends Throwable> void maybeRethrow(Class<T> clazz) throws T { argument
44 if (clazz.isAssignableFrom(getCause().getClass())) {
54 final Class<?> clazz = Class.forName(name, true, Parcelable.class.getClassLoader());
55 return (Throwable) clazz.getConstructor(String.class).newInstance(msg);
/frameworks/base/core/tests/benchmarks/src/android/text/
H A DSpannableStringBuilderBenchmark.java35 private Class clazz; field in class:SpannableStringBuilderBenchmark
40 clazz = Class.forName(paramType);
58 builder.getSpans(0, builder.length(), clazz);
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DObjectFormat.java29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { argument
32 result.setObjectClass(getBoxedClass(clazz));
36 result.setBytesPerSample(bytesPerSampleForClass(clazz, target));
40 public static MutableFrameFormat fromClass(Class clazz, int target) { argument
41 return fromClass(clazz, FrameFormat.SIZE_UNSPECIFIED, target);
56 private static int bytesPerSampleForClass(Class clazz, int target) { argument
60 if (!NativeBuffer.class.isAssignableFrom(clazz)) {
62 "NativeBuffer subclass! (Received class: " + clazz + ").");
65 return ((NativeBuffer)clazz.newInstance()).getElementSize();
68 + "native object-based frame of type " + clazz
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_SerialService.cpp65 jclass clazz = env->FindClass("com/android/server/SerialService"); local
66 if (clazz == NULL) {
71 clazz = env->FindClass("android/os/ParcelFileDescriptor");
72 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.os.ParcelFileDescriptor");
73 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz);
74 gParcelFileDescriptorOffsets.mConstructor = env->GetMethodID(clazz, "<init>", "(Ljava/io/FileDescriptor;)V");
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dbrightness.cpp29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
28 Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
H A Dcontrast.cpp29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
28 Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument

Completed in 3248 milliseconds

12345678910