diff options
author | Anonymous Coward <nobody@android.com> | 2012-04-24 10:35:16 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2012-05-07 16:34:49 -0700 |
commit | ceb1b0bfaea56251796b08c07b963de7403d84eb (patch) | |
tree | fea73b05f6b4d47da174eca362693958cf5d785a /test-runner | |
parent | 476b03b0c0d5cae4d1b114c6f80858d59ba36cad (diff) | |
download | frameworks_base-ceb1b0bfaea56251796b08c07b963de7403d84eb.zip frameworks_base-ceb1b0bfaea56251796b08c07b963de7403d84eb.tar.gz frameworks_base-ceb1b0bfaea56251796b08c07b963de7403d84eb.tar.bz2 |
Add encryption parameters to package installation
Change-Id: Ic9f8ab9f8110f08bb3c00725cfce5b8ee7b766f3
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 5610134..86689f3 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -22,6 +22,7 @@ import android.content.IntentFilter; import android.content.IntentSender; import android.content.pm.ActivityInfo; import android.content.pm.ApplicationInfo; +import android.content.pm.ContainerEncryptionParams; import android.content.pm.FeatureInfo; import android.content.pm.IPackageDataObserver; import android.content.pm.IPackageDeleteObserver; @@ -29,6 +30,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.ManifestDigest; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PermissionGroupInfo; @@ -36,16 +38,12 @@ import android.content.pm.PermissionInfo; import android.content.pm.ProviderInfo; import android.content.pm.ResolveInfo; import android.content.pm.ServiceInfo; -import android.content.pm.Signature; import android.content.pm.UserInfo; -import android.content.pm.ManifestDigest; import android.content.pm.VerifierDeviceIdentity; -import android.content.pm.VerifierInfo; import android.content.res.Resources; import android.content.res.XmlResourceParser; import android.graphics.drawable.Drawable; import android.net.Uri; -import android.os.RemoteException; import java.util.List; @@ -565,7 +563,7 @@ public class MockPackageManager extends PackageManager { @Override public void installPackageWithVerification(Uri packageURI, IPackageInstallObserver observer, int flags, String installerPackageName, Uri verificationURI, - ManifestDigest manifestDigest) { + ManifestDigest manifestDigest, ContainerEncryptionParams encryptionParams) { throw new UnsupportedOperationException(); } |