Searched refs:signatures (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/webkit/
H A DWebViewProviderInfo.java32 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 DObjectReader.h47 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 DBackupUtilsTest.java34 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 DUtils.java101 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 DFontsContract.java702 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 DFontsContractCompat.java701 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 DFwdLockConv.h27 * 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 DFwdLockConv.c573 // 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 DPackageUtils.java55 return computeCertSha256Digest(packageInfo.signatures[0]);
/frameworks/base/services/core/java/com/android/server/pm/
H A DSharedUserSetting.java35 final PackageSignatures signatures = new PackageSignatures(); field in class:SharedUserSetting
H A DShortcutPackageInfo.java128 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 DKeyAttestationApplicationIdProviderService.java66 packageInfo.versionCode, packageInfo.signatures);
/frameworks/base/services/core/java/com/android/server/
H A DServiceWatcher.java96 | 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 DPackageValidator.java108 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 DPackageValidator.java108 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 DSystemImpl.java165 * 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 DWebViewUpdater.java513 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 DPackageInfo.java190 * 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 DELFObjectReader.cpp129 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 DStrictJarVerifier.java75 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 DBackupUtils.java41 // 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 DNetworkPolicyManager.java337 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 DPackageManagerSettingsTests.java367 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 DShortcutManagerTest5.java78 assertNull(pi.signatures);
83 assertNotNull(pi.signatures);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java248 if (pkg != null && pkg.signatures != null && pkg.signatures.length > 0) {
249 return pkg.signatures[0];

Completed in 535 milliseconds

123