Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/search/processor-src/com/android/settingslib/search/
DIndexableProcessor.java41 import javax.lang.model.element.Modifier;
81 Modifier.PRIVATE, Modifier.FINAL) in process()
86 .addModifiers(Modifier.PUBLIC) in process()
92 .addModifiers(Modifier.PUBLIC); in process()
94 .addModifiers(Modifier.PUBLIC); in process()
96 .addModifiers(Modifier.PUBLIC); in process()
98 .addModifiers(Modifier.PUBLIC); in process()
100 .addModifiers(Modifier.PUBLIC); in process()
102 .addModifiers(Modifier.PUBLIC); in process()
137 .addModifiers(Modifier.PUBLIC) in process()
[all …]
/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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java23 import java.lang.reflect.Modifier;
104 if ((originalMethod.getModifiers() & Modifier.STATIC) == 0) { in compare()
115 (originalClass.getModifiers() & Modifier.STATIC) == 0) { in compare()
147 if ((delegateMethod.getModifiers() & Modifier.STATIC) != Modifier.STATIC) { in compare()
/frameworks/base/tests/net/common/java/android/net/metrics/
DValidationProbeEventTest.kt22 import java.lang.reflect.Modifier
61 && Modifier.isPublic(it.modifiers) && Modifier.isStatic(it.modifiers) in testGetProbeName()
DDhcpErrorEventTest.kt8 import java.lang.reflect.Modifier
48 && Modifier.isPublic(it.modifiers) && Modifier.isStatic(it.modifiers) in testToString()
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectionCompanionGenerator.java45 import javax.lang.model.element.Modifier;
151 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in generateTypeSpec()
158 .builder(TypeName.BOOLEAN, "mPropertiesMapped", Modifier.PRIVATE) in generateTypeSpec()
188 .builder(TypeName.INT, memberName, Modifier.PRIVATE) in generateIdFieldSpecs()
222 .addModifiers(Modifier.PUBLIC) in generateMapProperties()
431 .addModifiers(Modifier.PUBLIC) in generateReadProperties()
DPlatformInspectableProcessor.java37 import javax.lang.model.element.Modifier;
111 final Set<Modifier> classModifiers = classElement.get().getModifiers(); in processProperties()
113 if (classModifiers.contains(Modifier.PRIVATE)) { in processProperties()
DInspectablePropertyProcessor.java38 import javax.lang.model.element.Modifier;
235 final Set<Modifier> modifiers = element.getModifiers(); in validateModifiers()
237 if (!modifiers.contains(Modifier.PUBLIC)) { in validateModifiers()
243 if (modifiers.contains(Modifier.ABSTRACT)) { in validateModifiers()
249 if (modifiers.contains(Modifier.STATIC)) { in validateModifiers()
/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.java26 import java.lang.reflect.Modifier;
222 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in valueToString()
247 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in flagsToString()
/frameworks/base/test-runner/src/android/test/
DActivityTestCase.java22 import java.lang.reflect.Modifier;
71 && (field.getModifiers() & Modifier.FINAL) == 0) { in scrubClass()
DTestCaseUtil.java27 import java.lang.reflect.Modifier;
96 if (Modifier.isStatic(suiteMethod.getModifiers()) in invokeSuiteMethodIfPossible()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java27 import java.lang.reflect.Modifier;
192 && Modifier.isPublic(modifiers) in apply()
193 && !Modifier.isAbstract(modifiers) in apply()
205 if (Modifier.isPublic(constructor.getModifiers())) { in hasValidConstructor()
/frameworks/libs/net/common/hostdevice/com/android/testutils/
DMiscAsserts.kt20 import java.lang.reflect.Modifier in <lambda>()
101 !Modifier.isStatic(it.modifiers) && !Modifier.isTransient(it.modifiers) in assertFieldCountEquals()
/frameworks/base/test-base/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/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityEventTest.java31 import java.lang.reflect.Modifier;
109 if ((field.getModifiers() & Modifier.STATIC) == 0) { in assertNoNewNonStaticFieldsAdded()
DAccessibilityNodeInfoTest.java40 import java.lang.reflect.Modifier;
150 if (((field.getModifiers() & Modifier.STATIC) != 0) in updateCtsToTestNewBooleanProperties()
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java41 import java.lang.reflect.Modifier;
154 if (Modifier.isAbstract(loadedClass.getModifiers())) { in isTestClass()
208 return isTestMethod(m) && Modifier.isPublic(m.getModifiers()); in isPublicTestMethod()
/frameworks/base/test-base/src/android/test/
DAndroidTestCase.java28 import java.lang.reflect.Modifier;
168 !Modifier.isStatic(field.getModifiers())) { in scrubClass()
/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/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentService.java32 import java.lang.reflect.Modifier;
82 && (method.getModifiers() & Modifier.PUBLIC) != 0) { in initInjectionMap()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/
DEventBus.java31 import java.lang.reflect.Modifier;
722 if (Modifier.isPublic(modifiers) && in isValidEventBusHandlerMethod()
723 Modifier.isFinal(modifiers) && in isValidEventBusHandlerMethod()
738 if (!Modifier.isPublic(modifiers)) { in isValidEventBusHandlerMethod()
740 } else if (!Modifier.isFinal(modifiers)) { in isValidEventBusHandlerMethod()
/frameworks/base/tests/net/java/android/net/ipmemorystore/
DParcelableTests.java31 import java.lang.reflect.Modifier;
73 .filter(f -> !Modifier.isStatic(f.getModifiers())).count()); in testNetworkAttributesParceling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DInjectionInflationController.java43 import java.lang.reflect.Modifier;
92 && (method.getModifiers() & Modifier.PUBLIC) != 0) { in initInjectionMap()

12