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/
DDhcpErrorEventTest.kt8 import java.lang.reflect.Modifier
48 && Modifier.isPublic(it.modifiers) && Modifier.isStatic(it.modifiers) in testToString()
DValidationProbeEventTest.kt24 import java.lang.reflect.Modifier
68 && Modifier.isPublic(it.modifiers) && Modifier.isStatic(it.modifiers) in testGetProbeName()
/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/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/tests/net/util/java/com/android/internal/util/
DParcelableTestUtil.java21 import java.lang.reflect.Modifier;
39 .filter(f -> !Modifier.isStatic(f.getModifiers())).count()); in assertFieldCountEquals()
/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/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DMessageNanoPrinter.java37 import java.lang.reflect.Modifier;
117 if ((modifiers & Modifier.PUBLIC) == Modifier.PUBLIC in print()
118 && (modifiers & Modifier.STATIC) != Modifier.STATIC in print()
/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/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;
169 !Modifier.isStatic(field.getModifiers())) { in scrubClass()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentService.java32 import java.lang.reflect.Modifier;
70 && (method.getModifiers() & Modifier.PUBLIC) != 0) { in initInjectionMap()
/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/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()

12