Home
last modified time | relevance | path

Searched refs:OnTaskFinishedListener (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreParams.java24 import com.android.server.backup.internal.OnTaskFinishedListener;
37 public final OnTaskFinishedListener listener;
49 OnTaskFinishedListener listener, in createForSinglePackage()
74 OnTaskFinishedListener listener, in createForRestoreAtInstall()
98 OnTaskFinishedListener listener, in createForRestoreAll()
123 OnTaskFinishedListener listener, in createForRestorePackages()
147 OnTaskFinishedListener listener, in RestoreParams()
DClearParams.java21 import com.android.server.backup.internal.OnTaskFinishedListener;
27 public OnTaskFinishedListener listener;
32 OnTaskFinishedListener listener) { in ClearParams()
DRestoreGetSetsParams.java22 import com.android.server.backup.internal.OnTaskFinishedListener;
31 public final OnTaskFinishedListener listener;
35 IBackupManagerMonitor _monitor, OnTaskFinishedListener _listener) { in RestoreGetSetsParams()
DBackupParams.java22 import com.android.server.backup.internal.OnTaskFinishedListener;
36 public OnTaskFinishedListener listener;
43 IBackupManagerMonitor monitor, OnTaskFinishedListener listener, boolean userInitiated, in BackupParams()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DOnTaskFinishedListener.java23 public interface OnTaskFinishedListener { interface
24 OnTaskFinishedListener NOP = caller -> {};
DPerformClearTask.java36 private final OnTaskFinishedListener mListener;
40 OnTaskFinishedListener listener) { in PerformClearTask()
DPerformInitializeTask.java56 private final OnTaskFinishedListener mListener;
63 OnTaskFinishedListener listener) { in PerformInitializeTask()
79 OnTaskFinishedListener listener, in PerformInitializeTask()
DBackupHandler.java224 OnTaskFinishedListener listener = in handleMessage()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowKeyValueBackupTask.java24 import com.android.server.backup.internal.OnTaskFinishedListener;
53 private OnTaskFinishedListener mListener;
66 OnTaskFinishedListener listener, in __constructor__()
DShadowPerformUnifiedRestoreTask.java26 import com.android.server.backup.internal.OnTaskFinishedListener;
56 private OnTaskFinishedListener mListener;
70 OnTaskFinishedListener listener, in __constructor__()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java47 import com.android.server.backup.internal.OnTaskFinishedListener;
129 OnTaskFinishedListener listener = caller -> { in getAvailableRestoreSets()
421 BiFunction<TransportConnection, OnTaskFinishedListener, in sendRestoreToHandlerLocked() argument
442 OnTaskFinishedListener listener = caller -> { in sendRestoreToHandlerLocked()
DPerformUnifiedRestoreTask.java74 import com.android.server.backup.internal.OnTaskFinishedListener;
162 private final OnTaskFinishedListener mListener;
216 OnTaskFinishedListener listener, in PerformUnifiedRestoreTask()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java60 import com.android.server.backup.internal.OnTaskFinishedListener;
192 mTransportConnection, /* transportDirName */ "", OnTaskFinishedListener.NOP); in getRequestBackupParams_appIsEligibleForFullBackup()
208 mTransportConnection, /* transportDirName */ "", OnTaskFinishedListener.NOP); in getRequestBackupParams_appIsEligibleForKeyValueBackup()
224 mTransportConnection, /* transportDirName */ "", OnTaskFinishedListener.NOP); in getRequestBackupParams_appIsNotEligibleForBackup()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java51 import com.android.server.backup.internal.OnTaskFinishedListener;
125 OnTaskFinishedListener listener = in newWithCurrentTransport()
159 private final OnTaskFinishedListener mListener;
177 @Nullable IBackupManagerMonitor monitor, @Nullable OnTaskFinishedListener listener, in PerformFullTransportBackupTask()
188 mListener = (listener != null) ? listener : OnTaskFinishedListener.NOP; in PerformFullTransportBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java63 import com.android.server.backup.internal.OnTaskFinishedListener;
222 OnTaskFinishedListener listener, in start()
256 private final OnTaskFinishedListener mTaskFinishedListener;
316 OnTaskFinishedListener taskFinishedListener, in KeyValueBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java117 import com.android.server.backup.internal.OnTaskFinishedListener;
1899 OnTaskFinishedListener listener = in requestBackup()
1915 OnTaskFinishedListener listener) { in getRequestBackupParams()
2599 OnTaskFinishedListener listener = caller -> mWakelock.release(); in initializeTransports()
2727 OnTaskFinishedListener listener = caller -> mTransportManager in clearBackupData()
3953 OnTaskFinishedListener listener = caller -> { in restoreAtInstall()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java77 @Mock private OnTaskFinishedListener mListener;
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java117 import com.android.server.backup.internal.OnTaskFinishedListener;
196 @Mock private OnTaskFinishedListener mListener;