Home
last modified time | relevance | path

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

12345678910>>...17

/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp37 static int nativeAddOrUpdateStream(JNIEnv* env, jclass clazz, in nativeAddOrUpdateStream() argument
50 static int nativeRemoveStream(JNIEnv* env, jclass clazz, in nativeRemoveStream() argument
56 static jobjectArray nativeGetStreamConfigs(JNIEnv* env, jclass clazz, in nativeGetStreamConfigs() argument
61 jobjectArray result = env->NewObjectArray(configs.size(), gTvStreamConfigClassInfo.clazz, NULL); in nativeGetStreamConfigs()
64 gTvStreamConfigBuilderClassInfo.clazz, in nativeGetStreamConfigs()
88 static int nativeSetTvMessageEnabled(JNIEnv* env, jclass clazz, jlong ptr, jint deviceId, in nativeSetTvMessageEnabled() argument
94 static void nativeClose(JNIEnv* env, jclass clazz, jlong ptr) { in nativeClose() argument
114 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument
115 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
124 jclass clazz; in register_android_server_tv_TvInputHal() local
[all …]
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp49 JNIEnv* env, jobject clazz, struct AConfiguration* out) { in android_Configuration_getFromJava() argument
50 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc); in android_Configuration_getFromJava()
51 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc); in android_Configuration_getFromJava()
52 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); in android_Configuration_getFromJava()
53 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen); in android_Configuration_getFromJava()
54 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard); in android_Configuration_getFromJava()
55 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation); in android_Configuration_getFromJava()
57 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden); in android_Configuration_getFromJava()
58 int hardKeyboardHidden = env->GetIntField(clazz, gConfigurationClassInfo.hardKeyboardHidden); in android_Configuration_getFromJava()
63 out->inputFlags |= env->GetIntField(clazz, gConfigurationClassInfo.navigationHidden) in android_Configuration_getFromJava()
[all …]
Dandroid_util_Log.cpp49 static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level) in android_util_Log_isLoggable() argument
74 static jint android_util_Log_println_native(JNIEnv* env, jobject clazz, in android_util_Log_println_native() argument
108 jobject clazz ATTRIBUTE_UNUSED) in android_util_Log_logger_entry_max_payload_native()
125 jclass clazz = FindClassOrDie(env, "android/util/Log"); in register_android_util_Log() local
127 … levels.verbose = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "VERBOSE", "I")); in register_android_util_Log()
128 levels.debug = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "DEBUG", "I")); in register_android_util_Log()
129 levels.info = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "INFO", "I")); in register_android_util_Log()
130 levels.warn = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "WARN", "I")); in register_android_util_Log()
131 levels.error = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "ERROR", "I")); in register_android_util_Log()
132 levels.assert = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "ASSERT", "I")); in register_android_util_Log()
Dandroid_hardware_display_DisplayViewport.cpp34 jclass clazz; member
104 jclass clazz = FindClassOrDie(env, "android/hardware/display/DisplayViewport"); in register_android_hardware_display_DisplayViewport() local
105 gDisplayViewportClassInfo.clazz = MakeGlobalRefOrDie(env, clazz); in register_android_hardware_display_DisplayViewport()
108 gDisplayViewportClassInfo.clazz, "displayId", "I"); in register_android_hardware_display_DisplayViewport()
111 GetFieldIDOrDie(env, gDisplayViewportClassInfo.clazz, "isActive", "Z"); in register_android_hardware_display_DisplayViewport()
114 gDisplayViewportClassInfo.clazz, "orientation", "I"); in register_android_hardware_display_DisplayViewport()
117 gDisplayViewportClassInfo.clazz, "deviceWidth", "I"); in register_android_hardware_display_DisplayViewport()
120 gDisplayViewportClassInfo.clazz, "deviceHeight", "I"); in register_android_hardware_display_DisplayViewport()
123 gDisplayViewportClassInfo.clazz, "logicalFrame", "Landroid/graphics/Rect;"); in register_android_hardware_display_DisplayViewport()
126 gDisplayViewportClassInfo.clazz, "physicalFrame", "Landroid/graphics/Rect;"); in register_android_hardware_display_DisplayViewport()
[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_window_WindowInfosListener.cpp40 jclass clazz; member
45 jclass clazz; member
50 jclass clazz; member
62 return env->NewObject(gDisplayInfoClassInfo.clazz, gDisplayInfoClassInfo.ctor, in fromDisplayInfo()
82 env->NewObjectArray(displayInfos.size(), gDisplayInfoClassInfo.clazz, nullptr); in fromDisplayInfos()
131 jlong nativeCreate(JNIEnv* env, jclass clazz, jobject obj) { in nativeCreate() argument
143 jobject nativeRegister(JNIEnv* env, jclass clazz, jlong ptr) { in nativeRegister() argument
151 return env->NewObject(gPairClassInfo.clazz, gPairClassInfo.ctor, jWindowHandlesArray.get(), in nativeRegister()
155 void nativeUnregister(JNIEnv* env, jclass clazz, jlong ptr) { in nativeUnregister() argument
178 jclass clazz = env->FindClass("android/window/WindowInfosListener"); in register_android_window_WindowInfosListener() local
[all …]
Dandroid_view_KeyCharacterMap.cpp35 jclass clazz; member
40 jclass clazz; member
75 return env->NewObject(gKeyCharacterMapClassInfo.clazz, gKeyCharacterMapClassInfo.ctor, in android_view_KeyCharacterMap_create()
83 static jlong nativeReadFromParcel(JNIEnv *env, jobject clazz, jobject parcelObj) { in nativeReadFromParcel() argument
106 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jlong ptr, jobject parcelObj) { in nativeWriteToParcel() argument
121 static void nativeDispose(JNIEnv *env, jobject clazz, jlong ptr) { in nativeDispose() argument
127 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jlong ptr, in nativeGetCharacter() argument
136 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetFallbackAction() argument
155 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { in nativeGetNumber() argument
164 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, in nativeGetMatch() argument
[all …]
Dandroid_hardware_input_InputWindowHandle.cpp51 jclass clazz; member
81 jclass clazz; member
266 env->NewObject(gInputWindowHandleClassInfo.clazz, gInputWindowHandleClassInfo.ctor, in android_view_InputWindowHandle_fromWindowInfo()
303 env->NewObject(gRegionClassInfo.clazz, gRegionClassInfo.ctor, in android_view_InputWindowHandle_fromWindowInfo()
361 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
362 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
365 #define GET_METHOD_ID(var, clazz, methodName, methodSignature) \ argument
366 var = env->GetMethodID(clazz, methodName, methodSignature); \
375 jclass clazz; in register_android_view_InputWindowHandle() local
376 FIND_CLASS(clazz, "android/view/InputWindowHandle"); in register_android_view_InputWindowHandle()
[all …]
Dandroid_view_KeyEvent.cpp74 jclass clazz; member
100 env->CallStaticObjectMethod(gKeyEventClassInfo.clazz, gKeyEventClassInfo.obtain, in android_view_KeyEvent_fromNative()
152 static jstring android_view_KeyEvent_nativeKeyCodeToString(JNIEnv* env, jobject clazz, in android_view_KeyEvent_nativeKeyCodeToString() argument
157 static jint android_view_KeyEvent_nativeKeyCodeFromString(JNIEnv* env, jobject clazz, in android_view_KeyEvent_nativeKeyCodeFromString() argument
178 jclass clazz = FindClassOrDie(env, "android/view/KeyEvent"); in register_android_view_KeyEvent() local
179 gKeyEventClassInfo.clazz = MakeGlobalRefOrDie(env, clazz); in register_android_view_KeyEvent()
182 GetStaticMethodIDOrDie(env, gKeyEventClassInfo.clazz, "obtain", in register_android_view_KeyEvent()
184 gKeyEventClassInfo.recycle = GetMethodIDOrDie(env, gKeyEventClassInfo.clazz, in register_android_view_KeyEvent()
187 gKeyEventClassInfo.mId = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mId", "I"); in register_android_view_KeyEvent()
188 gKeyEventClassInfo.mDeviceId = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mDeviceId", "I"); in register_android_view_KeyEvent()
[all …]
Dandroid_view_DisplayEventReceiver.cpp37 jclass clazz; member
45 jclass clazz; member
50 jclass clazz; member
60 jclass clazz; member
133 .frameTimelineClassInfo.clazz, in createJavaVsyncEventData()
146 .frameTimelineClassInfo.clazz, in createJavaVsyncEventData()
160 return env->NewObject(gDisplayEventReceiverClassInfo.vsyncEventDataClassInfo.clazz, in createJavaVsyncEventData()
256 gDisplayEventReceiverClassInfo.frameRateOverrideClassInfo.clazz; in dispatchFrameRateOverrides()
279 static jlong nativeInit(JNIEnv* env, jclass clazz, jobject receiverWeak, jobject vsyncEventDataWeak, in nativeInit() argument
299 receiver->incStrong(gDisplayEventReceiverClassInfo.clazz); // retain a reference for the object in nativeInit()
[all …]
Dandroid_hardware_input_InputApplicationHandle.cpp31 jclass clazz; member
110 return env->NewObject(gInputApplicationHandleClassInfo.clazz, in android_view_InputApplicationHandle_fromInputApplicationInfo()
141 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
142 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
145 #define GET_METHOD_ID(var, clazz, methodName, methodSignature) \ argument
146 var = env->GetMethodID(clazz, methodName, methodSignature); \
155 jclass clazz; in register_android_view_InputApplicationHandle() local
156 FIND_CLASS(clazz, "android/view/InputApplicationHandle"); in register_android_view_InputApplicationHandle()
157 gInputApplicationHandleClassInfo.clazz = MakeGlobalRefOrDie(env, clazz); in register_android_view_InputApplicationHandle()
159 GET_METHOD_ID(gInputApplicationHandleClassInfo.ctor, clazz, "<init>", in register_android_view_InputApplicationHandle()
[all …]
Dandroid_os_Parcel.cpp65 jclass clazz; member
85 return env->CallStaticObjectMethod(gParcelOffsets.clazz, gParcelOffsets.obtain); in createJavaParcelObject()
101 static void android_os_Parcel_markForBinder(JNIEnv* env, jclass clazz, jlong nativePtr, in android_os_Parcel_markForBinder() argument
148 static void android_os_Parcel_setDataSize(JNIEnv* env, jclass clazz, jlong nativePtr, jint size) in android_os_Parcel_setDataSize() argument
154 signalExceptionForError(env, clazz, err); in android_os_Parcel_setDataSize()
167 static void android_os_Parcel_setDataCapacity(JNIEnv* env, jclass clazz, jlong nativePtr, jint size) in android_os_Parcel_setDataCapacity() argument
173 signalExceptionForError(env, clazz, err); in android_os_Parcel_setDataCapacity()
196 static void android_os_Parcel_writeByteArray(JNIEnv* env, jclass clazz, jlong nativePtr, in android_os_Parcel_writeByteArray() argument
206 signalExceptionForError(env, clazz, err); in android_os_Parcel_writeByteArray()
212 signalExceptionForError(env, clazz, NO_MEMORY); in android_os_Parcel_writeByteArray()
[all …]
Dandroid_view_Surface.cpp57 jclass clazz; member
94 return env->IsInstanceOf(obj, gSurfaceClassInfo.clazz); in android_view_Surface_isInstanceOf()
115 jobject surfaceObj = env->NewObject(gSurfaceClassInfo.clazz, in android_view_Surface_createFromSurface()
147 static jlong nativeCreateFromSurfaceTexture(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceTexture() argument
166 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease() argument
171 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsValid() argument
176 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsConsumerRunningBehind() argument
188 static jlong nativeLockCanvas(JNIEnv* env, jclass clazz, in nativeLockCanvas() argument
243 static void nativeUnlockCanvasAndPost(JNIEnv* env, jclass clazz, in nativeUnlockCanvasAndPost() argument
273 static jlong nativeCreateFromSurfaceControl(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceControl() argument
[all …]
/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DDexBuilderTest.java47 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in return5() local
48 Method method = clazz.getMethod("return5"); in return5()
55 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnInteger5() local
56 Method method = clazz.getMethod("returnInteger5"); in returnInteger5()
63 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnParam() local
64 Method method = clazz.getMethod("returnParam", int.class); in returnParam()
72 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnStringLength() local
73 Method method = clazz.getMethod("returnStringLength", String.class); in returnStringLength()
80 Class clazz = loader.loadClass("android.startop.test.testcases.SimpleTests"); in returnIfZero() local
81 Method method = clazz.getMethod("returnIfZero", int.class); in returnIfZero()
[all …]
/frameworks/base/media/jni/
Dandroid_media_SyncParams.cpp29 clazz = (jclass)env->NewGlobalRef(lclazz); in init()
30 if (clazz == NULL) { in init()
34 constructID = env->GetMethodID(clazz, "<init>", "()V"); in init()
36 sync_source = env->GetFieldID(clazz, "mSyncSource", "I"); in init()
37 audio_adjust_mode = env->GetFieldID(clazz, "mAudioAdjustMode", "I"); in init()
38 tolerance = env->GetFieldID(clazz, "mTolerance", "F"); in init()
39 frame_rate = env->GetFieldID(clazz, "mFrameRate", "F"); in init()
40 set = env->GetFieldID(clazz, "mSet", "I"); in init()
43 env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "SET_SYNC_SOURCE", "I")); in init()
45 clazz, env->GetStaticFieldID(clazz, "SET_AUDIO_ADJUST_MODE", "I")); in init()
[all …]
Dandroid_media_PlaybackParams.h33 jclass clazz; member
52 clazz = (jclass)env->NewGlobalRef(lclazz); in init()
53 if (clazz == NULL) { in init()
57 constructID = env->GetMethodID(clazz, "<init>", "()V"); in init()
59 speed = env->GetFieldID(clazz, "mSpeed", "F"); in init()
60 pitch = env->GetFieldID(clazz, "mPitch", "F"); in init()
61 audio_fallback_mode = env->GetFieldID(clazz, "mAudioFallbackMode", "I"); in init()
62 audio_stretch_mode = env->GetFieldID(clazz, "mAudioStretchMode", "I"); in init()
63 set = env->GetFieldID(clazz, "mSet", "I"); in init()
66 env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "SET_SPEED", "I")); in init()
[all …]
Dandroid_media_MediaDrm.cpp51 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
52 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
55 #define GET_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
56 var = env->GetMethodID(clazz, fieldName, fieldDescriptor); \
59 #define GET_STATIC_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
60 var = env->GetStaticFieldID(clazz, fieldName, fieldDescriptor); \
63 #define GET_STATIC_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
64 var = env->GetStaticMethodID(clazz, fieldName, fieldDescriptor); \
67 #define GET_STATIC_OBJECT_FIELD(var, clazz, fieldId) \ argument
68 var = env->GetStaticObjectField(clazz, fieldId); \
[all …]
Dandroid_media_BufferingParams.h29 jclass clazz; member
41 clazz = (jclass)env->NewGlobalRef(lclazz); in init()
42 if (clazz == NULL) { in init()
46 constructID = env->GetMethodID(clazz, "<init>", "()V"); in init()
48 initial_mark_ms = env->GetFieldID(clazz, "mInitialMarkMs", "I"); in init()
49 resume_playback_mark_ms = env->GetFieldID(clazz, "mResumePlaybackMarkMs", "I"); in init()
55 env->DeleteGlobalRef(clazz); in exit()
56 clazz = NULL; in exit()
68 jobject params = env->NewObject(fields.clazz, fields.constructID); in asJobject()
/frameworks/base/cmds/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/tools/apilint/
Ddeprecated_at_birth.py58 def __init__(self, clazz, line, raw, blame): argument
59 self.clazz = clazz
87 def __init__(self, clazz, line, raw, blame): argument
88 self.clazz = clazz
181 clazz = None
198 clazz = Class(pkg, line, raw, blame)
199 api[clazz.fullname] = clazz
201 clazz.ctors.append(Method(clazz, line, raw, blame))
203 clazz.methods.append(Method(clazz, line, raw, blame))
205 clazz.fields.append(Field(clazz, line, raw, blame))
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationVisitUrisTest.java282 private static Object generateObject(Class<?> clazz, Location where, in generateObject() argument
284 if (excludingClasses.contains(clazz)) { in generateObject()
287 clazz, excludingClasses)); in generateObject()
290 if (SpecialParameterGenerator.canGenerate(clazz)) { in generateObject()
291 return specialGenerator.generate(clazz, where); in generateObject()
293 if (clazz.isEnum()) { in generateObject()
294 return clazz.getEnumConstants()[0]; in generateObject()
296 if (clazz.isArray()) { in generateObject()
297 Object arrayValue = Array.newInstance(clazz.getComponentType(), NUM_ELEMENTS_IN_ARRAY); in generateObject()
300 generateObject(clazz.getComponentType(), where, excludingClasses, in generateObject()
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_animation_RenderNodeAnimator.cpp30 jclass clazz; member
73 gRenderNodeAnimatorClassInfo.clazz, in onAnimationFinished()
103 static jlong createAnimator(JNIEnv* env, jobject clazz, in createAnimator() argument
111 static jlong createCanvasPropertyFloatAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyFloatAnimator() argument
119 static jlong createCanvasPropertyPaintAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyPaintAnimator() argument
130 static jlong createRevealAnimator(JNIEnv* env, jobject clazz, in createRevealAnimator() argument
137 static void setStartValue(JNIEnv* env, jobject clazz, jlong animatorPtr, jfloat startValue) { in setStartValue() argument
142 static void setDuration(JNIEnv* env, jobject clazz, jlong animatorPtr, jlong duration) { in setDuration() argument
148 static jlong getDuration(JNIEnv* env, jobject clazz, jlong animatorPtr) { in getDuration() argument
153 static void setStartDelay(JNIEnv* env, jobject clazz, jlong animatorPtr, jlong startDelay) { in setStartDelay() argument
[all …]
Dgraphics_jni_helpers.h43 jclass clazz = env->FindClass(class_name); in FindClassOrDie() local
44 LOG_ALWAYS_FATAL_IF(clazz == NULL, "Unable to find class %s", class_name); in FindClassOrDie()
45 return clazz; in FindClassOrDie()
48 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie() argument
50 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie()
55 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie() argument
57 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIDOrDie()
62 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie() argument
64 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); in GetStaticFieldIDOrDie()
69 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie() argument
[all …]
/frameworks/ex/framesequence/jni/
DFrameSequenceJNI.cpp27 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 nativeDecodeByteBuffer(JNIEnv* env, jobject clazz, in nativeDecodeByteBuffer() argument
77 static jobject nativeDecodeStream(JNIEnv* env, jobject clazz, in nativeDecodeStream() argument
84 static void nativeDestroyFrameSequence(JNIEnv* env, jobject clazz, in nativeDestroyFrameSequence() argument
94 static jlong nativeCreateState(JNIEnv* env, jobject clazz, jlong frameSequenceLong) { in nativeCreateState() argument
105 JNIEnv* env, jobject clazz, jlong frameSequenceStateLong) { in nativeDestroyState() argument
118 JNIEnv* env, jobject clazz, jlong frameSequenceStateLong, jint frameNr, in nativeGetFrame() argument
178 gFrameSequenceClassInfo.clazz = env->FindClass(JNI_PACKAGE "/FrameSequence"); in FrameSequence_OnLoad()
[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()

12345678910>>...17