Add RemoteAuthService

Add RemoteAuthService that implements a logic of D2DA

Design doc: go/remote-auth-manager-fishfood-design

Test: loaded on device.
Bug: 290092977
Change-Id: I2fdc8b87241439c051c4706e9970639c7c83c763
This commit is contained in:
igorzas
2023-07-28 20:24:59 +00:00
parent e502678bd1
commit 4d2dbf4a9b
2 changed files with 13 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ package android.content {
public abstract class Context {
method @NonNull public android.os.UserHandle getUser();
field public static final String PAC_PROXY_SERVICE = "pac_proxy";
field public static final String REMOTE_AUTH_SERVICE = "remote_auth";
field public static final String TEST_NETWORK_SERVICE = "test_network";
}

View File

@@ -6057,6 +6057,18 @@ public abstract class Context {
@SystemApi
public static final String NEARBY_SERVICE = "nearby";
/**
* Use with {@link #getSystemService(String)} to retrieve a
* {@link android.remoteauth.RemoteAuthManager} to discover,
* register and authenticate via remote authenticator devices.
*
* @see #getSystemService(String)
* @see android.remoteauth.RemoteAuthManager
* @hide
*/
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
public static final String REMOTE_AUTH_SERVICE = "remote_auth";
/**
* Use with {@link #getSystemService(String)} to retrieve a
* {@link android.app.ambientcontext.AmbientContextManager}.