Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioningController.java22 import static java.util.concurrent.CompletableFuture.completedFuture;
74 return completedFuture(null); in showInputSurface()
90 return completedFuture(null); in showInputSurface()
176 return completedFuture(false); in startPositioningLocked()
181 return completedFuture(false); in startPositioningLocked()
187 return completedFuture(false); in startPositioningLocked()
DTaskPositioner.java37 import static java.util.concurrent.CompletableFuture.completedFuture;
208 return completedFuture(null); in register()
DDragState.java38 import static java.util.concurrent.CompletableFuture.completedFuture;
185 return completedFuture(null); in showInputSurface()
478 return completedFuture(null); in register()
DAnrController.java346 CompletableFuture.completedFuture(nativePids), in preDumpIfLockTooSlow()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsTrampolineActivityTest.java27 import static com.android.internal.infra.AndroidFuture.completedFuture;
170 .thenReturn(completedFuture(CAPTURE_CONTENT_FOR_NOTE_FAILED)); in queryService_returnedFailed_shouldFinishWithFailed()
184 .thenReturn(completedFuture(CAPTURE_CONTENT_FOR_NOTE_WINDOW_MODE_UNSUPPORTED)); in queryService_returnedWindowModeUnsupported_shouldFinishWithWindowModeUnsupported()
198 .thenReturn(completedFuture(CAPTURE_CONTENT_FOR_NOTE_BLOCKED_BY_ADMIN)); in queryService_returnedScreenshotBlocked_shouldFinishWithBlockedByAdmin()
265 .thenReturn(completedFuture(CAPTURE_CONTENT_FOR_NOTE_SUCCESS)); in mockToSatisfyAllPrerequisites()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSmartActions.java79 return CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
86 return CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
101 smartActionsFuture = CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
DScreenshotNotificationSmartActionsProvider.java84 return CompletableFuture.completedFuture(Collections.emptyList()); in getActions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java569 return CompletableFuture.completedFuture(DisconnectCause.EMERGENCY_PERM_FAILURE); in startEmergencyCall()
597 return CompletableFuture.completedFuture(DisconnectCause.NOT_DISCONNECTED); in startEmergencyCall()
601 return CompletableFuture.completedFuture(DisconnectCause.ERROR_UNSPECIFIED); in startEmergencyCall()
1312 return CompletableFuture.completedFuture(DisconnectCause.ERROR_UNSPECIFIED); in startEmergencySms()
1329 return CompletableFuture.completedFuture(DisconnectCause.ERROR_UNSPECIFIED); in startEmergencySms()
1338 return CompletableFuture.completedFuture(DisconnectCause.ERROR_UNSPECIFIED); in startEmergencySms()
1350 return CompletableFuture.completedFuture(DisconnectCause.NOT_DISCONNECTED); in startEmergencySms()
1359 return CompletableFuture.completedFuture(DisconnectCause.NOT_DISCONNECTED); in startEmergencySms()
1720 return CompletableFuture.completedFuture(Boolean.TRUE); in possiblyOverrideDefaultDataForEmergencyCall()
1727 return CompletableFuture.completedFuture(Boolean.TRUE); in possiblyOverrideDefaultDataForEmergencyCall()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestUiOffloadThread.java41 return CompletableFuture.completedFuture(null); in execute()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DFakeServiceConnector.java96 return AndroidFuture.completedFuture(mService); in connect()
/frameworks/base/services/tests/servicestests/src/com/android/server/contentprotection/
DRemoteContentProtectionServiceTest.java154 return AndroidFuture.completedFuture(mMockContentProtectionService); in connect()
/frameworks/base/services/core/java/com/android/server/
DSystemServerInitThreadPool.java198 CompletableFuture.completedFuture(Watchdog.getInterestingNativePids()), in dumpStackTraces()
DWatchdog.java1001 CompletableFuture.completedFuture(getInterestingNativePids()), tracesFileException, in logWatchog()
/frameworks/base/services/core/java/com/android/server/pm/
DGentleUpdateHelper.java169 ? checkDeviceIdle() : CompletableFuture.completedFuture(false); in checkInstallConstraints()
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarServiceHelperService.java623 CompletableFuture.completedFuture(getInterestingNativePids()), in dumpServiceStacks()
907 /* nativePids= */ CompletableFuture.completedFuture(nativePids), in dumpAndKillProcess()
/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java127 public static <U> AndroidFuture<U> completedFuture(U value) { in completedFuture() method in AndroidFuture
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryExternalStatsWorker.java540 CompletableFuture<ModemActivityInfo> modemFuture = CompletableFuture.completedFuture(null);
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java783 return CompletableFuture.completedFuture(resolveInfo); in resolveActivityAsUser()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationThreadTest.java255 CompletableFuture<Void> mRequestVibrationParamsFuture = CompletableFuture.completedFuture( in vibrate_singleWaveformWithAdaptiveHapticsScaling_scalesAmplitudesProperly()
/frameworks/base/core/java/android/widget/
DRemoteViews.java1295 return CompletableFuture.completedFuture(null); in collectAllIntentsNoComplete()
1398 return CompletableFuture.completedFuture(new RemoteCollectionItems
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java6900 executeCallback(AndroidFuture.completedFuture(false), executor, callback); in sendLostModeLocationUpdate()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...