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

12345678

/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 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_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_os_SystemClock.cpp43 jobject clazz)
52 jobject clazz)
61 jobject clazz)
74 jobject clazz)
87 jobject clazz)
99 jobject clazz)
42 android_os_SystemClock_uptimeMillis(JNIEnv* env, jobject clazz) argument
51 android_os_SystemClock_elapsedRealtime(JNIEnv* env, jobject clazz) argument
60 android_os_SystemClock_currentThreadTimeMillis(JNIEnv* env, jobject clazz) argument
73 android_os_SystemClock_currentThreadTimeMicro(JNIEnv* env, jobject clazz) argument
86 android_os_SystemClock_currentTimeMicro(JNIEnv* env, jobject clazz) argument
98 android_os_SystemClock_elapsedRealtimeNano(JNIEnv* env, jobject clazz) argument
H A Dandroid_view_InputDevice.cpp33 jclass clazz; member in struct:android::__anon898
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 Dandroid_view_SurfaceSession.cpp42 static jlong nativeCreate(JNIEnv* env, jclass clazz) { argument
48 static void nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { argument
53 static void nativeKill(JNIEnv* env, jclass clazz, jlong ptr) { argument
74 jclass clazz = env->FindClass("android/view/SurfaceSession");
75 gSurfaceSessionClassInfo.mNativeClient = env->GetFieldID(clazz, "mNativeClient", "J");
/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");
H A DWritePreloadedClassFile.java151 private static boolean shouldPreload(LoadedClass clazz) { argument
152 return Policy.isPreloadable(clazz)
153 && clazz.medianTimeMicros() > MIN_LOAD_TIME_MICROS;
/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
H A Dexposure.cpp30 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
52 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
29 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
51 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
H A Dframetovalues.cpp29 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject grayBuffer )
55 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject rgbBuffer )
28 Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues( JNIEnv* env, jclass clazz, jobject imageBuffer, jobject grayBuffer ) argument
54 Java_androidx_media_filterpacks_image_ToRgbValuesFilter_toRgbValues( JNIEnv* env, jclass clazz, jobject imageBuffer, jobject rgbBuffer ) argument
H A Dpixelutils.cpp24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
/frameworks/opt/net/voip/src/jni/rtp/
H A DRtpStream.cpp105 jclass clazz; local
106 if ((clazz = env->FindClass("android/net/rtp/RtpStream")) == NULL ||
107 (gSocket = env->GetFieldID(clazz, "mSocket", "I")) == NULL ||
108 env->RegisterNatives(clazz, gMethods, NELEM(gMethods)) < 0) {

Completed in 442 milliseconds

12345678