/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportClientManager.java | 43 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()
|
D | TransportClient.java | 78 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()
|
D | TransportConnectionListener.java | 36 @Nullable IBackupTransport transport, TransportClient transportClient); in onTransportConnectionResult()
|
/frameworks/base/services/backup/java/com/android/server/backup/params/ |
D | RestoreParams.java | 25 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()
|
D | ClearParams.java | 22 import com.android.server.backup.transport.TransportClient; 25 public TransportClient transportClient; 30 TransportClient transportClient, in ClearParams()
|
D | RestoreGetSetsParams.java | 25 import com.android.server.backup.transport.TransportClient; 28 public final TransportClient transportClient; 34 public RestoreGetSetsParams(TransportClient _transportClient, ActiveRestoreSession _session, in RestoreGetSetsParams()
|
D | BackupParams.java | 23 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/ |
D | PerformClearTask.java | 27 import com.android.server.backup.transport.TransportClient; 34 private final TransportClient mTransportClient; 39 TransportClient transportClient, PackageInfo packageInfo, in PerformClearTask()
|
D | PerformInitializeTask.java | 35 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()
|
D | OnTaskFinishedListener.java | 19 import com.android.server.backup.transport.TransportClient;
|
D | BackupHandler.java | 41 import com.android.server.backup.transport.TransportClient; 103 TransportClient transportClient = in handleMessage()
|
D | PerformBackupTask.java | 67 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/ |
D | ShadowAppBackupUtils.java | 22 import com.android.server.backup.transport.TransportClient; 39 @Nullable TransportClient transportClient, String packageName, PackageManager pm) { in appIsRunningAndEligibleForBackupWithTransport()
|
D | ShadowPerformUnifiedRestoreTask.java | 27 import com.android.server.backup.transport.TransportClient; 59 TransportClient transportClient, in __constructor__()
|
/frameworks/base/services/robotests/src/com/android/server/backup/testing/ |
D | TransportTestUtils.java | 39 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/ |
D | TransportClientManagerTest.java | 77 TransportClient transportClient = in testGetTransportClient() 95 TransportClient transportClient = in testGetTransportClient_withExtras_createsTransportClientWithCorrectIntent() 110 TransportClient transportClient = in testDisposeOfTransportClient()
|
D | TransportClientTest.java | 92 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/ |
D | TransportManager.java | 42 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/ |
D | ActiveRestoreSession.java | 44 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()
|
D | PerformUnifiedRestoreTask.java | 68 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/ |
D | AppBackupUtils.java | 36 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/ |
D | PerformFullTransportBackupTask.java | 54 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/ |
D | PerformInitializeTaskTest.java | 50 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/ |
D | TransportManagerTest.java | 56 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()
|
D | PerformBackupTaskTest.java | 75 import com.android.server.backup.transport.TransportClient; 559 TransportClient transportClient, in createPerformBackupTask()
|