FileDocCategorySizeDatePackage
IKeyChainServiceTestSupport.javaAPI DocAndroid 5.1 API8087Sat Mar 14 05:47:32 GMT 2015com.android.keychain.tests.support

IKeyChainServiceTestSupport

public interface IKeyChainServiceTestSupport implements android.os.IInterface
Service that runs as the system user for the use of the KeyChainServiceTest which needs to run as a regular app user, but needs to automate some steps only permissable to the system user. In particular, revokeAppPermission and grantAppPermission must be run within the system_server itself. In a real application, the user is prompted to perform these steps via the com.android.credentials.UNLOCK Intent and KeyChainActivity.
hide

Fields Summary
Constructors Summary
Methods Summary
public voidgrantAppPermission(int uid, java.lang.String alias)

public booleankeystoreImportKey(java.lang.String key, byte[] value)

public booleankeystorePassword(java.lang.String password)

public booleankeystorePut(java.lang.String key, byte[] value)

public booleankeystoreReset()

public voidrevokeAppPermission(int uid, java.lang.String alias)