Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenEnumTest.java95 .filter(f -> Modifier.isPublic(f.getModifiers())) in testEnum()
96 .filter(f -> Modifier.isStatic(f.getModifiers())) in testEnum()
97 .filter(f -> Modifier.isFinal(f.getModifiers())) in testEnum()
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/
DOverpoweredReflectionHelper.java35 if ((field.getModifiers() & Modifier.FINAL) == Modifier.FINAL) { in makeFieldVeryAccessible()
39 modifiersField.setInt(field, field.getModifiers() & ~Modifier.FINAL); in makeFieldVeryAccessible()
/frameworks/base/tools/hoststubgen/hoststubgen/helper-runtime-src/com/android/hoststubgen/hosthelper/
DHostTestUtils.java207 if (!Modifier.isPublic(clazz.getModifiers())) { in callStaticMethodByName()
229 if (!(Modifier.isPublic(method.getModifiers()) in callStaticMethodByName()
230 && Modifier.isStatic(method.getModifiers()))) { in callStaticMethodByName()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java105 if ((originalMethod.getModifiers() & Modifier.STATIC) == 0) { in compare()
116 (originalClass.getModifiers() & Modifier.STATIC) == 0) { in compare()
148 if ((delegateMethod.getModifiers() & Modifier.STATIC) != Modifier.STATIC) { in compare()
/frameworks/base/core/java/android/util/
DDebugUtils.java226 final int modifiers = field.getModifiers(); in valueToString()
251 final int modifiers = field.getModifiers(); in flagsToString()
296 final int modifiers = field.getModifiers(); in constantToString()
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodRuleImpl.java241 if (Modifier.isPublic(m.getModifiers()) && m.getName().startsWith("test")) { in validateTestAnnotations()
252 if (!Modifier.isPublic(m.getModifiers())) { in validateTestAnnotations()
262 if (!Modifier.isPublic(m.getModifiers())) { in validateTestAnnotations()
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
DCujTest.java111 && Modifier.isStatic(f.getModifiers()) in testCujsMapToEnumsCorrectly()
153 && Modifier.isStatic(f.getModifiers()) in getCujConstants()
/frameworks/base/test-runner/src/android/test/
DActivityTestCase.java71 && (field.getModifiers() & Modifier.FINAL) == 0) { in scrubClass()
DTestCaseUtil.java96 if (Modifier.isStatic(suiteMethod.getModifiers()) in invokeSuiteMethodIfPossible()
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java152 if (Modifier.isAbstract(loadedClass.getModifiers())) { in isTestClass()
206 return isTestMethod(m) && Modifier.isPublic(m.getModifiers()); in isPublicTestMethod()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java190 int modifiers = ((Class<?>) aClass).getModifiers(); in apply()
205 if (Modifier.isPublic(constructor.getModifiers())) { in hasValidConstructor()
/frameworks/base/test-junit/src/junit/framework/
DTestSuite.java141 if (!Modifier.isPublic(theClass.getModifiers())) {
298 return isTestMethod(m) && Modifier.isPublic(m.getModifiers());
DTestCase.java163 if (!Modifier.isPublic(runMethod.getModifiers())) { in runTest()
/frameworks/base/core/java/com/android/internal/os/
DBinderTransactionNameResolver.java77 || !Modifier.isStatic(method.getModifiers())) { in getMethodName()
/frameworks/base/core/java/com/android/internal/util/
DMessageUtils.java69 int modifiers = field.getModifiers(); in findMessageNames()
/frameworks/base/core/java/android/view/
DKeyboardShortcutInfo.java150 public int getModifiers() { in getModifiers() method in KeyboardShortcutInfo
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityEventTest.java118 if ((field.getModifiers() & Modifier.STATIC) == 0) { in assertNoNewNonStaticFieldsAdded()
DAccessibilityNodeInfoTest.java150 if (((field.getModifiers() & Modifier.STATIC) != 0) in updateCtsToTestNewBooleanProperties()
/frameworks/base/test-base/src/android/test/
DAndroidTestCase.java168 !Modifier.isStatic(field.getModifiers())) { in scrubClass()
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/runtimehelper/
DClassLoadHook.java175 if (Modifier.isNative(method.getModifiers())) { in hasNativeMethod()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java59 if (!Modifier.isPublic(method.getModifiers())) { in runTest()
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DBinderIdentityChecker.java69 if (token == null || !token.getModifiers().getFlags().contains(Modifier.FINAL)) { in matchMethodInvocation()
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DPlatformInspectableProcessor.java111 final Set<Modifier> classModifiers = classElement.get().getModifiers(); in processProperties()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DLatencyTrackerTest.java89 && Modifier.isStatic(f.getModifiers()) in testCujsMapToEnumsCorrectly()
369 field.getModifiers()) && field.getType() == int.class).collect(
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessClamperController.java148 mModifiers = mInjector.getModifiers(flags, context, handler, clamperChangeListener, in BrightnessClamperController()
324 List<BrightnessStateModifier> getModifiers(DisplayManagerFlags flags, Context context, in getModifiers() method in BrightnessClamperController.Injector

123