/cts/tools/dex-tools/test/dex/reader/ |
D | DexTestsCommon.java | 58 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/ |
D | ConvertClassTest.java | 74 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 …]
|
D | ConvertEnumTest.java | 143 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/ |
D | DexFieldImpl.java | 77 public int getModifiers() { in getModifiers() method in DexFieldImpl 90 return (getModifiers() & 0x4000) > 0; in isEnumConstant() 97 builder.append(Modifier.toString(getModifiers())); in toString()
|
D | DexMethodImpl.java | 127 public int getModifiers() { in getModifiers() method in DexMethodImpl 143 builder.append(Modifier.toString(getModifiers())); in toString()
|
D | DexClassImpl.java | 338 public int getModifiers() { in getModifiers() method in DexClassImpl 346 builder.append(Modifier.toString(getModifiers())); in toString()
|
/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigField.java | 44 public Set<Modifier> getModifiers() { in getModifiers() method in SigField 68 builder.append(Modifier.toString(getModifiers())); in toString()
|
D | SigConstructor.java | 38 builder.append(Modifier.toString(getModifiers())); in toString()
|
D | SigMethod.java | 52 builder.append(Modifier.toString(method.getModifiers())); in toString()
|
D | SigExecutableMember.java | 66 public Set<Modifier> getModifiers() { in getModifiers() method in SigExecutableMember
|
D | SigClassDefinition.java | 85 public Set<Modifier> getModifiers() { in getModifiers() method in SigClassDefinition
|
/cts/tools/signature-tools/src/signature/compare/model/subst/ |
D | ExecutableMemberProjection.java | 56 public Set<Modifier> getModifiers() { in getModifiers() method in ExecutableMemberProjection 57 return original.getModifiers(); in getModifiers()
|
D | ClassProjection.java | 119 public Set<Modifier> getModifiers() { in getModifiers() method in ClassProjection 120 return original.getModifiers(); in getModifiers()
|
/cts/tools/dex-tools/src/dex/structure/ |
D | WithModifiers.java | 34 int getModifiers(); in getModifiers() method
|
/cts/tools/signature-tools/src/signature/model/ |
D | IField.java | 45 Set<Modifier> getModifiers(); in getModifiers() method
|
D | IExecutableMember.java | 55 Set<Modifier> getModifiers(); in getModifiers() method
|
D | IClassDefinition.java | 93 Set<Modifier> getModifiers(); in getModifiers() method
|
/cts/tests/signature/src/android/signature/cts/ |
D | JDiffClassDescription.java | 471 ((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/ |
D | SensorCtsVerifierTestActivity.java | 76 if (Modifier.isPublic(method.getModifiers()) in findTestMethods()
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
D | DexUtil.java | 139 modifiers = clazz.getModifiers(); in getClassModifiers() 554 return isVisible(dexField.getModifiers(), visibility); in isVisible() 559 return isVisible(dexMethod.getModifiers(), visibility); in isVisible()
|
D | DexToSigConverter.java | 488 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/ |
D | ApiComparator.java | 190 .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/ |
D | TypePool.java | 195 if (!isInitialized(clazz.getModifiers())) { in replaceUninitializedWithNull()
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityRecordTest.java | 209 if ((field.getModifiers() & Modifier.STATIC) == 0) { in assertNoNewNonStaticFieldsAdded()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 477 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()
|