Home
last modified time | relevance | path

Searched refs:Modifier (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionInspector.java28 import java.lang.reflect.Modifier;
148 return !Modifier.isAbstract(method.getModifiers()); in hasGetSelectedText()
157 return !Modifier.isAbstract(method.getModifiers()); in hasSetComposingRegion()
166 return !Modifier.isAbstract(method.getModifiers()); in hasCommitCorrection()
175 return !Modifier.isAbstract(method.getModifiers()); in hasRequestCursorUpdate()
185 return !Modifier.isAbstract(method.getModifiers()); in hasDeleteSurroundingTextInCodePoints()
194 return !Modifier.isAbstract(method.getModifiers()); in hasGetHandler()
203 return !Modifier.isAbstract(method.getModifiers()); in hasCloseConnection()
213 return !Modifier.isAbstract(method.getModifiers()); in hasCommitContent()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaField.java21 import java.lang.reflect.Modifier;
42 return Modifier.isPublic(mField.getModifiers()); in isPublic()
47 return Modifier.isStatic(mField.getModifiers()); in isStatic()
52 return Modifier.isFinal(mField.getModifiers()); in isFinal()
DJavaMethod.java24 import java.lang.reflect.Modifier;
67 return Modifier.isPublic(mMethod.getModifiers()); in isPublic()
72 return Modifier.isProtected(mMethod.getModifiers()); in isProtected()
77 return Modifier.isStatic(mMethod.getModifiers()); in isStatic()
82 return Modifier.isAbstract(mMethod.getModifiers()); in isAbstract()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DProcessBindableTest.java23 import java.lang.reflect.Modifier;
46 int modifiers = Modifier.PUBLIC | Modifier.STATIC | Modifier.FINAL; in testFieldsGenerated()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationField.java22 import javax.lang.model.element.Modifier;
54 return mField.getModifiers().contains(Modifier.PUBLIC); in isPublic()
59 return mField.getModifiers().contains(Modifier.STATIC); in isStatic()
64 return mField.getModifiers().contains(Modifier.FINAL); in isFinal()
DAnnotationMethod.java29 import javax.lang.model.element.Modifier;
126 return mExecutableElement.getModifiers().contains(Modifier.PUBLIC); in isPublic()
131 return mExecutableElement.getModifiers().contains(Modifier.PROTECTED); in isProtected()
136 return mExecutableElement.getModifiers().contains(Modifier.STATIC); in isStatic()
141 return mExecutableElement.getModifiers().contains(Modifier.ABSTRACT); in isAbstract()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java23 import java.lang.reflect.Modifier;
103 if ((originalMethod.getModifiers() & Modifier.STATIC) == 0) { in compare()
114 (originalClass.getModifiers() & Modifier.STATIC) == 0) { in compare()
146 if ((delegateMethod.getModifiers() & Modifier.STATIC) != Modifier.STATIC) { in compare()
/frameworks/base/core/java/com/android/internal/util/
DMessageUtils.java24 import java.lang.reflect.Modifier;
68 if (!Modifier.isStatic(modifiers) | !Modifier.isFinal(modifiers)) { in findMessageNames()
/frameworks/base/core/java/android/util/
DDebugUtils.java23 import java.lang.reflect.Modifier;
218 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in valueToString()
242 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in flagsToString()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DMenuBuilderTest.java30 import java.lang.reflect.Modifier;
45 assertTrue(Modifier.isPublic(method.getModifiers())); in setOptionalIconsVisibleMethodShouldRemainPublic()
/frameworks/base/test-runner/src/android/test/
DActivityTestCase.java22 import java.lang.reflect.Modifier;
71 && (field.getModifiers() & Modifier.FINAL) == 0) { in scrubClass()
DInstrumentationCoreTestRunner.java21 import java.lang.reflect.Modifier;
172 !Modifier.isStatic(f.getModifiers())) { in getAndroidTestRunner()
DTestCaseUtil.java28 import java.lang.reflect.Modifier;
107 if (Modifier.isStatic(suiteMethod.getModifiers()) in invokeSuiteMethodIfPossible()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java29 import java.lang.reflect.Modifier;
218 && Modifier.isPublic(modifiers) in apply()
219 && !Modifier.isAbstract(modifiers) in apply()
231 if (Modifier.isPublic(constructor.getModifiers())) { in hasValidConstructor()
/frameworks/base/legacy-test/src/junit/framework/
DTestCase.java5 import java.lang.reflect.Modifier;
163 if (!Modifier.isPublic(runMethod.getModifiers())) { in runTest()
DTestSuite.java8 import java.lang.reflect.Modifier;
141 if (!Modifier.isPublic(theClass.getModifiers())) {
298 return isTestMethod(m) && Modifier.isPublic(m.getModifiers());
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessMethodAdapters.java41 import javax.lang.model.element.Modifier;
92 !element.getModifiers().contains(Modifier.PUBLIC)) { in addBindingAdapters()
221 !element.getModifiers().contains(Modifier.STATIC) || in addConversions()
222 !element.getModifiers().contains(Modifier.PUBLIC)) { in addConversions()
245 if (!element.getModifiers().contains(Modifier.PUBLIC)) { in addInverseAdapters()
/frameworks/base/legacy-test/src/android/test/
DAndroidTestCase.java28 import java.lang.reflect.Modifier;
169 !Modifier.isStatic(field.getModifiers())) { in scrubClass()
DInstrumentationTestCase.java29 import java.lang.reflect.Modifier;
174 if (!Modifier.isPublic(method.getModifiers())) { in runTest()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java25 import java.lang.reflect.Modifier;
59 if (!Modifier.isPublic(method.getModifiers())) { in runTest()
/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java35 import java.lang.reflect.Modifier;
255 if (! (Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))) { in invokeStaticMain()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
DEventBus.java38 import java.lang.reflect.Modifier;
946 if (Modifier.isPublic(modifiers) && in isValidEventBusHandlerMethod()
947 Modifier.isFinal(modifiers) && in isValidEventBusHandlerMethod()
970 if (!Modifier.isPublic(modifiers)) { in isValidEventBusHandlerMethod()
972 } else if (!Modifier.isFinal(modifiers)) { in isValidEventBusHandlerMethod()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java44 import java.lang.reflect.Modifier;
84 if (Modifier.isStatic(modifiers)) { // May not be final in library projects in initResources()
/frameworks/base/test-runner/src/junit/runner/
DBaseTestRunner.java14 import java.lang.reflect.Modifier;
120 if (! Modifier.isStatic(suiteMethod.getModifiers())) { in getTest()
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java26 import java.lang.reflect.Modifier;
159 (field.getModifiers() & Modifier.PUBLIC) != 0) { in getKeys()

12