Home
last modified time | relevance | path

Searched refs:modifiers (Results 1 – 17 of 17) sorted by relevance

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DJarTestFinder.java61 int modifiers = cls.getModifiers(); in getClasses() local
62 if (!Modifier.isStatic(modifiers) in getClasses()
63 && !Modifier.isPrivate(modifiers) in getClasses()
64 && !Modifier.isProtected(modifiers) in getClasses()
65 && !Modifier.isInterface(modifiers) in getClasses()
66 && !Modifier.isAbstract(modifiers)) { in getClasses()
/cts/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java137 private static String convertModifiersToAccessLevel(int modifiers) { in convertModifiersToAccessLevel() argument
138 if ((modifiers & Modifier.PUBLIC) != 0) { in convertModifiersToAccessLevel()
140 } else if ((modifiers & Modifier.PRIVATE) != 0) { in convertModifiersToAccessLevel()
142 } else if ((modifiers & Modifier.PROTECTED) != 0) { in convertModifiersToAccessLevel()
150 private static String convertModifersToModifierString(int modifiers) { in convertModifersToModifierString() argument
155 if ((modifiers & Modifier.ABSTRACT) != 0) { in convertModifersToModifierString()
159 if ((modifiers & Modifier.STATIC) != 0) { in convertModifersToModifierString()
163 if ((modifiers & Modifier.FINAL) != 0) { in convertModifersToModifierString()
167 if ((modifiers & Modifier.TRANSIENT) != 0) { in convertModifersToModifierString()
171 if ((modifiers & Modifier.VOLATILE) != 0) { in convertModifersToModifierString()
[all …]
/cts/hostsidetests/theme/app/src/android/theme/app/modifiers/
DAbstractLayoutModifier.java17 package android.theme.app.modifiers;
DViewPressedModifier.java17 package android.theme.app.modifiers;
DViewCheckedModifier.java17 package android.theme.app.modifiers;
DDatePickerModifier.java17 package android.theme.app.modifiers;
DTimePickerModifier.java17 package android.theme.app.modifiers;
DProgressBarModifier.java17 package android.theme.app.modifiers;
DSearchViewModifier.java17 package android.theme.app.modifiers;
/cts/tests/signature/tests/src/android/signature/cts/tests/
DAbstractApiCheckerTest.java88 String name, int modifiers, String returnType) { in method() argument
89 return new JDiffClassDescription.JDiffMethod(name, modifiers, returnType); in method()
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java243 int modifiers = cls.getModifiers();
245 && Modifier.isPublic(modifiers)
246 && !Modifier.isStatic(modifiers)
247 && !Modifier.isInterface(modifiers)
248 && !Modifier.isAbstract(modifiers));
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java23 import android.theme.app.modifiers.DatePickerModifier;
24 import android.theme.app.modifiers.ProgressBarModifier;
25 import android.theme.app.modifiers.SearchViewModifier;
26 import android.theme.app.modifiers.TimePickerModifier;
27 import android.theme.app.modifiers.ViewCheckedModifier;
28 import android.theme.app.modifiers.ViewPressedModifier;
/cts/tests/tests/text/src/android/text/method/cts/
DForwardDeleteTest.java45 private void forwardDelete(final EditorState state, int modifiers) throws Throwable { in forwardDelete() argument
54 final KeyEvent keyEvent = getKey(KeyEvent.KEYCODE_FORWARD_DEL, modifiers); in forwardDelete()
DBackspaceTest.java45 private void backspace(final EditorState state, int modifiers) throws Throwable { in backspace() argument
54 final KeyEvent keyEvent = getKey(KeyEvent.KEYCODE_DEL, modifiers); in backspace()
DBaseKeyListenerTest.java54 private void verifyBackspace(int modifiers) throws Throwable { in verifyBackspace() argument
56 final KeyEvent event = getKey(KeyEvent.KEYCODE_DEL, modifiers); in verifyBackspace()
/cts/tools/utils/
DCollectAllTests.java235 final int modifiers = klass.getModifiers(); in main() local
236 if (Modifier.isAbstract(modifiers) || !Modifier.isPublic(modifiers)) { in main()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java474 for (int modifiers : invalidModifiers) { in testMetaStateHasModifiers()
476 KeyEvent.metaStateHasModifiers(0, modifiers); in testMetaStateHasModifiers()