Home
last modified time | relevance | path

Searched refs:resultFuture (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/core/java/android/app/backup/
H A DBackupTransport.java685 resultFuture.complete(result); in name()
696 resultFuture.complete(result); in configurationIntent()
707 resultFuture.complete(result); in currentDestinationString()
718 resultFuture.complete(result); in dataManagementIntent()
729 resultFuture.complete(result); in dataManagementIntentLabel()
739 resultFuture.complete(result); in transportDirName()
749 resultFuture.complete(result); in requestBackupTime()
813 resultFuture.complete(result); in getCurrentRestoreSet()
835 resultFuture.complete(result); in nextRestorePackage()
868 resultFuture.complete(result); in requestFullBackupTime()
[all …]
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/transport/
H A DBackupTransportClient.java67 mTransportBinder.name(resultFuture); in name()
68 return getFutureResult(resultFuture); in name()
77 return getFutureResult(resultFuture); in configurationIntent()
86 return getFutureResult(resultFuture); in currentDestinationString()
95 return getFutureResult(resultFuture); in dataManagementIntent()
105 return getFutureResult(resultFuture); in dataManagementIntentLabel()
114 return getFutureResult(resultFuture); in transportDirName()
162 Long result = getFutureResult(resultFuture); in requestBackupTime()
196 Long result = getFutureResult(resultFuture); in getCurrentRestoreSet()
219 return getFutureResult(resultFuture); in nextRestorePackage()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/backup/
H A DIBackupTransport.aidl54 void configurationIntent(in AndroidFuture<Intent> resultFuture); in configurationIntent() argument
65 void currentDestinationString(in AndroidFuture<String> resultFuture); in currentDestinationString() argument
87 void dataManagementIntent(in AndroidFuture<Intent> resultFuture); in dataManagementIntent() argument
98 void dataManagementIntentLabel(in AndroidFuture<CharSequence> resultFuture); in dataManagementIntentLabel() argument
112 void transportDirName(in AndroidFuture<String> resultFuture); in transportDirName() argument
126 void requestBackupTime(in AndroidFuture<long> resultFuture); in requestBackupTime() argument
200 void getCurrentRestoreSet(in AndroidFuture<long> resultFuture); in getCurrentRestoreSet() argument
265 void requestFullBackupTime(in AndroidFuture<long> resultFuture); in requestFullBackupTime() argument
331 in AndroidFuture<boolean> resultFuture); in isAppEligibleForBackup() argument
343 in AndroidFuture<long> resultFuture); in getBackupQuota() argument
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
H A DGameSessionTrampolineActivityTest.java91 AndroidFuture<GameSessionActivityResult> resultFuture = in launch_targetActivityFinishesSuccessfully_futureCompletedWithSameResults() local
100 assertEquals(resultFuture, expectedResult); in launch_targetActivityFinishesSuccessfully_futureCompletedWithSameResults()
110 AndroidFuture<GameSessionActivityResult> resultFuture = in launch_trampolineActivityProcessDeath_futureCompletedWithSameResults() local
119 assertEquals(resultFuture, expectedResult); in launch_trampolineActivityProcessDeath_futureCompletedWithSameResults()
164 AndroidFuture<GameSessionActivityResult> resultFuture = new AndroidFuture<>(); in startGameSessionTrampolineActivity() local
166 null, resultFuture); in startGameSessionTrampolineActivity()
171 return resultFuture; in startGameSessionTrampolineActivity()
/aosp14/frameworks/base/core/java/android/service/games/
H A DGameSessionTrampolineActivity.java70 @NonNull AndroidFuture<GameSessionActivityResult> resultFuture) { in createIntent() argument
77 trampolineIntent.putExtra(FUTURE_KEY, resultFuture); in createIntent()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DGentleUpdateHelper.java164 var resultFuture = new CompletableFuture<InstallConstraintsResult>(); in checkInstallConstraints() local
167 packageNames, constraints, resultFuture, timeoutMillis); in checkInstallConstraints()
183 return resultFuture; in checkInstallConstraints()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
H A DGameServiceProviderInstanceImplTest.java1030 AndroidFuture<GameScreenshotResult> resultFuture = new AndroidFuture<>(); in takeScreenshot_failureNoBitmapCaptured() local
1031 gameSessionController.takeScreenshot(10, resultFuture); in takeScreenshot_failureNoBitmapCaptured()
1033 GameScreenshotResult result = resultFuture.get(); in takeScreenshot_failureNoBitmapCaptured()
1064 AndroidFuture<GameScreenshotResult> resultFuture = new AndroidFuture<>(); in takeScreenshot_success() local
1065 gameSessionController.takeScreenshot(taskId, resultFuture); in takeScreenshot_success()
1067 GameScreenshotResult result = resultFuture.get(); in takeScreenshot_success()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/transport/
H A DBackupTransportClientTest.java259 public void getBackupManagerMonitor(AndroidFuture<IBackupManagerMonitor> resultFuture) in getBackupManagerMonitor() argument