Skip navigation links
A B C D E F G H I L M N O P S T U 

A

ACTION_BIND - Static variable in class io.grpc.binder.ApiConstants
The "action" part of the binding Intent that gRPC clients use by default to identify themselves in a Service.onBind(Intent) call.
allOf(SecurityPolicy...) - Static method in class io.grpc.binder.SecurityPolicies
Creates a SecurityPolicy that allows access if and only if *all* of the specified securityPolicies allow access.
AndroidComponentAddress - Class in io.grpc.binder
The target of an Android Service binding.
AndroidComponentAddress(Intent) - Constructor for class io.grpc.binder.AndroidComponentAddress
 
anyOf(SecurityPolicy...) - Static method in class io.grpc.binder.SecurityPolicies
Creates a SecurityPolicy that allows access if *any* of the specified securityPolicies allow access.
ApiConstants - Class in io.grpc.binder
Constant parts of the gRPC binder transport public API.
asAndroidAppUri() - Method in class io.grpc.binder.AndroidComponentAddress
Returns this address as an "android-app://" uri.
asBindIntent() - Method in class io.grpc.binder.AndroidComponentAddress
Returns this address as an explicit Intent suitable for passing to Context.bindService(android.content.Intent, android.content.ServiceConnection, int).

B

BinderChannelBuilder - Class in io.grpc.binder
Builder for a gRPC channel which communicates with an Android bound service.
BinderServerBuilder - Class in io.grpc.binder
Builder for a server that services requests from an Android Service.
BindServiceFlags - Class in io.grpc.binder
An immutable set of flags affecting the behavior of Context.bindService(android.content.Intent, android.content.ServiceConnection, int).
BindServiceFlags.Builder - Class in io.grpc.binder
Builds an instance of BindServiceFlags.
build() - Method in class io.grpc.binder.BinderServerBuilder
Builds a Server according to this builder's parameters and stores its listening IBinder in the IBinderReceiver passed to BinderServerBuilder.forAddress(AndroidComponentAddress, IBinderReceiver).
build() - Method in class io.grpc.binder.BindServiceFlags.Builder
Returns a new instance of BindServiceFlags that reflects the state of this builder.
build() - Method in class io.grpc.binder.InboundParcelablePolicy.Builder
 
build() - Method in class io.grpc.binder.ServerSecurityPolicy.Builder
 
Builder() - Constructor for class io.grpc.binder.InboundParcelablePolicy.Builder
 

C

checkAuthorization(int) - Method in class io.grpc.binder.SecurityPolicy
Decides whether the given Android UID is authorized.
checkAuthorizationForService(int, String) - Method in class io.grpc.binder.ServerSecurityPolicy
Return whether the given Android UID is authorized to access a particular service.

D

DEFAULT - Static variable in class io.grpc.binder.InboundParcelablePolicy
 
DEFAULTS - Static variable in class io.grpc.binder.BindServiceFlags
A set of default flags suitable for most applications.
delegate() - Method in class io.grpc.binder.BinderChannelBuilder
 
delegate() - Method in class io.grpc.binder.BinderServerBuilder
 

E

enableStats() - Method in class io.grpc.binder.BinderServerBuilder
Enable stats collection using census.
enableTracing() - Method in class io.grpc.binder.BinderServerBuilder
Enable tracing using census.
equals(Object) - Method in class io.grpc.binder.AndroidComponentAddress
 
equals(Object) - Method in class io.grpc.binder.BindServiceFlags
 

F

forAddress(AndroidComponentAddress, Context) - Static method in class io.grpc.binder.BinderChannelBuilder
Creates a channel builder that will bind to a remote Android service.
forAddress(String, int) - Static method in class io.grpc.binder.BinderChannelBuilder
Always fails.
forAddress(AndroidComponentAddress, IBinderReceiver) - Static method in class io.grpc.binder.BinderServerBuilder
Creates a server builder that will listen for bindings to the specified address.
forBindIntent(Intent) - Static method in class io.grpc.binder.AndroidComponentAddress
Creates a new address that refers to intent's component and that uses the "filter matching" fields of intent as the binding Intent.
forComponent(ComponentName) - Static method in class io.grpc.binder.AndroidComponentAddress
Creates an address referencing the specified Service component and using the default binding Intent.
forContext(Context) - Static method in class io.grpc.binder.AndroidComponentAddress
Creates an address for the given Service instance with the default binding Intent.
forLocalComponent(Context, Class<?>) - Static method in class io.grpc.binder.AndroidComponentAddress
Creates an address referencing a Service hosted by this application and using the default binding Intent.
forPort(int) - Static method in class io.grpc.binder.BinderServerBuilder
Always fails.
forRemoteComponent(String, String) - Static method in class io.grpc.binder.AndroidComponentAddress
Creates an address referencing a Service in another application and using the default binding Intent.
forTarget(String, Context) - Static method in class io.grpc.binder.BinderChannelBuilder
Creates a channel builder that will bind to a remote Android service, via a string target name which will be resolved.
forTarget(String) - Static method in class io.grpc.binder.BinderChannelBuilder
Always fails.

