/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProviderInfo.java | 32 boolean availableByDefault, boolean isFallback, String[] signatures) { 37 this.signatures = signatures; 57 signatures = in.createStringArray(); 71 out.writeStringArray(signatures); 79 public final String[] signatures; field in class:WebViewProviderInfo 31 WebViewProviderInfo(String packageName, String description, boolean availableByDefault, boolean isFallback, String[] signatures) argument
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ObjectReader.h | 47 GroupSignatureMap& signatures() { return f_GroupSignatureMap; } function in class:mcld::ObjectReader 49 const GroupSignatureMap& signatures() const { return f_GroupSignatureMap; } function in class:mcld::ObjectReader
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
H A D | BackupUtilsTest.java | 34 private Signature[] genSignatures(String... signatures) { argument 35 final Signature[] sigs = new Signature[signatures.length]; 36 for (int i = 0; i < signatures.length; i++){ 37 sigs[i] = new Signature(signatures[i].getBytes()); 42 private PackageInfo genPackage(String... signatures) { argument 46 pi.signatures = genSignatures(signatures); 62 // If it's a system app, signatures don't matter.
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | Utils.java | 101 Signature[] signatures = context.getPackageManager().getPackageInfo(packageName, 102 PackageManager.GET_SIGNATURES).signatures; 103 ArrayList<String> result = new ArrayList<String>(signatures.length); 104 for (Signature sig : signatures) {
|
/frameworks/base/core/java/android/provider/ |
H A D | FontsContract.java | 702 List<byte[]> signatures; 705 signatures = convertToByteArrayList(packageInfo.signatures); 706 Collections.sort(signatures, sByteArrayComparator); 713 if (equalsByteArrayList(signatures, requestSignatures)) { 733 List<byte[]> signatures, List<byte[]> requestSignatures) { 734 if (signatures.size() != requestSignatures.size()) { 737 for (int i = 0; i < signatures.size(); ++i) { 738 if (!Arrays.equals(signatures.get(i), requestSignatures.get(i))) { 745 private static List<byte[]> convertToByteArrayList(Signature[] signatures) { argument 732 equalsByteArrayList( List<byte[]> signatures, List<byte[]> requestSignatures) argument [all...] |
/frameworks/support/compat/java/android/support/v4/provider/ |
H A D | FontsContractCompat.java | 701 List<byte[]> signatures; 704 signatures = convertToByteArrayList(packageInfo.signatures); 705 Collections.sort(signatures, sByteArrayComparator); 711 if (equalsByteArrayList(signatures, requestSignatures)) { 741 private static boolean equalsByteArrayList(List<byte[]> signatures, argument 743 if (signatures.size() != requestSignatures.size()) { 746 for (int i = 0; i < signatures.size(); ++i) { 747 if (!Arrays.equals(signatures.get(i), requestSignatures.get(i))) { 754 private static List<byte[]> convertToByteArrayList(Signature[] signatures) { argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.h | 27 * The size of the data and header signatures combined. The signatures are adjacent to each other in 50 /// The final set of signatures. 51 unsigned char signatures[FWD_LOCK_SIGNATURES_SIZE]; member in struct:FwdLockConv_CloseSession_Output 53 /// The offset in the produced output file where the signatures are located. 200 * the final set of signatures.
|
H A D | FwdLockConv.c | 573 // Set the signatures to all zeros for now; they will have to be updated later. 1214 HMAC_Final(&pSession->signingContext, pOutput->fromCloseSession.signatures, 1227 HMAC_Update(&pSession->signingContext, pOutput->fromCloseSession.signatures, 1230 &pOutput->fromCloseSession.signatures[SHA1_HASH_SIZE], &signatureSize); 1309 } else if (fpWriteFunc(outputFileDesc, output.fromCloseSession.signatures,
|
/frameworks/base/core/java/android/util/ |
H A D | PackageUtils.java | 55 return computeCertSha256Digest(packageInfo.signatures[0]);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | SharedUserSetting.java | 35 final PackageSignatures signatures = new PackageSignatures(); field in class:SharedUserSetting
|
H A D | ShortcutPackageInfo.java | 128 if (pi.signatures == null || pi.signatures.length == 0) { 129 Slog.e(TAG, "Can't get signatures: package=" + packageName); 133 BackupUtils.hashSignatureArray(pi.signatures), /* shadow=*/ false); 151 mSigHashes = BackupUtils.hashSignatureArray(pi.signatures);
|
/frameworks/base/services/core/java/com/android/server/security/ |
H A D | KeyAttestationApplicationIdProviderService.java | 66 packageInfo.versionCode, packageInfo.signatures);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | ServiceWatcher.java | 96 | PackageManager.GET_SIGNATURES).signatures; 122 // A list of package names used to create the signatures. 222 if (!isSignatureMatch(pInfo.signatures)) { 301 public static boolean isSignatureMatch(Signature[] signatures, argument 303 if (signatures == null) return false; 307 for (Signature s : signatures) { 320 private boolean isSignatureMatch(Signature[] signatures) { argument 321 return isSignatureMatch(signatures, mSignatureSets);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | PackageValidator.java | 108 if (packageInfo.signatures.length != 1) { 113 packageInfo.signatures[0].toByteArray(), Base64.NO_WRAP); 115 // Test for known signatures:
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | PackageValidator.java | 108 if (packageInfo.signatures.length != 1) { 113 packageInfo.signatures[0].toByteArray(), Base64.NO_WRAP); 115 // Test for known signatures:
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
H A D | SystemImpl.java | 165 * Reads all signatures at the current depth (within the current provider) from the XML parser. 169 List<String> signatures = new ArrayList<String>(); 175 signatures.add(signature); 180 return signatures.toArray(new String[signatures.size()]);
|
H A D | WebViewUpdater.java | 513 if (provider.signatures == null || provider.signatures.length == 0) { 516 packageSignatures = packageInfo.signatures; 521 // Return whether the package signature matches any of the valid signatures 522 for (String signature : provider.signatures) {
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInfo.java | 190 * Array of all signatures read from the package file. This is only filled 193 public Signature[] signatures; field in class:PackageInfo 322 dest.writeTypedArray(signatures, parcelableFlags); 373 signatures = source.createTypedArray(Signature.CREATOR);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFObjectReader.cpp | 129 signatures().insert((*section)->name(), exist); 131 signatures().insert(signature->name(), exist); 159 signatures().insert(name.split(".").second, exist);
|
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarVerifier.java | 75 private final Hashtable<String, HashMap<String, Attributes>> signatures = field in class:StrictJarVerifier 197 if (manifest == null || signatures.isEmpty()) { 208 Iterator<Map.Entry<String, HashMap<String, Attributes>>> it = signatures.entrySet().iterator(); 264 * known signatures. 383 // were used to sign this APK. If an ID is known to us, it means signatures of that 415 // Do we actually have any signatures to look at? 454 signatures.put(signatureFile, entries);
|
/frameworks/base/services/core/java/com/android/server/backup/ |
H A D | BackupUtils.java | 41 // data from the like-named package in a restore set even if the signatures 44 // different phones the same system app will have different signatures.) 52 Signature[] deviceSigs = target.signatures;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicyManager.java | 337 pm.getPackageInfo("android", GET_SIGNATURES).signatures); 346 pm.getPackageInfo(packageName, GET_SIGNATURES).signatures);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | PackageManagerSettingsTests.java | 367 final PackageSignatures originalSignatures = originalPkgSetting01.signatures; 398 // signatures object must be different 399 assertNotSame(testPkgSetting01.signatures, originalSignatures); 496 final PackageSignatures disabledSignatures = disabledPkgSetting01.signatures; 528 assertNotSame(testPkgSetting01.signatures, disabledSignatures); 641 assertSame(origPkgSetting.signatures, testPkgSetting.signatures); 642 assertThat(origPkgSetting.signatures, is(testPkgSetting.signatures));
|
H A D | ShortcutManagerTest5.java | 78 assertNull(pi.signatures); 83 assertNotNull(pi.signatures);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | Utils.java | 248 if (pkg != null && pkg.signatures != null && pkg.signatures.length > 0) { 249 return pkg.signatures[0];
|