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.java43 private Map<TransportClient, String> mTransportClientsCallerMap = new WeakHashMap<>();
60 public TransportClient getTransportClient(ComponentName transportComponent, String caller) { in getTransportClient()
78 public TransportClient getTransportClient( in getTransportClient()
87 private TransportClient getTransportClient( in getTransportClient()
90 TransportClient transportClient = in getTransportClient()
91 new TransportClient( in getTransportClient()
116 public void disposeOfTransportClient(TransportClient transportClient, String caller) { in disposeOfTransportClient()
132 for (TransportClient transportClient : mTransportClientsCallerMap.keySet()) { in dump()
DTransportClient.java78 public class TransportClient { class
108 TransportClient( in TransportClient() method in TransportClient
126 TransportClient( in TransportClient() method in TransportClient
646 private final WeakReference<TransportClient> mTransportClientRef;
648 private TransportConnection(Context context, TransportClient transportClient) { in TransportConnection()
655 TransportClient transportClient = mTransportClientRef.get(); in onServiceConnected()
665 TransportClient transportClient = mTransportClientRef.get(); in onServiceDisconnected()
675 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 createForRestoreSome()
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()
170 for (TransportClient transportClient : transportClientsToDisposeOf) { in run()
DOnTaskFinishedListener.java19 import com.android.server.backup.transport.TransportClient;
DBackupHandler.java41 import com.android.server.backup.transport.TransportClient;
103 TransportClient transportClient = in handleMessage()
DPerformBackupTask.java67 import com.android.server.backup.transport.TransportClient;
127 private final TransportClient mTransportClient;
151 TransportClient transportClient, String dirName, in PerformBackupTask()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowAppBackupUtils.java22 import com.android.server.backup.transport.TransportClient;
39 @Nullable TransportClient transportClient, String packageName, PackageManager pm) { in appIsRunningAndEligibleForBackupWithTransport()
DShadowPerformUnifiedRestoreTask.java27 import com.android.server.backup.transport.TransportClient;
59 TransportClient transportClient, in __constructor__()
/frameworks/base/services/robotests/src/com/android/server/backup/testing/
DTransportTestUtils.java39 import com.android.server.backup.transport.TransportClient;
137 final TransportClient transportClientMock; in mockTransport()
143 transportClientMock = mock(TransportClient.class); in mockTransport()
183 @Nullable public final TransportClient transportClient;
187 @Nullable TransportClient transportClient, @Nullable IBackupTransport transport) { in TransportMock()
/frameworks/base/services/robotests/src/com/android/server/backup/transport/
DTransportClientManagerTest.java77 TransportClient transportClient = in testGetTransportClient()
95 TransportClient transportClient = in testGetTransportClient_withExtras_createsTransportClientWithCorrectIntent()
110 TransportClient transportClient = in testDisposeOfTransportClient()
DTransportClientTest.java92 private TransportClient mTransportClient;
112 new TransportClient( in setUp()
358 TransportClient transportClient = spy(mTransportClient); in testConnect_callsThroughToConnectAsync()
478 assertLogcatAtMost(TransportClient.TAG, Log.INFO); in testFinalize_afterCreated()
489 assertLogcatAtLeast(TransportClient.TAG, Log.ERROR); in testFinalize_whenBound()
505 assertLogcatAtLeast(TransportClient.TAG, Log.ERROR); in testFinalize_whenConnected()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java42 import com.android.server.backup.transport.TransportClient;
389 public TransportClient getTransportClient(String transportName, String caller) { in getTransportClient()
408 public TransportClient getTransportClientOrThrow(String transportName, String caller) in getTransportClientOrThrow()
429 public TransportClient getCurrentTransportClient(String caller) { in getCurrentTransportClient()
444 public TransportClient getCurrentTransportClientOrThrow(String caller) in getCurrentTransportClientOrThrow()
459 public void disposeOfTransportClient(TransportClient transportClient, String caller) { in disposeOfTransportClient()
599 TransportClient transportClient = mTransportClientManager.getTransportClient( in registerTransport()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java44 import com.android.server.backup.transport.TransportClient;
97 TransportClient transportClient = in getAvailableRestoreSets()
374 BiFunction<TransportClient, OnTaskFinishedListener, RestoreParams> restoreParamsBuilder, in sendRestoreToHandlerLocked() argument
376 TransportClient transportClient = in sendRestoreToHandlerLocked()
DPerformUnifiedRestoreTask.java68 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/utils/
DAppBackupUtils.java36 import com.android.server.backup.transport.TransportClient;
94 @Nullable TransportClient transportClient, String packageName, PackageManager pm) { in appIsRunningAndEligibleForBackupWithTransport()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java54 import com.android.server.backup.transport.TransportClient;
110 TransportClient transportClient = transportManager.getCurrentTransportClient(caller); in newWithCurrentTransport()
144 private final TransportClient mTransportClient;
153 TransportClient transportClient, in PerformFullTransportBackupTask()
687 final TransportClient mTransportClient;
693 TransportClient transportClient, in SinglePackageBackupPreflight()
806 TransportClient transportClient, long quota, int currentOpToken, int transportFlags) in SinglePackageBackupRunner()
/frameworks/base/services/robotests/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java50 import com.android.server.backup.transport.TransportClient;
303 TransportClient registeredTransportClient = transportMocks.get(1).transportClient; in testRun_whenOnlyOneTransportNotRegistered()
331 TransportClient transportClient = transportMock.transportClient; in testRun_whenTransportThrowsDeadObjectException()
/frameworks/base/services/robotests/src/com/android/server/backup/
DTransportManagerTest.java56 import com.android.server.backup.transport.TransportClient;
420 TransportClient transportClient = in testGetTransportClient_forRegisteredTransport()
442 TransportClient transportClient = in testGetTransportClient_forOldNameOfTransportThatChangedName_returnsNull()
463 TransportClient transportClient = transportManager.getTransportClient("newName", "caller"); in testGetTransportClient_forNewNameOfTransportThatChangedName_returnsCorrectly()
DPerformBackupTaskTest.java75 import com.android.server.backup.transport.TransportClient;
559 TransportClient transportClient, in createPerformBackupTask()

12