G

get() - Method in class io.grpc.binder.IBinderReceiver
Returns the contents of this container or null if it is empty.
getAuthority() - Method in class io.grpc.binder.AndroidComponentAddress
 
getComponent() - Method in class io.grpc.binder.AndroidComponentAddress
 
getMaxParcelableMetadataSize() - Method in class io.grpc.binder.InboundParcelablePolicy
 

H

hashCode() - Method in class io.grpc.binder.AndroidComponentAddress
 
hashCode() - Method in class io.grpc.binder.BindServiceFlags
 
hasPermissions(PackageManager, ImmutableSet<String>) - Static method in class io.grpc.binder.SecurityPolicies
Creates a SecurityPolicy which checks if the caller has all of the given permissions from permissions.
hasSignature(PackageManager, String, Signature) - Static method in class io.grpc.binder.SecurityPolicies
Creates a SecurityPolicy which checks if the package signature matches requiredSignature.
hasSignatureSha256Hash(PackageManager, String, byte[]) - Static method in class io.grpc.binder.SecurityPolicies
Creates SecurityPolicy which checks if the SHA-256 hash of the package signature matches requiredSignatureSha256Hash.

I

IBinderReceiver - Class in io.grpc.binder
A container for at most one instance of IBinder, useful as an "out parameter".
IBinderReceiver() - Constructor for class io.grpc.binder.IBinderReceiver
Constructs a new, initially empty, container.
inboundParcelablePolicy(InboundParcelablePolicy) - Method in class io.grpc.binder.BinderChannelBuilder
Sets the policy for inbound parcelable objects.
inboundParcelablePolicy(InboundParcelablePolicy) - Method in class io.grpc.binder.BinderServerBuilder
Sets the policy for inbound parcelable objects.
InboundParcelablePolicy - Class in io.grpc.binder
Contains the policy for accepting inbound parcelable objects.
InboundParcelablePolicy.Builder - Class in io.grpc.binder
A builder for InboundParcelablePolicy.
internalOnly() - Static method in class io.grpc.binder.SecurityPolicies
 
io.grpc.binder - package io.grpc.binder
 
isDeviceOwner(Context) - Static method in class io.grpc.binder.SecurityPolicies
Creates SecurityPolicy which checks if the app is a device owner app.
isProfileOwner(Context) - Static method in class io.grpc.binder.SecurityPolicies
Creates SecurityPolicy which checks if the app is a profile owner app.
isProfileOwnerOnOrganizationOwnedDevice(Context) - Static method in class io.grpc.binder.SecurityPolicies
Creates SecurityPolicy which checks if the app is a profile owner app on an organization-owned device.

L

LifecycleOnDestroyHelper - Class in io.grpc.binder
Helps work around certain quirks of Lifecycle.addObserver(androidx.lifecycle.LifecycleObserver) and Lifecycle.State.DESTROYED.

M

mainThreadExecutor(Executor) - Method in class io.grpc.binder.BinderChannelBuilder
Provides a custom Executor for accessing this application's main thread.
MAX_PARCELABLE_METADATA_SIZE - Static variable in class io.grpc.binder.InboundParcelablePolicy
The maximum allowed total size of Parcelables in metadata.
metadataKey(String, Parcelable.Creator<P>) - Static method in class io.grpc.binder.ParcelableUtils
Create a Metadata.Key for passing a Parcelable object in the metadata of an RPC, treating instances as mutable.
metadataKeyForImmutableType(String, Parcelable.Creator<P>) - Static method in class io.grpc.binder.ParcelableUtils
Create a Metadata.Key for passing a Parcelable object in the metadata of an RPC, treating instances as immutable.

N

newBuilder() - Static method in class io.grpc.binder.InboundParcelablePolicy
 
newBuilder() - Static method in class io.grpc.binder.ServerSecurityPolicy
 

O

oneOfSignatures(PackageManager, String, Collection<Signature>) - Static method in class io.grpc.binder.SecurityPolicies
Creates a SecurityPolicy which checks if the package signature matches any of requiredSignatures.
oneOfSignatureSha256Hash(PackageManager, String, List<byte[]>) - Static method in class io.grpc.binder.SecurityPolicies
Creates SecurityPolicy which checks if the SHA-256 hash of the package signature matches any of requiredSignatureSha256Hashes.

P

ParcelableUtils - Class in io.grpc.binder
Utility methods for using Android Parcelable objects with gRPC.
permissionDenied(String) - Static method in class io.grpc.binder.SecurityPolicies
 

S

