Home
last modified time | relevance | path

Searched refs:klass (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/view/
DViewDebug.java881 private static Field[] getExportedPropertyFields(Class<?> klass) { in getExportedPropertyFields() argument
891 Field[] fields = map.get(klass); in getExportedPropertyFields()
897 fields = klass.getDeclaredFields(); in getExportedPropertyFields()
910 map.put(klass, fields); in getExportedPropertyFields()
915 private static Method[] getExportedPropertyMethods(Class<?> klass) { in getExportedPropertyMethods() argument
925 Method[] methods = map.get(klass); in getExportedPropertyMethods()
931 methods = klass.getDeclaredMethods(); in getExportedPropertyMethods()
946 map.put(klass, methods); in getExportedPropertyMethods()
965 Class<?> klass = view.getClass(); in dumpViewProperties() local
967 exportFields(context, view, out, klass, prefix); in dumpViewProperties()
[all …]
/frameworks/base/core/java/android/os/
DStrictMode.java600 public Builder setClassInstanceLimit(Class klass, int instanceLimit) { in setClassInstanceLimit() argument
601 if (klass == null) { in setClassInstanceLimit()
605 if (mClassInstanceLimit.containsKey(klass) && in setClassInstanceLimit()
606 mClassInstanceLimit.get(klass) == instanceLimit) { in setClassInstanceLimit()
616 mClassInstanceLimit.put(klass, instanceLimit); in setClassInstanceLimit()
1438 Class klass = entry.getKey(); in conditionallyCheckInstanceCounts() local
1440 long instances = VMDebug.countInstancesOfClass(klass, false); in conditionallyCheckInstanceCounts()
1444 Throwable tr = new InstanceCountViolation(klass, instances, limit); in conditionallyCheckInstanceCounts()
1933 public static void incrementExpectedActivityCount(Class klass) { in incrementExpectedActivityCount() argument
1934 if (klass == null) { in incrementExpectedActivityCount()
[all …]
DBinder.java176 final Class<? extends Binder> klass = getClass(); in Binder() local
177 if ((klass.isAnonymousClass() || klass.isMemberClass() || klass.isLocalClass()) && in Binder()
178 (klass.getModifiers() & Modifier.STATIC) == 0) { in Binder()
180 klass.getCanonicalName()); in Binder()
DHandler.java187 final Class<? extends Handler> klass = getClass(); in Handler() local
188 if ((klass.isAnonymousClass() || klass.isMemberClass() || klass.isLocalClass()) && in Handler()
189 (klass.getModifiers() & Modifier.STATIC) == 0) { in Handler()
191 klass.getCanonicalName()); in Handler()
/frameworks/base/core/java/android/util/
DDebugUtils.java75 Class<?> klass = object.getClass(); in isObjectSelected() local
78 Class<?> parent = klass; in isObjectSelected()
84 } while ((parent = klass.getSuperclass()) != null && in isObjectSelected()
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit3/
DNonExecutingJUnit3ClassRunner.java28 public NonExecutingJUnit3ClassRunner(Class<?> klass) { in NonExecutingJUnit3ClassRunner() argument
29 super(klass); in NonExecutingJUnit3ClassRunner()
DAndroidJUnit3ClassRunner.java31 public AndroidJUnit3ClassRunner(Class<?> klass, Bundle bundle, Instrumentation instr) { in AndroidJUnit3ClassRunner() argument
32 super(new AndroidTestSuite(klass.asSubclass(TestCase.class), bundle, instr)); in AndroidJUnit3ClassRunner()
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit4/
DNonExecutingJUnit4ClassRunner.java36 public NonExecutingJUnit4ClassRunner(Class<?> klass) throws InitializationError { in NonExecutingJUnit4ClassRunner() argument
37 super(klass); in NonExecutingJUnit4ClassRunner()
DAndroidJUnit4ClassRunner.java51 public AndroidJUnit4ClassRunner(Class<?> klass, Instrumentation instr, Bundle bundle) in AndroidJUnit4ClassRunner() argument
53 super(klass); in AndroidJUnit4ClassRunner()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListUnspecifiedMeasure.java30 protected ListUnspecifiedMeasure(Class<T> klass) { in ListUnspecifiedMeasure() argument
31 super("com.android.frameworks.coretests", klass); in ListUnspecifiedMeasure()
/frameworks/testing/androidtestlib/src/com/android/test/runner/
DAndroidJUnitRunner.java286 final Class<?> klass; in addExtraListener() local
288 klass = Class.forName(extraListener); in addExtraListener()
294 if (!RunListener.class.isAssignableFrom(klass)) { in addExtraListener()
300 klass.getConstructor().setAccessible(true); in addExtraListener()
308 l = (RunListener) klass.newInstance(); in addExtraListener()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridSetSelectionBaseTest.java30 protected GridSetSelectionBaseTest(Class<T> klass) { in GridSetSelectionBaseTest() argument
31 super("com.android.frameworks.coretests", klass); in GridSetSelectionBaseTest()
/frameworks/base/core/java/android/widget/
DRemoteViews.java839 Class klass = view.getClass(); in apply()
842 method = klass.getMethod(this.methodName); in apply()
844 throw new ActionException("view: " + klass.getName() + " doesn't have method: " in apply()
849 throw new ActionException("view: " + klass.getName() in apply()
857 Log.d(LOG_TAG, "view: " + klass.getName() + " calling method: " in apply()
1205 Class klass = view.getClass(); in apply() local
1208 method = klass.getMethod(this.methodName, getParameterType()); in apply()
1211 throw new ActionException("view: " + klass.getName() + " doesn't have method: " in apply()
1216 throw new ActionException("view: " + klass.getName() in apply()
1224 Log.d(LOG_TAG, "view: " + klass.getName() + " calling method: " in apply()
DEditor.java619 int klass = inputType & InputType.TYPE_MASK_CLASS; in selectCurrentWord() local
623 if (klass == InputType.TYPE_CLASS_NUMBER || in selectCurrentWord()
624 klass == InputType.TYPE_CLASS_PHONE || in selectCurrentWord()
625 klass == InputType.TYPE_CLASS_DATETIME || in selectCurrentWord()
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java358 public void connect(Context srcContext, Handler srcHandler, Class<?> klass) { in connect() argument
359 connect(srcContext, srcHandler, klass.getPackage().getName(), klass.getName()); in connect()
/frameworks/base/core/java/android/text/
DTextUtils.java1664 public static <T> T[] removeEmptySpans(T[] spans, Spanned spanned, Class<T> klass) { in removeEmptySpans() argument
1675 copy = (T[]) Array.newInstance(klass, spans.length - 1); in removeEmptySpans()
1688 T[] result = (T[]) Array.newInstance(klass, count); in removeEmptySpans()