Home
last modified time | relevance | path

Searched refs:transportDirName (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTransportData.java74 @Nullable public String transportDirName; field in TransportData
84 String transportDirName, in TransportData() argument
92 this.transportDirName = transportDirName; in TransportData()
102 String transportDirName, in TransportData() argument
111 transportDirName, in TransportData()
131 transportDirName, in unavailable()
143 transportDirName, in unregistered()
DTransportTestUtils.java119 String transportDirName = transport.transportDirName; in setUpTransport() local
131 .thenReturn(transportDirName); in setUpTransport()
133 .thenReturn(transportDirName); in setUpTransport()
187 when(transportBinder.transportDirName()).thenReturn(transport.transportDirName); in mockTransportBinder()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DTransportManagerTest.java134 .onTransportRegistered(mTransportA1.transportName, mTransportA1.transportDirName); in testRegisterTransports()
136 .onTransportRegistered(mTransportA2.transportName, mTransportA2.transportDirName); in testRegisterTransports()
138 .onTransportRegistered(mTransportB1.transportName, mTransportB1.transportDirName); in testRegisterTransports()
155 .onTransportRegistered(transport1.transportName, transport1.transportDirName); in testRegisterTransports_whenOneTransportUnavailable_doesNotRegisterUnavailableTransport()
157 .onTransportRegistered(transport2.transportName, transport2.transportDirName); in testRegisterTransports_whenOneTransportUnavailable_doesNotRegisterUnavailableTransport()
185 .onTransportRegistered(mTransportA1.transportName, mTransportA1.transportDirName); in testRegisterTransports_whenOnlyOneTransportWhitelisted_onlyRegistersWhitelistedTransport()
187 .onTransportRegistered(mTransportA2.transportName, mTransportA2.transportDirName); in testRegisterTransports_whenOnlyOneTransportWhitelisted_onlyRegistersWhitelistedTransport()
234 .onTransportRegistered(mTransportA1.transportName, mTransportA1.transportDirName); in testOnPackageAdded_registerTransports()
270 .onTransportRegistered(mTransportA1.transportName, mTransportA1.transportDirName); in testOnPackageChanged_whenOneComponentChanged_onlyOneTransportReRegistered()
272 .onTransportRegistered(mTransportA2.transportName, mTransportA2.transportDirName); in testOnPackageChanged_whenOneComponentChanged_onlyOneTransportReRegistered()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformInitializeTask.java125 String transportDirName = in run() local
128 EventLog.writeEvent(EventLogTags.BACKUP_START, transportDirName); in run()
148 File stateFileDir = new File(mBaseStateDir, transportDirName); in run()
151 mBackupManagerService.recordInitPending(false, transportName, transportDirName); in run()
157 mBackupManagerService.recordInitPending(true, transportName, transportDirName); in run()
DPerformClearTask.java53 String transportDirName = in run() local
56 File stateDir = new File(mBackupManagerService.getBaseStateDir(), transportDirName); in run()
DBackupHandler.java233 transport.transportDirName(), in handleMessage()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java303 .transportDirName; in getTransportDirName()
314 return getRegisteredTransportDescriptionOrThrowLocked(transportName).transportDirName; in getTransportDirName()
740 String transportDirName = transport.transportDirName(); in registerTransport() local
741 if (transportName == null || transportDirName == null) { in registerTransport()
748 mOnTransportRegisteredListener.onTransportRegistered(transportName, transportDirName); in registerTransport()
768 transport.transportDirName(), in registerTransport()
797 private final String transportDirName; field in TransportManager.TransportDescription
805 String transportDirName, in TransportDescription() argument
811 this.transportDirName = transportDirName; in TransportDescription()
DUserBackupManagerService.java1207 boolean isPending, String transportName, String transportDirName) { in recordInitPending() argument
1220 File stateDir = new File(mBaseStateDir, transportDirName); in recordInitPending()
1275 private void onTransportRegistered(String transportName, String transportDirName) { in onTransportRegistered() argument
1291 File stateDir = new File(mBaseStateDir, transportDirName); in onTransportRegistered()
1881 final String transportDirName; in requestBackup() local
1884 transportDirName = in requestBackup()
1906 transportConnection, transportDirName, listener); in requestBackup()
1914 TransportConnection transportConnection, String transportDirName, in getRequestBackupParams() argument
1960 return new BackupParams(transportConnection, transportDirName, kvBackupList, fullBackupList, in getRequestBackupParams()
2186 String transportDirName = mTransportManager.getTransportDirName(transportName); in fullBackupAllowable() local
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/transport/
DBackupTransportClientTest.java61 @Override public void transportDirName(AndroidFuture<String> name) throws RemoteException { in transportDirName() method in BackupTransportClientTest.TestFuturesFakeTransportBinder
87 String name = client.transportDirName(); in testTransportDirName_completesLater_returnsName()
113 assertThat(client.transportDirName()).isNull(); in testTransportDirName_canceledBeforeCompletion_throwsException()
217 @Override public void transportDirName(AndroidFuture<String> f) throws RemoteException {} in transportDirName() method in BackupTransportClientTest.FakeTransportBinderBase
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DOnTransportRegisteredListener.java32 public void onTransportRegistered(String transportName, String transportDirName); in onTransportRegistered() argument
DBackupTransportClient.java111 public String transportDirName() throws RemoteException { in transportDirName() method in BackupTransportClient
113 mTransportBinder.transportDirName(resultFuture); in transportDirName()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java122 .recordInitPending(false, mTransportName, mTransport.transportDirName); in testRun_callsBackupManagerCorrectly()
124 .resetBackupState(eq(new File(mBaseStateDir, mTransport.transportDirName))); in testRun_callsBackupManagerCorrectly()
151 .recordInitPending(true, mTransportName, mTransport.transportDirName); in testRun_whenInitializeDeviceFails()
190 .recordInitPending(true, mTransportName, mTransport.transportDirName); in testRun_whenFinishBackupFails()
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java223 public String transportDirName() { in transportDirName() method in BackupTransport
736 public void transportDirName(AndroidFuture<String> resultFuture) throws RemoteException { in transportDirName() method in BackupTransport.TransportImpl
738 String result = BackupTransport.this.transportDirName(); in transportDirName()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowKeyValueBackupTask.java62 String transportDirName, in __constructor__() argument
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl112 void transportDirName(in AndroidFuture<String> resultFuture); in transportDirName() method
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java217 String transportDirName, in start() argument
235 transportDirName, in start()
312 String transportDirName, in KeyValueBackupTask() argument
338 mStateDirectory = new File(backupManagerService.getBaseStateDir(), transportDirName); in KeyValueBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java422 String transportDirName = in startRestore() local
425 mStateDir = new File(backupManagerService.getBaseStateDir(), transportDirName); in startRestore()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java169 public String transportDirName() { in transportDirName() method in LocalTransport
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2594 return mBaseStateDir.toPath().resolve(transport.transportDirName); in getStateDirectory()
2711 transportMock.transportData.transportDirName, in createKeyValueBackupTask()
/frameworks/base/core/api/
Dsystem-current.txt1916 method public String transportDirName();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt4233 Landroid/app/backup/BackupTransport$TransportImpl;->transportDirName()Ljava/lang/String;
72311 Lcom/android/internal/backup/IBackupTransport$Stub$Proxy;->transportDirName()Ljava/lang/String;
/frameworks/base/services/
Dart-wear-profile8724 PLcom/android/server/backup/transport/BackupTransportClient;->transportDirName()Ljava/lang/String;