OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ManifestDigest
(Results
1 - 13
of
13
) sorted by null
/frameworks/base/core/java/android/content/pm/
ManifestDigest.aidl
19
parcelable
ManifestDigest
;
ManifestDigest.java
39
public class
ManifestDigest
implements Parcelable {
40
private static final String TAG = "
ManifestDigest
";
46
private static final String TO_STRING_PREFIX = "
ManifestDigest
{mDigest=";
51
ManifestDigest
(byte[] digest) {
55
private
ManifestDigest
(Parcel source) {
59
static
ManifestDigest
fromInputStream(InputStream fileIs) {
85
return new
ManifestDigest
(digest);
95
if (!(o instanceof
ManifestDigest
)) {
99
final
ManifestDigest
other = (
ManifestDigest
) o
[
all
...]
VerificationParams.java
19
import android.content.pm.
ManifestDigest
;
55
private final
ManifestDigest
mManifestDigest;
68
* @param
manifestDigest
an object that holds the digest of the package
72
int originatingUid,
ManifestDigest
manifestDigest
) {
77
mManifestDigest =
manifestDigest
;
98
public
ManifestDigest
getManifestDigest() {
222
mManifestDigest = source.readParcelable(
ManifestDigest
.class.getClassLoader());
IPackageManager.aidl
34
import android.content.pm.
ManifestDigest
;
380
in
ManifestDigest
manifestDigest
, in ContainerEncryptionParams encryptionParams);
PackageManager.java
[
all
...]
PackageParser.java
573
* Gathers the {@link
ManifestDigest
} for {@code pkg} if it exists in the
583
pkg.
manifestDigest
=
ManifestDigest
.fromInputStream(jarFile.getInputStream(je));
655
pkg.
manifestDigest
=
656
ManifestDigest
.fromInputStream(jarFile.getInputStream(je));
[
all
...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
ManifestDigestTest.java
33
assertNull("Attributes were null, so
ManifestDigest
.fromAttributes should return null",
34
ManifestDigest
.fromInputStream(null));
45
assertNull("InputStream threw exception, so
ManifestDigest
should be null",
46
ManifestDigest
.fromInputStream(is));
52
ManifestDigest
expected =
53
new
ManifestDigest
(MessageDigest.getInstance("SHA-256").digest(MESSAGE_1));
55
ManifestDigest
actual =
ManifestDigest
.fromInputStream(is);
58
ManifestDigest
unexpected = new
ManifestDigest
(new byte[0])
[
all
...]
VerificationParamsTest.java
19
import android.content.pm.
ManifestDigest
;
45
private final static
ManifestDigest
MANIFEST_DIGEST = new
ManifestDigest
(DIGEST_BYTES);
74
Uri.parse(REFERRER_STRING), ORIGINATING_UID, new
ManifestDigest
(DIGEST_BYTES));
85
Uri.parse(REFERRER_STRING), ORIGINATING_UID, new
ManifestDigest
(DIGEST_BYTES));
96
Uri.parse(REFERRER_STRING), ORIGINATING_UID, new
ManifestDigest
(DIGEST_BYTES));
108
new
ManifestDigest
(DIGEST_BYTES));
119
Uri.parse(REFERRER_STRING), 12345, new
ManifestDigest
(DIGEST_BYTES));
131
new
ManifestDigest
("a different digest".getBytes()));
142
Uri.parse(REFERRER_STRING), ORIGINATING_UID, new
ManifestDigest
(DIGEST_BYTES))
[
all
...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
InstallAppProgress.java
27
import android.content.pm.
ManifestDigest
;
260
ManifestDigest
manifestDigest
= getIntent().getParcelableExtra(EXTRA_MANIFEST_DIGEST);
262
referrer, originatingUid,
manifestDigest
);
PackageInstallerActivity.java
29
import android.content.pm.
ManifestDigest
;
68
private
ManifestDigest
mPkgDigest;
394
mPkgDigest = parsed.
manifestDigest
;
/frameworks/base/test-runner/src/android/test/mock/
MockPackageManager.java
33
import android.content.pm.
ManifestDigest
;
570
ManifestDigest
manifestDigest
, ContainerEncryptionParams encryptionParams) {
/frameworks/base/core/java/android/app/
ApplicationPackageManager.java
44
import android.content.pm.
ManifestDigest
;
[
all
...]
/frameworks/base/services/java/com/android/server/pm/
PackageManagerService.java
88
import android.content.pm.
ManifestDigest
;
[
all
...]
Completed in 433 milliseconds