binderHasSystemService method

Future<bool> binderHasSystemService(
  1. String serviceName, {
  2. PrivBinderServiceSource source = PrivBinderServiceSource.currentProcess,
  3. int? userServiceHandle,
})

Whether serviceName can be resolved from source.

source defaults to PrivBinderServiceSource.currentProcess.

userServiceHandle forwards the lookup through a bound UserService connection, as returned by bindUserService.

Implementation

Future<bool> binderHasSystemService(
  String serviceName, {
  PrivBinderServiceSource source = PrivBinderServiceSource.currentProcess,
  int? userServiceHandle,
}) {
  throw UnimplementedError(
    'binderHasSystemService() has not been implemented.',
  );
}