Home
last modified time | relevance | path

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

/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 …]
DDexFileReaderTests.java276 assertTrue(Modifier.isInterface(I0.getModifiers())); in testI0()
/cts/tests/tests/view/src/android/view/cts/
DKeyboardShortcutInfoTest.java25 assertEquals(TEST_MODIFIERS, info.getModifiers()); in testCharacterConstructor()
36 assertEquals(TEST_MODIFIERS, info.getModifiers()); in testKeycodeConstructor()
72 assertEquals(TEST_MODIFIERS, result.getModifiers()); in testWriteToParcelAndReadCharacter()
87 assertEquals(TEST_MODIFIERS, result.getModifiers()); in testWriteToParcelAndReadKeycode()
DKeyboardShortcutGroupTest.java93 assertEquals(TEST_ITEMS.get(0).getModifiers(), result.getItems().get(0).getModifiers()); in testWriteToParcelAndRead()
94 assertEquals(TEST_ITEMS.get(1).getModifiers(), result.getItems().get(1).getModifiers()); in testWriteToParcelAndRead()
/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/dex-tools/src/dex/structure/
DWithModifiers.java34 int getModifiers(); in getModifiers() method
/cts/tests/core/runner/src/com/android/cts/core/internal/runner/
DTestLoader.java160 if (Modifier.isAbstract(loadedClass.getModifiers())) { in isTestClass()
218 return isTestMethod(m) && Modifier.isPublic(m.getModifiers()); in isPublicTestMethod()
/cts/tests/app/src/android/app/cts/
DActivityKeyboardShortcutsTest.java61 assertEquals(KeyEvent.META_CTRL_ON, data.get(0).getItems().get(0).getModifiers()); in testOnProvideKeyboardShortcuts()
/cts/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java471 ((reflectedMethod.getModifiers() & Modifier.SYNCHRONIZED) != 0)) { in areMethodsModifiedCompatible()
479 int mod1 = reflectedMethod.getModifiers() & ~ignoredMods; in areMethodsModifiedCompatible()
672 if (c.getModifiers() != con.mModifier) { in checkConstructorCompliance()
699 boolean isStaticClass = ((mClass.getModifiers() & Modifier.STATIC) != 0); in findMatchingConstructor()
747 } else if (f.getModifiers() != field.mModifier) { in checkFieldsCompliance()
795 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/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java208 int modifiers = cls.getModifiers();
229 boolean isPublic = Modifier.isPublic(m.getModifiers());
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DTestNgRunner.java181 if ((m.getModifiers() & Modifier.PUBLIC) == 0) { in generateTestNgDescription()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DJarHostTest.java114 int modifiers = cls.getModifiers(); in getClasses()
/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()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityRecordTest.java209 if ((field.getModifiers() & Modifier.STATIC) == 0) { in assertNoNewNonStaticFieldsAdded()
/cts/tools/utils/
DCollectAllTests.java235 final int modifiers = klass.getModifiers(); in main()
411 if (!Modifier.isPublic(testMethod.getModifiers())) { in addToTests()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java175 !Modifier.isStatic(f.getModifiers())) { in cleanup()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java381 if (Modifier.isPublic(field.getModifiers()) && in storeCameraChars()
382 Modifier.isStatic(field.getModifiers()) && in storeCameraChars()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java97 && isPublic(method.getModifiers()) in getTestName()
98 && !isStatic(method.getModifiers()) in getTestName()
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java636 if (Modifier.isPublic(field.getModifiers()) && in serialize()
637 Modifier.isStatic(field.getModifiers()) && in serialize()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java251 if (Modifier.isStatic(field.getModifiers())) continue; in assertStorageVolumesEquals()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex15393 private static native int getModifiers(
15493 public int getModifiers()
20415 public abstract int getModifiers()
20494 public int getModifiers()
20782 public int getModifiers()
21010 public int getModifiers()