scheduledExecutorService(ScheduledExecutorService) - Method in class io.grpc.binder.BinderChannelBuilder
Provides a custom scheduled executor service.
scheduledExecutorService(ScheduledExecutorService) - Method in class io.grpc.binder.BinderServerBuilder
Provides a custom scheduled executor service.
SecurityPolicies - Class in io.grpc.binder
Static factory methods for creating standard security policies.
securityPolicy(SecurityPolicy) - Method in class io.grpc.binder.BinderChannelBuilder
Provides a custom security policy.
securityPolicy(ServerSecurityPolicy) - Method in class io.grpc.binder.BinderServerBuilder
Provides a custom security policy.
SecurityPolicy - Class in io.grpc.binder
Decides whether a given Android UID is authorized to access some resource.
SecurityPolicy() - Constructor for class io.grpc.binder.SecurityPolicy
 
serverInternalOnly() - Static method in class io.grpc.binder.SecurityPolicies
 
ServerSecurityPolicy - Class in io.grpc.binder
A security policy for a gRPC server.
ServerSecurityPolicy.Builder - Class in io.grpc.binder
Builder for an AndroidServiceSecurityPolicy.
servicePolicy(String, SecurityPolicy) - Method in class io.grpc.binder.ServerSecurityPolicy.Builder
Specify a policy specific to a particular gRPC service.
set(IBinder) - Method in class io.grpc.binder.IBinderReceiver
 
setAboveClient(boolean) - Method in class io.grpc.binder.BindServiceFlags.Builder
Sets or clears the Context.BIND_ABOVE_CLIENT flag.
setAcceptParcelableMessages(boolean) - Method in class io.grpc.binder.InboundParcelablePolicy.Builder
Sets whether the policy should accept parcelable messages.
setAcceptParcelableMetadataValues(boolean) - Method in class io.grpc.binder.InboundParcelablePolicy.Builder
Sets whether the policy should accept parcelable metadata values.
setAdjustWithActivity(boolean) - Method in class io.grpc.binder.BindServiceFlags.Builder
Sets or clears the Context.BIND_ADJUST_WITH_ACTIVITY flag.
setAllowOomManagement(boolean) - Method in class io.grpc.binder.BindServiceFlags.Builder
Sets or clears the Context.BIND_ALLOW_OOM_MANAGEMENT flag.
setAutoCreate(boolean) - Method in class io.grpc.binder.BindServiceFlags.Builder
Controls whether sending a call over the associated Channel will cause the target Service to be created and whether in-flight calls will keep it in existence absent any other binding in the system.
setBindServiceFlags(BindServiceFlags) - Method in class io.grpc.binder.BinderChannelBuilder
Specifies certain optional aspects of the underlying Android Service binding.
setImportant(boolean) - Method in class io.grpc.binder.BindServiceFlags.Builder
Sets or clears the Context.BIND_IMPORTANT flag.
setIncludeCapabilities(boolean) - Method in class io.grpc.binder.BindServiceFlags.Builder
Sets or clears the Context.BIND_INCLUDE_CAPABILITIES flag.
setMaxParcelableMetadataSize(int) - Method in class io.grpc.binder.InboundParcelablePolicy.Builder
Sets the maximum allowed total size of parcelables in metadata.
setNotForeground(boolean) - Method in class io.grpc.binder.BindServiceFlags.Builder
Sets or clears the Context.BIND_NOT_FOREGROUND flag.
setNotPerceptible(boolean) - Method in class io.grpc.binder.BindServiceFlags.Builder
Sets or clears the Context.BIND_NOT_PERCEPTIBLE flag.
setWaivePriority(boolean) - Method in class io.grpc.binder.BindServiceFlags.Builder
Sets or clears the Context.BIND_WAIVE_PRIORITY flag.
shouldAcceptParcelableMessages() - Method in class io.grpc.binder.InboundParcelablePolicy
 
shouldAcceptParcelableMetadataValues() - Method in class io.grpc.binder.InboundParcelablePolicy
 
shutdownUponDestruction(Lifecycle, ManagedChannel) - Static method in class io.grpc.binder.LifecycleOnDestroyHelper
Arranges for ManagedChannel.shutdownNow() to be called on channel just before lifecycle is destroyed, or immediately if lifecycle is already destroyed.
shutdownUponDestruction(Lifecycle, Server) - Static method in class io.grpc.binder.LifecycleOnDestroyHelper
Arranges for Server.shutdownNow() to be called on server just before lifecycle is destroyed, or immediately if lifecycle is already destroyed.

T

toBuilder() - Method in class io.grpc.binder.BindServiceFlags
Returns a new instance of BindServiceFlags.Builder with the same set of flags as this.
toInteger() - Method in class io.grpc.binder.BindServiceFlags
Returns the sum of all set flags as an int suitable for passing to (Context.bindService(android.content.Intent, android.content.ServiceConnection, int).
toString() - Method in class io.grpc.binder.AndroidComponentAddress
 
toString() - Method in class io.grpc.binder.BindServiceFlags
 

U

untrustedPublic() - Static method in class io.grpc.binder.UntrustedSecurityPolicies
Return a security policy which allows any peer on device.
UntrustedSecurityPolicies - Class in io.grpc.binder
Static factory methods for creating untrusted security policies.
useTransportSecurity(File, File) - Method in class io.grpc.binder.BinderServerBuilder
 
A B C D E F G H I L M N O P S T U 
Skip navigation links