Home
last modified time | relevance | path

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

/frameworks/base/services/backup/java/com/android/server/backup/transport/
DBackupTransportClient.java66 AndroidFuture<String> resultFuture = mTransportFutures.newFuture(); in name() local
67 mTransportBinder.name(resultFuture); in name()
68 return getFutureResult(resultFuture); in name()
75 AndroidFuture<Intent> resultFuture = mTransportFutures.newFuture(); in configurationIntent() local
76 mTransportBinder.configurationIntent(resultFuture); in configurationIntent()
77 return getFutureResult(resultFuture); in configurationIntent()
84 AndroidFuture<String> resultFuture = mTransportFutures.newFuture(); in currentDestinationString() local
85 mTransportBinder.currentDestinationString(resultFuture); in currentDestinationString()
86 return getFutureResult(resultFuture); in currentDestinationString()
93 AndroidFuture<Intent> resultFuture = mTransportFutures.newFuture(); in dataManagementIntent() local
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java682 public void name(AndroidFuture<String> resultFuture) throws RemoteException { in name() argument
685 resultFuture.complete(result); in name()
687 resultFuture.cancel(/* mayInterruptIfRunning */ true); in name()
692 public void configurationIntent(AndroidFuture<Intent> resultFuture) in configurationIntent() argument
696 resultFuture.complete(result); in configurationIntent()
698 resultFuture.cancel(/* mayInterruptIfRunning */ true); in configurationIntent()
703 public void currentDestinationString(AndroidFuture<String> resultFuture) in currentDestinationString() argument
707 resultFuture.complete(result); in currentDestinationString()
709 resultFuture.cancel(/* mayInterruptIfRunning */ true); in currentDestinationString()
714 public void dataManagementIntent(AndroidFuture<Intent> resultFuture) in dataManagementIntent() argument
[all …]
/frameworks/av/media/libstagefright/renderfright/threaded/
DRenderEngineThreaded.cpp88 std::future<void> resultFuture = resultPromise.get_future(); in primeCache() local
98 resultFuture.wait(); in primeCache()
103 std::future<std::string> resultFuture = resultPromise.get_future(); in dump() local
115 result.assign(resultFuture.get()); in dump()
120 std::future<bool> resultFuture = resultPromise.get_future(); in useNativeFenceSync() local
130 return resultFuture.get(); in useNativeFenceSync()
135 std::future<bool> resultFuture = resultPromise.get_future(); in useWaitSync() local
145 return resultFuture.get(); in useWaitSync()
150 std::future<void> resultFuture = resultPromise.get_future(); in genTextures() local
160 resultFuture.wait(); in genTextures()
[all …]
/frameworks/base/core/java/com/android/internal/backup/
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
189 void getAvailableRestoreSets(in AndroidFuture<List<RestoreSet>> resultFuture); in getAvailableRestoreSets() argument
200 void getCurrentRestoreSet(in AndroidFuture<long> resultFuture); in getCurrentRestoreSet() argument
237 void nextRestorePackage(in AndroidFuture<RestoreDescription> resultFuture); in nextRestorePackage() argument
265 void requestFullBackupTime(in AndroidFuture<long> resultFuture); in requestFullBackupTime() argument
[all …]
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
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()
/frameworks/native/libs/renderengine/threaded/
DRenderEngineThreaded.cpp135 std::future<void> resultFuture = resultPromise->get_future(); in primeCache() local
157 return resultFuture; in primeCache()
162 std::future<std::string> resultFuture = resultPromise.get_future(); in dump() local
174 result.assign(resultFuture.get()); in dump()
257 std::future<FenceResult> resultFuture = resultPromise->get_future(); in drawLayers() local
271 return resultFuture; in drawLayers()
276 std::future<int> resultFuture = resultPromise.get_future(); in getContextPriority() local
286 return resultFuture.get(); in getContextPriority()
/frameworks/base/core/java/android/service/games/
DGameSessionTrampolineActivity.java70 @NonNull AndroidFuture<GameSessionActivityResult> resultFuture) { in createIntent() argument
77 trampolineIntent.putExtra(FUTURE_KEY, resultFuture); in createIntent()
/frameworks/native/libs/renderengine/
DRenderEngine.cpp103 std::future<FenceResult> resultFuture = resultPromise->get_future(); in drawLayers() local
106 return resultFuture; in drawLayers()
/frameworks/base/services/core/java/com/android/server/pm/
DGentleUpdateHelper.java164 var resultFuture = new CompletableFuture<InstallConstraintsResult>(); in checkInstallConstraints() local
167 packageNames, constraints, resultFuture, timeoutMillis); in checkInstallConstraints()
183 return resultFuture; in checkInstallConstraints()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp587 ftl::Future<FenceResult> resultFuture = in setupREBufferCompositionCommonCallExpectations() local
593 return resultFuture; in setupREBufferCompositionCommonCallExpectations()
604 return resultFuture; in setupREBufferCompositionCommonCallExpectations()
637 ftl::Future<FenceResult> resultFuture = in setupREColorCompositionCallExpectations() local
643 return resultFuture; in setupREColorCompositionCallExpectations()
654 return resultFuture; in setupREColorCompositionCallExpectations()
720 ftl::Future<FenceResult> resultFuture = in setupInsecureREBufferCompositionCommonCallExpectations() local
726 return resultFuture; in setupInsecureREBufferCompositionCommonCallExpectations()
735 return resultFuture; in setupInsecureREBufferCompositionCommonCallExpectations()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
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()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/transport/
DBackupTransportClientTest.java259 public void getBackupManagerMonitor(AndroidFuture<IBackupManagerMonitor> resultFuture) in getBackupManagerMonitor() argument