/frameworks/base/tools/apilint/ |
D | apilint.py | 51 def __init__(self, clazz, raw, blame): argument 52 self.clazz = clazz 76 def __init__(self, clazz, raw, blame): argument 77 self.clazz = clazz 157 clazz = None 175 clazz = Class(pkg, raw, blame) 176 api[clazz.fullname] = clazz 178 clazz.ctors.append(Method(clazz, raw, blame)) 180 clazz.methods.append(Method(clazz, raw, blame)) 182 clazz.fields.append(Field(clazz, raw, blame)) [all …]
|
/frameworks/base/core/jni/ |
D | android_content_res_Configuration.cpp | 47 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 …]
|
D | android_view_RenderNode.cpp | 52 jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_output() argument 58 jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_getDebugSize() argument 63 static jlong android_view_RenderNode_create(JNIEnv* env, jobject clazz, jstring name) { in android_view_RenderNode_create() argument 75 jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_destroyRenderNode() argument 81 jobject clazz, jlong renderNodePtr, jlong newDataPtr) { in android_view_RenderNode_setDisplayListData() argument 92 jobject clazz, jlong renderNodePtr, jint jlayerType) { in android_view_RenderNode_setLayerType() argument 98 jobject clazz, jlong renderNodePtr, jlong paintPtr) { in android_view_RenderNode_setLayerPaint() argument 104 jobject clazz, jlong renderNodePtr, jlong matrixPtr) { in android_view_RenderNode_setStaticMatrix() argument 110 jobject clazz, jlong renderNodePtr, jlong matrixPtr) { in android_view_RenderNode_setAnimationMatrix() argument 116 jobject clazz, jlong renderNodePtr, jboolean clipToBounds) { in android_view_RenderNode_setClipToBounds() argument [all …]
|
D | android_os_Parcel.cpp | 63 jclass clazz; member 83 return env->CallStaticObjectMethod(gParcelOffsets.clazz, gParcelOffsets.obtain); in createJavaParcelObject() 91 static jint android_os_Parcel_dataSize(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataSize() argument 97 static jint android_os_Parcel_dataAvail(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataAvail() argument 103 static jint android_os_Parcel_dataPosition(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataPosition() argument 109 static jint android_os_Parcel_dataCapacity(JNIEnv* env, jclass clazz, jlong nativePtr) in android_os_Parcel_dataCapacity() argument 115 static void android_os_Parcel_setDataSize(JNIEnv* env, jclass clazz, jlong 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, jlong nativePtr, jint pos) in android_os_Parcel_setDataPosition() argument 134 static void android_os_Parcel_setDataCapacity(JNIEnv* env, jclass clazz, jlong nativePtr, jint size) in android_os_Parcel_setDataCapacity() argument [all …]
|
D | android_view_KeyEvent.cpp | 33 jclass clazz; member 54 jobject eventObj = env->CallStaticObjectMethod(gKeyEventClassInfo.clazz, in android_view_KeyEvent_fromNative() 106 static jstring android_view_KeyEvent_nativeKeyCodeToString(JNIEnv* env, jobject clazz, in android_view_KeyEvent_nativeKeyCodeToString() argument 111 static jint android_view_KeyEvent_nativeKeyCodeFromString(JNIEnv* env, jobject clazz, in android_view_KeyEvent_nativeKeyCodeFromString() argument 132 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 133 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \ 136 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 137 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \ 140 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 141 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ [all …]
|
D | android_view_KeyCharacterMap.cpp | 32 jclass clazz; member 37 jclass clazz; member 77 return env->NewObject(gKeyCharacterMapClassInfo.clazz, gKeyCharacterMapClassInfo.ctor, in android_view_KeyCharacterMap_create() 81 static jlong nativeReadFromParcel(JNIEnv *env, jobject clazz, jobject parcelObj) { in nativeReadFromParcel() argument 101 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jlong ptr, jobject parcelObj) { in nativeWriteToParcel() argument 110 static void nativeDispose(JNIEnv *env, jobject clazz, jlong ptr) { in nativeDispose() argument 115 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jlong ptr, in nativeGetCharacter() argument 121 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetFallbackAction() argument 136 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetNumber() argument 141 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetMatch() argument [all …]
|
D | BindTest.cpp | 38 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 …]
|
D | android_util_Log.cpp | 74 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()
|
D | android_view_MotionEvent.cpp | 37 jclass clazz; member 81 jobject eventObj = env->CallStaticObjectMethod(gMotionEventClassInfo.clazz, in android_view_MotionEvent_obtainAsCopy() 333 static jlong android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeInitialize() argument 385 static jlong android_view_MotionEvent_nativeCopy(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeCopy() argument 396 static void android_view_MotionEvent_nativeDispose(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeDispose() argument 402 static void android_view_MotionEvent_nativeAddBatch(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeAddBatch() argument 428 static jint android_view_MotionEvent_nativeGetDeviceId(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeGetDeviceId() argument 434 static jint android_view_MotionEvent_nativeGetSource(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeGetSource() argument 440 static void android_view_MotionEvent_nativeSetSource(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeSetSource() argument 446 static jint android_view_MotionEvent_nativeGetAction(JNIEnv* env, jclass clazz, in android_view_MotionEvent_nativeGetAction() argument [all …]
|
D | android_view_PointerIcon.cpp | 31 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 …]
|
D | android_view_RenderNodeAnimator.cpp | 33 jclass clazz; member 78 gRenderNodeAnimatorClassInfo.clazz, in onAnimationFinished() 108 static jlong createAnimator(JNIEnv* env, jobject clazz, in createAnimator() argument 116 static jlong createCanvasPropertyFloatAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyFloatAnimator() argument 124 static jlong createCanvasPropertyPaintAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyPaintAnimator() argument 135 static jlong createRevealAnimator(JNIEnv* env, jobject clazz, in createRevealAnimator() argument 142 static void setStartValue(JNIEnv* env, jobject clazz, jlong animatorPtr, jfloat startValue) { in setStartValue() argument 147 static void setDuration(JNIEnv* env, jobject clazz, jlong animatorPtr, jlong duration) { in setDuration() argument 153 static jlong getDuration(JNIEnv* env, jobject clazz, jlong animatorPtr) { in getDuration() argument 158 static void setStartDelay(JNIEnv* env, jobject clazz, jlong animatorPtr, jlong startDelay) { in setStartDelay() argument [all …]
|
D | android_view_Surface.cpp | 63 jclass clazz; member 87 return env->IsInstanceOf(obj, gSurfaceClassInfo.clazz); in android_view_Surface_isInstanceOf() 118 jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz, in android_view_Surface_createFromIGraphicBufferProducer() 140 static jlong nativeCreateFromSurfaceTexture(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceTexture() argument 159 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease() argument 164 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsValid() argument 169 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsConsumerRunningBehind() argument 195 static jlong nativeLockCanvas(JNIEnv* env, jclass clazz, in nativeLockCanvas() argument 268 static void nativeUnlockCanvasAndPost(JNIEnv* env, jclass clazz, in nativeUnlockCanvasAndPost() argument 297 static jlong nativeCreateFromSurfaceControl(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceControl() argument [all …]
|
D | android_server_FingerprintManager.cpp | 32 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 33 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \ 36 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 37 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \ 40 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 41 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 50 jclass clazz; member 104 static void nativeInit(JNIEnv *env, jobject clazz, jobject callbackObj) { in nativeInit() argument 106 FIND_CLASS(gFingerprintServiceClassInfo.clazz, FINGERPRINT_SERVICE); in nativeInit() 107 GET_METHOD_ID(gFingerprintServiceClassInfo.notify, gFingerprintServiceClassInfo.clazz, in nativeInit() [all …]
|
D | com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp | 31 static jlong createAccelerateDecelerateInterpolator(JNIEnv* env, jobject clazz) { in createAccelerateDecelerateInterpolator() argument 35 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createAccelerateInterpolator() argument 39 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateInterpolator() argument 43 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateOvershootInterpolator() argument 47 static jlong createBounceInterpolator(JNIEnv* env, jobject clazz) { in createBounceInterpolator() argument 51 static jlong createCycleInterpolator(JNIEnv* env, jobject clazz, jfloat cycles) { in createCycleInterpolator() argument 55 static jlong createDecelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createDecelerateInterpolator() argument 59 static jlong createLinearInterpolator(JNIEnv* env, jobject clazz) { in createLinearInterpolator() argument 63 static jlong createOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createOvershootInterpolator() argument 67 static jlong createLutInterpolator(JNIEnv* env, jobject clazz, jfloatArray jlut) { in createLutInterpolator() argument
|
D | android_content_res_ObbScanner.cpp | 31 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()
|
D | android_view_SurfaceControl.cpp | 55 jclass clazz; member 93 static jlong nativeCreate(JNIEnv* env, jclass clazz, jobject sessionObj, in nativeCreate() argument 107 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease() argument 112 static void nativeDestroy(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeDestroy() argument 118 static jobject nativeScreenshotBitmap(JNIEnv* env, jclass clazz, in nativeScreenshotBitmap() argument 191 static void nativeScreenshot(JNIEnv* env, jclass clazz, jobject displayTokenObj, in nativeScreenshot() argument 216 static void nativeOpenTransaction(JNIEnv* env, jclass clazz) { in nativeOpenTransaction() argument 220 static void nativeCloseTransaction(JNIEnv* env, jclass clazz) { in nativeCloseTransaction() argument 224 static void nativeSetAnimationTransaction(JNIEnv* env, jclass clazz) { in nativeSetAnimationTransaction() argument 228 static void nativeSetLayer(JNIEnv* env, jclass clazz, jlong nativeObject, jint zorder) { in nativeSetLayer() argument [all …]
|
D | android_view_GraphicBuffer.cpp | 113 static jlong android_view_GraphiceBuffer_create(JNIEnv* env, jobject clazz, in android_view_GraphiceBuffer_create() argument 134 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 247 static jlong android_view_GraphiceBuffer_read(JNIEnv* env, jobject clazz, in android_view_GraphiceBuffer_read() argument 284 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 285 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 288 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 289 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 310 jclass clazz; in register_android_view_GraphicBuffer() local 311 FIND_CLASS(clazz, "android/view/GraphicBuffer"); in register_android_view_GraphicBuffer() [all …]
|
D | android_database_SQLiteDebug.cpp | 39 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()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | TestCaseCollector.java | 84 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/core/jni/ |
D | com_android_server_input_InputWindowHandle.cpp | 223 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 224 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 232 jclass clazz; in register_android_server_InputWindowHandle() local 233 FIND_CLASS(clazz, "com/android/server/input/InputWindowHandle"); in register_android_server_InputWindowHandle() 235 GET_FIELD_ID(gInputWindowHandleClassInfo.ptr, clazz, in register_android_server_InputWindowHandle() 239 clazz, in register_android_server_InputWindowHandle() 242 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, in register_android_server_InputWindowHandle() 245 GET_FIELD_ID(gInputWindowHandleClassInfo.name, clazz, in register_android_server_InputWindowHandle() 248 GET_FIELD_ID(gInputWindowHandleClassInfo.layoutParamsFlags, clazz, in register_android_server_InputWindowHandle() 251 GET_FIELD_ID(gInputWindowHandleClassInfo.layoutParamsType, clazz, in register_android_server_InputWindowHandle() [all …]
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 432 jclass clazz; in register_android_mtp_MtpDevice() local 436 clazz = env->FindClass("android/mtp/MtpDeviceInfo"); in register_android_mtp_MtpDevice() 437 if (clazz == NULL) { in register_android_mtp_MtpDevice() 441 constructor_deviceInfo = env->GetMethodID(clazz, "<init>", "()V"); in register_android_mtp_MtpDevice() 446 field_deviceInfo_manufacturer = env->GetFieldID(clazz, "mManufacturer", "Ljava/lang/String;"); in register_android_mtp_MtpDevice() 451 field_deviceInfo_model = env->GetFieldID(clazz, "mModel", "Ljava/lang/String;"); in register_android_mtp_MtpDevice() 456 field_deviceInfo_version = env->GetFieldID(clazz, "mVersion", "Ljava/lang/String;"); in register_android_mtp_MtpDevice() 461 field_deviceInfo_serialNumber = env->GetFieldID(clazz, "mSerialNumber", "Ljava/lang/String;"); in register_android_mtp_MtpDevice() 466 clazz_deviceInfo = (jclass)env->NewGlobalRef(clazz); in register_android_mtp_MtpDevice() 468 clazz = env->FindClass("android/mtp/MtpStorageInfo"); in register_android_mtp_MtpDevice() [all …]
|
D | android_media_MediaDrm.cpp | 42 #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); \ 156 jclass clazz = env->GetObjectClass(thiz); in JNIDrmListener() local 157 if (clazz == NULL) { in JNIDrmListener() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Matrix.cpp | 34 static void finalizer(JNIEnv* env, jobject clazz, jlong objHandle) { in finalizer() argument 39 static jlong create(JNIEnv* env, jobject clazz, jlong srcHandle) { in create() argument 49 static jboolean isIdentity(JNIEnv* env, jobject clazz, jlong objHandle) { in isIdentity() argument 54 static jboolean isAffine(JNIEnv* env, jobject clazz, jlong objHandle) { in isAffine() argument 59 static jboolean rectStaysRect(JNIEnv* env, jobject clazz, jlong objHandle) { in rectStaysRect() argument 64 static void reset(JNIEnv* env, jobject clazz, jlong objHandle) { in reset() argument 68 static void set(JNIEnv* env, jobject clazz, jlong objHandle, jlong otherHandle) { in set() argument 73 static void setTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { in setTranslate() argument 77 …static void setScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jflo… in setScale__FFFF() argument 81 static void setScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { in setScale__FF() argument [all …]
|
/frameworks/ex/framesequence/jni/ |
D | FrameSequenceJNI.cpp | 27 jclass clazz; member 39 return env->NewObject(gFrameSequenceClassInfo.clazz, gFrameSequenceClassInfo.ctor, in createJavaFrameSequence() 48 static jobject nativeDecodeByteArray(JNIEnv* env, jobject clazz, in nativeDecodeByteArray() argument 62 static jobject nativeDecodeStream(JNIEnv* env, jobject clazz, in nativeDecodeStream() argument 69 static void nativeDestroyFrameSequence(JNIEnv* env, jobject clazz, in nativeDestroyFrameSequence() argument 75 static jlong nativeCreateState(JNIEnv* env, jobject clazz, jlong frameSequenceLong) { in nativeCreateState() argument 86 JNIEnv* env, jobject clazz, jlong frameSequenceStateLong) { in nativeDestroyState() argument 93 JNIEnv* env, jobject clazz, jlong frameSequenceStateLong, jint frameNr, in nativeGetFrame() argument 151 gFrameSequenceClassInfo.clazz = env->FindClass(JNI_PACKAGE "/FrameSequence"); in FrameSequence_OnLoad() 152 if (!gFrameSequenceClassInfo.clazz) { in FrameSequence_OnLoad() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
D | ObjectFormat.java | 29 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()
|