diff options
author | dcashman <dcashman@google.com> | 2014-06-09 09:27:54 -0700 |
---|---|---|
committer | dcashman <dcashman@google.com> | 2014-07-12 12:09:40 -0700 |
commit | 405912bce074e9e59a246e2357a108e50dffabf8 (patch) | |
tree | 23e28254e4dd33b2cf6181e8136b3644f6ba3179 /test-runner/src/android/test/mock | |
parent | 325503caef80ebce0da3e4d5fa2ac3f917dd1b1d (diff) | |
download | frameworks_base-405912bce074e9e59a246e2357a108e50dffabf8.zip frameworks_base-405912bce074e9e59a246e2357a108e50dffabf8.tar.gz frameworks_base-405912bce074e9e59a246e2357a108e50dffabf8.tar.bz2 |
Initial KeySet API.
Bug: 6967056
Change-Id: I47a01bd5dc25591cc70f58f38920ad0a021094ae
Diffstat (limited to 'test-runner/src/android/test/mock')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index a14714a..648c418 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -31,6 +31,7 @@ import android.content.pm.IPackageInstallObserver; import android.content.pm.IPackageMoveObserver; import android.content.pm.IPackageStatsObserver; import android.content.pm.InstrumentationInfo; +import android.content.pm.KeySet; import android.content.pm.ManifestDigest; import android.content.pm.PackageInfo; import android.content.pm.PackageInstaller; @@ -616,6 +617,26 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + @Override + public KeySet getKeySetByAlias(String packageName, String alias) { + throw new UnsupportedOperationException(); + } + + @Override + public KeySet getSigningKeySet(String packageName) { + throw new UnsupportedOperationException(); + } + + @Override + public boolean isSignedBy(String packageName, KeySet ks) { + throw new UnsupportedOperationException(); + } + + @Override + public boolean isSignedByExactly(String packageName, KeySet ks) { + throw new UnsupportedOperationException(); + } + /** * @hide */ |