Home
last modified time | relevance | path

Searched refs:clazz (Results 1 – 25 of 213) sorted by relevance

123456789

/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp47 JNIEnv* env, jobject clazz, struct AConfiguration* out) { in android_Configuration_getFromJava() argument
48 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc); in android_Configuration_getFromJava()
49 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc); in android_Configuration_getFromJava()
50 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); in android_Configuration_getFromJava()
51 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen); in android_Configuration_getFromJava()
52 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard); in android_Configuration_getFromJava()
53 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation); in android_Configuration_getFromJava()
55 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden); in android_Configuration_getFromJava()
56 int hardKeyboardHidden = env->GetIntField(clazz, gConfigurationClassInfo.hardKeyboardHidden); in android_Configuration_getFromJava()
61 out->inputFlags |= env->GetIntField(clazz, gConfigurationClassInfo.navigationHidden) in android_Configuration_getFromJava()
[all …]
Dandroid_view_GLES20DisplayList.cpp45 jobject clazz, DisplayList* displayList) { in android_view_GLES20DisplayList_reset() argument
50 jobject clazz, DisplayList* displayList) { in android_view_GLES20DisplayList_getDisplayListSize() argument
55 jobject clazz, DisplayList* displayList, jstring name) { in android_view_GLES20DisplayList_setDisplayListName() argument
64 jobject clazz, DisplayList* displayList) { in android_view_GLES20DisplayList_destroyDisplayList() argument
73 jobject clazz, DisplayList* displayList, jboolean caching) { in android_view_GLES20DisplayList_setCaching() argument
78 jobject clazz, DisplayList* displayList, SkMatrix* matrix) { in android_view_GLES20DisplayList_setStaticMatrix() argument
83 jobject clazz, DisplayList* displayList, SkMatrix* matrix) { in android_view_GLES20DisplayList_setAnimationMatrix() argument
88 jobject clazz, DisplayList* displayList, jboolean clipToBounds) { in android_view_GLES20DisplayList_setClipToBounds() argument
93 jobject clazz, DisplayList* displayList, float alpha) { in android_view_GLES20DisplayList_setAlpha() argument
98 jobject clazz, DisplayList* displayList, bool hasOverlappingRendering) { in android_view_GLES20DisplayList_setHasOverlappingRendering() argument
[all …]
Dandroid_view_KeyEvent.cpp32 jclass clazz; member
53 jobject eventObj = env->CallStaticObjectMethod(gKeyEventClassInfo.clazz, in android_view_KeyEvent_fromNative()
105 static jboolean native_isSystemKey(JNIEnv* env, jobject clazz, jint keyCode) { in native_isSystemKey() argument
109 static jboolean native_hasDefaultAction(JNIEnv* env, jobject clazz, jint keyCode) { in native_hasDefaultAction() argument
126 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
127 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \
130 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
131 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
134 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
135 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
[all …]
Dandroid_view_KeyCharacterMap.cpp32 jclass clazz; member
37 jclass clazz; member
77 return env->NewObject(gKeyCharacterMapClassInfo.clazz, gKeyCharacterMapClassInfo.ctor, in android_view_KeyCharacterMap_create()
81 static jint nativeReadFromParcel(JNIEnv *env, jobject clazz, jobject parcelObj) { in nativeReadFromParcel() argument
101 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jint ptr, jobject parcelObj) { in nativeWriteToParcel() argument
110 static void nativeDispose(JNIEnv *env, jobject clazz, jint ptr) { in nativeDispose() argument
115 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jint ptr, in nativeGetCharacter() argument
121 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jint ptr, jint keyCode, in nativeGetFallbackAction() argument
136 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jint ptr, jint keyCode) { in nativeGetNumber() argument
141 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jint ptr, jint keyCode, in nativeGetMatch() argument
[all …]
Dandroid_os_Parcel.cpp63 jclass clazz; member
83 return env->CallStaticObjectMethod(gParcelOffsets.clazz, gParcelOffsets.obtain); in createJavaParcelObject()
91 static jint android_os_Parcel_dataSize(JNIEnv* env, jclass clazz, jint nativePtr) in android_os_Parcel_dataSize() argument
97 static jint android_os_Parcel_dataAvail(JNIEnv* env, jclass clazz, jint nativePtr) in android_os_Parcel_dataAvail() argument
103 static jint android_os_Parcel_dataPosition(JNIEnv* env, jclass clazz, jint nativePtr) in android_os_Parcel_dataPosition() argument
109 static jint android_os_Parcel_dataCapacity(JNIEnv* env, jclass clazz, jint nativePtr) in android_os_Parcel_dataCapacity() argument
115 static void android_os_Parcel_setDataSize(JNIEnv* env, jclass clazz, jint nativePtr, jint size) in android_os_Parcel_setDataSize() argument
121 signalExceptionForError(env, clazz, err); in android_os_Parcel_setDataSize()
126 static void android_os_Parcel_setDataPosition(JNIEnv* env, jclass clazz, jint nativePtr, jint pos) in android_os_Parcel_setDataPosition() argument
134 static void android_os_Parcel_setDataCapacity(JNIEnv* env, jclass clazz, jint nativePtr, jint size) in android_os_Parcel_setDataCapacity() argument
[all …]
DBindTest.cpp38 getString(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getString() argument
45 getNullString(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getNullString() argument
52 getBooleanTrue(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getBooleanTrue() argument
59 getBooleanFalse(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getBooleanFalse() argument
66 nonvoidThrowsException (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in nonvoidThrowsException() argument
80 setInstanceString (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in setInstanceString() argument
91 setClassString (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in setClassString() argument
102 makeStringFromThreeChars (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in makeStringFromThreeChars() argument
121 makeReturnedObject (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in makeReturnedObject() argument
137 addDoubles (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in addDoubles() argument
[all …]
Dandroid_util_Log.cpp74 static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level) in android_util_Log_isLoggable() argument
108 static jint android_util_Log_println_native(JNIEnv* env, jobject clazz, in android_util_Log_println_native() argument
148 jclass clazz = env->FindClass("android/util/Log"); in register_android_util_Log() local
150 if (clazz == NULL) { in register_android_util_Log()
155 levels.verbose = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "VERBOSE", "I")); in register_android_util_Log()
156 levels.debug = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "DEBUG", "I")); in register_android_util_Log()
157 levels.info = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "INFO", "I")); in register_android_util_Log()
158 levels.warn = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "WARN", "I")); in register_android_util_Log()
159 levels.error = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "ERROR", "I")); in register_android_util_Log()
160 levels.assert = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "ASSERT", "I")); in register_android_util_Log()
Dandroid_view_GLES20Canvas.cpp96 static void android_view_GLES20Canvas_flushCaches(JNIEnv* env, jobject clazz, in android_view_GLES20Canvas_flushCaches() argument
103 static bool android_view_GLES20Canvas_initCaches(JNIEnv* env, jobject clazz) { in android_view_GLES20Canvas_initCaches() argument
110 static void android_view_GLES20Canvas_terminateCaches(JNIEnv* env, jobject clazz) { in android_view_GLES20Canvas_terminateCaches() argument
120 static void android_view_GLES20Canvas_initAtlas(JNIEnv* env, jobject clazz, in android_view_GLES20Canvas_initAtlas() argument
135 static OpenGLRenderer* android_view_GLES20Canvas_createRenderer(JNIEnv* env, jobject clazz) { in android_view_GLES20Canvas_createRenderer() argument
142 static void android_view_GLES20Canvas_destroyRenderer(JNIEnv* env, jobject clazz, in android_view_GLES20Canvas_destroyRenderer() argument
152 static void android_view_GLES20Canvas_setViewport(JNIEnv* env, jobject clazz, in android_view_GLES20Canvas_setViewport() argument
157 static int android_view_GLES20Canvas_prepare(JNIEnv* env, jobject clazz, in android_view_GLES20Canvas_prepare() argument
162 static int android_view_GLES20Canvas_prepareDirty(JNIEnv* env, jobject clazz, in android_view_GLES20Canvas_prepareDirty() argument
168 static void android_view_GLES20Canvas_finish(JNIEnv* env, jobject clazz, in android_view_GLES20Canvas_finish() argument
[all …]
Dandroid_view_PointerIcon.cpp31 jclass clazz; member
44 jobject pointerIconObj = env->CallStaticObjectMethod(gPointerIconClassInfo.clazz, in android_view_PointerIcon_getSystemIcon()
114 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
115 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \
118 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
119 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
122 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
123 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
127 FIND_CLASS(gPointerIconClassInfo.clazz, "android/view/PointerIcon"); in register_android_view_PointerIcon()
129 GET_FIELD_ID(gPointerIconClassInfo.mBitmap, gPointerIconClassInfo.clazz, in register_android_view_PointerIcon()
[all …]
Dandroid_view_MotionEvent.cpp36 jclass clazz; member
80 jobject eventObj = env->CallStaticObjectMethod(gMotionEventClassInfo.clazz, in android_view_MotionEvent_obtainAsCopy()
337 static jint android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeInitialize() argument
389 static jint android_view_MotionEvent_nativeCopy(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeCopy() argument
400 static void android_view_MotionEvent_nativeDispose(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeDispose() argument
406 static void android_view_MotionEvent_nativeAddBatch(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeAddBatch() argument
432 static jint android_view_MotionEvent_nativeGetDeviceId(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeGetDeviceId() argument
438 static jint android_view_MotionEvent_nativeGetSource(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeGetSource() argument
444 static void android_view_MotionEvent_nativeSetSource(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeSetSource() argument
450 static jint android_view_MotionEvent_nativeGetAction(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeGetAction() argument
[all …]
Dandroid_view_Surface.cpp58 jclass clazz; member
87 return env->IsInstanceOf(obj, gSurfaceClassInfo.clazz); in android_view_Surface_isInstanceOf()
117 …jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz, gSurfaceClassInfo.ctor, surface.get()… in android_view_Surface_createFromIGraphicBufferProducer()
138 static jint nativeCreateFromSurfaceTexture(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceTexture() argument
157 static void nativeRelease(JNIEnv* env, jclass clazz, jint nativeObject) { in nativeRelease() argument
162 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jint nativeObject) { in nativeIsValid() argument
167 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jint nativeObject) { in nativeIsConsumerRunningBehind() argument
202 static jint nativeLockCanvas(JNIEnv* env, jclass clazz, in nativeLockCanvas() argument
270 static void nativeUnlockCanvasAndPost(JNIEnv* env, jclass clazz, in nativeUnlockCanvasAndPost() argument
290 static jint nativeCreateFromSurfaceControl(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceControl() argument
[all …]
Dandroid_view_GraphicBuffer.cpp111 static GraphicBufferWrapper* android_view_GraphiceBuffer_create(JNIEnv* env, jobject clazz, in android_view_GraphiceBuffer_create() argument
131 static void android_view_GraphiceBuffer_destroy(JNIEnv* env, jobject clazz, in android_view_GraphiceBuffer_destroy() argument
237 static void android_view_GraphiceBuffer_write(JNIEnv* env, jobject clazz, in android_view_GraphiceBuffer_write() argument
245 static GraphicBufferWrapper* android_view_GraphiceBuffer_read(JNIEnv* env, jobject clazz, in android_view_GraphiceBuffer_read() argument
282 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
283 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
286 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
287 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
308 jclass clazz; in register_android_view_GraphicBuffer() local
309 FIND_CLASS(clazz, "android/view/GraphicBuffer"); in register_android_view_GraphicBuffer()
[all …]
Dandroid_content_res_ObbScanner.cpp31 jclass clazz; member
39 static void android_content_res_ObbScanner_getObbInfo(JNIEnv* env, jobject clazz, jstring file, in android_content_res_ObbScanner_getObbInfo() argument
87 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
88 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
93 jclass clazz; in register_android_content_res_ObbScanner() local
94 FIND_CLASS(clazz, "android/content/res/ObbInfo"); in register_android_content_res_ObbScanner()
96 GET_FIELD_ID(gObbInfoClassInfo.packageName, clazz, in register_android_content_res_ObbScanner()
98 GET_FIELD_ID(gObbInfoClassInfo.version, clazz, in register_android_content_res_ObbScanner()
100 GET_FIELD_ID(gObbInfoClassInfo.flags, clazz, in register_android_content_res_ObbScanner()
102 GET_FIELD_ID(gObbInfoClassInfo.salt, clazz, in register_android_content_res_ObbScanner()
Dandroid_view_TextureView.cpp220 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
221 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
224 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
225 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
229 jclass clazz; in register_android_view_TextureView() local
230 FIND_CLASS(clazz, "android/graphics/Rect"); in register_android_view_TextureView()
231 GET_METHOD_ID(gRectClassInfo.set, clazz, "set", "(IIII)V"); in register_android_view_TextureView()
232 GET_FIELD_ID(gRectClassInfo.left, clazz, "left", "I"); in register_android_view_TextureView()
233 GET_FIELD_ID(gRectClassInfo.top, clazz, "top", "I"); in register_android_view_TextureView()
234 GET_FIELD_ID(gRectClassInfo.right, clazz, "right", "I"); in register_android_view_TextureView()
[all …]
Dandroid_view_SurfaceControl.cpp94 static jint nativeCreate(JNIEnv* env, jclass clazz, jobject sessionObj, in nativeCreate() argument
108 static void nativeRelease(JNIEnv* env, jclass clazz, jint nativeObject) { in nativeRelease() argument
113 static void nativeDestroy(JNIEnv* env, jclass clazz, jint nativeObject) { in nativeDestroy() argument
119 static jobject nativeScreenshotBitmap(JNIEnv* env, jclass clazz, jobject displayTokenObj, in nativeScreenshotBitmap() argument
182 static void nativeScreenshot(JNIEnv* env, jclass clazz, in nativeScreenshot() argument
200 static void nativeOpenTransaction(JNIEnv* env, jclass clazz) { in nativeOpenTransaction() argument
204 static void nativeCloseTransaction(JNIEnv* env, jclass clazz) { in nativeCloseTransaction() argument
208 static void nativeSetAnimationTransaction(JNIEnv* env, jclass clazz) { in nativeSetAnimationTransaction() argument
212 static void nativeSetLayer(JNIEnv* env, jclass clazz, jint nativeObject, jint zorder) { in nativeSetLayer() argument
220 static void nativeSetPosition(JNIEnv* env, jclass clazz, jint nativeObject, jfloat x, jfloat y) { in nativeSetPosition() argument
[all …]
Dandroid_database_SQLiteDebug.cpp39 static void nativeGetPagerStats(JNIEnv *env, jobject clazz, jobject statsObj) in nativeGetPagerStats() argument
69 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
70 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
75 jclass clazz; in register_android_database_SQLiteDebug() local
76 FIND_CLASS(clazz, "android/database/sqlite/SQLiteDebug$PagerStats"); in register_android_database_SQLiteDebug()
78 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.memoryUsed, clazz, in register_android_database_SQLiteDebug()
80 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.largestMemAlloc, clazz, in register_android_database_SQLiteDebug()
82 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.pageCacheOverflow, clazz, in register_android_database_SQLiteDebug()
Dandroid_util_FloatMath.cpp9 static float FloorF(JNIEnv* env, jobject clazz, float x) { in FloorF() argument
13 static float CeilF(JNIEnv* env, jobject clazz, float x) { in CeilF() argument
17 static float SinF(JNIEnv* env, jobject clazz, float x) { in SinF() argument
21 static float CosF(JNIEnv* env, jobject clazz, float x) { in CosF() argument
25 static float SqrtF(JNIEnv* env, jobject clazz, float x) { in SqrtF() argument
29 static float ExpF(JNIEnv* env, jobject clazz, float x) { in ExpF() argument
33 static float PowF(JNIEnv* env, jobject clazz, float x, float y) { in PowF() argument
37 static float HypotF(JNIEnv* env, jobject clazz, float x, float y) { in HypotF() argument
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java84 Class<?> clazz = mClassLoader.loadClass(className); in addTestClass() local
86 addSingleTestMethod(clazz, methodName); in addTestClass()
88 Method[] methods = clazz.getMethods(); in addTestClass()
91 addSingleTestMethod(clazz, method.getName()); in addTestClass()
105 protected void addSingleTestMethod(Class<?> clazz, String method) { in addSingleTestMethod() argument
106 if (!(mFilter.accept(clazz))) { in addSingleTestMethod()
110 TestCase testCase = (TestCase) clazz.newInstance(); in addSingleTestMethod()
114 mTestCases.add(error(clazz, "InstantiationException: could not instantiate " + in addSingleTestMethod()
115 "test class. Class: " + clazz.getName())); in addSingleTestMethod()
117 mTestCases.add(error(clazz, "IllegalAccessException: could not instantiate " + in addSingleTestMethod()
[all …]
/frameworks/base/services/jni/
Dcom_android_server_input_InputWindowHandle.cpp222 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
223 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
231 jclass clazz; in register_android_server_InputWindowHandle() local
232 FIND_CLASS(clazz, "com/android/server/input/InputWindowHandle"); in register_android_server_InputWindowHandle()
234 GET_FIELD_ID(gInputWindowHandleClassInfo.ptr, clazz, in register_android_server_InputWindowHandle()
238 clazz, in register_android_server_InputWindowHandle()
241 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, in register_android_server_InputWindowHandle()
244 GET_FIELD_ID(gInputWindowHandleClassInfo.name, clazz, in register_android_server_InputWindowHandle()
247 GET_FIELD_ID(gInputWindowHandleClassInfo.layoutParamsFlags, clazz, in register_android_server_InputWindowHandle()
250 GET_FIELD_ID(gInputWindowHandleClassInfo.layoutParamsPrivateFlags, clazz, in register_android_server_InputWindowHandle()
[all …]
Dcom_android_server_power_PowerManagerService.cpp154 jclass clazz, jboolean screenOn, jboolean screenBright) { in nativeSetPowerState() argument
160 static void nativeAcquireSuspendBlocker(JNIEnv *env, jclass clazz, jstring nameStr) { in nativeAcquireSuspendBlocker() argument
165 static void nativeReleaseSuspendBlocker(JNIEnv *env, jclass clazz, jstring nameStr) { in nativeReleaseSuspendBlocker() argument
170 static void nativeSetInteractive(JNIEnv *env, jclass clazz, jboolean enable) { in nativeSetInteractive() argument
182 static void nativeSetAutoSuspend(JNIEnv *env, jclass clazz, jboolean enable) { in nativeSetAutoSuspend() argument
214 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
215 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
218 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
219 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
229 jclass clazz; in register_android_server_PowerManagerService() local
[all …]
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp431 jclass clazz; in register_android_mtp_MtpDevice() local
435 clazz = env->FindClass("android/mtp/MtpDeviceInfo"); in register_android_mtp_MtpDevice()
436 if (clazz == NULL) { in register_android_mtp_MtpDevice()
440 constructor_deviceInfo = env->GetMethodID(clazz, "<init>", "()V"); in register_android_mtp_MtpDevice()
445 field_deviceInfo_manufacturer = env->GetFieldID(clazz, "mManufacturer", "Ljava/lang/String;"); in register_android_mtp_MtpDevice()
450 field_deviceInfo_model = env->GetFieldID(clazz, "mModel", "Ljava/lang/String;"); in register_android_mtp_MtpDevice()
455 field_deviceInfo_version = env->GetFieldID(clazz, "mVersion", "Ljava/lang/String;"); in register_android_mtp_MtpDevice()
460 field_deviceInfo_serialNumber = env->GetFieldID(clazz, "mSerialNumber", "Ljava/lang/String;"); in register_android_mtp_MtpDevice()
465 clazz_deviceInfo = (jclass)env->NewGlobalRef(clazz); in register_android_mtp_MtpDevice()
467 clazz = env->FindClass("android/mtp/MtpStorageInfo"); in register_android_mtp_MtpDevice()
[all …]
Dandroid_media_MediaDrm.cpp42 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
43 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
46 #define GET_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
47 var = env->GetMethodID(clazz, fieldName, fieldDescriptor); \
50 #define GET_STATIC_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
51 var = env->GetStaticFieldID(clazz, fieldName, fieldDescriptor); \
54 #define GET_STATIC_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
55 var = env->GetStaticMethodID(clazz, fieldName, fieldDescriptor); \
135 jclass clazz = env->GetObjectClass(thiz); in JNIDrmListener() local
136 if (clazz == NULL) { in JNIDrmListener()
[all …]
/frameworks/base/core/jni/android/graphics/
DPath.cpp37 static void finalizer(JNIEnv* env, jobject clazz, SkPath* obj) { in finalizer() argument
47 static SkPath* init1(JNIEnv* env, jobject clazz) { in init1() argument
51 static SkPath* init2(JNIEnv* env, jobject clazz, SkPath* val) { in init2() argument
55 static void reset(JNIEnv* env, jobject clazz, SkPath* obj) { in reset() argument
59 static void rewind(JNIEnv* env, jobject clazz, SkPath* obj) { in rewind() argument
63 static void assign(JNIEnv* env, jobject clazz, SkPath* dst, const SkPath* src) { in assign() argument
67 static jint getFillType(JNIEnv* env, jobject clazz, SkPath* obj) { in getFillType() argument
71 static void setFillType(JNIEnv* env, jobject clazz, SkPath* path, SkPath::FillType ft) { in setFillType() argument
75 static jboolean isEmpty(JNIEnv* env, jobject clazz, SkPath* obj) { in isEmpty() argument
79 static jboolean isRect(JNIEnv* env, jobject clazz, SkPath* obj, jobject rect) { in isRect() argument
[all …]
DMatrix.cpp34 static void finalizer(JNIEnv* env, jobject clazz, SkMatrix* obj) { in finalizer() argument
38 static SkMatrix* create(JNIEnv* env, jobject clazz, const SkMatrix* src) { in create() argument
47 static jboolean isIdentity(JNIEnv* env, jobject clazz, SkMatrix* obj) { in isIdentity() argument
51 static jboolean rectStaysRect(JNIEnv* env, jobject clazz, SkMatrix* obj) { in rectStaysRect() argument
55 static void reset(JNIEnv* env, jobject clazz, SkMatrix* obj) { in reset() argument
59 static void set(JNIEnv* env, jobject clazz, SkMatrix* obj, SkMatrix* other) { in set() argument
63 static void setTranslate(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat dx, jfloat dy) { in setTranslate() argument
69 …static void setScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat… in setScale__FFFF() argument
77 static void setScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { in setScale__FF() argument
83 …static void setRotate__FFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat degrees, jfloat px, j… in setRotate__FFF() argument
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
DObjectFormat.java29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { in fromClass() argument
32 result.setObjectClass(getBoxedClass(clazz)); in fromClass()
36 result.setBytesPerSample(bytesPerSampleForClass(clazz, target)); in fromClass()
40 public static MutableFrameFormat fromClass(Class clazz, int target) { in fromClass() argument
41 return fromClass(clazz, FrameFormat.SIZE_UNSPECIFIED, target); in fromClass()
56 private static int bytesPerSampleForClass(Class clazz, int target) { in bytesPerSampleForClass() argument
60 if (!NativeBuffer.class.isAssignableFrom(clazz)) { in bytesPerSampleForClass()
62 "NativeBuffer subclass! (Received class: " + clazz + ")."); in bytesPerSampleForClass()
65 return ((NativeBuffer)clazz.newInstance()).getElementSize(); in bytesPerSampleForClass()
68 + "native object-based frame of type " + clazz + "! Perhaps it is missing a " in bytesPerSampleForClass()

123456789