Home
last modified time | relevance | path

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

/cts/tools/signature-tools/src/signature/model/impl/
DSigField.java33 private Set<Modifier> modifiers = Uninitialized.unset(); field in SigField
37 modifiers = Collections.emptySet(); in SigField()
45 return modifiers; in getModifiers()
48 public void setModifiers(Set<Modifier> modifiers) { in setModifiers() argument
49 this.modifiers = modifiers; in setModifiers()
DSigExecutableMember.java37 private Set<Modifier> modifiers = Uninitialized.unset(); field in SigExecutableMember
67 return modifiers; in getModifiers()
70 public void setModifiers(Set<Modifier> modifiers) { in setModifiers() argument
71 this.modifiers = modifiers; in setModifiers()
DSigClassDefinition.java44 private Set<Modifier> modifiers = Uninitialized.unset(); field in SigClassDefinition
86 return modifiers; in getModifiers()
89 public void setModifiers(Set<Modifier> modifiers) { in setModifiers() argument
90 this.modifiers = modifiers; in setModifiers()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexUtil.java132 int modifiers = 0; in getClassModifiers() local
137 modifiers = accessFlags.intValue(); in getClassModifiers()
139 modifiers = clazz.getModifiers(); in getClassModifiers()
141 return modifiers; in getClassModifiers()
153 Set<Modifier> modifiers = EnumSet.noneOf(Modifier.class); in getModifier() local
155 modifiers.add(Modifier.ABSTRACT); in getModifier()
157 modifiers.add(Modifier.FINAL); in getModifier()
161 modifiers.add(Modifier.PRIVATE); in getModifier()
163 modifiers.add(Modifier.PROTECTED); in getModifier()
165 modifiers.add(Modifier.PUBLIC); in getModifier()
[all …]
DDexToSigConverter.java298 Set<Modifier> modifiers = getModifier(getClassModifiers(dexClass)); in convertClass() local
299 sigClass.setModifiers(modifiers); in convertClass()
501 Set<Modifier> modifiers = getModifier(dexField.getModifiers()); in convertEnumConstant() local
502 modifiers.add(Modifier.STATIC); in convertEnumConstant()
503 enumConstant.setModifiers(modifiers); in convertEnumConstant()
/cts/tools/signature-tools/src/signature/model/
DModifier.java41 public static String toString(Set<Modifier> modifiers) { in toString() argument
45 if (modifiers.contains(modifier)) { in toString()
/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;
DTimePickerModifier.java17 package android.theme.app.modifiers;
DDatePickerModifier.java17 package android.theme.app.modifiers;
DProgressBarModifier.java17 package android.theme.app.modifiers;
DSearchViewModifier.java17 package android.theme.app.modifiers;
/cts/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java145 static String convertModifiersToAccessLevel(int modifiers) { in convertModifiersToAccessLevel() argument
146 if ((modifiers & Modifier.PUBLIC) != 0) { in convertModifiersToAccessLevel()
148 } else if ((modifiers & Modifier.PRIVATE) != 0) { in convertModifiersToAccessLevel()
150 } else if ((modifiers & Modifier.PROTECTED) != 0) { in convertModifiersToAccessLevel()
158 static String convertModifersToModifierString(int modifiers) { in convertModifersToModifierString() argument
163 if ((modifiers & Modifier.ABSTRACT) != 0) { in convertModifersToModifierString()
171 if ((modifiers & Modifier.STATIC) != 0) { in convertModifersToModifierString()
179 if ((modifiers & Modifier.FINAL) != 0) { in convertModifersToModifierString()
187 if ((modifiers & Modifier.TRANSIENT) != 0) { in convertModifersToModifierString()
195 if ((modifiers & Modifier.VOLATILE) != 0) { in convertModifersToModifierString()
[all …]
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletToSigConverter.java444 Set<Modifier> modifiers = convertModifiers(member.modifierSpecifier()); in convertExecutableMember() local
449 modifiers.add(Modifier.FINAL); in convertExecutableMember()
453 modifiers.add(Modifier.ABSTRACT); in convertExecutableMember()
456 m.setModifiers(modifiers); in convertExecutableMember()
609 Set<Modifier> modifiers = EnumSet.noneOf(Modifier.class); in convertModifiers() local
611 modifiers.add(Modifier.ABSTRACT); in convertModifiers()
613 modifiers.add(Modifier.FINAL); in convertModifiers()
617 modifiers.add(Modifier.PRIVATE); in convertModifiers()
619 modifiers.add(Modifier.PROTECTED); in convertModifiers()
621 modifiers.add(Modifier.PUBLIC); in convertModifiers()
[all …]
/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/tools/signature-tools/templates/model/
Dmodel.stg121 $if(element.modifiers)$
122 $element.modifiers; separator=" "$$\ $
/cts/tools/utils/
DCollectAllTests.java227 final int modifiers = klass.getModifiers(); in main() local
228 if (Modifier.isAbstract(modifiers) || !Modifier.isPublic(modifiers)) { in main()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java41 private void testBackspace(int modifiers) { in testBackspace() argument
43 final KeyEvent event = getKey(KeyEvent.KEYCODE_DEL, modifiers); in testBackspace()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java405 for (int modifiers : invalidModifiers) { in testMetaStateHasModifiers()
407 KeyEvent.metaStateHasModifiers(0, modifiers); in testMetaStateHasModifiers()