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

123456789

/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
92 jclass clazz; local
[all...]
H A Dandroid_view_GLES20DisplayList.cpp45 jobject clazz, DisplayList* displayList) {
50 jobject clazz, DisplayList* displayList) {
55 jobject clazz, DisplayList* displayList, jstring name) {
64 jobject clazz, DisplayList* displayList) {
73 jobject clazz, DisplayList* displayList, jboolean caching) {
78 jobject clazz, DisplayList* displayList, SkMatrix* matrix) {
83 jobject clazz, DisplayList* displayList, SkMatrix* matrix) {
88 jobject clazz, DisplayList* displayList, jboolean clipToBounds) {
93 jobject clazz, DisplayList* displayList, float alpha) {
98 jobject clazz, DisplayLis
44 android_view_GLES20DisplayList_reset(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
49 android_view_GLES20DisplayList_getDisplayListSize(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
54 android_view_GLES20DisplayList_setDisplayListName(JNIEnv* env, jobject clazz, DisplayList* displayList, jstring name) argument
63 android_view_GLES20DisplayList_destroyDisplayList(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
72 android_view_GLES20DisplayList_setCaching(JNIEnv* env, jobject clazz, DisplayList* displayList, jboolean caching) argument
77 android_view_GLES20DisplayList_setStaticMatrix(JNIEnv* env, jobject clazz, DisplayList* displayList, SkMatrix* matrix) argument
82 android_view_GLES20DisplayList_setAnimationMatrix(JNIEnv* env, jobject clazz, DisplayList* displayList, SkMatrix* matrix) argument
87 android_view_GLES20DisplayList_setClipToBounds(JNIEnv* env, jobject clazz, DisplayList* displayList, jboolean clipToBounds) argument
92 android_view_GLES20DisplayList_setAlpha(JNIEnv* env, jobject clazz, DisplayList* displayList, float alpha) argument
97 android_view_GLES20DisplayList_setHasOverlappingRendering(JNIEnv* env, jobject clazz, DisplayList* displayList, bool hasOverlappingRendering) argument
102 android_view_GLES20DisplayList_setTranslationX(JNIEnv* env, jobject clazz, DisplayList* displayList, float tx) argument
107 android_view_GLES20DisplayList_setTranslationY(JNIEnv* env, jobject clazz, DisplayList* displayList, float ty) argument
112 android_view_GLES20DisplayList_setRotation(JNIEnv* env, jobject clazz, DisplayList* displayList, float rotation) argument
117 android_view_GLES20DisplayList_setRotationX(JNIEnv* env, jobject clazz, DisplayList* displayList, float rx) argument
122 android_view_GLES20DisplayList_setRotationY(JNIEnv* env, jobject clazz, DisplayList* displayList, float ry) argument
127 android_view_GLES20DisplayList_setScaleX(JNIEnv* env, jobject clazz, DisplayList* displayList, float sx) argument
132 android_view_GLES20DisplayList_setScaleY(JNIEnv* env, jobject clazz, DisplayList* displayList, float sy) argument
137 android_view_GLES20DisplayList_setTransformationInfo(JNIEnv* env, jobject clazz, DisplayList* displayList, float alpha, float translationX, float translationY, float rotation, float rotationX, float rotationY, float scaleX, float scaleY) argument
151 android_view_GLES20DisplayList_setPivotX(JNIEnv* env, jobject clazz, DisplayList* displayList, float px) argument
156 android_view_GLES20DisplayList_setPivotY(JNIEnv* env, jobject clazz, DisplayList* displayList, float py) argument
161 android_view_GLES20DisplayList_setCameraDistance(JNIEnv* env, jobject clazz, DisplayList* displayList, float distance) argument
166 android_view_GLES20DisplayList_setLeft(JNIEnv* env, jobject clazz, DisplayList* displayList, int left) argument
171 android_view_GLES20DisplayList_setTop(JNIEnv* env, jobject clazz, DisplayList* displayList, int top) argument
176 android_view_GLES20DisplayList_setRight(JNIEnv* env, jobject clazz, DisplayList* displayList, int right) argument
181 android_view_GLES20DisplayList_setBottom(JNIEnv* env, jobject clazz, DisplayList* displayList, int bottom) argument
186 android_view_GLES20DisplayList_setLeftTopRightBottom(JNIEnv* env, jobject clazz, DisplayList* displayList, int left, int top, int right, int bottom) argument
192 android_view_GLES20DisplayList_offsetLeftAndRight(JNIEnv* env, jobject clazz, DisplayList* displayList, float offset) argument
197 android_view_GLES20DisplayList_offsetTopAndBottom(JNIEnv* env, jobject clazz, DisplayList* displayList, float offset) argument
202 android_view_GLES20DisplayList_getMatrix(JNIEnv* env, jobject clazz, DisplayList* displayList, SkMatrix* matrix) argument
212 android_view_GLES20DisplayList_hasOverlappingRendering(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
217 android_view_GLES20DisplayList_getAlpha(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
222 android_view_GLES20DisplayList_getLeft(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
227 android_view_GLES20DisplayList_getTop(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
232 android_view_GLES20DisplayList_getRight(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
237 android_view_GLES20DisplayList_getBottom(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
242 android_view_GLES20DisplayList_getCameraDistance(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
247 android_view_GLES20DisplayList_getScaleX(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
252 android_view_GLES20DisplayList_getScaleY(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
257 android_view_GLES20DisplayList_getTranslationX(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
262 android_view_GLES20DisplayList_getTranslationY(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
267 android_view_GLES20DisplayList_getRotation(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
272 android_view_GLES20DisplayList_getRotationX(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
277 android_view_GLES20DisplayList_getRotationY(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
282 android_view_GLES20DisplayList_getPivotX(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
287 android_view_GLES20DisplayList_getPivotY(JNIEnv* env, jobject clazz, DisplayList* displayList) argument
[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::__anon1006
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 Dandroid_view_KeyCharacterMap.cpp32 jclass clazz; member in struct:android::__anon1036
37 jclass clazz; member in struct:android::__anon1037
77 return env->NewObject(gKeyCharacterMapClassInfo.clazz, gKeyCharacterMapClassInfo.ctor,
81 static jint nativeReadFromParcel(JNIEnv *env, jobject clazz, jobject parcelObj) { argument
101 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jint ptr, jobject parcelObj) { argument
110 static void nativeDispose(JNIEnv *env, jobject clazz, jint ptr) { argument
115 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jint ptr, argument
121 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jint ptr, jint keyCode, argument
136 static jchar nativeGetNumber(JNIEnv *env, jobject clazz, jint ptr, jint keyCode) { argument
141 static jchar nativeGetMatch(JNIEnv *env, jobject clazz, jin argument
157 nativeGetDisplayLabel(JNIEnv *env, jobject clazz, jint ptr, jint keyCode) argument
162 nativeGetKeyboardType(JNIEnv *env, jobject clazz, jint ptr) argument
167 nativeGetEvents(JNIEnv *env, jobject clazz, jint ptr, jcharArray charsArray) argument
247 jclass clazz; local
[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...]
H A Dandroid_view_KeyEvent.cpp32 jclass clazz; member in struct:android::__anon1039
53 jobject eventObj = env->CallStaticObjectMethod(gKeyEventClassInfo.clazz,
105 static jboolean native_isSystemKey(JNIEnv* env, jobject clazz, jint keyCode) { argument
109 static jboolean native_hasDefaultAction(JNIEnv* env, jobject clazz, jint keyCode) { argument
126 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \
127 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \
130 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \
131 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
134 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \
135 var = env->GetFieldID(clazz, fieldNam
[all...]
H A Dandroid_os_Parcel.cpp63 jclass clazz; member in struct:android::parcel_offsets_t
83 return env->CallStaticObjectMethod(gParcelOffsets.clazz, gParcelOffsets.obtain);
91 static jint android_os_Parcel_dataSize(JNIEnv* env, jclass clazz, jint nativePtr) argument
97 static jint android_os_Parcel_dataAvail(JNIEnv* env, jclass clazz, jint nativePtr) argument
103 static jint android_os_Parcel_dataPosition(JNIEnv* env, jclass clazz, jint nativePtr) argument
109 static jint android_os_Parcel_dataCapacity(JNIEnv* env, jclass clazz, jint nativePtr) argument
115 static void android_os_Parcel_setDataSize(JNIEnv* env, jclass clazz, jint nativePtr, jint size) argument
121 signalExceptionForError(env, clazz, err);
126 static void android_os_Parcel_setDataPosition(JNIEnv* env, jclass clazz, jint nativePtr, jint pos) argument
134 static void android_os_Parcel_setDataCapacity(JNIEnv* env, jclass clazz, jin argument
145 android_os_Parcel_pushAllowFds(JNIEnv* env, jclass clazz, jint nativePtr, jboolean allowFds) argument
155 android_os_Parcel_restoreAllowFds(JNIEnv* env, jclass clazz, jint nativePtr, jboolean lastValue) argument
163 android_os_Parcel_writeNative(JNIEnv* env, jclass clazz, jint nativePtr, jobject data, jint offset, jint length) argument
190 android_os_Parcel_writeInt(JNIEnv* env, jclass clazz, jint nativePtr, jint val) argument
198 android_os_Parcel_writeLong(JNIEnv* env, jclass clazz, jint nativePtr, jlong val) argument
209 android_os_Parcel_writeFloat(JNIEnv* env, jclass clazz, jint nativePtr, jfloat val) argument
220 android_os_Parcel_writeDouble(JNIEnv* env, jclass clazz, jint nativePtr, jdouble val) argument
231 android_os_Parcel_writeString(JNIEnv* env, jclass clazz, jint nativePtr, jstring val) argument
251 android_os_Parcel_writeStrongBinder(JNIEnv* env, jclass clazz, jint nativePtr, jobject object) argument
262 android_os_Parcel_writeFileDescriptor(JNIEnv* env, jclass clazz, jint nativePtr, jobject object) argument
274 android_os_Parcel_createByteArray(JNIEnv* env, jclass clazz, jint nativePtr) argument
300 android_os_Parcel_readInt(JNIEnv* env, jclass clazz, jint nativePtr) argument
309 android_os_Parcel_readLong(JNIEnv* env, jclass clazz, jint nativePtr) argument
318 android_os_Parcel_readFloat(JNIEnv* env, jclass clazz, jint nativePtr) argument
327 android_os_Parcel_readDouble(JNIEnv* env, jclass clazz, jint nativePtr) argument
336 android_os_Parcel_readString(JNIEnv* env, jclass clazz, jint nativePtr) argument
350 android_os_Parcel_readStrongBinder(JNIEnv* env, jclass clazz, jint nativePtr) argument
359 android_os_Parcel_readFileDescriptor(JNIEnv* env, jclass clazz, jint nativePtr) argument
372 android_os_Parcel_openFileDescriptor(JNIEnv* env, jclass clazz, jstring name, jint mode) argument
421 android_os_Parcel_dupFileDescriptor(JNIEnv* env, jclass clazz, jobject orig) argument
445 android_os_Parcel_closeFileDescriptor(JNIEnv* env, jclass clazz, jobject object) argument
459 android_os_Parcel_clearFileDescriptor(JNIEnv* env, jclass clazz, jobject object) argument
471 android_os_Parcel_create(JNIEnv* env, jclass clazz) argument
477 android_os_Parcel_freeBuffer(JNIEnv* env, jclass clazz, jint nativePtr) argument
485 android_os_Parcel_destroy(JNIEnv* env, jclass clazz, jint nativePtr) argument
491 android_os_Parcel_marshall(JNIEnv* env, jclass clazz, jint nativePtr) argument
520 android_os_Parcel_unmarshall(JNIEnv* env, jclass clazz, jint nativePtr, jbyteArray data, jint offset, jint length) argument
541 android_os_Parcel_appendFrom(JNIEnv* env, jclass clazz, jint thisNativePtr, jint otherNativePtr, jint offset, jint length) argument
559 android_os_Parcel_hasFileDescriptors(JNIEnv* env, jclass clazz, jint nativePtr) argument
571 android_os_Parcel_writeInterfaceToken(JNIEnv* env, jclass clazz, jint nativePtr, jstring name) argument
586 android_os_Parcel_enforceInterface(JNIEnv* env, jclass clazz, jint nativePtr, jstring name) argument
675 jclass clazz; local
[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...]
H A DUiAutomatorTestCaseFilter.java38 public boolean accept(Class<?> clazz) { argument
39 return UiAutomatorTestCase.class.isAssignableFrom(clazz);
/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/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
H A Dcom_android_server_SerialService.cpp65 jclass clazz = env->FindClass("com/android/server/SerialService"); local
66 if (clazz == NULL) {
71 clazz = env->FindClass("android/os/ParcelFileDescriptor");
72 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.os.ParcelFileDescriptor");
73 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz);
74 gParcelFileDescriptorOffsets.mConstructor = env->GetMethodID(clazz, "<init>", "(Ljava/io/FileDescriptor;)V");
/frameworks/base/include/android_runtime/
H A Dandroid_content_res_Configuration.h31 JNIEnv* env, jobject clazz, struct AConfiguration* out);

Completed in 466 milliseconds

123456789