Searched refs:clazz (Results 1 - 25 of 247) sorted by relevance

12345678910

/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/tools/apilint/
H A Dapilint.py51 def __init__(self, clazz, raw, blame):
52 self.clazz = clazz
76 def __init__(self, clazz, raw, blame):
77 self.clazz = clazz
157 clazz = None
175 clazz = Class(pkg, raw, blame)
176 api[clazz.fullname] = clazz
[all...]
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp47 JNIEnv* env, jobject clazz, struct AConfiguration* out) {
48 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc);
49 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc);
50 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout);
51 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen);
52 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard);
53 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation);
55 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden);
56 int hardKeyboardHidden = env->GetIntField(clazz, gConfigurationClassInfo.hardKeyboardHidden);
61 out->inputFlags |= env->GetIntField(clazz, gConfigurationClassInf
46 android_Configuration_getFromJava( JNIEnv* env, jobject clazz, struct AConfiguration* out) argument
83 jclass clazz; local
[all...]
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_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_content_res_ObbScanner.cpp31 jclass clazz; member in struct:android::__anon789
39 static void android_content_res_ObbScanner_getObbInfo(JNIEnv* env, jobject clazz, jstring file, argument
87 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \
88 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
93 jclass clazz; local
94 FIND_CLASS(clazz, "android/content/res/ObbInfo");
96 GET_FIELD_ID(gObbInfoClassInfo.packageName, clazz,
98 GET_FIELD_ID(gObbInfoClassInfo.version, clazz,
100 GET_FIELD_ID(gObbInfoClassInfo.flags, clazz,
102 GET_FIELD_ID(gObbInfoClassInfo.salt, clazz,
[all...]
H A Dcom_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp31 static jlong createAccelerateDecelerateInterpolator(JNIEnv* env, jobject clazz) { argument
35 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { argument
39 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
43 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
47 static jlong createBounceInterpolator(JNIEnv* env, jobject clazz) { argument
51 static jlong createCycleInterpolator(JNIEnv* env, jobject clazz, jfloat cycles) { argument
55 static jlong createDecelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { argument
59 static jlong createLinearInterpolator(JNIEnv* env, jobject clazz) { argument
63 static jlong createOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
67 static jlong createLutInterpolator(JNIEnv* env, jobject clazz, jfloatArra argument
[all...]
H A Dandroid_view_KeyCharacterMap.cpp32 jclass clazz; member in struct:android::__anon848
37 jclass clazz; member in struct:android::__anon849
77 return env->NewObject(gKeyCharacterMapClassInfo.clazz, gKeyCharacterMapClassInfo.ctor,
81 static jlong nativeReadFromParcel(JNIEnv *env, jobject clazz, jobject parcelObj) { argument
101 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jlong ptr, jobject parcelObj) { argument
110 static void nativeDispose(JNIEnv *env, jobject clazz, jlong ptr) { argument
115 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jlong ptr, argument
121 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, argument
136 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) { argument
141 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jlon argument
157 nativeGetDisplayLabel(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) argument
162 nativeGetKeyboardType(JNIEnv *env, jobject clazz, jlong ptr) argument
167 nativeGetEvents(JNIEnv *env, jobject clazz, jlong ptr, jcharArray charsArray) argument
247 jclass clazz; local
[all...]
H A Dandroid_view_RenderNode.cpp52 jobject clazz, jlong renderNodePtr) {
58 jobject clazz, jlong renderNodePtr) {
63 static jlong android_view_RenderNode_create(JNIEnv* env, jobject clazz, jstring name) { argument
75 jobject clazz, jlong renderNodePtr) {
81 jobject clazz, jlong renderNodePtr, jlong newDataPtr) {
92 jobject clazz, jlong renderNodePtr, jint jlayerType) {
98 jobject clazz, jlong renderNodePtr, jlong paintPtr) {
104 jobject clazz, jlong renderNodePtr, jlong matrixPtr) {
110 jobject clazz, jlong renderNodePtr, jlong matrixPtr) {
116 jobject clazz, jlon
51 android_view_RenderNode_output(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
57 android_view_RenderNode_getDebugSize(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
74 android_view_RenderNode_destroyRenderNode(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
80 android_view_RenderNode_setDisplayListData(JNIEnv* env, jobject clazz, jlong renderNodePtr, jlong newDataPtr) argument
91 android_view_RenderNode_setLayerType(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint jlayerType) argument
97 android_view_RenderNode_setLayerPaint(JNIEnv* env, jobject clazz, jlong renderNodePtr, jlong paintPtr) argument
103 android_view_RenderNode_setStaticMatrix(JNIEnv* env, jobject clazz, jlong renderNodePtr, jlong matrixPtr) argument
109 android_view_RenderNode_setAnimationMatrix(JNIEnv* env, jobject clazz, jlong renderNodePtr, jlong matrixPtr) argument
115 android_view_RenderNode_setClipToBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jboolean clipToBounds) argument
120 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument
126 android_view_RenderNode_setClipBoundsEmpty(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
131 android_view_RenderNode_setProjectBackwards(JNIEnv* env, jobject clazz, jlong renderNodePtr, jboolean shouldProject) argument
136 android_view_RenderNode_setProjectionReceiver(JNIEnv* env, jobject clazz, jlong renderNodePtr, jboolean shouldRecieve) argument
141 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument
151 android_view_RenderNode_setOutlineConvexPath(JNIEnv* env, jobject clazz, jlong renderNodePtr, jlong outlinePathPtr, jfloat alpha) argument
160 android_view_RenderNode_setOutlineEmpty(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
168 android_view_RenderNode_setOutlineNone(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
176 android_view_RenderNode_hasShadow(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
182 android_view_RenderNode_setClipToOutline(JNIEnv* env, jobject clazz, jlong renderNodePtr, jboolean clipToOutline) argument
190 android_view_RenderNode_setRevealClip(JNIEnv* env, jobject clazz, jlong renderNodePtr, jboolean shouldClip, jfloat x, jfloat y, jfloat radius) argument
200 android_view_RenderNode_setAlpha(JNIEnv* env, jobject clazz, jlong renderNodePtr, float alpha) argument
205 android_view_RenderNode_setHasOverlappingRendering(JNIEnv* env, jobject clazz, jlong renderNodePtr, bool hasOverlappingRendering) argument
211 android_view_RenderNode_setElevation(JNIEnv* env, jobject clazz, jlong renderNodePtr, float elevation) argument
216 android_view_RenderNode_setTranslationX(JNIEnv* env, jobject clazz, jlong renderNodePtr, float tx) argument
221 android_view_RenderNode_setTranslationY(JNIEnv* env, jobject clazz, jlong renderNodePtr, float ty) argument
226 android_view_RenderNode_setTranslationZ(JNIEnv* env, jobject clazz, jlong renderNodePtr, float tz) argument
231 android_view_RenderNode_setRotation(JNIEnv* env, jobject clazz, jlong renderNodePtr, float rotation) argument
236 android_view_RenderNode_setRotationX(JNIEnv* env, jobject clazz, jlong renderNodePtr, float rx) argument
241 android_view_RenderNode_setRotationY(JNIEnv* env, jobject clazz, jlong renderNodePtr, float ry) argument
246 android_view_RenderNode_setScaleX(JNIEnv* env, jobject clazz, jlong renderNodePtr, float sx) argument
251 android_view_RenderNode_setScaleY(JNIEnv* env, jobject clazz, jlong renderNodePtr, float sy) argument
256 android_view_RenderNode_setPivotX(JNIEnv* env, jobject clazz, jlong renderNodePtr, float px) argument
261 android_view_RenderNode_setPivotY(JNIEnv* env, jobject clazz, jlong renderNodePtr, float py) argument
266 android_view_RenderNode_setCameraDistance(JNIEnv* env, jobject clazz, jlong renderNodePtr, float distance) argument
271 android_view_RenderNode_setLeft(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left) argument
276 android_view_RenderNode_setTop(JNIEnv* env, jobject clazz, jlong renderNodePtr, int top) argument
281 android_view_RenderNode_setRight(JNIEnv* env, jobject clazz, jlong renderNodePtr, int right) argument
286 android_view_RenderNode_setBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int bottom) argument
291 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
302 android_view_RenderNode_offsetLeftAndRight(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint offset) argument
307 android_view_RenderNode_offsetTopAndBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint offset) argument
316 android_view_RenderNode_hasOverlappingRendering(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
322 android_view_RenderNode_getClipToOutline(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
328 android_view_RenderNode_getAlpha(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
334 android_view_RenderNode_getCameraDistance(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
340 android_view_RenderNode_getScaleX(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
346 android_view_RenderNode_getScaleY(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
352 android_view_RenderNode_getElevation(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
358 android_view_RenderNode_getTranslationX(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
364 android_view_RenderNode_getTranslationY(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
370 android_view_RenderNode_getTranslationZ(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
376 android_view_RenderNode_getRotation(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
382 android_view_RenderNode_getRotationX(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
388 android_view_RenderNode_getRotationY(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
394 android_view_RenderNode_isPivotExplicitlySet(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
400 android_view_RenderNode_hasIdentityMatrix(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
411 android_view_RenderNode_getTransformMatrix(JNIEnv* env, jobject clazz, jlong renderNodePtr, jlong outMatrixPtr) argument
426 android_view_RenderNode_getInverseTransformMatrix(JNIEnv* env, jobject clazz, jlong renderNodePtr, jlong outMatrixPtr) argument
439 android_view_RenderNode_getPivotX(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
446 android_view_RenderNode_getPivotY(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
457 android_view_RenderNode_addAnimator(JNIEnv* env, jobject clazz, jlong renderNodePtr, jlong animatorPtr) argument
464 android_view_RenderNode_endAllAnimators(JNIEnv* env, jobject clazz, jlong renderNodePtr) argument
[all...]
H A Dandroid_util_Log.cpp74 static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level) argument
108 static jint android_util_Log_println_native(JNIEnv* env, jobject clazz, argument
148 jclass clazz = env->FindClass("android/util/Log"); local
150 if (clazz == NULL) {
155 levels.verbose = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "VERBOSE", "I"));
156 levels.debug = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "DEBUG", "I"));
157 levels.info = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "INF
[all...]
/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/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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dframetovalues.h31 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject grayBuffer );
35 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject rgbBuffer );
H A Dhistogram.h30 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject maskBuffer, jobject histogramBuffer );
34 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer, jint hBins, jint sBins);
38 JNIEnv* env, jclass clazz, jobject imageBuffer, jobject histogramBuffer,
H A Dbrightness.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dcolorspace.h31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
35 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
39 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
43 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
H A Dcontrast.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dexposure.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
33 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java84 Class<?> clazz = mClassLoader.loadClass(className);
86 addSingleTestMethod(clazz, methodName);
88 Method[] methods = clazz.getMethods();
91 addSingleTestMethod(clazz, method.getName());
105 protected void addSingleTestMethod(Class<?> clazz, String method) { argument
106 if (!(mFilter.accept(clazz))) {
110 TestCase testCase = (TestCase) clazz.newInstance();
114 mTestCases.add(error(clazz, "InstantiationException: could not instantiate " +
115 "test class. Class: " + clazz.getName()));
117 mTestCases.add(error(clazz, "IllegalAccessExceptio
122 error(Class<?> clazz, final String message) argument
150 accept(Class<?> clazz) argument
[all...]
/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_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
/frameworks/base/include/android_runtime/
H A Dandroid_content_res_Configuration.h31 JNIEnv* env, jobject clazz, struct AConfiguration* out);

Completed in 315 milliseconds

12345678910