Home
last modified time | relevance | path

Searched refs:IBackupTransport (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DTransportClient.java42 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 …]
DTransportConnectionListener.java21 import com.android.internal.backup.IBackupTransport;
36 @Nullable IBackupTransport transport, TransportClient transportClient); in onTransportConnectionResult()
DTransportUtils.java25 import com.android.internal.backup.IBackupTransport;
38 public static IBackupTransport checkTransportNotNull(@Nullable IBackupTransport transport) in checkTransportNotNull()
DDelegatingTransport.java28 import com.android.internal.backup.IBackupTransport;
33 public abstract class DelegatingTransport extends IBackupTransport.Stub {
34 protected abstract IBackupTransport getDelegate() throws RemoteException; in getDelegate()
DTransportNotAvailableException.java21 import com.android.internal.backup.IBackupTransport;
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTransportTestUtils.java37 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/
DIntermediateEncryptingTransportTest.java38 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/
DTransportClientTest.java51 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/
DPerformClearTask.java24 import com.android.internal.backup.IBackupTransport;
50 IBackupTransport transport = null; in run()
DPerformInitializeTask.java31 import com.android.internal.backup.IBackupTransport;
131 IBackupTransport transport = transportClient.connectOrThrow(callerLogString); in run()
DBackupHandler.java35 import com.android.internal.backup.IBackupTransport;
153 IBackupTransport transport = in handleMessage()
367 IBackupTransport transport = in handleMessage()
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java27 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/
DIntermediateEncryptingTransport.java30 import com.android.internal.backup.IBackupTransport;
55 private volatile IBackupTransport mRealTransport;
76 protected IBackupTransport getDelegate() throws RemoteException { in getDelegate()
DIntermediateEncryptingTransportManager.java28 import com.android.internal.backup.IBackupTransport;
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java54 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/
DPerformInitializeTaskTest.java46 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/
DRestoreGetSetsParams.java22 import com.android.internal.backup.IBackupTransport;
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/
DBackupEncryptionService.java24 import com.android.internal.backup.IBackupTransport;
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl26 interface IBackupTransport { interface
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java34 import com.android.internal.backup.IBackupTransport;
61 @Mock IBackupTransport mBackupTransport;
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/
DDelegatingTransportTest.java36 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/
DPerformUnifiedRestoreTask.java57 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/
DBackupEligibilityRules.java43 import com.android.internal.backup.IBackupTransport;
241 IBackupTransport transport = in appIsRunningAndEligibleForBackupWithTransport()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/
DTransportManager.java40 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/
DPerformFullTransportBackupTask.java44 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()

12