Home
last modified time | relevance | path

Searched refs:IBackupManagerMonitor (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/app/backup/
DIRestoreSession.aidl21 import android.app.backup.IBackupManagerMonitor;
38 int getAvailableRestoreSets(IRestoreObserver observer, IBackupManagerMonitor monitor); in getAvailableRestoreSets()
54 int restoreAll(long token, IRestoreObserver observer, IBackupManagerMonitor monitor); in restoreAll()
75 IBackupManagerMonitor monitor); in restorePackages()
94 IBackupManagerMonitor monitor); in restorePackage()
DIBackupManager.aidl20 import android.app.backup.IBackupManagerMonitor;
669 IBackupManagerMonitor monitor, int flags); in requestBackupForUser()
674 int requestBackup(in String[] packages, IBackupObserver observer, IBackupManagerMonitor monitor, in requestBackup()
DIBackupManagerMonitor.aidl27 oneway interface IBackupManagerMonitor { interface
DRestoreSession.java397 private class BackupManagerMonitorWrapper extends IBackupManagerMonitor.Stub {
DBackupManager.java1040 private class BackupManagerMonitorWrapper extends IBackupManagerMonitor.Stub {
/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreParams.java20 import android.app.backup.IBackupManagerMonitor;
30 public final IBackupManagerMonitor monitor;
44 IBackupManagerMonitor monitor, in createForSinglePackage()
66 IBackupManagerMonitor monitor, in createForRestoreAtInstall()
90 IBackupManagerMonitor monitor, in createForRestoreAll()
111 IBackupManagerMonitor monitor, in createForRestorePackages()
131 IBackupManagerMonitor monitor, in RestoreParams()
DRestoreGetSetsParams.java19 import android.app.backup.IBackupManagerMonitor;
31 public final IBackupManagerMonitor monitor;
35 IRestoreObserver _observer, IBackupManagerMonitor _monitor, in RestoreGetSetsParams()
DBackupParams.java19 import android.app.backup.IBackupManagerMonitor;
34 public IBackupManagerMonitor monitor;
41 IBackupManagerMonitor monitor, OnTaskFinishedListener listener, boolean userInitiated, in BackupParams()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupManagerMonitorUtilsTest.java31 import android.app.backup.IBackupManagerMonitor;
51 @Mock private IBackupManagerMonitor mMonitorMock;
60 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(null, 0, null, 0, in monitorEvent_monitorIsNull_returnsNull()
70 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(mMonitorMock, 0, null, in monitorEvent_monitorOnEventThrows_returnsNull()
79 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(mMonitorMock, 1, null, in monitorEvent_packageAndExtrasAreNull_fillsBundleCorrectly()
100 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(mMonitorMock, 1, in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly()
127 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(mMonitorMock, 1, in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong()
DTarBackupReaderTest.java37 import android.app.backup.IBackupManagerMonitor;
87 @Mock private IBackupManagerMonitor mBackupManagerMonitorMock;
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupReporterTest.java24 import android.app.backup.IBackupManagerMonitor;
46 @Mock private IBackupManagerMonitor mMonitor;
69 IBackupManagerMonitor monitor = mReporter.getMonitor(); in testGetMonitor_returnsMonitor()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorUtils.java26 import android.app.backup.IBackupManagerMonitor;
49 public static IBackupManagerMonitor monitorEvent( in monitorEvent()
50 @Nullable IBackupManagerMonitor monitor, in monitorEvent()
DTarBackupReader.java49 import android.app.backup.IBackupManagerMonitor;
87 private IBackupManagerMonitor mMonitor;
93 IBackupManagerMonitor monitor) { in TarBackupReader()
793 public IBackupManagerMonitor getMonitor() { in getMonitor()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowPerformUnifiedRestoreTask.java20 import android.app.backup.IBackupManagerMonitor;
61 IBackupManagerMonitor monitor, in __constructor__()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java27 import android.app.backup.IBackupManagerMonitor;
80 IBackupManagerMonitor monitor) { in getAvailableRestoreSets()
135 IBackupManagerMonitor monitor) { in restoreAll()
196 @NonNull String[] packages, @Nullable IBackupManagerMonitor monitor) { in restorePackages()
288 IBackupManagerMonitor monitor) { in restorePackage()
DFullRestoreEngine.java31 import android.app.backup.IBackupManagerMonitor;
82 final IBackupManagerMonitor mMonitor;
139 IBackupManagerMonitor monitor, PackageInfo onlyPackage, boolean allowApks, in FullRestoreEngine()
167 PackageInfo onlyPackage, boolean allowApks, int token, IBackupManagerMonitor monitor) { in restoreOneFile()
DPerformUnifiedRestoreTask.java37 import android.app.backup.IBackupManagerMonitor;
95 private IBackupManagerMonitor mMonitor;
170 IBackupManagerMonitor monitor, in PerformUnifiedRestoreTask()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java23 import android.app.backup.IBackupManagerMonitor;
68 @Nullable private IBackupManagerMonitor mMonitor;
73 @Nullable IBackupManagerMonitor monitor) { in KeyValueBackupReporter()
81 IBackupManagerMonitor getMonitor() { in getMonitor()
DKeyValueBackupTask.java38 import android.app.backup.IBackupManagerMonitor;
209 @Nullable IBackupManagerMonitor monitor, in start()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceTest.java38 import android.app.backup.IBackupManagerMonitor;
965 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_withoutPermission_throwsSecurityExceptionForNonCallingUser()
985 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_withPermission_propagatesForNonCallingUser()
1000 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_onRegisteredUser_callsMethodForUser()
1015 IBackupManagerMonitor monitor = mock(IBackupManagerMonitor.class); in testRequestBackup_onUnknownUser_doesNotPropagateCall()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java32 import android.app.backup.IBackupManagerMonitor;
107 IBackupManagerMonitor monitor, in newWithCurrentTransport()
140 @Nullable private IBackupManagerMonitor mMonitor;
159 @Nullable IBackupManagerMonitor monitor, @Nullable OnTaskFinishedListener listener, in PerformFullTransportBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java27 import android.app.backup.IBackupManagerMonitor;
760 observer, IBackupManagerMonitor monitor, int flags) throws RemoteException { in requestBackupForUser()
769 IBackupManagerMonitor monitor, int flags) throws RemoteException { in requestBackup()
DBackupManagerService.java26 import android.app.backup.IBackupManagerMonitor;
651 IBackupManagerMonitor monitor, in requestBackup()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java40 import android.app.backup.IBackupManagerMonitor;
98 @Mock private IBackupManagerMonitor mMonitor;
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java26 import android.app.backup.IBackupManagerMonitor;
1007 private static class BackupMonitor extends IBackupManagerMonitor.Stub {

12