Home
last modified time | relevance | path

Searched refs:BackupTransportClient (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/transport/
DBackupTransportClientTest.java74 BackupTransportClient client = new BackupTransportClient(binder); in testName_completesImmediately_returnsName()
83 BackupTransportClient client = new BackupTransportClient(binder); in testTransportDirName_completesLater_returnsName()
109 BackupTransportClient client = new BackupTransportClient(binder); in testTransportDirName_canceledBeforeCompletion_throwsException()
155 BackupTransportClient client = new BackupTransportClient(binder); in testInitializeDevice_completesImmediately_returnsStatus()
165 BackupTransportClient client = new BackupTransportClient(binder); in testFinishBackup_completesLater_returnsStatus()
191 BackupTransportClient client = new BackupTransportClient(binder); in testFinishBackup_canceledBeforeCompletion_returnsError()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportConnection.java109 private volatile BackupTransportClient mTransport;
315 public BackupTransportClient connect(String caller) {
321 BackupTransportClient transport = mTransport;
335 CompletableFuture<BackupTransportClient> transportFuture = new CompletableFuture<>();
369 public BackupTransportClient connectOrThrow(String caller) in connectOrThrow()
371 BackupTransportClient transport = connect(caller); in connectOrThrow()
388 public BackupTransportClient getConnectedTransport(String caller) in getConnectedTransport()
390 BackupTransportClient transport = mTransport; in getConnectedTransport()
432 BackupTransportClient transport = new BackupTransportClient(transportBinder); in onServiceConnected()
505 @Nullable BackupTransportClient transport, in notifyListener()
[all …]
DTransportConnectionListener.java35 @Nullable BackupTransportClient transportClient, in onTransportConnectionResult()
DBackupTransportClient.java49 public class BackupTransportClient { class
56 BackupTransportClient(IBackupTransport transportBinder) { in BackupTransportClient() method in BackupTransportClient
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTransportTestUtils.java38 import com.android.server.backup.transport.BackupTransportClient;
163 BackupTransportClient transportMock = mockTransportBinder(transport); in mockTransport()
182 private static BackupTransportClient mockTransportBinder(TransportData transport) in mockTransportBinder()
184 BackupTransportClient transportBinder = mock(BackupTransportClient.class); in mockTransportBinder()
203 @Nullable public final BackupTransportClient transport;
208 @Nullable BackupTransportClient transport) { in TransportMock()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportConnectionTest.java92 private BackupTransportClient mTransportClient;
122 mTransportClient = new BackupTransportClient(mTransportBinder); in setUp()
163 .onTransportConnectionResult(any(BackupTransportClient.class), in testConnectAsync_callsListenerWhenConnected()
177 .onTransportConnectionResult(any(BackupTransportClient.class), in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected()
180 .onTransportConnectionResult(any(BackupTransportClient.class), in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected()
194 .onTransportConnectionResult(any(BackupTransportClient.class), in testConnectAsync_whenAlreadyConnected_callsListener()
323 BackupTransportClient transportClient = in testConnect_whenConnected_returnsTransport()
336 BackupTransportClient transportClient = in testConnect_afterOnServiceDisconnected_returnsNull()
348 BackupTransportClient transportClient = in testConnect_afterOnBindingDied_returnsNull()
372 BackupTransportClient transportClient = in testConnect_callsThroughToConnectAsync()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformClearTask.java26 import com.android.server.backup.transport.BackupTransportClient;
50 BackupTransportClient transport = null; in run()
DPerformInitializeTask.java34 import com.android.server.backup.transport.BackupTransportClient;
131 BackupTransportClient transport = transportConnection.connectOrThrow( in run()
DBackupHandler.java55 import com.android.server.backup.transport.BackupTransportClient;
157 BackupTransportClient transport = in handleMessage()
382 BackupTransportClient transport = in handleMessage()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java67 import com.android.server.backup.transport.BackupTransportClient;
426 BackupTransportClient transport = in informTransportOfUnchangedApps()
476 private void sendNoDataChangedTo(BackupTransportClient transport, PackageInfo packageInfo, in sendNoDataChangedTo()
617 BackupTransportClient transport = mTransportConnection.connectOrThrow( in startTask()
778 BackupTransportClient transport = mTransportConnection.connectOrThrow( in finishTask()
850 BackupTransportClient transport = in triggerTransportInitializationLocked()
934 BackupTransportClient transport = mTransportConnection.connectOrThrow( in extractAgentData()
1093 BackupTransportClient transport = in transportPerformBackup()
1146 BackupTransportClient transport = in agentDoQuotaExceeded()
1242 BackupTransportClient transport = in revertTask()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java52 import com.android.server.backup.transport.BackupTransportClient;
78 @Mock private BackupTransportClient mTransportClient;
330 BackupTransportClient registeredTransport = transportMocks.get(1).transport; in testRun_whenOnlyOneTransportNotRegistered()
360 BackupTransportClient transport = transportMock.transport; in testRun_whenTransportThrowsDeadObjectException()
383 BackupTransportClient transportMock, int initializeDeviceStatus, int finishBackupStatus) in configureTransport()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DPerformUnifiedRestoreTaskTest.java48 import com.android.server.backup.transport.BackupTransportClient;
383 BackupTransportClient transport = Mockito.mock(BackupTransportClient.class); in setupForRestoreKeyValueState()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java49 import com.android.server.backup.transport.BackupTransportClient;
285 BackupTransportClient transport = in appIsRunningAndEligibleForBackupWithTransport()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java75 import com.android.server.backup.transport.BackupTransportClient;
434 BackupTransportClient transport = in startRestore()
578 BackupTransportClient transport = in dispatchNextRestore()
868 BackupTransportClient transport = in initiateOneRestore()
1160 BackupTransportClient transport = in run()
1280 BackupTransportClient transport = in run()
1349 BackupTransportClient transport = mTransportConnection.connectOrThrow(callerLogString); in finalizeRestore()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java53 import com.android.server.backup.transport.BackupTransportClient;
316 BackupTransportClient transport = in handleCancel()
369 BackupTransportClient transport = mTransportConnection.connect("PFTBT.run()"); in run()
777 BackupTransportClient transport = in preflightFullBackup()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java46 import com.android.server.backup.transport.BackupTransportClient;
726 final BackupTransportClient transport; in registerTransport()
762 BackupTransportClient transport) throws RemoteException { in registerTransport()
DUserBackupManagerService.java131 import com.android.server.backup.transport.BackupTransportClient;
3084 BackupTransportClient transportClient = transportConnection.connectOrThrow( in reportDelayedRestoreResult()
3652 BackupTransportClient transport = transportConnection.connectOrThrow( in updateStateForTransport()
3916 BackupTransportClient transportClient = transportConnection.connectOrThrow( in restoreAtInstall()
4391 BackupTransportClient transport = transportConnection.connectOrThrow( in getBackupDestinationFromTransport()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java62 import com.android.server.backup.transport.BackupTransportClient;
96 @Mock BackupTransportClient mBackupTransport;
/frameworks/base/services/
Dart-wear-profile8637 …nsport(Landroid/content/ComponentName;Lcom/android/server/backup/transport/BackupTransportClient;)V
8711 PLcom/android/server/backup/transport/BackupTransportClient$TransportFutures;-><init>()V
8712 …erver/backup/transport/BackupTransportClient$TransportFutures;-><init>(Lcom/android/server/backup/…
8713 PLcom/android/server/backup/transport/BackupTransportClient$TransportFutures;->newFuture()Lcom/andr…
8714 PLcom/android/server/backup/transport/BackupTransportClient$TransportFutures;->remove(Lcom/android/…
8715 PLcom/android/server/backup/transport/BackupTransportClient$TransportStatusCallbackPool;-><init>()V
8716 …/backup/transport/BackupTransportClient$TransportStatusCallbackPool;-><init>(Lcom/android/server/b…
8717 PLcom/android/server/backup/transport/BackupTransportClient;-><init>(Lcom/android/internal/backup/I…
8718 PLcom/android/server/backup/transport/BackupTransportClient;->configurationIntent()Landroid/content…
8719 PLcom/android/server/backup/transport/BackupTransportClient;->currentDestinationString()Ljava/lang/…
[all …]