/frameworks/base/services/tests/servicestests/src/com/android/server/companion/utils/ |
D | PackageUtilsTest.java | 64 doReturn(android.util.PackageUtils.computeSignaturesSha256Digests( in isAllowlisted_true() 77 assertTrue(PackageUtils.isPackageAllowlisted(context, pm, ALLOWED_PACKAGE_NAMES[0])); in isAllowlisted_true() 88 doReturn(android.util.PackageUtils.computeSignaturesSha256Digests( in isAllowlisted_package_disallowed() 101 assertFalse(PackageUtils.isPackageAllowlisted(context, pm, DISALLOWED_PACKAGE_NAMES[0])); in isAllowlisted_package_disallowed() 112 doReturn(android.util.PackageUtils.computeSignaturesSha256Digests( in isAllowlisted_signature_mismatch() 125 assertFalse(PackageUtils.isPackageAllowlisted(context, pm, ALLOWED_PACKAGE_NAMES[0])); in isAllowlisted_signature_mismatch()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerBackupHelper.java | 29 import android.util.PackageUtils; 105 if (accountDigest.equals(PackageUtils.computeSha256Digest( in apply() 133 final String[] signaturesSha256Digests = PackageUtils.computeSignaturesSha256Digests( in apply() 135 final String signaturesSha256Digest = PackageUtils.computeSignaturesSha256Digest( in apply() 188 final String digest = PackageUtils.computeSignaturesSha256Digest( in backupAccountAccessPermissions() 193 PackageUtils.computeSha256Digest(accountName.getBytes())); in backupAccountAccessPermissions()
|
/frameworks/base/core/java/android/content/pm/ |
D | SigningDetails.java | 26 import android.util.PackageUtils; 427 String signatureDigest = PackageUtils.computeSha256Digest( in hasAncestorOrSelfWithDigest() 436 String signatureDigest = PackageUtils.computeSha256Digest(mSignatures[0].toByteArray()); in hasAncestorOrSelfWithDigest() 444 signatureDigest = PackageUtils.computeSha256Digest( in hasAncestorOrSelfWithDigest() 750 PackageUtils.computeSignaturesSha256Digests(mSignatures); in checkCapability() 752 PackageUtils.computeSignaturesSha256Digest(mSignaturesSha256Digests); in checkCapability() 785 byte[] digest = PackageUtils.computeSha256DigestBytes( in hasSha256CertificateInternal() 798 byte[] digest = PackageUtils.computeSha256DigestBytes(mSignatures[0].toByteArray()); in hasSha256CertificateInternal()
|
D | PackageParser.java | 92 import android.util.PackageUtils; 6232 String signatureDigest = PackageUtils.computeSha256Digest( in hasAncestorOrSelfWithDigest() 6241 String signatureDigest = PackageUtils.computeSha256Digest(signatures[0].toByteArray()); in hasAncestorOrSelfWithDigest() 6249 signatureDigest = PackageUtils.computeSha256Digest( in hasAncestorOrSelfWithDigest() 6561 PackageUtils.computeSignaturesSha256Digests(signatures); in checkCapability() 6563 PackageUtils.computeSignaturesSha256Digest(mSignaturesSha256Digests); in checkCapability() 6597 byte[] digest = PackageUtils.computeSha256DigestBytes( in hasSha256CertificateInternal() 6611 PackageUtils.computeSha256DigestBytes(signatures[0].toByteArray()); in hasSha256CertificateInternal()
|
/frameworks/base/core/java/android/util/ |
D | PackageUtils.java | 40 public final class PackageUtils { class 45 private PackageUtils() { in PackageUtils() method in PackageUtils
|
D | OWNERS | 8 per-file PackageUtils.java = file:/core/java/android/content/pm/OWNERS
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinaryTransparencyService.java | 77 import android.util.PackageUtils; 190 byte[] digest = PackageUtils.computeSha256DigestBytes(packageSigner.toByteArray()); in computePackageSignerSha256Digests() 289 byte[] digest = PackageUtils.computeSha256DigestForLargeFileAsBytes(apkPath, in measureApk() 290 PackageUtils.createLargeFileBuffer()); in measureApk() 568 byte[] fileBuff = PackageUtils.createLargeFileBuffer(); in onShellCommand() 570 PackageUtils.computeSha256DigestForLargeFile( in onShellCommand() 600 String sha256Digest = PackageUtils.computeSha256DigestForLargeFile( in onShellCommand() 601 origPackageFilepath, PackageUtils.createLargeFileBuffer()); in onShellCommand() 665 PackageUtils.computeSha256DigestBytes(packageSigner.toByteArray()); in onShellCommand() 687 byte[] signatureDigestBytes = PackageUtils.computeSha256DigestBytes( in onShellCommand() [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | PackageUtils.java | 65 public final class PackageUtils { class 229 android.util.PackageUtils.computeSignaturesSha256Digests(
|
/frameworks/base/services/companion/java/com/android/server/companion/association/ |
D | AssociationRequestsProcessor.java | 27 import static com.android.server.companion.utils.PackageUtils.enforceUsesCompanionDeviceFeature; 61 import com.android.server.companion.utils.PackageUtils; 481 return PackageUtils.isPackageAllowlisted(mContext, mPackageManagerInternal, packageName); in mayAssociateWithoutPrompt()
|
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/ |
D | CompanionAppBinder.java | 35 import com.android.server.companion.utils.PackageUtils; 318 return PackageUtils.getCompanionServicesForUser(mContext, userId); in create()
|
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/ |
D | SystemDataTransferProcessor.java | 57 import com.android.server.companion.utils.PackageUtils; 137 if (PackageUtils.isPermSyncAutoEnabled(mContext, mPackageManager, packageName)) { in buildPermissionTransferUserConsentIntent()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DynamicCodeLogger.java | 32 import android.util.PackageUtils; 168 String message = PackageUtils.computeSha256Digest(fileName.getBytes()); in logDynamicCodeLoading()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationDebug.java | 29 import android.util.PackageUtils; 186 PackageUtils.computeSignaturesSha256Digests( in printState()
|
D | DomainVerificationPersistence.java | 30 import android.util.PackageUtils;
|
D | DomainVerificationService.java | 56 import android.util.PackageUtils; 1078 PackageUtils.computeSignaturesSha256Digest( in addPackage() 1223 return PackageUtils.computeSignaturesSha256Digest( in writeSettings()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | SharedLibrariesImplTest.kt | 27 import android.util.PackageUtils in <lambda>() 132 .thenReturn(PackageUtils.computeSha256DigestBytes( in <lambda>()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 35 import static com.android.server.companion.utils.PackageUtils.enforceUsesCompanionDeviceFeature; 36 import static com.android.server.companion.utils.PackageUtils.getPackageInfo; 37 import static com.android.server.companion.utils.PackageUtils.isRestrictedSettingsAllowed;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedLibrariesImpl.java | 42 import android.util.PackageUtils; 1019 ? PackageUtils.computeSignaturesSha256Digests( 1021 : PackageUtils.computeSignaturesSha256Digests(
|
D | InstantAppRegistry.java | 46 import android.util.PackageUtils; 428 PackageUtils.computeSignaturesSha256Digests( 1340 PackageUtils.computeSignaturesSha256Digest(
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | SigningDetailsTest.java | 35 import android.util.PackageUtils; 1089 String digest = PackageUtils.computeSha256Digest(new Signature(signer).toByteArray()); in createDigestSet()
|
/frameworks/base/boot/ |
D | preloaded-classes | 8443 android.util.PackageUtils
|
D | boot-image-profile.txt | 30854 Landroid/util/PackageUtils;
|
/frameworks/base/config/ |
D | preloaded-classes | 8474 android.util.PackageUtils
|
D | boot-image-profile.txt | 41015 Landroid/util/PackageUtils;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 57455 Landroid/util/PackageUtils;-><init>()V 57456 Landroid/util/PackageUtils;->computeSha256Digest([B)Ljava/lang/String; 57457 Landroid/util/PackageUtils;->computeSha256DigestBytes([B)[B 57458 Landroid/util/PackageUtils;->computeSignaturesSha256Digest([Landroid/content/pm/Signature;)Ljava/la… 57459 Landroid/util/PackageUtils;->computeSignaturesSha256Digest([Ljava/lang/String;)Ljava/lang/String; 57460 Landroid/util/PackageUtils;->computeSignaturesSha256Digests([Landroid/content/pm/Signature;)[Ljava/…
|