Home
last modified time | relevance | path

Searched refs:MethodSignature (Results 1 – 6 of 6) sorted by relevance

/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/
DProcessor.java158 Set<MethodSignature> allowListedMethods = ALLOWLISTED_METHODS.stream() in process()
159 .map(i -> MethodSignature.forApiString(i, processingEnv.getTypeUtils(), in process()
214 Set<MethodSignature> allowListedMethods, in generateRemoteSystemService()
263 …private boolean usesBlocklistedType(ExecutableElement method, Set<MethodSignature> allowListedMeth… in usesBlocklistedType()
264 if (allowListedMethods.contains(MethodSignature.forMethod(method, elements))) { in usesBlocklistedType()
288 MethodSignature parentProfileInstanceSignature = in generateFrameworkInterface()
289 MethodSignature.forApiString(PARENT_PROFILE_INSTANCE, processingEnv.getTypeUtils(), in generateFrameworkInterface()
291 MethodSignature getContentResolverSignature = in generateFrameworkInterface()
292 MethodSignature.forApiString(GET_CONTENT_RESOLVER, processingEnv.getTypeUtils(), in generateFrameworkInterface()
294 MethodSignature getAdapterSignature = in generateFrameworkInterface()
[all …]
DApis.java68 ImmutableSet.Builder<MethodSignature> methods = ImmutableSet.builder();
100 private static Set<MethodSignature> parseApiTxt(
121 Set<MethodSignature> methodSignatures = new HashSet<>();
141 MethodSignature signature =
142 MethodSignature.forApiString(methodLine, types, elements);
154 private final ImmutableSet<MethodSignature> mMethods;
156 private Apis(ImmutableSet<MethodSignature> methods) {
163 public ImmutableSet<MethodSignature> methods() {
DMethodSignature.java45 public final class MethodSignature { class
48 public static MethodSignature forMethod(ExecutableElement method, Elements elements) { in forMethod()
58 return new MethodSignature(Visibility.ofMethod(method), in forMethod()
76 public static /* @Nullable */ MethodSignature forApiString( in forApiString()
136 return new MethodSignature(visibility, returnType, methodName, parameters, exceptions); in forApiString()
207 public MethodSignature( in MethodSignature() method in MethodSignature
231 if (!(o instanceof MethodSignature)) return false; in equals()
232 MethodSignature that = (MethodSignature) o; in equals()
/cts/common/device-side/bedstead/testapisreflection/src/processor/main/java/com/android/bedstead/testapisreflection/processor/
DMethodSignature.java26 final class MethodSignature { class
60 private MethodSignature(String frameworkClass, in MethodSignature() method in MethodSignature
72 static MethodSignature forApiString(String apiString) { in forApiString()
82 return new MethodSignature(frameworkClass, name, new ReturnType(returnType, in forApiString()
90 return new MethodSignature(frameworkClass, name, new ReturnType(returnType, in forApiString()
170 if (!(o instanceof MethodSignature)) return false; in equals()
171 MethodSignature that = (MethodSignature) o; in equals()
DProcessor.java159 Set<MethodSignature> allowlistedTestMethods = ALLOWLISTED_TEST_METHODS.stream() in process()
160 .map(MethodSignature::forApiString) in process()
180 private void generateMethods(FileSpec.Builder classBuilder, Set<MethodSignature> testMethods) { in generateMethods()
181 for (MethodSignature method : testMethods) { in generateMethods()
242 Set<MethodSignature> testMethods = ALLOWLISTED_TEST_METHODS.stream() in generatedMethodsForTestApiClasses()
243 .map(MethodSignature::forApiString) in generatedMethodsForTestApiClasses()
246 for (MethodSignature method : testMethods) { in generatedMethodsForTestApiClasses()
330 private void generateGetterProperty(FileSpec.Builder classBuilder, MethodSignature method, in generateGetterProperty()
535 private String[] buildParametersCode(MethodSignature method, in buildParametersCode()
644 private TypeName returnTypeOrProxy(MethodSignature method) { in returnTypeOrProxy()
/cts/common/device-side/bedstead/testapp/src/processor/main/java/com/android/bedstead/testapp/processor/
DProcessor.java20 import com.android.bedstead.remoteframeworkclasses.processor.MethodSignature;
575 MethodSignature parentProfileInstanceSignature = in generateTargetedRemoteActivityImpl()
576 MethodSignature.forApiString(PARENT_PROFILE_INSTANCE, processingEnv.getTypeUtils(), in generateTargetedRemoteActivityImpl()
578 MethodSignature getContentResolverSignature = in generateTargetedRemoteActivityImpl()
579 MethodSignature.forApiString(GET_CONTENT_RESOLVER, processingEnv.getTypeUtils(), in generateTargetedRemoteActivityImpl()
581 MethodSignature getRemoteContentResolverSignature = in generateTargetedRemoteActivityImpl()
582MethodSignature.forApiString(GET_REMOTE_CONTENT_RESOLVER, processingEnv.getTypeUtils(), in generateTargetedRemoteActivityImpl()
584 MethodSignature getAdapterSignature = in generateTargetedRemoteActivityImpl()
585 MethodSignature.forApiString(GET_ADAPTER, processingEnv.getTypeUtils(), in generateTargetedRemoteActivityImpl()
587 MethodSignature getDefaultAdapterSignature = in generateTargetedRemoteActivityImpl()
[all …]