Home
last modified time | relevance | path

Searched refs:getModifiers (Results 1 – 25 of 32) sorted by relevance

12

/cts/tools/dex-tools/test/dex/reader/
DDexTestsCommon.java58 assertTrue(Modifier.isPublic(withMod.getModifiers())); in assertPublic()
59 assertFalse(Modifier.isPrivate(withMod.getModifiers()) in assertPublic()
60 || Modifier.isProtected(withMod.getModifiers())); in assertPublic()
64 assertTrue(Modifier.isProtected(withMod.getModifiers())); in assertProtected()
65 assertFalse(Modifier.isPrivate(withMod.getModifiers()) in assertProtected()
66 || Modifier.isPublic(withMod.getModifiers())); in assertProtected()
70 assertTrue(Modifier.isPrivate(withMod.getModifiers())); in assertPrivate()
71 assertFalse(Modifier.isProtected(withMod.getModifiers()) in assertPrivate()
72 || Modifier.isPublic(withMod.getModifiers())); in assertPrivate()
76 assertFalse(Modifier.isPrivate(withMod.getModifiers()) in assertDefault()
[all …]
/cts/tools/signature-tools/test/signature/converter/
DConvertClassTest.java74 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertClassClassTest()
85 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertClassInterfaceTest()
96 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertClassEnumTest()
107 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertClassAnnotationTest()
118 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertAnnotationTest()
137 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertAnnotationOnFieldTest()
154 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertGenericClass0()
173 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertGenericClass00()
192 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertGenericClass1()
218 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); in convertGenericClass2()
[all …]
DConvertEnumTest.java143 assertTrue(c.getModifiers().contains(Modifier.PUBLIC)); in testEnum3()
144 assertFalse(c.getModifiers().contains(Modifier.STATIC)); in testEnum3()
145 assertTrue(c.getModifiers().contains(Modifier.FINAL)); in testEnum3()
186 assertTrue(c.getModifiers().contains(Modifier.PUBLIC)); in testEnum4()
187 assertFalse(c.getModifiers().contains(Modifier.STATIC)); in testEnum4()
188 assertFalse(c.getModifiers().contains(Modifier.FINAL)); in testEnum4()
/cts/tools/dex-tools/src/dex/reader/
DDexFieldImpl.java77 public int getModifiers() { in getModifiers() method in DexFieldImpl
90 return (getModifiers() & 0x4000) > 0; in isEnumConstant()
97 builder.append(Modifier.toString(getModifiers())); in toString()
DDexMethodImpl.java127 public int getModifiers() { in getModifiers() method in DexMethodImpl
143 builder.append(Modifier.toString(getModifiers())); in toString()
DDexClassImpl.java338 public int getModifiers() { in getModifiers() method in DexClassImpl
346 builder.append(Modifier.toString(getModifiers())); in toString()
/cts/tools/signature-tools/src/signature/model/impl/
DSigField.java44 public Set<Modifier> getModifiers() { in getModifiers() method in SigField
68 builder.append(Modifier.toString(getModifiers())); in toString()
DSigConstructor.java38 builder.append(Modifier.toString(getModifiers())); in toString()
DSigMethod.java52 builder.append(Modifier.toString(method.getModifiers())); in toString()
DSigExecutableMember.java66 public Set<Modifier> getModifiers() { in getModifiers() method in SigExecutableMember
DSigClassDefinition.java85 public Set<Modifier> getModifiers() { in getModifiers() method in SigClassDefinition
/cts/tools/signature-tools/src/signature/compare/model/subst/
DExecutableMemberProjection.java56 public Set<Modifier> getModifiers() { in getModifiers() method in ExecutableMemberProjection
57 return original.getModifiers(); in getModifiers()
DClassProjection.java119 public Set<Modifier> getModifiers() { in getModifiers() method in ClassProjection
120 return original.getModifiers(); in getModifiers()
/cts/tools/dex-tools/src/dex/structure/
DWithModifiers.java34 int getModifiers(); in getModifiers() method
/cts/tools/signature-tools/src/signature/model/
DIField.java45 Set<Modifier> getModifiers(); in getModifiers() method
DIExecutableMember.java55 Set<Modifier> getModifiers(); in getModifiers() method
DIClassDefinition.java93 Set<Modifier> getModifiers(); in getModifiers() method
/cts/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java471 ((reflectedMethod.getModifiers() & Modifier.SYNCHRONIZED) != 0)) { in areMethodModifiedCompatibile()
478 int mod1 = reflectedMethod.getModifiers() & ~(Modifier.NATIVE | Modifier.SYNCHRONIZED); in areMethodModifiedCompatibile()
648 if (c.getModifiers() != con.mModifier) { in checkConstructorCompliance()
675 boolean isStaticClass = ((mClass.getModifiers() & Modifier.STATIC) != 0); in findMatchingConstructor()
723 } else if (f.getModifiers() != field.mModifier) { in checkFieldsCompliance()
771 int reflectionModifier = mClass.getModifiers(); in checkClassModifiersCompliance()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java76 if (Modifier.isPublic(method.getModifiers()) in findTestMethods()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexUtil.java139 modifiers = clazz.getModifiers(); in getClassModifiers()
554 return isVisible(dexField.getModifiers(), visibility); in isVisible()
559 return isVisible(dexMethod.getModifiers(), visibility); in isVisible()
DDexToSigConverter.java488 annotationField.setModifiers(getModifier(dexMethod.getModifiers())); in convertAnnotationField()
501 Set<Modifier> modifiers = getModifier(dexField.getModifiers()); in convertEnumConstant()
529 field.setModifiers(getModifier(dexField.getModifiers())); in convertField()
603 constructor.setModifiers(getModifier(dexMethod.getModifiers())); in convertConstructor()
652 if (!declaringClass.getModifiers().contains(Modifier.STATIC)) { in convertConstructor()
676 method.setModifiers(getModifier(dexMethod.getModifiers())); in convertMethod()
/cts/tools/signature-tools/src/signature/compare/
DApiComparator.java190 .getModifiers(), to.getModifiers()); in compareClass()
667 .getModifiers());
876 .getModifiers(), to.getModifiers());
1052 .getModifiers(), to.getModifiers());
1083 .getModifiers(), to.getModifiers());
1125 .getModifiers(), to.getModifiers());
/cts/tools/signature-tools/src/signature/model/util/
DTypePool.java195 if (!isInitialized(clazz.getModifiers())) { in replaceUninitializedWithNull()
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityRecordTest.java209 if ((field.getModifiers() & Modifier.STATIC) == 0) { in assertNoNewNonStaticFieldsAdded()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java477 if (Modifier.isPublic(field.getModifiers()) && in serialize()
478 Modifier.isStatic(field.getModifiers()) && in serialize()
535 if (Modifier.isPublic(field.getModifiers()) && in deserialize()
536 Modifier.isStatic(field.getModifiers()) && in deserialize()

12