Home
last modified time | relevance | path

Searched refs:TransportConnection (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreParams.java25 import com.android.server.backup.transport.TransportConnection;
29 public final TransportConnection mTransportConnection;
44 TransportConnection transportConnection, in createForSinglePackage()
68 TransportConnection transportConnection, in createForRestoreAtInstall()
94 TransportConnection transportConnection, in createForRestoreAll()
117 TransportConnection transportConnection, in createForRestorePackages()
139 TransportConnection transportConnection, in RestoreParams()
DClearParams.java22 import com.android.server.backup.transport.TransportConnection;
25 public TransportConnection mTransportConnection;
30 TransportConnection transportConnection, in ClearParams()
DRestoreGetSetsParams.java24 import com.android.server.backup.transport.TransportConnection;
27 public final TransportConnection mTransportConnection;
33 public RestoreGetSetsParams(TransportConnection _transportConnection, in RestoreGetSetsParams()
DBackupParams.java23 import com.android.server.backup.transport.TransportConnection;
30 public TransportConnection mTransportConnection;
41 public BackupParams(TransportConnection transportConnection, String dirName, in BackupParams()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportConnectionManager.java50 private Map<TransportConnection, String> mTransportClientsCallerMap = new WeakHashMap<>();
84 public TransportConnection getTransportClient(ComponentName transportComponent, String caller) { in getTransportClient()
99 public TransportConnection getTransportClient( in getTransportClient()
108 private TransportConnection getTransportClient( in getTransportClient()
111 TransportConnection transportConnection = in getTransportClient()
112 new TransportConnection( in getTransportClient()
138 public void disposeOfTransportClient(TransportConnection transportConnection, String caller) { in disposeOfTransportClient()
154 for (TransportConnection transportConnection : mTransportClientsCallerMap.keySet()) { in dump()
DTransportConnection.java80 public class TransportConnection { class
111 TransportConnection( in TransportConnection() method in TransportConnection
131 TransportConnection( in TransportConnection() method in TransportConnection
664 private final WeakReference<TransportConnection> mTransportClientRef;
668 TransportConnection transportConnection) { in TransportConnectionMonitor()
675 TransportConnection transportConnection = mTransportClientRef.get(); in onServiceConnected()
689 TransportConnection transportConnection = mTransportClientRef.get(); in onServiceDisconnected()
699 TransportConnection transportConnection = mTransportClientRef.get(); in onBindingDied()
DTransportConnectionListener.java36 TransportConnection transportConnection); in onTransportConnectionResult()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformClearTask.java27 import com.android.server.backup.transport.TransportConnection;
34 private final TransportConnection mTransportConnection;
39 TransportConnection transportConnection, PackageInfo packageInfo, in PerformClearTask()
DPerformInitializeTask.java35 import com.android.server.backup.transport.TransportConnection;
112 List<TransportConnection> transportClientsToDisposeOf = new ArrayList<>(mQueue.length); in run()
116 TransportConnection transportConnection = in run()
174 for (TransportConnection transportConnection : transportClientsToDisposeOf) { in run()
DOnTaskFinishedListener.java19 import com.android.server.backup.transport.TransportConnection;
DBackupHandler.java56 import com.android.server.backup.transport.TransportConnection;
155 TransportConnection transportConnection = in handleMessage()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportConnectionManagerTest.java78 TransportConnection transportConnection = in testGetTransportClient()
96 TransportConnection transportConnection = in testGetTransportClient_withExtras_createsTransportClientWithCorrectIntent()
112 TransportConnection transportConnection = in testDisposeOfTransportClient()
DTransportConnectionTest.java91 private TransportConnection mTransportConnection;
113 new TransportConnection( in setUp()
361 TransportConnection transportConnection = spy(mTransportConnection); in testConnect_callsThroughToConnectAsync()
483 assertLogcatAtMost(TransportConnection.TAG, Log.INFO); in testFinalize_afterCreated()
494 assertLogcatAtLeast(TransportConnection.TAG, Log.ERROR); in testFinalize_whenBound()
510 assertLogcatAtLeast(TransportConnection.TAG, Log.ERROR); in testFinalize_whenConnected()
549 TransportConnection.TransportConnectionMonitor transportConnectionMonitor = in onBindingDied_referenceLost_doesNotThrow()
550 new TransportConnection.TransportConnectionMonitor( in onBindingDied_referenceLost_doesNotThrow()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTransportTestUtils.java39 import com.android.server.backup.transport.TransportConnection;
153 final TransportConnection transportConnectionMock; in mockTransport()
159 transportConnectionMock = mock(TransportConnection.class); in mockTransport()
202 @Nullable public final TransportConnection mTransportConnection;
207 @Nullable TransportConnection transportConnection, in TransportMock()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupEligibilityRules.java23 import com.android.server.backup.transport.TransportConnection;
56 @Nullable TransportConnection transportConnection, in appIsRunningAndEligibleForBackupWithTransport()
DShadowKeyValueBackupTask.java27 import com.android.server.backup.transport.TransportConnection;
61 TransportConnection transportConnection, in __constructor__()
DShadowPerformUnifiedRestoreTask.java28 import com.android.server.backup.transport.TransportConnection;
62 TransportConnection transportConnection, in __constructor__()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java48 import com.android.server.backup.transport.TransportConnection;
499 public TransportConnection getTransportClient(String transportName, String caller) { in getTransportClient()
519 public TransportConnection getTransportClientOrThrow(String transportName, String caller) in getTransportClientOrThrow()
541 public TransportConnection getCurrentTransportClient(String caller) { in getCurrentTransportClient()
560 public TransportConnection getCurrentTransportClientOrThrow(String caller) in getCurrentTransportClientOrThrow()
578 public void disposeOfTransportClient(TransportConnection transportConnection, String caller) { in disposeOfTransportClient()
723 TransportConnection transportConnection = in registerTransport()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java50 import com.android.server.backup.transport.TransportConnection;
111 TransportConnection transportConnection = in getAvailableRestoreSets()
421 BiFunction<TransportConnection, OnTaskFinishedListener, in sendRestoreToHandlerLocked() argument
423 TransportConnection transportConnection = in sendRestoreToHandlerLocked()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java54 import com.android.server.backup.transport.TransportConnection;
120 TransportConnection transportConnection = transportManager.getCurrentTransportClient( in newWithCurrentTransport()
160 private final TransportConnection mTransportConnection;
173 TransportConnection transportConnection, in PerformFullTransportBackupTask()
731 final TransportConnection mTransportConnection;
737 TransportConnection transportConnection, in SinglePackageBackupPreflight()
851 TransportConnection transportConnection, long quota, int currentOpToken, in SinglePackageBackupRunner()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DTransportManagerTest.java63 import com.android.server.backup.transport.TransportConnection;
550 TransportConnection transportConnection = in testGetTransportClient_forRegisteredTransport()
570 TransportConnection transportConnection = in testGetTransportClient_forOldNameOfTransportThatChangedName_returnsNull()
588 TransportConnection transportConnection = transportManager.getTransportClient( in testGetTransportClient_forNewNameOfTransportThatChangedName()
600 TransportConnection transportConnection = transportManager.getCurrentTransportClient( in testGetCurrentTransportClient()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java50 import com.android.server.backup.transport.TransportConnection;
272 @Nullable TransportConnection transportConnection, in appIsRunningAndEligibleForBackupWithTransport()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java53 import com.android.server.backup.transport.TransportConnection;
331 TransportConnection in testRun_whenOnlyOneTransportNotRegistered()
361 TransportConnection transportConnection = transportMock.mTransportConnection; in testRun_whenTransportThrowsDeadObjectException()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DPerformUnifiedRestoreTaskTest.java49 import com.android.server.backup.transport.TransportConnection;
93 private TransportConnection mTransportConnection;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java63 import com.android.server.backup.transport.TransportConnection;
94 @Mock TransportConnection mTransportConnection;

12