Home
last modified time | relevance | path

Searched refs:getRestoreData (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/BackupEncryption/test/unittest/src/com/android/server/backup/encryption/transport/
DIntermediateEncryptingTransportTest.java81 when(mRealTransport.getRestoreData(any())).thenReturn(BackupTransport.TRANSPORT_OK); in setUp()
140 mIntermediateEncryptingTransport.getRestoreData(mParcelFileDescriptor); in testGetRestoreData_shouldEncryptTrue_decryptsDataAndPassesToDelegate()
144 verify(mRealTransport, times(1)).getRestoreData(any()); in testGetRestoreData_shouldEncryptTrue_decryptsDataAndPassesToDelegate()
155 mIntermediateEncryptingTransport.getRestoreData(mParcelFileDescriptor); in testGetRestoreData_shouldEncryptFalse_doesntDecryptDataAndPassesToDelegate()
158 verify(mRealTransport, times(1)).getRestoreData(eq(mParcelFileDescriptor)); in testGetRestoreData_shouldEncryptFalse_doesntDecryptDataAndPassesToDelegate()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DEncryptedKvRestoreTaskTest.java107 task.getRestoreData(mParcelFileDescriptor); in testGetRestoreData_writesPairsToOutputInOrder()
120 assertThrows(IOException.class, () -> task.getRestoreData(mParcelFileDescriptor)); in testGetRestoreData_exceptionDuringDecryption_throws()
126 assertThrows(IOException.class, () -> task.getRestoreData(mParcelFileDescriptor)); in testGetRestoreData_exceptionDuringDownload_throws()
132 assertThrows(InvalidKeyException.class, () -> task.getRestoreData(mParcelFileDescriptor)); in testGetRestoreData_exceptionDuringDecryption_deletesTemporaryFiles()
139 assertThrows(IOException.class, () -> task.getRestoreData(mParcelFileDescriptor)); in testGetRestoreData_exceptionDuringDownload_deletesTemporaryFiles()
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java419 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() method in BackupTransport
738 public int getRestoreData(ParcelFileDescriptor outFd) throws RemoteException { in getRestoreData() method in BackupTransport.TransportImpl
739 return BackupTransport.this.getRestoreData(outFd); in getRestoreData()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/transport/
DIntermediateEncryptingTransport.java116 public int getRestoreData(ParcelFileDescriptor outFd) throws RemoteException { in getRestoreData() method in IntermediateEncryptingTransport
118 return super.getRestoreData(outFd); in getRestoreData()
134 int status = super.getRestoreData(ParcelFileDescriptor.dup(outputStream.getFD())); in getRestoreData()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DDelegatingTransport.java285 public int getRestoreData(ParcelFileDescriptor outFd) throws RemoteException { in getRestoreData() method in DelegatingTransport
286 return getDelegate().getRestoreData(outFd); in getRestoreData()
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl226 int getRestoreData(in ParcelFileDescriptor outFd); in getRestoreData() method
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/
DDelegatingTransportTest.java254 when(mBackupTransport.getRestoreData(mFd)).thenReturn(exp); in testGetRestoreData()
256 int ret = mDelegatingTransport.getRestoreData(mFd); in testGetRestoreData()
259 verify(mBackupTransport, times(1)).getRestoreData(mFd); in testGetRestoreData()
/frameworks/base/packages/EncryptedLocalTransport/src/com/android/encryptedlocaltransport/
DEncryptedLocalTransport.java80 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() method in EncryptedLocalTransport
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/
DKeyValueEncrypter.java80 restoreTask.getRestoreData(outputFd); in decryptKeyValueData()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedKvRestoreTask.java113 public void getRestoreData(ParcelFileDescriptor output) in getRestoreData() method in EncryptedKvRestoreTask
/frameworks/base/packages/BackupEncryption/test/robolectric-integration/src/com/android/server/backup/encryption/
DRoundTripTest.java210 restoreTask.getRestoreData(mParcelFileDescriptor); in performKeyValueRestore()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java694 public int getRestoreData(ParcelFileDescriptor outFd) { in getRestoreData() method in LocalTransport
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java721 if (transport.getRestoreData(stage) != BackupTransport.TRANSPORT_OK) { in initiateOneRestore()
/frameworks/base/core/api/
Dsystem-current.txt1163 method public int getRestoreData(android.os.ParcelFileDescriptor);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt4221 Landroid/app/backup/BackupTransport$TransportImpl;->getRestoreData(Landroid/os/ParcelFileDescriptor…
76264 Lcom/android/internal/backup/IBackupTransport$Stub$Proxy;->getRestoreData(Landroid/os/ParcelFileDes…