Searched defs:clazz (Results 1 - 25 of 199) 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/services/core/jni/
H A Dcom_android_server_SystemServer.cpp28 static void android_server_SystemServer_nativeInit(JNIEnv* env, jobject clazz) { argument
H A Dcom_android_server_VibratorService.cpp32 static jboolean vibratorExists(JNIEnv *env, jobject clazz) argument
37 static void vibratorOn(JNIEnv *env, jobject clazz, jlong timeout_ms) argument
43 static void vibratorOff(JNIEnv *env, jobject clazz) argument
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/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/
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.cpp39 static void nativeGetPagerStats(JNIEnv *env, jobject clazz, jobject statsObj) argument
69 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \
70 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
75 jclass clazz; local
76 FIND_CLASS(clazz, "android/database/sqlite/SQLiteDebug$PagerStats");
78 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.memoryUsed, clazz,
80 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.largestMemAlloc, clazz,
82 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.pageCacheOverflow, clazz,
H A Dandroid_database_SQLiteGlobal.cpp70 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_os_SystemClock.cpp43 jobject clazz)
52 jobject clazz)
61 jobject clazz)
81 jobject clazz)
101 jobject clazz)
113 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
80 android_os_SystemClock_currentThreadTimeMicro(JNIEnv* env, jobject clazz) argument
100 android_os_SystemClock_currentTimeMicro(JNIEnv* env, jobject clazz) argument
112 android_os_SystemClock_elapsedRealtimeNano(JNIEnv* env, jobject clazz) argument
H A Dandroid_util_FloatMath.cpp9 static float FloorF(JNIEnv* env, jobject clazz, float x) { argument
13 static float CeilF(JNIEnv* env, jobject clazz, float x) { argument
17 static float SinF(JNIEnv* env, jobject clazz, float x) { argument
21 static float CosF(JNIEnv* env, jobject clazz, float x) { argument
25 static float SqrtF(JNIEnv* env, jobject clazz, float x) { argument
29 static float ExpF(JNIEnv* env, jobject clazz, float x) { argument
33 static float PowF(JNIEnv* env, jobject clazz, float x, float y) { argument
37 static float HypotF(JNIEnv* env, jobject clazz, float x, float y) { argument
H A Dandroid_view_InputDevice.cpp31 jclass clazz; member in struct:android::__anon855
58 ScopedLocalRef<jobject> inputDeviceObj(env, env->NewObject(gInputDeviceClassInfo.clazz,
84 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
85 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
90 FIND_CLASS(gInputDeviceClassInfo.clazz, "android/view/InputDevice");
91 gInputDeviceClassInfo.clazz = jclass(env->NewGlobalRef(gInputDeviceClassInfo.clazz));
93 GET_METHOD_ID(gInputDeviceClassInfo.ctor, gInputDeviceClassInfo.clazz,
97 GET_METHOD_ID(gInputDeviceClassInfo.addMotionRange, 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");
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DDynamicProxy.java33 * For the given {@code clazz} object, which should be an interface, we return a new dynamic
38 * {@code clazz} interface, without this in practice being the case. As an example, if you
47 public static <T> T dynamicProxy(Class<T> clazz, final Object delegate) { argument
60 return (T) Proxy.newProxyInstance(clazz.getClassLoader(), new Class<?>[] { clazz }, invoke);
/frameworks/base/core/jni/android/graphics/
H A DCanvasProperty.cpp31 static jlong createFloat(JNIEnv* env, jobject clazz, jfloat initialValue) { argument
35 static jlong createPaint(JNIEnv* env, jobject clazz, jlong paintPtr) { argument
/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/packages/DefaultContainerService/jni/
H A Dcom_android_defcontainer_MeasurementUtils.cpp32 static jlong native_measureDirectory(JNIEnv* env, jobject clazz, jstring directory) { argument
/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

Completed in 460 milliseconds

12345678