Home
last modified time | relevance | path

Searched refs:TransportClient (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportClientManager.java47 private Map<TransportClient, String> mTransportClientsCallerMap = new WeakHashMap<>();
66 public TransportClient getTransportClient(ComponentName transportComponent, String caller) { in getTransportClient()
84 public TransportClient getTransportClient( in getTransportClient()
93 private TransportClient getTransportClient( in getTransportClient()
96 TransportClient transportClient = in getTransportClient()
97 new TransportClient( in getTransportClient()
123 public void disposeOfTransportClient(TransportClient transportClient, String caller) { in disposeOfTransportClient()
139 for (TransportClient transportClient : mTransportClientsCallerMap.keySet()) { in dump()
DTransportClient.java78 public class TransportClient { class
109 TransportClient( in TransportClient() method in TransportClient
129 TransportClient( in TransportClient() method in TransportClient
651 private final WeakReference<TransportClient> mTransportClientRef;
653 private TransportConnection(Context context, TransportClient transportClient) { in TransportConnection()
660 TransportClient transportClient = mTransportClientRef.get(); in onServiceConnected()
670 TransportClient transportClient = mTransportClientRef.get(); in onServiceDisconnected()
680 TransportClient transportClient = mTransportClientRef.get(); in onBindingDied()
DTransportConnectionListener.java36 @Nullable IBackupTransport transport, TransportClient transportClient); in onTransportConnectionResult()
/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreParams.java25 import com.android.server.backup.transport.TransportClient;
28 public final TransportClient transportClient;
42 TransportClient transportClient, in createForSinglePackage()
64 TransportClient transportClient, in createForRestoreAtInstall()
88 TransportClient transportClient, in createForRestoreAll()
109 TransportClient transportClient, in createForRestorePackages()
129 TransportClient transportClient, in RestoreParams()
DClearParams.java22 import com.android.server.backup.transport.TransportClient;
25 public TransportClient transportClient;
30 TransportClient transportClient, in ClearParams()
DRestoreGetSetsParams.java25 import com.android.server.backup.transport.TransportClient;
28 public final TransportClient transportClient;
34 public RestoreGetSetsParams(TransportClient _transportClient, ActiveRestoreSession _session, in RestoreGetSetsParams()
DBackupParams.java23 import com.android.server.backup.transport.TransportClient;
29 public TransportClient transportClient;
39 public BackupParams(TransportClient transportClient, String dirName, in BackupParams()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformClearTask.java27 import com.android.server.backup.transport.TransportClient;
34 private final TransportClient mTransportClient;
39 TransportClient transportClient, PackageInfo packageInfo, in PerformClearTask()
DPerformInitializeTask.java35 import com.android.server.backup.transport.TransportClient;
112 List<TransportClient> transportClientsToDisposeOf = new ArrayList<>(mQueue.length); in run()
116 TransportClient transportClient = in run()
173 for (TransportClient transportClient : transportClientsToDisposeOf) { in run()
DOnTaskFinishedListener.java19 import com.android.server.backup.transport.TransportClient;
DBackupHandler.java56 import com.android.server.backup.transport.TransportClient;
134 TransportClient transportClient = in handleMessage()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTransportTestUtils.java39 import com.android.server.backup.transport.TransportClient;
153 final TransportClient transportClientMock; in mockTransport()
159 transportClientMock = mock(TransportClient.class); in mockTransport()
201 @Nullable public final TransportClient transportClient;
206 @Nullable TransportClient transportClient, in TransportMock()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportClientManagerTest.java78 TransportClient transportClient = in testGetTransportClient()
96 TransportClient transportClient = in testGetTransportClient_withExtras_createsTransportClientWithCorrectIntent()
111 TransportClient transportClient = in testDisposeOfTransportClient()
DTransportClientTest.java89 private TransportClient mTransportClient;
110 new TransportClient( in setUp()
353 TransportClient transportClient = spy(mTransportClient); in testConnect_callsThroughToConnectAsync()
474 assertLogcatAtMost(TransportClient.TAG, Log.INFO); in testFinalize_afterCreated()
485 assertLogcatAtLeast(TransportClient.TAG, Log.ERROR); in testFinalize_whenBound()
501 assertLogcatAtLeast(TransportClient.TAG, Log.ERROR); in testFinalize_whenConnected()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowKeyValueBackupTask.java26 import com.android.server.backup.transport.TransportClient;
58 TransportClient transportClient, in __constructor__()
DShadowAppBackupUtils.java24 import com.android.server.backup.transport.TransportClient;
57 @Nullable TransportClient transportClient, in appIsRunningAndEligibleForBackupWithTransport()
DShadowPerformUnifiedRestoreTask.java27 import com.android.server.backup.transport.TransportClient;
59 TransportClient transportClient, in __constructor__()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java42 import com.android.server.backup.transport.TransportClient;
419 public TransportClient getTransportClient(String transportName, String caller) { in getTransportClient()
438 public TransportClient getTransportClientOrThrow(String transportName, String caller) in getTransportClientOrThrow()
460 public TransportClient getCurrentTransportClient(String caller) { in getCurrentTransportClient()
479 public TransportClient getCurrentTransportClientOrThrow(String caller) in getCurrentTransportClientOrThrow()
497 public void disposeOfTransportClient(TransportClient transportClient, String caller) { in disposeOfTransportClient()
639 TransportClient transportClient = in registerTransport()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java44 import com.android.server.backup.transport.TransportClient;
99 TransportClient transportClient = in getAvailableRestoreSets()
381 BiFunction<TransportClient, OnTaskFinishedListener, RestoreParams> restoreParamsBuilder, in sendRestoreToHandlerLocked() argument
383 TransportClient transportClient = in sendRestoreToHandlerLocked()
DPerformUnifiedRestoreTask.java67 import com.android.server.backup.transport.TransportClient;
86 private final TransportClient mTransportClient;
168 TransportClient transportClient, in PerformUnifiedRestoreTask()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java55 import com.android.server.backup.transport.TransportClient;
111 TransportClient transportClient = transportManager.getCurrentTransportClient(caller); in newWithCurrentTransport()
145 private final TransportClient mTransportClient;
155 TransportClient transportClient, in PerformFullTransportBackupTask()
690 final TransportClient mTransportClient;
696 TransportClient transportClient, in SinglePackageBackupPreflight()
810 TransportClient transportClient, long quota, int currentOpToken, int transportFlags) in SinglePackageBackupRunner()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java40 import com.android.server.backup.transport.TransportClient;
118 @Nullable TransportClient transportClient, in appIsRunningAndEligibleForBackupWithTransport()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DTransportManagerTest.java58 import com.android.server.backup.transport.TransportClient;
436 TransportClient transportClient = in testGetTransportClient_forRegisteredTransport()
456 TransportClient transportClient = in testGetTransportClient_forOldNameOfTransportThatChangedName_returnsNull()
474 TransportClient transportClient = transportManager.getTransportClient("newName", "caller"); in testGetTransportClient_forNewNameOfTransportThatChangedName()
485 TransportClient transportClient = transportManager.getCurrentTransportClient("caller"); in testGetCurrentTransportClient()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java53 import com.android.server.backup.transport.TransportClient;
331 TransportClient registeredTransportClient = transportMocks.get(1).transportClient; in testRun_whenOnlyOneTransportNotRegistered()
359 TransportClient transportClient = transportMock.transportClient; in testRun_whenTransportThrowsDeadObjectException()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java68 import com.android.server.backup.transport.TransportClient;
204 TransportClient transportClient, in start()
237 private final TransportClient mTransportClient;
293 TransportClient transportClient, in KeyValueBackupTask()

12