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

1234567891011>>

/frameworks/base/tools/apilint/
H A Dapilint.py54 def __init__(self, clazz, line, raw, blame):
55 self.clazz = clazz
80 def __init__(self, clazz, line, raw, blame):
81 self.clazz = clazz
170 clazz = None
189 if clazz and clazz_cb:
190 clazz_cb(clazz)
191 clazz
[all...]
/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);
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp49 JNIEnv* env, jobject clazz, struct AConfiguration* out) {
50 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc);
51 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc);
52 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout);
53 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen);
54 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard);
55 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation);
57 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden);
58 int hardKeyboardHidden = env->GetIntField(clazz, gConfigurationClassInfo.hardKeyboardHidden);
63 out->inputFlags |= env->GetIntField(clazz, gConfigurationClassInf
48 android_Configuration_getFromJava( JNIEnv* env, jobject clazz, struct AConfiguration* out) argument
77 jclass clazz = FindClassOrDie(env, "android/content/res/Configuration"); local
[all...]
H A Dandroid_util_Log.cpp50 static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level) argument
75 static jint android_util_Log_println_native(JNIEnv* env, jobject clazz, argument
109 jobject clazz ATTRIBUTE_UNUSED)
126 jclass clazz = FindClassOrDie(env, "android/util/Log"); local
128 levels.verbose = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "VERBOSE", "I"));
129 levels.debug = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "DEBUG", "I"));
130 levels.info = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "INF
[all...]
H A Dcore_jni_helpers.h28 jclass clazz = env->FindClass(class_name); local
29 LOG_ALWAYS_FATAL_IF(clazz == NULL, "Unable to find class %s", class_name);
30 return clazz;
33 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, argument
35 jfieldID res = env->GetFieldID(clazz, field_name, field_signature);
40 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, argument
42 jmethodID res = env->GetMethodID(clazz, method_name, method_signature);
47 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, argument
49 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature);
54 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, cons argument
[all...]
H A Dandroid_hardware_display_DisplayViewport.cpp34 jclass clazz; member in struct:android::__anon1092
87 jclass clazz = FindClassOrDie(env, "android/hardware/display/DisplayViewport"); local
88 gDisplayViewportClassInfo.clazz = MakeGlobalRefOrDie(env, clazz);
91 gDisplayViewportClassInfo.clazz, "displayId", "I");
94 gDisplayViewportClassInfo.clazz, "orientation", "I");
97 gDisplayViewportClassInfo.clazz, "deviceWidth", "I");
100 gDisplayViewportClassInfo.clazz, "deviceHeight", "I");
103 gDisplayViewportClassInfo.clazz, "logicalFrame", "Landroid/graphics/Rect;");
106 gDisplayViewportClassInfo.clazz, "physicalFram
[all...]
H A Dcom_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp30 static jlong createAccelerateDecelerateInterpolator(JNIEnv* env, jobject clazz) { argument
34 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { argument
38 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
42 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
46 static jlong createBounceInterpolator(JNIEnv* env, jobject clazz) { argument
50 static jlong createCycleInterpolator(JNIEnv* env, jobject clazz, jfloat cycles) { argument
54 static jlong createDecelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { argument
58 static jlong createLinearInterpolator(JNIEnv* env, jobject clazz) { argument
62 static jlong createOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { argument
66 static jlong createPathInterpolator(JNIEnv* env, jobject clazz, jfloatArra argument
79 createLutInterpolator(JNIEnv* env, jobject clazz, jfloatArray jlut) argument
[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/media/jni/
H A Dandroid_media_SyncParams.cpp29 clazz = (jclass)env->NewGlobalRef(lclazz);
30 if (clazz == NULL) {
34 constructID = env->GetMethodID(clazz, "<init>", "()V");
36 sync_source = env->GetFieldID(clazz, "mSyncSource", "I");
37 audio_adjust_mode = env->GetFieldID(clazz, "mAudioAdjustMode", "I");
38 tolerance = env->GetFieldID(clazz, "mTolerance", "F");
39 frame_rate = env->GetFieldID(clazz, "mFrameRate", "F");
40 set = env->GetFieldID(clazz, "mSet", "I");
43 env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "SET_SYNC_SOURC
[all...]
H A Dandroid_media_PlaybackParams.h33 jclass clazz; member in struct:android::PlaybackParams::fields_t
52 clazz = (jclass)env->NewGlobalRef(lclazz);
53 if (clazz == NULL) {
57 constructID = env->GetMethodID(clazz, "<init>", "()V");
59 speed = env->GetFieldID(clazz, "mSpeed", "F");
60 pitch = env->GetFieldID(clazz, "mPitch", "F");
61 audio_fallback_mode = env->GetFieldID(clazz, "mAudioFallbackMode", "I");
62 audio_stretch_mode = env->GetFieldID(clazz, "mAudioStretchMode", "I");
63 set = env->GetFieldID(clazz, "mSet", "I");
66 env->GetStaticIntField(clazz, en
[all...]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/
H A DTest.java51 Class<?> clazz = Class.forName(annotationPackage + "Annotated");
53 clazz.getAnnotations();
54 clazz = Class.forName(annotationPackage + "Annotated2");
56 clazz.getAnnotations();
57 clazz = Class.forName(annotationPackage + "Annotated3");
59 clazz.getAnnotations();
/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);
/frameworks/base/cmds/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/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DModuleClassLoader.java48 Class<?> clazz = mClasses.get(name);
49 if (clazz == null) {
53 clazz = defineClass(name, b, 0, b.length);
54 mClasses.put(name, clazz);
60 return 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/core/java/android/view/inputmethod/
H A DInputConnectionInspector.java111 public static int getMissingMethodFlagsInternal(@NonNull final Class clazz) { argument
112 final Integer cachedFlags = sMissingMethodsMap.get(clazz);
117 if (!hasGetSelectedText(clazz)) {
120 if (!hasSetComposingRegion(clazz)) {
123 if (!hasCommitCorrection(clazz)) {
126 if (!hasRequestCursorUpdate(clazz)) {
129 if (!hasDeleteSurroundingTextInCodePoints(clazz)) {
132 if (!hasGetHandler(clazz)) {
135 if (!hasCloseConnection(clazz)) {
138 if (!hasCommitContent(clazz)) {
145 hasGetSelectedText(@onNull final Class clazz) argument
154 hasSetComposingRegion(@onNull final Class clazz) argument
163 hasCommitCorrection(@onNull final Class clazz) argument
172 hasRequestCursorUpdate(@onNull final Class clazz) argument
181 hasDeleteSurroundingTextInCodePoints(@onNull final Class clazz) argument
191 hasGetHandler(@onNull final Class clazz) argument
200 hasCloseConnection(@onNull final Class clazz) argument
209 hasCommitContent(@onNull final Class clazz) argument
[all...]
/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_content_res_Configuration.h31 JNIEnv* env, jobject clazz, struct AConfiguration* out);

Completed in 439 milliseconds

1234567891011>>