Searched refs:BackupTransportClient (Results 1 – 19 of 19) sorted by relevance
74 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()
109 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 …]
35 @Nullable BackupTransportClient transportClient, in onTransportConnectionResult()
49 public class BackupTransportClient { class56 BackupTransportClient(IBackupTransport transportBinder) { in BackupTransportClient() method in BackupTransportClient
38 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()
92 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()
26 import com.android.server.backup.transport.BackupTransportClient;50 BackupTransportClient transport = null; in run()
34 import com.android.server.backup.transport.BackupTransportClient;131 BackupTransportClient transport = transportConnection.connectOrThrow( in run()
55 import com.android.server.backup.transport.BackupTransportClient;157 BackupTransportClient transport = in handleMessage()382 BackupTransportClient transport = in handleMessage()
67 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()
52 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()
48 import com.android.server.backup.transport.BackupTransportClient;383 BackupTransportClient transport = Mockito.mock(BackupTransportClient.class); in setupForRestoreKeyValueState()
49 import com.android.server.backup.transport.BackupTransportClient;285 BackupTransportClient transport = in appIsRunningAndEligibleForBackupWithTransport()
75 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()
53 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()
46 import com.android.server.backup.transport.BackupTransportClient;726 final BackupTransportClient transport; in registerTransport()762 BackupTransportClient transport) throws RemoteException { in registerTransport()
131 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()
62 import com.android.server.backup.transport.BackupTransportClient;96 @Mock BackupTransportClient mBackupTransport;
8637 …nsport(Landroid/content/ComponentName;Lcom/android/server/backup/transport/BackupTransportClient;)V8711 PLcom/android/server/backup/transport/BackupTransportClient$TransportFutures;-><init>()V8712 …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>()V8716 …/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 …]