/packages/modules/HealthFitness/backuprestore/src/com/android/health/connect/backuprestore/ |
D | HealthConnectBackupAgent.java | 62 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in onFullBackup() local 72 pfdsByFileName.put( in onFullBackup() 81 mHealthConnectManager.getAllDataForBackup(pfdsByFileName); in onFullBackup() 94 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in onRestoreFinished() local 101 pfdsByFileName.put(file.getName(), ParcelFileDescriptor.open(file, MODE_READ_ONLY)); in onRestoreFinished() 109 pfdsByFileName, in onRestoreFinished() 133 for (var pfdToFileName : pfdsByFileName.entrySet()) { in onRestoreFinished()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | HealthConnectServiceImplTest.java | 263 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in testStageRemoteData_withValidInput_allFilesStaged() local 264 pfdsByFileName.put( in testStageRemoteData_withValidInput_allFilesStaged() 267 pfdsByFileName.put( in testStageRemoteData_withValidInput_allFilesStaged() 273 new StageRemoteDataRequest(pfdsByFileName), mUserHandle, callback); in testStageRemoteData_withValidInput_allFilesStaged() 291 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in testStageRemoteData_withNotReadMode_onlyValidFilesStaged() local 292 pfdsByFileName.put( in testStageRemoteData_withNotReadMode_onlyValidFilesStaged() 295 pfdsByFileName.put( in testStageRemoteData_withNotReadMode_onlyValidFilesStaged() 301 new StageRemoteDataRequest(pfdsByFileName), mUserHandle, callback); in testStageRemoteData_withNotReadMode_onlyValidFilesStaged() 320 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in testStageRemoteData_whenStagingProgress_doesStage() local 321 pfdsByFileName.put( in testStageRemoteData_whenStagingProgress_doesStage() [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/restore/ |
D | StageRemoteDataRequest.java | 50 public StageRemoteDataRequest(@NonNull Map<String, ParcelFileDescriptor> pfdsByFileName) { in StageRemoteDataRequest() argument 51 Objects.requireNonNull(pfdsByFileName); in StageRemoteDataRequest() 52 mPfdsByFileName = pfdsByFileName; in StageRemoteDataRequest()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthConnectManagerTest.java | 790 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in testStageRemoteData_withValidInput_noExceptionsReturned() local 791 pfdsByFileName.put( in testStageRemoteData_withValidInput_noExceptionsReturned() 795 pfdsByFileName.put( in testStageRemoteData_withValidInput_noExceptionsReturned() 805 pfdsByFileName, in testStageRemoteData_withValidInput_noExceptionsReturned() 846 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in testStageRemoteData_whenNotReadMode_errorIoReturned() local 847 pfdsByFileName.put( in testStageRemoteData_whenNotReadMode_errorIoReturned() 851 pfdsByFileName.put( in testStageRemoteData_whenNotReadMode_errorIoReturned() 861 pfdsByFileName, in testStageRemoteData_whenNotReadMode_errorIoReturned() 917 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in testStageRemoteData_whenStagingStagedData_noExceptionsReturned() local 918 pfdsByFileName.put( in testStageRemoteData_whenStagingStagedData_noExceptionsReturned() [all …]
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/ |
D | BackupRestoreApiTest.java | 190 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in restoreBackupData() local 192 pfdsByFileName.put(file.getName(), ParcelFileDescriptor.open(file, MODE_READ_ONLY)); in restoreBackupData() 200 pfdsByFileName, in restoreBackupData()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/backuprestore/ |
D | BackupRestore.java | 245 Map<String, ParcelFileDescriptor> pfdsByFileName, in stageAllHealthConnectRemoteData() argument 257 pfdsByFileName.forEach( in stageAllHealthConnectRemoteData() 335 Map<String, ParcelFileDescriptor> pfdsByFileName = in getAllDataForBackup() local 339 pfdsByFileName.forEach( in getAllDataForBackup()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthConnectManager.java | 1391 @NonNull Map<String, ParcelFileDescriptor> pfdsByFileName, in stageAllHealthConnectRemoteData() argument 1395 Objects.requireNonNull(pfdsByFileName); in stageAllHealthConnectRemoteData() 1401 new StageRemoteDataRequest(pfdsByFileName), in stageAllHealthConnectRemoteData() 1432 public void getAllDataForBackup(@NonNull Map<String, ParcelFileDescriptor> pfdsByFileName) { in getAllDataForBackup() argument 1433 Objects.requireNonNull(pfdsByFileName); in getAllDataForBackup() 1437 new StageRemoteDataRequest(pfdsByFileName), mContext.getUser()); in getAllDataForBackup()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/ |
D | BackupRestoreTest.java | 204 Map<String, ParcelFileDescriptor> pfdsByFileName = new ArrayMap<>(); in testGetAllBackupData_forDeviceToDevice_copiesAllData() local 205 pfdsByFileName.put( in testGetAllBackupData_forDeviceToDevice_copiesAllData() 208 pfdsByFileName.put( in testGetAllBackupData_forDeviceToDevice_copiesAllData() 213 mBackupRestore.getAllDataForBackup(new StageRemoteDataRequest(pfdsByFileName), mUserHandle); in testGetAllBackupData_forDeviceToDevice_copiesAllData()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectServiceImpl.java | 1802 Map<String, ParcelFileDescriptor> pfdsByFileName = in stageAllHealthConnectRemoteData() local 1814 pfdsByFileName.put(entry.getKey(), entry.getValue().dup()); in stageAllHealthConnectRemoteData() 1835 pfdsByFileName, exceptionsByFileName, userHandle, callback); in stageAllHealthConnectRemoteData()
|