Home
last modified time | relevance | path

Searched refs:modifiers (Results 1 – 23 of 23) 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/tests/SignatureTest/src/android/tests/sigtest/
DJDiffClassDescription.java144 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/tests/tests/holo/src/android/holo/cts/
DLayoutAdapter.java21 import android.holo.cts.modifiers.CalendarViewModifier;
22 import android.holo.cts.modifiers.ProgressBarModifier;
23 import android.holo.cts.modifiers.SearchViewModifier;
24 import android.holo.cts.modifiers.TabHostModifier;
25 import android.holo.cts.modifiers.TimePickerModifier;
26 import android.holo.cts.modifiers.ViewPressedModifier;
/cts/tests/tests/holo/src/android/holo/cts/modifiers/
DAbstractLayoutModifier.java17 package android.holo.cts.modifiers;
DDialogBuilder.java17 package android.holo.cts.modifiers;
DViewPressedModifier.java17 package android.holo.cts.modifiers;
DDatePickerModifier.java17 package android.holo.cts.modifiers;
DTimePickerModifier.java17 package android.holo.cts.modifiers;
DProgressBarModifier.java17 package android.holo.cts.modifiers;
DTabHostModifier.java17 package android.holo.cts.modifiers;
DDialogModifier.java17 package android.holo.cts.modifiers;
DSearchViewModifier.java17 package android.holo.cts.modifiers;
DCalendarViewModifier.java17 package android.holo.cts.modifiers;
DProgressDialogBuilder.java17 package android.holo.cts.modifiers;
DAlertDialogBuilder.java17 package android.holo.cts.modifiers;
/cts/tools/signature-tools/templates/model/
Dmodel.stg121 $if(element.modifiers)$
122 $element.modifiers; separator=" "$$\ $
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java405 for (int modifiers : invalidModifiers) { in testMetaStateHasModifiers()
407 KeyEvent.metaStateHasModifiers(0, modifiers); in testMetaStateHasModifiers()