Home
last modified time | relevance | path

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

/cts/tests/signature/lib/common/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 …]
DApiComplianceChecker.java301 private static String getModifierString(int modifiers) { in getModifierString() argument
303 String m = Modifier.toString(modifiers); in getModifierString()
306 if ((modifiers & BRIDGE) != 0) { in getModifierString()
310 if ((modifiers & VARARGS) != 0) { in getModifierString()
314 if ((modifiers & SYNTHETIC) != 0) { in getModifierString()
318 if ((modifiers & ANNOTATION) != 0) { in getModifierString()
322 if ((modifiers & ENUM) != 0) { in getModifierString()
326 if ((modifiers & MANDATED) != 0) { in getModifierString()
329 return formatter.format("> (0x%x)", modifiers).toString(); in getModifierString()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DJarTestFinder.java58 int modifiers = cls.getModifiers(); in getClasses() local
59 if (!Modifier.isStatic(modifiers) in getClasses()
60 && !Modifier.isPrivate(modifiers) in getClasses()
61 && !Modifier.isProtected(modifiers) in getClasses()
62 && !Modifier.isInterface(modifiers) in getClasses()
63 && !Modifier.isAbstract(modifiers)) { in getClasses()
/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/hostsidetests/theme/app/src/android/theme/app/
DTestConfiguration.java20 import android.theme.app.modifiers.DatePickerModifier;
21 import android.theme.app.modifiers.ProgressBarModifier;
22 import android.theme.app.modifiers.SearchViewModifier;
23 import android.theme.app.modifiers.ViewCheckedModifier;
24 import android.theme.app.modifiers.ViewPressedModifier;
25 import android.theme.app.modifiers.TimePickerModifier;
DLayoutInfo.java19 import android.theme.app.modifiers.AbstractLayoutModifier;
DThemeDeviceActivity.java29 import android.theme.app.modifiers.AbstractLayoutModifier;
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java272 int modifiers = cls.getModifiers(); in isTestClass() local
274 && Modifier.isPublic(modifiers) in isTestClass()
275 && !Modifier.isStatic(modifiers) in isTestClass()
276 && !Modifier.isInterface(modifiers) in isTestClass()
277 && !Modifier.isAbstract(modifiers)); in isTestClass()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DAbstractApiCheckerTest.java96 String name, int modifiers, String returnType) { in method() argument
97 return new JDiffClassDescription.JDiffMethod(name, modifiers, returnType); in method()
/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/tests/text/src/android/text/method/cts/
DForwardDeleteTest.java46 private void forwardDelete(final EditorState state, int modifiers) throws Throwable { in forwardDelete() argument
55 final KeyEvent keyEvent = getKey(KeyEvent.KEYCODE_FORWARD_DEL, modifiers); in forwardDelete()
DBackspaceTest.java46 private void backspace(final EditorState state, int modifiers) throws Throwable { in backspace() argument
55 final KeyEvent keyEvent = getKey(KeyEvent.KEYCODE_DEL, modifiers); in backspace()
DBaseKeyListenerTest.java55 private void verifyBackspace(int modifiers) throws Throwable { in verifyBackspace() argument
57 final KeyEvent event = getKey(KeyEvent.KEYCODE_DEL, modifiers); in verifyBackspace()
/cts/tests/signature/lib/android/src/android/signature/cts/
DXmlApiParser.java277 int modifiers = jdiffModifierToReflectionFormat(className, parser); in loadClassInfo() local
291 currentClass.setModifier(modifiers); in loadClassInfo()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java479 for (int modifiers : invalidModifiers) { in testMetaStateHasModifiers()
481 KeyEvent.metaStateHasModifiers(0, modifiers); in testMetaStateHasModifiers()