Home
last modified time | relevance | path

Searched refs:isAppEligibleForBackup (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/app/backup/
DBackupTransport.java572 public boolean isAppEligibleForBackup(PackageInfo targetPackage, boolean isFullBackup) { in isAppEligibleForBackup() method in BackupTransport
774 public boolean isAppEligibleForBackup(PackageInfo targetPackage, boolean isFullBackup) in isAppEligibleForBackup() method in BackupTransport.TransportImpl
776 return BackupTransport.this.isAppEligibleForBackup(targetPackage, isFullBackup); in isAppEligibleForBackup()
DBackupManager.java708 public boolean isAppEligibleForBackup(String packageName) { in isAppEligibleForBackup() method in BackupManager
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DDelegatingTransport.java333 public boolean isAppEligibleForBackup(PackageInfo targetPackage, in isAppEligibleForBackup() method in DelegatingTransport
335 return getDelegate().isAppEligibleForBackup(targetPackage, isFullBackup); in isAppEligibleForBackup()
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl250 boolean isAppEligibleForBackup(in PackageInfo targetPackage, boolean isFullBackup); in isAppEligibleForBackup() method
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/
DDelegatingTransportTest.java330 when(mBackupTransport.isAppEligibleForBackup(mPackageInfo, true)).thenReturn(exp); in testIsAppEligibleForBackup()
332 boolean ret = mDelegatingTransport.isAppEligibleForBackup(mPackageInfo, true); in testIsAppEligibleForBackup()
335 verify(mBackupTransport, times(1)).isAppEligibleForBackup(mPackageInfo, true); in testIsAppEligibleForBackup()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java136 return transport.isAppEligibleForBackup( in appIsRunningAndEligibleForBackupWithTransport()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceRoboTest.java758 backupManagerService.isAppEligibleForBackup(mUserOneId, TEST_PACKAGE); in testIsAppEligibleForBackup_onRegisteredUser_callsMethodForUser()
760 verify(mUserOneService).isAppEligibleForBackup(TEST_PACKAGE); in testIsAppEligibleForBackup_onRegisteredUser_callsMethodForUser()
770 backupManagerService.isAppEligibleForBackup(mUserTwoId, TEST_PACKAGE); in testIsAppEligibleForBackup_onUnknownUser_doesNotPropagateCall()
772 verify(mUserOneService, never()).isAppEligibleForBackup(TEST_PACKAGE); in testIsAppEligibleForBackup_onUnknownUser_doesNotPropagateCall()
DUserBackupManagerServiceTest.java225 boolean result = backupManagerService.isAppEligibleForBackup(PACKAGE_1); in testIsAppEligibleForBackup_whenAppNotEligible()
242 boolean result = backupManagerService.isAppEligibleForBackup(PACKAGE_1); in testIsAppEligibleForBackup_whenAppEligible()
263 () -> backupManagerService.isAppEligibleForBackup(PACKAGE_1)); in testIsAppEligibleForBackup_withoutPermission()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1304 return isUserReadyForBackup(userId) && isAppEligibleForBackup(userId, in isAppEligibleForBackupForUser()
1309 public boolean isAppEligibleForBackup(@UserIdInt int userId, String packageName) { in isAppEligibleForBackup() method in BackupManagerService
1314 && userBackupManagerService.isAppEligibleForBackup(packageName); in isAppEligibleForBackup()
DUserBackupManagerService.java4042 public boolean isAppEligibleForBackup(String packageName) { in isAppEligibleForBackup() method in UserBackupManagerService
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2366 when(transportMock.transport.isAppEligibleForBackup( in testRunTask_whenBackupHasCompletedAndThenNoDataChanges_transportGetsNotified()
2369 when(transportMock.transport.isAppEligibleForBackup( in testRunTask_whenBackupHasCompletedAndThenNoDataChanges_transportGetsNotified()
/frameworks/base/non-updatable-api/
Dsystem-current.txt902 …quiresPermission(android.Manifest.permission.BACKUP) public boolean isAppEligibleForBackup(String);
1032 method public boolean isAppEligibleForBackup(android.content.pm.PackageInfo, boolean);
/frameworks/base/api/
Dsystem-current.txt954 …quiresPermission(android.Manifest.permission.BACKUP) public boolean isAppEligibleForBackup(String);
1084 method public boolean isAppEligibleForBackup(android.content.pm.PackageInfo, boolean);
/frameworks/base/services/
Dart-profile10751 HPLcom/android/server/backup/BackupManagerService;->isAppEligibleForBackup(ILjava/lang/String;)Z
11038 HPLcom/android/server/backup/UserBackupManagerService;->isAppEligibleForBackup(Ljava/lang/String;)Z