/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/ |
D | TransportClient.java | 42 import com.android.internal.backup.IBackupTransport; 108 private volatile IBackupTransport mTransport; 312 public IBackupTransport connect(String caller) { 318 IBackupTransport transport = mTransport; 332 CompletableFuture<IBackupTransport> transportFuture = new CompletableFuture<>(); 366 public IBackupTransport connectOrThrow(String caller) throws TransportNotAvailableException { in connectOrThrow() 367 IBackupTransport transport = connect(caller); in connectOrThrow() 384 public IBackupTransport getConnectedTransport(String caller) in getConnectedTransport() 386 IBackupTransport transport = mTransport; in getConnectedTransport() 427 IBackupTransport transport = IBackupTransport.Stub.asInterface(binder); in onServiceConnected() [all …]
|
D | TransportConnectionListener.java | 21 import com.android.internal.backup.IBackupTransport; 36 @Nullable IBackupTransport transport, TransportClient transportClient); in onTransportConnectionResult()
|
D | TransportUtils.java | 25 import com.android.internal.backup.IBackupTransport; 38 public static IBackupTransport checkTransportNotNull(@Nullable IBackupTransport transport) in checkTransportNotNull()
|
D | DelegatingTransport.java | 28 import com.android.internal.backup.IBackupTransport; 33 public abstract class DelegatingTransport extends IBackupTransport.Stub { 34 protected abstract IBackupTransport getDelegate() throws RemoteException; in getDelegate()
|
D | TransportNotAvailableException.java | 21 import com.android.internal.backup.IBackupTransport;
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | TransportTestUtils.java | 37 import com.android.internal.backup.IBackupTransport; 163 IBackupTransport transportMock = mockTransportBinder(transport); in mockTransport() 182 private static IBackupTransport mockTransportBinder(TransportData transport) throws Exception { in mockTransportBinder() 183 IBackupTransport transportBinder = mock(IBackupTransport.class); in mockTransportBinder() 202 @Nullable public final IBackupTransport transport; 207 @Nullable IBackupTransport transport) { in TransportMock()
|
/frameworks/base/packages/BackupEncryption/test/unittest/src/com/android/server/backup/encryption/transport/ |
D | IntermediateEncryptingTransportTest.java | 38 import com.android.internal.backup.IBackupTransport; 60 @Mock private IBackupTransport mRealTransport; 86 IBackupTransport ret = mIntermediateEncryptingTransport.getDelegate(); in testGetDelegate_callsConnect() 97 IBackupTransport ret1 = mIntermediateEncryptingTransport.getDelegate(); in testGetDelegate_callTwice_callsConnectOnce() 98 IBackupTransport ret2 = mIntermediateEncryptingTransport.getDelegate(); in testGetDelegate_callTwice_callsConnectOnce()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/ |
D | TransportClientTest.java | 51 import com.android.internal.backup.IBackupTransport; 86 @Mock private IBackupTransport.Stub mTransportBinder; 159 .onTransportConnectionResult(any(IBackupTransport.class), eq(mTransportClient)); in testConnectAsync_callsListenerWhenConnected() 172 .onTransportConnectionResult(any(IBackupTransport.class), eq(mTransportClient)); in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected() 174 .onTransportConnectionResult(any(IBackupTransport.class), eq(mTransportClient)); in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected() 187 .onTransportConnectionResult(any(IBackupTransport.class), eq(mTransportClient)); in testConnectAsync_whenAlreadyConnected_callsListener() 315 IBackupTransport transportBinder = in testConnect_whenConnected_returnsTransport() 328 IBackupTransport transportBinder = in testConnect_afterOnServiceDisconnected_returnsNull() 340 IBackupTransport transportBinder = in testConnect_afterOnBindingDied_returnsNull() 363 IBackupTransport transportBinder = in testConnect_callsThroughToConnectAsync()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | PerformClearTask.java | 24 import com.android.internal.backup.IBackupTransport; 50 IBackupTransport transport = null; in run()
|
D | PerformInitializeTask.java | 31 import com.android.internal.backup.IBackupTransport; 131 IBackupTransport transport = transportClient.connectOrThrow(callerLogString); in run()
|
D | BackupHandler.java | 35 import com.android.internal.backup.IBackupTransport; 153 IBackupTransport transport = in handleMessage() 367 IBackupTransport transport = in handleMessage()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupTransport.java | 27 import com.android.internal.backup.IBackupTransport; 103 IBackupTransport mBinderImpl = new TransportImpl(); 659 class TransportImpl extends IBackupTransport.Stub {
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/transport/ |
D | IntermediateEncryptingTransport.java | 30 import com.android.internal.backup.IBackupTransport; 55 private volatile IBackupTransport mRealTransport; 76 protected IBackupTransport getDelegate() throws RemoteException { in getDelegate()
|
D | IntermediateEncryptingTransportManager.java | 28 import com.android.internal.backup.IBackupTransport;
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 54 import com.android.internal.backup.IBackupTransport; 420 IBackupTransport transport = in informTransportOfUnchangedApps() 470 private void sendNoDataChangedTo(IBackupTransport transport, PackageInfo packageInfo, int flags) in sendNoDataChangedTo() 611 IBackupTransport transport = mTransportClient.connectOrThrow("KVBT.startTask()"); in startTask() 767 IBackupTransport transport = mTransportClient.connectOrThrow(callerLogString); in finishTask() 838 IBackupTransport transport = in triggerTransportInitializationLocked() 922 IBackupTransport transport = mTransportClient.connectOrThrow("KVBT.extractAgentData()"); in extractAgentData() 1080 IBackupTransport transport = in transportPerformBackup() 1133 IBackupTransport transport = in agentDoQuotaExceeded() 1229 IBackupTransport transport = in revertTask()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/ |
D | PerformInitializeTaskTest.java | 46 import com.android.internal.backup.IBackupTransport; 78 @Mock private IBackupTransport mTransportBinder; 330 IBackupTransport registeredTransport = transportMocks.get(1).transport; in testRun_whenOnlyOneTransportNotRegistered() 358 IBackupTransport transport = transportMock.transport; in testRun_whenTransportThrowsDeadObjectException() 381 IBackupTransport transportMock, int initializeDeviceStatus, int finishBackupStatus) in configureTransport()
|
/frameworks/base/services/backup/java/com/android/server/backup/params/ |
D | RestoreGetSetsParams.java | 22 import com.android.internal.backup.IBackupTransport;
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/ |
D | BackupEncryptionService.java | 24 import com.android.internal.backup.IBackupTransport;
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | IBackupTransport.aidl | 26 interface IBackupTransport { interface
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 34 import com.android.internal.backup.IBackupTransport; 61 @Mock IBackupTransport mBackupTransport;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/ |
D | DelegatingTransportTest.java | 36 import com.android.internal.backup.IBackupTransport; 47 @Mock private IBackupTransport mBackupTransport; 64 protected IBackupTransport getDelegate() { in setUp()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 57 import com.android.internal.backup.IBackupTransport; 399 IBackupTransport transport = in startRestore() 497 IBackupTransport transport = in dispatchNextRestore() 711 IBackupTransport transport = in initiateOneRestore() 942 IBackupTransport transport = mTransportClient.connectOrThrow(callerLogString); in run() 1034 IBackupTransport transport = in run() 1097 IBackupTransport transport = in finalizeRestore()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 43 import com.android.internal.backup.IBackupTransport; 241 IBackupTransport transport = in appIsRunningAndEligibleForBackupWithTransport()
|
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/ |
D | TransportManager.java | 40 import com.android.internal.backup.IBackupTransport; 643 final IBackupTransport transport; in registerTransport() 675 private void registerTransport(ComponentName transportComponent, IBackupTransport transport) in registerTransport()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 44 import com.android.internal.backup.IBackupTransport; 301 IBackupTransport transport = in handleCancel() 354 IBackupTransport transport = mTransportClient.connect("PFTBT.run()"); in run() 746 IBackupTransport transport = in preflightFullBackup()
|