Home
last modified time | relevance | path

Searched defs:packageInfo (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java79 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_systemApplication_returnsTrue() local
95 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() local
114 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse() local
136 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_targetSignatureEmpty_returnsFalse() local
153 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_targetSignatureNull_returnsFalse() local
169 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_bothSignaturesNull_returnsFalse() local
183 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_bothSignaturesEmpty_returnsFalse() local
197 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_equalSignatures_returnsTrue() local
219 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_extraSignatureInTarget_returnsTrue() local
240 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_extraSignatureInStored_returnsFalse() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java444 PackageInfo packageInfo = new PackageInfo(); in appGetsFullBackup_noCustomBackupAgent_returnsTrue() local
456 PackageInfo packageInfo = new PackageInfo(); in appGetsFullBackup_withCustomBackupAgentAndFullBackupOnlyFlag_returnsTrue() local
469 PackageInfo packageInfo = new PackageInfo(); in appGetsFullBackup_withCustomBackupAgentAndWithoutFullBackupOnlyFlag_returnsFalse() local
481 PackageInfo packageInfo = new PackageInfo(); in appIsKeyValueOnly_noCustomBackupAgent_returnsTrue() local
493 PackageInfo packageInfo = new PackageInfo(); in appIsKeyValueOnly_withCustomBackupAgentAndFullBackupOnlyFlag_returnsTrue() local
506 PackageInfo packageInfo = new PackageInfo(); in appIsKeyValueOnly_withCustomBackupAgentAndWithoutFullBackupOnlyFlag_returnsFalse() local
525 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_systemApplication_returnsTrue() local
538 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() local
556 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse() local
576 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_targetSignatureEmpty_returnsFalse() local
[all …]
DTarBackupReaderTest.java319 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() local
344 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() local
373 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore() local
408 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept() local
446 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_restoreAnyVersion_returnsAccept() local
487 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept() local
531 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk() local
571 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore() local
DBackupManagerMonitorUtilsTest.java93 PackageInfo packageInfo = new PackageInfo(); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() local
119 PackageInfo packageInfo = new PackageInfo(); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() local
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java113 PackageInfo packageInfo = in testBackupManifest_withoutApkOrSignatures_writesCorrectData() local
148 PackageInfo packageInfo = in testBackupManifest_withApk_writesApk() local
177 PackageInfo packageInfo = in testBackupManifest_withSignatures_writesCorrectSignatures() local
215 PackageInfo packageInfo = createPackageInfo(TEST_PACKAGE, null, TEST_PACKAGE_VERSION_CODE); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller() local
230 PackageInfo packageInfo = in testBackupManifest_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun() local
259 PackageInfo packageInfo = in testBackupWidget_writesCorrectData() local
285 PackageInfo packageInfo = in testBackupWidget_withNullWidgetData_throwsNullPointerException() local
301 PackageInfo packageInfo = in testBackupWidget_withEmptyWidgetData_throwsIllegalArgumentException() local
317 PackageInfo packageInfo = in testBackupWidget_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun() local
336 PackageInfo packageInfo = in testBackupApk_writesCorrectBytesToOutput() local
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java59 PackageInfo packageInfo, File manifestFile, File filesDir, boolean withApk) in backupManifest()
83 PackageInfo packageInfo, in backupManifest()
126 private byte[] getManifestBytes(PackageInfo packageInfo, boolean withApk) { in getManifestBytes()
170 PackageInfo packageInfo, File metadataFile, File filesDir, byte[] widgetData) in backupWidget()
239 public void backupApk(PackageInfo packageInfo) { in backupApk()
257 public void backupObb(@UserIdInt int userId, PackageInfo packageInfo) { in backupObb()
/frameworks/base/core/java/android/webkit/
DUserPackage.java39 public UserPackage(UserInfo user, PackageInfo packageInfo) { in UserPackage()
53 PackageInfo packageInfo = null; in getPackageInfosAllUsers() local
87 public static boolean hasCorrectTargetSdkVersion(PackageInfo packageInfo) { in hasCorrectTargetSdkVersion()
DWebViewProviderResponse.java29 public WebViewProviderResponse(PackageInfo packageInfo, int status) { in WebViewProviderResponse()
64 public final PackageInfo packageInfo; field in WebViewProviderResponse
DWebViewZygote.java92 static void onWebViewProviderChanged(PackageInfo packageInfo) { in onWebViewProviderChanged()
/frameworks/base/services/backup/java/com/android/server/backup/params/
DClearParams.java26 public PackageInfo packageInfo; field in ClearParams
31 PackageInfo packageInfo, in ClearParams()
DRestoreParams.java33 @Nullable public final PackageInfo packageInfo; field in RestoreParams
48 PackageInfo packageInfo, in createForSinglePackage()
143 @Nullable PackageInfo packageInfo, in RestoreParams()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTrackerHelperImpl.java79 PackageInfo packageInfo = mPackageManager.getPackageInfo(packageName, flags); in getInstalledPackageVersion() local
86 PackageInfo packageInfo = mPackageManager.getPackageInfo(packageName, flags); in isPrivilegedApp() local
95 PackageInfo packageInfo = mPackageManager.getPackageInfo(packageName, flags); in usesPermission() local
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java208 void onAgentIllegalKey(PackageInfo packageInfo, String key) { in onAgentIllegalKey()
253 void onEmptyData(PackageInfo packageInfo) { in onEmptyData()
292 void onPackageBackupNonIncrementalRequired(PackageInfo packageInfo) { in onPackageBackupNonIncrementalRequired()
332 void onAgentTimedOut(@Nullable PackageInfo packageInfo) { in onAgentTimedOut()
348 void onAgentCancelled(@Nullable PackageInfo packageInfo) { in onAgentCancelled()
362 void onAgentResultError(@Nullable PackageInfo packageInfo) { in onAgentResultError()
370 private String getPackageName(@Nullable PackageInfo packageInfo) { in getPackageName()
DKeyValueBackupTask.java434 PackageInfo packageInfo; in informTransportOfUnchangedApps() local
467 private boolean isEligibleForNoDataCall(PackageInfo packageInfo) { in isEligibleForNoDataCall()
474 private void sendNoDataChangedTo(BackupTransportClient transport, PackageInfo packageInfo, in sendNoDataChangedTo()
573 private int sendDataToTransport(@Nullable PackageInfo packageInfo) in sendDataToTransport()
709 final PackageInfo packageInfo; in getPackageForBackup() local
734 private IBackupAgent bindAgent(PackageInfo packageInfo) throws AgentException { in bindAgent()
858 private void extractPmAgentData(PackageInfo packageInfo) throws AgentException, TaskException { in extractPmAgentData()
875 private void extractAgentData(PackageInfo packageInfo) throws AgentException, TaskException { in extractAgentData()
897 private void extractAgentData(PackageInfo packageInfo, IBackupAgent agent) in extractAgentData()
958 private void checkAgentResult(PackageInfo packageInfo, RemoteResult result) in checkAgentResult()
[all …]
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java300 PackageInfo packageInfo = getPackageArchiveInfo(intent.getData()); in handleIntegrityVerification() local
457 private List<String> getCertificateFingerprint(@NonNull PackageInfo packageInfo) { in getCertificateFingerprint()
465 private List<String> getCertificateLineage(@NonNull PackageInfo packageInfo) { in getCertificateLineage()
474 private Map<String, String> getAllowedInstallers(@NonNull PackageInfo packageInfo) { in getAllowedInstallers()
543 private static Signature[] getSignatures(@NonNull PackageInfo packageInfo) { in getSignatures()
554 private static Signature[] getSignatureLineage(@NonNull PackageInfo packageInfo) { in getSignatureLineage()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceImpl.java382 public final PackageInfo packageInfo; field in WebViewUpdateServiceImpl.ProviderAndPackageInfo
384 ProviderAndPackageInfo(WebViewProviderInfo provider, PackageInfo packageInfo) { in ProviderAndPackageInfo()
395 PackageInfo packageInfo = in getValidWebViewPackagesAndInfos() local
512 private int validityResult(WebViewProviderInfo configInfo, PackageInfo packageInfo) { in validityResult()
593 PackageInfo packageInfo, SystemInterface systemInterface) { in providerHasValidSignature()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DWatchdogRollbackLoggerTest.java150 PackageInfo packageInfo = new PackageInfo(); in testApexdLoggingCallsWithParents() local
174 PackageInfo packageInfo = new PackageInfo(); in testApexdLoggingCallsWithNoParents() local
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java261 public int clearBackupData(PackageInfo packageInfo) { in clearBackupData()
330 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags) { in performBackup()
338 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd) { in performBackup()
751 public void performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags, in performBackup()
762 public void clearBackupData(PackageInfo packageInfo, ITransportStatusCallback callback) in clearBackupData()
/frameworks/base/core/java/android/os/
DVintfObject.java71 public static int verify(String[] packageInfo) { in verify()
/frameworks/base/services/core/java/com/android/server/security/
DKeyAttestationApplicationIdProviderService.java65 PackageInfo packageInfo = mPackageManager.getPackageInfoAsUser(packageNames[i], in getKeyAttestationApplicationId() local
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java257 PackageInfo packageInfo = pm.getPackageInfo(packageName, in onShellCommand() local
507 PackageInfo packageInfo = pm.getPackageInfo(packageName, in updateBinaryMeasurements() local
585 PackageInfo packageInfo = pm.getPackageInfo(packageName, in doFreshBinaryMeasurements() local
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DExternalResources.java48 public static Resources injectExternalResources(PackageInfo packageInfo) { in injectExternalResources()
154 PackageInfo packageInfo = new PackageInfo(); in createPackageInfo() local
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformClearTask.java39 TransportConnection transportConnection, PackageInfo packageInfo, in PerformClearTask()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupEligibilityRules.java67 protected boolean appGetsFullBackup(PackageInfo packageInfo) { in appGetsFullBackup()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java220 public static boolean isFactory(@NonNull PackageInfo packageInfo) { in isFactory()
522 private static boolean isActive(PackageInfo packageInfo) { in isActive()
618 final PackageInfo packageInfo = PackageInfoWithoutStateUtils.generate( in scanApexPackagesInternalLocked() local
709 final PackageInfo packageInfo = mAllPackagesCache.get(i); in getPackageInfo() local
729 final PackageInfo packageInfo = mAllPackagesCache.get(i); in getActivePackages() local
745 final PackageInfo packageInfo = mAllPackagesCache.get(i); in getFactoryPackages() local
761 final PackageInfo packageInfo = mAllPackagesCache.get(i); in getInactivePackages() local
777 final PackageInfo packageInfo = mAllPackagesCache.get(i); in isApexPackage() local

1234