Home | History | Annotate | Download | only in utils

Lines Matching refs:observer

33      * @param observer - IFullBackupRestoreObserver to communicate with.
34 * @return observer if the call worked and null if there was a communication problem.
36 public static IFullBackupRestoreObserver sendStartRestore(IFullBackupRestoreObserver observer) {
37 if (observer != null) {
39 observer.onStartRestore();
41 Slog.w(TAG, "full restore observer went away: startRestore");
42 observer = null;
45 return observer;
52 * @param observer - IFullBackupRestoreObserver to communicate with.
54 * @return observer if the call worked and null if there was a communication problem.
57 IFullBackupRestoreObserver observer, String name) {
58 if (observer != null) {
61 observer.onRestorePackage(name);
63 Slog.w(TAG, "full restore observer went away: restorePackage");
64 observer = null;
67 return observer;
74 * @param observer - IFullBackupRestoreObserver to communicate with.
75 * @return observer if the call worked and null if there was a communication problem.
77 public static IFullBackupRestoreObserver sendEndRestore(IFullBackupRestoreObserver observer) {
78 if (observer != null) {
80 observer.onEndRestore();
82 Slog.w(TAG, "full restore observer went away: endRestore");
83 observer = null;
86 return observer;