Home
last modified time | relevance | path

Searched refs:Signature (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DSignature.java34 public class Signature implements Parcelable { class
43 public Signature(byte[] signature) { in Signature() method in Signature
67 public Signature(String text) { in Signature() method in Signature
161 Signature other = (Signature)obj; in equals()
187 public static final Parcelable.Creator<Signature> CREATOR
188 = new Parcelable.Creator<Signature>() {
189 public Signature createFromParcel(Parcel source) {
190 return new Signature(source);
193 public Signature[] newArray(int size) {
194 return new Signature[size];
[all …]
DSignature.aidl20 parcelable Signature;
DPackageInfo.java147 public Signature[] signatures;
269 signatures = source.createTypedArray(Signature.CREATOR); in PackageInfo()
DPackageParser.java350 pi.signatures = new Signature[N]; in generatePackageInfo()
597 pkg.mSignatures = new Signature[certs.length]; in collectCertificates()
599 pkg.mSignatures[i] = new Signature( in collectCertificates()
803 static public Signature stringToSignature(String str) { in stringToSignature()
809 return new Signature(sig); in stringToSignature()
2972 public Signature mSignatures[];
/frameworks/base/services/java/com/android/server/pm/
DPackageSignatures.java25 import android.content.pm.Signature;
32 Signature[] mSignatures;
40 PackageSignatures(Signature[] sigs) { in PackageSignatures()
48 ArrayList<Signature> pastSignatures) throws IOException { in writeXml()
57 final Signature sig = mSignatures[i]; in writeXml()
62 Signature pastSig = pastSignatures.get(j); in writeXml()
78 void readXml(XmlPullParser parser, ArrayList<Signature> pastSignatures) in readXml()
88 mSignatures = new Signature[count]; in readXml()
111 Signature sig = pastSignatures.get(idx); in readXml()
131 Signature sig = new Signature(key); in readXml()
[all …]
DPackageManagerService.java71 import android.content.pm.Signature;
2015 Signature[] s1; in checkUidSignatures()
2016 Signature[] s2; in checkUidSignatures()
2045 static int compareSignatures(Signature[] s1, Signature[] s2) { in compareSignatures()
2054 HashSet<Signature> set1 = new HashSet<Signature>(); in compareSignatures()
2055 for (Signature sig : s1) { in compareSignatures()
2058 HashSet<Signature> set2 = new HashSet<Signature>(); in compareSignatures()
2059 for (Signature sig : s2) { in compareSignatures()
5007 final Signature verifierSig = pkg.mSignatures[0]; in getUidForVerifier()
5079 Signature[] callerSignature; in setInstallerPackageName()
DSettings.java41 import android.content.pm.Signature;
115 private final ArrayList<Signature> mPastSignatures =
116 new ArrayList<Signature>();
/frameworks/base/services/java/com/android/server/
DPackageManagerBackupAgent.java26 import android.content.pm.Signature;
75 public Signature[] signatures;
77 Metadata(int version, Signature[] sigs) { in Metadata()
292 Signature[] sigs = readSignatureArray(inputBufferStream); in onRestore()
316 private static void writeSignatureArray(DataOutputStream out, Signature[] sigs) in writeSignatureArray()
322 for (Signature sig : sigs) { in writeSignatureArray()
329 private static Signature[] readSignatureArray(DataInputStream in) { in readSignatureArray()
348 Signature[] sigs = new Signature[num]; in readSignatureArray()
353 sigs[i] = new Signature(flatSig); in readSignatureArray()
DBackupManagerService.java49 import android.content.pm.Signature;
2712 for (Signature sig : pkg.signatures) { in writeAppManifest()
2835 final HashMap<String, Signature[]> mManifestSignatures
2836 = new HashMap<String, Signature[]>();
3504 Signature[] sigs = mManifestSignatures.get(info.packageName); in installApk()
3587 Signature[] sigs = new Signature[numSigs]; in readAppManifest()
3590 sigs[i] = new Signature(str[0]); in readAppManifest()
3984 private boolean signaturesMatch(Signature[] storedSigs, PackageInfo target) { in signaturesMatch()
3997 Signature[] deviceSigs = target.signatures; in signaturesMatch()
/frameworks/base/core/java/android/webkit/
DPluginManager.java31 import android.content.pm.Signature;
79 private static final Signature[] SIGNATURES = new Signature[] {
80 new Signature(SIGNATURE_1)
244 Signature signatures[] = pkgInfo.signatures; in containsPluginPermissionAndSignatures()
250 for (Signature signature : signatures) { in containsPluginPermissionAndSignatures()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java26 import android.content.pm.Signature;
215 final HashSet<Signature> systemSignature; in isUidValidForPolicy()
226 final HashSet<Signature> packageSignature = Sets.newHashSet( in isUidValidForPolicy()
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp197 uint32_t Signature = 0; in populateForEachMetadata() local
198 if (SigString.getAsInteger(10, Signature)) { in populateForEachMetadata()
202 TmpSigList[i] = Signature; in populateForEachMetadata()
/frameworks/base/core/java/android/os/
DRecoverySystem.java32 import java.security.Signature;
259 Signature sig = Signature.getInstance(alg); in verifyPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java53 import android.content.pm.Signature;
152 final Signature signature; in setUp()
154 signature = new Signature("F00D"); in setUp()
156 signature = new Signature("DEAD"); in setUp()
158 info.signatures = new Signature[] { signature }; in setUp()
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java39 import android.content.pm.Signature;
/frameworks/base/
Dpreloaded-classes247 android.content.pm.Signature
248 android.content.pm.Signature$1
1536 java.security.Signature
1537 java.security.Signature$SignatureImpl
/frameworks/base/api/
Dcurrent.txt6114 field public android.content.pm.Signature[] signatures;
6397 public class Signature implements android.os.Parcelable {
6398 ctor public Signature(byte[]);
6399 ctor public Signature(java.lang.String);
33149 public abstract class Signature extends java.security.SignatureSpi {
33150 ctor protected Signature(java.lang.String);
33152 …method public static java.security.Signature getInstance(java.lang.String) throws java.security.No…
33153 …method public static java.security.Signature getInstance(java.lang.String, java.lang.String) throw…
33154 …method public static java.security.Signature getInstance(java.lang.String, java.security.Provider)…
33206 …nedObject(java.io.Serializable, java.security.PrivateKey, java.security.Signature) throws java.io.…
[all …]
D14.txt6114 field public android.content.pm.Signature[] signatures;
6397 public class Signature implements android.os.Parcelable {
6398 ctor public Signature(byte[]);
6399 ctor public Signature(java.lang.String);
33149 public abstract class Signature extends java.security.SignatureSpi {
33150 ctor protected Signature(java.lang.String);
33152 …method public static java.security.Signature getInstance(java.lang.String) throws java.security.No…
33153 …method public static java.security.Signature getInstance(java.lang.String, java.lang.String) throw…
33154 …method public static java.security.Signature getInstance(java.lang.String, java.security.Provider)…
33206 …nedObject(java.io.Serializable, java.security.PrivateKey, java.security.Signature) throws java.io.…
[all …]
/frameworks/base/docs/html/
Dsitemap.txt1649 http://developer.android.com/reference/android/content/pm/Signature.html
2778 http://developer.android.com/reference/java/security/Signature.html