Home
last modified time | relevance | path

Searched refs:getBackupQuota (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/app/backup/
DBackupTransport.java584 public long getBackupQuota(String packageName, boolean isFullBackup) { in getBackupQuota() method in BackupTransport
780 public long getBackupQuota(String packageName, boolean isFullBackup) { in getBackupQuota() method in BackupTransport.TransportImpl
781 return BackupTransport.this.getBackupQuota(packageName, isFullBackup); in getBackupQuota()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DDelegatingTransport.java347 public long getBackupQuota(String packageName, boolean isFullBackup) throws RemoteException { in getBackupQuota() method in DelegatingTransport
348 return getDelegate().getBackupQuota(packageName, isFullBackup); in getBackupQuota()
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl260 long getBackupQuota(String packageName, boolean isFullBackup); in getBackupQuota() method
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/
DDelegatingTransportTest.java342 when(mBackupTransport.getBackupQuota(mPackageName, true)).thenReturn(exp); in testGetBackupQuota()
344 long ret = mDelegatingTransport.getBackupQuota(mPackageName, true); in testGetBackupQuota()
347 verify(mBackupTransport, times(1)).getBackupQuota(mPackageName, true); in testGetBackupQuota()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java819 when(transportMock.transport.getBackupQuota(PACKAGE_1.packageName, false)) in testRunTask_whenTransportGetBackupQuotaThrows_notifiesCorrectly()
834 when(transportMock.transport.getBackupQuota(PACKAGE_1.packageName, false)) in testRunTask_whenTransportGetBackupQuotaThrows_cleansUp()
848 when(transportMock.transport.getBackupQuota(PACKAGE_1.packageName, false)) in testRunTask_whenTransportGetBackupQuotaThrows_doesNotTouchFiles()
865 when(transportMock.transport.getBackupQuota(PACKAGE_1.packageName, false)) in testRunTask_whenTransportGetBackupQuotaThrows_revertsTask()
1580 when(transportMock.transport.getBackupQuota(PACKAGE_1.packageName, false)) in testRunTask_whenTransportReturnsQuotaExceeded_callsAgentOnQuotaExceeded()
1613 when(transportMock.transport.getBackupQuota(PACKAGE_1.packageName, false)) in testRunTask_whenTransportReturnsQuotaExceeded_notifiesAndLogs()
1932 when(transportMock.transport.getBackupQuota(PM_PACKAGE.packageName, false)) in testRunTask_whenTransportGetBackupQuotaThrowsForPm()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java899 long quota = transport.getBackupQuota(packageName, /* isFullBackup */ false); in extractAgentData()
1111 long quota = transport.getBackupQuota(packageName, false); in agentDoQuotaExceeded()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java882 public long getBackupQuota(String packageName, boolean isFullBackup) { in getBackupQuota() method in LocalTransport
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java388 quota = transport.getBackupQuota(currentPackage.packageName, in run()
/frameworks/base/non-updatable-api/
Dsystem-current.txt1025 method public long getBackupQuota(String, boolean);
/frameworks/base/api/
Dsystem-current.txt1077 method public long getBackupQuota(String, boolean);