/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | PackageManagerBackupAgent.java | 52 * We back up the signatures of each package so that during a system restore, 208 homeSigHashes = BackupUtils.hashSignatureArray(homeInfo.signatures); 221 // the signatures don't match so we treat them as different apps. 293 if (info.signatures == null || info.signatures.length == 0) 296 + " since it appears to have no signatures."); 305 * byte[] signatures -- [len] flattened signature hash array of the package 312 BackupUtils.hashSignatureArray(info.signatures)); 358 // set of app signatures associated with each backed-up app in this restore 420 + " since it appears to have no signatures [all...] |
H A D | BackupManagerService.java | 3195 // Look up the package info & signatures. This is first so that if it 4109 // number of signatures == N 4123 if (pkg.signatures == null) { 4126 printer.println(Integer.toString(pkg.signatures.length)); 4127 for (Signature sig : pkg.signatures) { 6361 // So far so good -- do the signatures match the manifest? 6374 + " signatures do not match restore manifest"); 6564 // Verify signatures against any installed version; if they 6614 Slog.w(TAG, "Restore manifest signatures do not match " 7912 // So far so good -- do the signatures matc [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageSettingBase.java | 113 PackageSignatures signatures; field in class:PackageSettingBase 194 this.signatures = new PackageSignatures(); 236 * NOTE: For some fields [such as keySetData, signatures, userState, verificationInfo, etc...], 265 signatures = orig.signatures;
|
H A D | PackageInstallerSession.java | 745 mSignatures = apk.signatures; 785 // ensure we've got appropriate package name, version code and signatures 791 mSignatures = pkgInfo.signatures; 891 if (!Signature.areExactMatch(mSignatures, apk.signatures)) { 893 tag + " signatures are inconsistent");
|
H A D | Settings.java | 719 // NOTE: Create a deeper copy of the package signatures so we don't 720 // overwrite the signatures in the original package setting. 721 pkgSetting.signatures = new PackageSignatures(); 779 // Copy signatures from previous setting 780 pkgSetting.signatures = new PackageSignatures(disabledPkg.signatures); 974 // Update signatures if needed. 975 if (p.signatures.mSignatures == null) { 976 p.signatures.assignSignatures(pkg.mSignatures); 983 // the shared user signatures a [all...] |
H A D | PackageManagerService.java | 5912 s1 = ((SharedUserSetting)obj).signatures.mSignatures; 5918 s1 = ps.signatures.mSignatures; 5931 s2 = ((SharedUserSetting)obj).signatures.mSignatures; 5937 s2 = ps.signatures.mSignatures; 5972 * Compares two sets of signatures. Returns: 6014 // Make sure s2 contains all signatures in s1. 6023 * external storage) is less than the version where package signatures 6059 * Make sure the expanded scanned set contains all signatures in the 6063 // Migrate the old signatures to the new scheme. 8768 if (ps.signatures [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
H A D | WebViewUpdateServiceTest.java | 84 true /* isDebuggable == true -> don't check package signatures */); 183 boolean installed, Signature[] signatures, long updateTime) { 185 p.signatures = signatures; 191 boolean installed, Signature[] signatures, long updateTime, boolean hidden) { 193 createPackageInfo(packageName, enabled, valid, installed, signatures, updateTime); 203 boolean installed, Signature[] signatures, long updateTime, boolean hidden, 205 PackageInfo p = createPackageInfo(packageName, enabled, valid, installed, signatures, 275 // Ensure that package with valid signatures is chosen rather than package with invalid 276 // signatures 182 createPackageInfo(String packageName, boolean enabled, boolean valid, boolean installed, Signature[] signatures, long updateTime) argument 190 createPackageInfo(String packageName, boolean enabled, boolean valid, boolean installed, Signature[] signatures, long updateTime, boolean hidden) argument 202 createPackageInfo(String packageName, boolean enabled, boolean valid, boolean installed, Signature[] signatures, long updateTime, boolean hidden, int versionCode, boolean isSystemApp) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 3060 pi.signatures.length == 1); 3061 String sigBefore = pi.signatures[0].toCharsString(); 3068 pi.signatures.length == 1); 3069 String sigAfter = pi.signatures[0].toCharsString(); 3070 assertFalse("Package signatures did not change after upgrade!", 3087 pi.signatures.length == 1); 3088 String sigBefore = pi.signatures[0].toCharsString(); 3095 pi.signatures.length == 1); 3096 String sigAfter = pi.signatures[0].toCharsString(); 3097 assertTrue("Package signatures change [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccCarrierPrivilegeRules.java | 298 * @param packageManager PackageManager for getting signatures. 305 // the package info with signatures. 330 * @param packageInfo PackageInfo for the package, containing the package signatures. 334 Signature[] signatures = packageInfo.signatures; 335 for (Signature sig : signatures) { 347 * @param packageManager PackageManager for getting signatures and package names.
|
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
H A D | FontsContractCompatTest.java | 80 for (Signature sig : info.signatures) { 357 packageInfo.signatures = new Signature[] { signature, signature2 }; 412 packageInfo.signatures = new Signature[] { signature };
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | BaseShortcutManagerTest.java | 985 protected Signature[] genSignatures(String... signatures) { argument 986 final Signature[] sigs = new Signature[signatures.length]; 987 for (int i = 0; i < signatures.length; i++){ 988 sigs[i] = new Signature(signatures[i].getBytes()); 993 protected PackageInfo genPackage(String packageName, int uid, int version, String... signatures) { argument 1002 pi.signatures = genSignatures(signatures); 1007 protected void addPackage(String packageName, int uid, int version, String... signatures) { argument 1008 mInjectedPackages.put(packageName, genPackage(packageName, uid, version, signatures)); 1089 ret.signatures [all...] |
H A D | ShortcutManagerTest1.java | 3857 int version, String... signatures) { 3859 "dummy", /* uid */ 0, version, signatures))); 4789 // Change package signatures. 3856 checkCanRestoreTo(boolean expected, ShortcutPackageInfo spi, int version, String... signatures) argument
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | FontsContractE2ETest.java | 64 for (Signature sig : info.signatures) {
|
H A D | FontsContractTest.java | 326 packageInfo.signatures = new Signature[] { signature, signature2 }; 378 packageInfo.signatures = new Signature[] { signature };
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewFactory.java | 242 * Returns true if the signatures match, false otherwise 277 if (!signaturesEquals(chosen.signatures, toUse.signatures)) { 358 // Fetch signatures for verification
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerBackupHelper.java | 130 packageInfo.signatures[0]);
|
/frameworks/support/compat/tests/java/android/support/v4/graphics/ |
H A D | TypefaceCompatTest.java | 83 for (Signature sig : info.signatures) { 124 * Helper method to obtain ProviderResourceEntry with overwriting correct signatures.
|
/frameworks/base/core/java/android/util/apk/ |
H A D | ApkSignatureSchemeV2Verifier.java | 97 * Verifies APK Signature Scheme v2 signatures of the provided APK and returns the certificates 112 * Verifies APK Signature Scheme v2 signatures of the provided APK and returns the certificates 127 * APK Signature Scheme v2 block and additional information relevant to verifying the signatures 257 ByteBuffer signatures = getLengthPrefixedSlice(signerBlock); 264 while (signatures.hasRemaining()) { 267 ByteBuffer signature = getLengthPrefixedSlice(signatures); 289 throw new SecurityException("No signatures found"); 291 throw new SecurityException("No supported signatures found"); 347 "Signature algorithms don't match between digests and signatures records");
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsState.java | 1101 UserHandle.USER_SYSTEM).signatures[0]; 1107 if (sSystemSignature.equals(packageInfo.signatures[0])) {
|
H A D | SettingsProvider.java | 2215 // Mac each of the developer signatures. 2216 for (int i = 0; i < callingPkg.signatures.length; i++) { 2217 byte[] sig = callingPkg.signatures[i].toByteArray();
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 465 public final Signature[] signatures; field in class:PackageParser.ApkLite 476 int installLocation, List<VerifierInfo> verifiers, Signature[] signatures, 490 this.signatures = signatures; 766 pi.signatures = new Signature[N]; 767 System.arraycopy(p.mSignatures, 0, pi.signatures, 0, N); 1433 // add signatures to child packages 1488 Signature[] signatures = null; 1492 signatures = convertToSignatures(allSignersCerts); 1520 pkg.mSignatures = signatures; 474 ApkLite(String codePath, String packageName, String splitName, boolean isFeatureSplit, String configForSplit, String usesSplitName, int versionCode, int revisionCode, int installLocation, List<VerifierInfo> verifiers, Signature[] signatures, Certificate[][] certificates, boolean coreApp, boolean debuggable, boolean multiArch, boolean use32bitAbi, boolean extractNativeLibs, boolean isolatedSplits) argument 1774 parseApkLite(String codePath, XmlPullParser parser, AttributeSet attrs, int flags, Signature[] signatures, Certificate[][] certificates) argument 5951 setSignatures(Signature[] signatures) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 461 (char *)convSession->output.fromCloseSession.signatures,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 351 info.signatures = new Signature[] {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
H A D | AccountManagerServiceTest.java | 145 mPackageInfo.signatures = new Signature[1]; 146 mPackageInfo.signatures[0] = new Signature(new byte[] {'a', 'b', 'c', 'd'});
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | LocationManagerService.java | 525 if (!ServiceWatcher.isSignatureMatch(pInfo.signatures, sigSets)) {
|