/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
D | BackupUtilsTest.java | 79 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/ |
D | AppBackupUtilsTest.java | 336 PackageInfo packageInfo = new PackageInfo(); in appGetsFullBackup_noCustomBackupAgent_returnsTrue() local 348 PackageInfo packageInfo = new PackageInfo(); in appGetsFullBackup_withCustomBackupAgentAndFullBackupOnlyFlag_returnsTrue() local 361 PackageInfo packageInfo = new PackageInfo(); in appGetsFullBackup_withCustomBackupAgentAndWithoutFullBackupOnlyFlag_returnsFalse() local 373 PackageInfo packageInfo = new PackageInfo(); in appIsKeyValueOnly_noCustomBackupAgent_returnsTrue() local 385 PackageInfo packageInfo = new PackageInfo(); in appIsKeyValueOnly_withCustomBackupAgentAndFullBackupOnlyFlag_returnsTrue() local 398 PackageInfo packageInfo = new PackageInfo(); in appIsKeyValueOnly_withCustomBackupAgentAndWithoutFullBackupOnlyFlag_returnsFalse() local 418 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_systemApplication_returnsTrue() local 432 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() local 451 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse() local 472 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_targetSignatureEmpty_returnsFalse() local [all …]
|
D | TarBackupReaderTest.java | 319 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
|
D | BackupManagerMonitorUtilsTest.java | 93 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/ |
D | AppMetadataBackupWriterTest.java | 113 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/ |
D | AppMetadataBackupWriter.java | 59 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/ |
D | UserPackage.java | 39 public UserPackage(UserInfo user, PackageInfo packageInfo) { in UserPackage() 53 PackageInfo packageInfo = null; in getPackageInfosAllUsers() local 87 public static boolean hasCorrectTargetSdkVersion(PackageInfo packageInfo) { in hasCorrectTargetSdkVersion()
|
D | WebViewProviderResponse.java | 27 public WebViewProviderResponse(PackageInfo packageInfo, int status) { in WebViewProviderResponse() 61 public final PackageInfo packageInfo; field in WebViewProviderResponse
|
D | WebViewZygote.java | 91 static void onWebViewProviderChanged(PackageInfo packageInfo) { in onWebViewProviderChanged()
|
/frameworks/base/services/backup/java/com/android/server/backup/params/ |
D | ClearParams.java | 26 public PackageInfo packageInfo; field in ClearParams 31 PackageInfo packageInfo, in ClearParams()
|
D | RestoreParams.java | 32 @Nullable public final PackageInfo packageInfo; field in RestoreParams 46 PackageInfo packageInfo, in createForSinglePackage() 133 @Nullable PackageInfo packageInfo, in RestoreParams()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageTrackerHelperImpl.java | 79 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/ |
D | KeyValueBackupReporter.java | 208 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()
|
D | KeyValueBackupTask.java | 371 private int sendDataToTransport(@Nullable PackageInfo packageInfo) in sendDataToTransport() 482 final PackageInfo packageInfo; in getPackageForBackup() local 507 private IBackupAgent bindAgent(PackageInfo packageInfo) throws AgentException { in bindAgent() 627 private void extractPmAgentData(PackageInfo packageInfo) throws AgentException, TaskException { in extractPmAgentData() 644 private void extractAgentData(PackageInfo packageInfo) throws AgentException, TaskException { in extractAgentData() 666 private void extractAgentData(PackageInfo packageInfo, IBackupAgent agent) in extractAgentData() 726 private void checkAgentResult(PackageInfo packageInfo, RemoteResult result) in checkAgentResult() 842 PackageInfo packageInfo, File backupDataFile, boolean nonIncremental) in transportPerformBackup()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdater.java | 242 public final PackageInfo packageInfo; field in WebViewUpdater.ProviderAndPackageInfo 244 public ProviderAndPackageInfo(WebViewProviderInfo provider, PackageInfo packageInfo) { in ProviderAndPackageInfo() 255 PackageInfo packageInfo = in getValidWebViewPackagesAndInfos() local 413 boolean isValidProvider(WebViewProviderInfo configInfo, PackageInfo packageInfo) { in isValidProvider() 417 private int validityResult(WebViewProviderInfo configInfo, PackageInfo packageInfo) { in validityResult() 495 PackageInfo packageInfo, SystemInterface systemInterface) { in providerHasValidSignature()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupTransport.java | 247 public int clearBackupData(PackageInfo packageInfo) { in clearBackupData() 315 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags) { in performBackup() 323 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd) { in performBackup() 692 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags) in performBackup() 698 public int clearBackupData(PackageInfo packageInfo) throws RemoteException { in clearBackupData()
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | IBackupTransport.aidl | 145 int performBackup(in PackageInfo packageInfo, in ParcelFileDescriptor inFd, int flags); in performBackup() 155 int clearBackupData(in PackageInfo packageInfo); in clearBackupData()
|
/frameworks/base/core/java/android/os/ |
D | VintfObject.java | 70 public static int verify(String[] packageInfo) { in verify()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidPackageInfoFetcher.java | 75 PackageInfo packageInfo = mContext.getPackageManager().getPackageInfo( in getStatements() local
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 65 PackageInfo packageInfo = mPackageManager.getPackageInfoAsUser(packageNames[i], in getKeyAttestationApplicationId() local
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 147 final PackageInfo packageInfo = buildPackageInfo(partition, uid, MOCK_USER1); in hasRestrictedNetworkPermission() local 155 final PackageInfo packageInfo = new PackageInfo(); in packageInfoWithPartition() local 601 final PackageInfo packageInfo = buildPackageInfo(PARTITION_SYSTEM, uid, MOCK_USER1); in setPackagePermissions() local 610 PackageInfo packageInfo = setPackagePermissions(packageName, uid, permissions); in addPackage() local
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 181 public int getCarrierPrivilegeStatus(PackageInfo packageInfo) { in getCarrierPrivilegeStatus() 263 public static List<Signature> getSignatures(PackageInfo packageInfo) { in getSignatures()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/ |
D | ExternalResources.java | 48 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/ |
D | PerformClearTask.java | 39 TransportClient transportClient, PackageInfo packageInfo, in PerformClearTask()
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransport.java | 191 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor data) { in performBackup() 196 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor data, int flags) { in performBackup() 205 PackageInfo packageInfo, ParcelFileDescriptor data, int flags) { in performBackupInternal() 399 public int clearBackupData(PackageInfo packageInfo) { in clearBackupData()
|