Home
last modified time | relevance | path

Searched defs:future (Results 1 – 25 of 73) sorted by relevance

123

/aosp14/frameworks/base/core/java/com/android/internal/inputmethod/
H A DIInputMethodPrivilegedOperations.aidl33 in AndroidFuture future /* T=IBinder */); in createInputContentUriToken()
35 void setInputMethod(String id, in AndroidFuture future /* T=Void */); in setInputMethod()
37 in AndroidFuture future /* T=Void */); in setInputMethodAndSubtype()
38 void hideMySoftInput(int flags, int reason, in AndroidFuture future /* T=Void */); in hideMySoftInput()
39 void showMySoftInput(int flags, in AndroidFuture future /* T=Void */); in showMySoftInput()
41 void switchToPreviousInputMethod(in AndroidFuture future /* T=Boolean */); in switchToPreviousInputMethod()
42 void switchToNextInputMethod(boolean onlyCurrentIme, in AndroidFuture future /* T=Boolean */); in switchToNextInputMethod()
43 void shouldOfferSwitchingToNextInputMethod(in AndroidFuture future /* T=Boolean */); in shouldOfferSwitchingToNextInputMethod()
H A DCompletableFutureUtil.java44 private static <T> T getValueOrRethrowErrorInternal(@NonNull CompletableFuture<T> future) { in getValueOrRethrowErrorInternal()
66 private static <T> T getValueOrNullInternal(@NonNull CompletableFuture<T> future, in getValueOrNullInternal()
145 public static <T> T getResult(@NonNull CompletableFuture<T> future) { in getResult()
158 public static boolean getBooleanResult(@NonNull CompletableFuture<Boolean> future) { in getBooleanResult()
171 public static int getIntegerResult(@NonNull CompletableFuture<Integer> future) { in getIntegerResult()
193 public static boolean getResultOrFalse(@NonNull CompletableFuture<Boolean> future, in getResultOrFalse()
220 public static int getResultOrZero(@NonNull CompletableFuture<Integer> future, in getResultOrZero()
248 public static <T> T getResultOrNull(@NonNull CompletableFuture<T> future, @Nullable String tag, in getResultOrNull()
H A DInputMethodPrivilegedOperations.java162 final AndroidFuture<IBinder> future = new AndroidFuture<>(); in createInputContentUriToken() local
223 final AndroidFuture<Void> future = new AndroidFuture<>(); in setInputMethod() local
246 final AndroidFuture<Void> future = new AndroidFuture<>(); in setInputMethodAndSubtype() local
267 final AndroidFuture<Void> future = new AndroidFuture<>(); in hideMySoftInput() local
285 final AndroidFuture<Void> future = new AndroidFuture<>(); in showMySoftInput() local
328 final AndroidFuture<Boolean> future = new AndroidFuture<>(); in switchToNextInputMethod() local
349 final AndroidFuture<Boolean> future = new AndroidFuture<>(); in shouldOfferSwitchingToNextInputMethod() local
H A DIRemoteInputConnection.aidl41 in AndroidFuture future /* T=CharSequence */); in getTextBeforeCursor()
44 in AndroidFuture future /* T=CharSequence */); in getTextAfterCursor()
47 in AndroidFuture future /* T=Integer */); in getCursorCapsMode()
50 int flags, in AndroidFuture future /* T=ExtractedText */); in getExtractedText()
106 in AndroidFuture future /* T=CharSequence */); in getSelectedText()
109 int imeDisplayId, in AndroidFuture future /* T=Boolean */); in requestCursorUpdates()
113 in AndroidFuture future /* T=Boolean */); in requestCursorUpdatesWithFilter()
119 int flags, in Bundle opts, in AndroidFuture future /* T=Boolean */); in commitContent()
122 int afterLength, int flags, in AndroidFuture future /* T=SurroundingText */); in getSurroundingText()
H A DCancellationGroup.java65 boolean tryRegisterFutureOrCancelImmediately(@NonNull CompletableFuture<?> future) { in tryRegisterFutureOrCancelImmediately()
82 void unregisterFuture(@NonNull CompletableFuture<?> future) { in unregisterFuture()
H A DIRemoteAccessibilityInputConnectionInvoker.java131 final AndroidFuture<SurroundingText> future = new AndroidFuture<>(); in getSurroundingText() local
134 future); in getSurroundingText() local
209 final AndroidFuture<Integer> future = new AndroidFuture<>(); in getCursorCapsMode() local
211 mConnection.getCursorCapsMode(createHeader(), reqModes, future); in getCursorCapsMode() local
H A DIRemoteAccessibilityInputConnection.aidl36 int afterLength, int flags, in AndroidFuture future /* T=SurroundingText */); in getSurroundingText()
48 in AndroidFuture future /* T=Integer */); in getCursorCapsMode()
/aosp14/frameworks/base/tests/AttestationVerificationTest/src/android/security/attestationverification/
H A DSystemAttestationVerificationTest.kt54 val future = CompletableFuture<Int>() regex
66 val future = CompletableFuture<Int>() regex
78 val future = CompletableFuture<Int>() regex
89 val future = CompletableFuture<Int>() regex
100 val future = CompletableFuture<Int>() regex
114 val future = CompletableFuture<Int>() regex
128 val future = CompletableFuture<Int>() regex
139 val future = CompletableFuture<Int>() regex
152 val future = CompletableFuture<VerificationToken>() regex
H A DPeerDeviceSystemAttestationVerificationTest.kt50 val future = CompletableFuture<Int>() regex
62 val future = CompletableFuture<Int>() regex
74 val future = CompletableFuture<Int>() regex
98 val future = CompletableFuture<Int>() regex
112 val future = CompletableFuture<Int>() regex
126 val future = CompletableFuture<Int>() regex
/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DIRemoteInputConnectionInvoker.java197 final AndroidFuture<CharSequence> future = new AndroidFuture<>(); in getTextAfterCursor() local
218 final AndroidFuture<CharSequence> future = new AndroidFuture<>(); in getTextBeforeCursor() local
238 final AndroidFuture<CharSequence> future = new AndroidFuture<>(); in getSelectedText() local
240 mConnection.getSelectedText(createHeader(), flags, future); in getSelectedText() local
265 future); in getSurroundingText() local
283 final AndroidFuture<Integer> future = new AndroidFuture<>(); in getCursorCapsMode() local
775 final AndroidFuture<Boolean> future = new AndroidFuture<>(); in requestCursorUpdates() local
778 future); in requestCursorUpdates() local
799 final AndroidFuture<Boolean> future = new AndroidFuture<>(); in requestCursorUpdates() local
802 cursorUpdateFilter, imeDisplayId, future); in requestCursorUpdates() local
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/animation/
H A DAutoCancelTest.java66 private void setupAnimators(long startDelay, boolean startLater, final FutureWaiter future) { in setupAnimators()
132 final FutureWaiter future = new FutureWaiter(); in testAutoCancel() local
146 final FutureWaiter future = new FutureWaiter(); in testAutoCancelDelayed() local
160 final FutureWaiter future = new FutureWaiter(); in testAutoCancelTestLater() local
174 final FutureWaiter future = new FutureWaiter(); in testAutoCancelDelayedTestLater() local
H A DEventsTest.java81 public Canceler(Animator anim, FutureWaiter future) { in Canceler()
111 public Ender(Animator anim, FutureWaiter future) { in Ender()
134 public Pauser(Animator anim, FutureWaiter future) { in Pauser()
157 public Resumer(Animator anim, FutureWaiter future) { in Resumer()
180 public FutureReleaseListener(FutureWaiter future) { in FutureReleaseListener()
189 public FutureReleaseListener(FutureWaiter future, long timeout) { in FutureReleaseListener()
H A DViewPropertyAnimatorTest.java80 public Canceler(ViewPropertyAnimator anim, FutureWaiter future) { in Canceler()
109 public FutureReleaseListener(FutureWaiter future) { in FutureReleaseListener()
118 public FutureReleaseListener(FutureWaiter future, long timeout) { in FutureReleaseListener()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
H A DAndroidFutureTest.java45 AndroidFuture<Integer> future = new AndroidFuture<>(); in testGet() local
52 AndroidFuture<Integer> future = new AndroidFuture<>(); in testWhenComplete_AlreadyComplete() local
65 AndroidFuture<Integer> future = new AndroidFuture<>(); in testWhenComplete_NotYetComplete() local
80 AndroidFuture<Integer> future = new AndroidFuture<>(); in testCompleteExceptionally() local
90 AndroidFuture<Integer> future = new AndroidFuture<>(); in testCompleteExceptionally_Listener() local
/aosp14/frameworks/base/core/java/com/android/internal/statusbar/
H A DAppClipsServiceConnector.java53 CompletableFuture<Boolean> future = new CompletableFuture<>(); in canLaunchCaptureContentActivityForNote() local
63 private void connectToServiceAndProcessRequest(int taskId, CompletableFuture<Boolean> future) { in connectToServiceAndProcessRequest()
/aosp14/frameworks/base/services/core/java/com/android/server/powerstats/
H A DPowerStatsService.java316 final CompletableFuture<EnergyConsumerResult[]> future = new CompletableFuture<>(); in getEnergyConsumedAsync() local
331 final CompletableFuture<StateResidencyResult[]> future = new CompletableFuture<>(); in getStateResidencyAsync() local
346 final CompletableFuture<EnergyMeasurement[]> future = new CompletableFuture<>(); in readEnergyMeterAsync() local
354 private void getEnergyConsumedAsync(CompletableFuture<EnergyConsumerResult[]> future, in getEnergyConsumedAsync()
421 private void getStateResidencyAsync(CompletableFuture<StateResidencyResult[]> future, in getStateResidencyAsync()
426 private void readEnergyMeterAsync(CompletableFuture<EnergyMeasurement[]> future, in readEnergyMeterAsync()
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DRemoteInputConnectionImpl.java511 AndroidFuture future /* T=CharSequence */) { in getTextAfterCursor()
533 AndroidFuture future /* T=CharSequence */) { in getTextBeforeCursor()
555 AndroidFuture future /* T=CharSequence */) { in getSelectedText()
577 int afterLength, int flags, AndroidFuture future /* T=SurroundingText */) { in getSurroundingText()
605 AndroidFuture future /* T=Integer */) { in getCursorCapsMode()
622 int flags, AndroidFuture future /* T=ExtractedText */) { in getExtractedText()
1114 int imeDisplayId, AndroidFuture future /* T=Boolean */) { in requestCursorUpdates()
1128 AndroidFuture future /* T=Boolean */) { in requestCursorUpdatesWithFilter()
1203 AndroidFuture future /* T=Boolean */) { in commitContent()
1492 final AndroidFuture<T> future = untypedFuture; in dispatchWithTracing() local
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DGentleUpdateHelper.java88 public final CompletableFuture<InstallConstraintsResult> future; field in GentleUpdateHelper.PendingInstallConstraintsCheck
96 CompletableFuture<InstallConstraintsResult> future, in PendingInstallConstraintsCheck()
195 var future = new CompletableFuture<Boolean>(); in checkDeviceIdle() local
254 var future = pendingCheck.future; in processPendingCheck() local
/aosp14/frameworks/base/core/java/android/accounts/
H A DAccountManagerCallback.java19 void run(AccountManagerFuture<V> future); in run()
/aosp14/frameworks/base/core/java/android/service/voice/
H A DIDetectorSessionStorageService.aidl29 void openFile(in String filename, in AndroidFuture future); in openFile()
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
H A DFutureBackupCallbackTest.java34 CompletableFuture<RemoteResult> future = new CompletableFuture<>(); in testOperationComplete_completesFuture() local
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/remote/
H A DFutureBackupCallback.java31 FutureBackupCallback(CompletableFuture<RemoteResult> future) { in FutureBackupCallback()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
H A DAppClipsCrossProcessHelper.java63 AndroidFuture<ScreenshotHardwareBufferInternal> future = in takeScreenshot() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/os/
H A DBugreportManagerServiceImplTest.java77 CallbackFuture future = new CallbackFuture(); in tearDown() local
155 CallbackFuture future = new CallbackFuture(); in testCancelBugreportWithRole() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DMockScheduledExecutorService.java86 MockScheduledFuture<?> future = new MockScheduledFuture<>(command, delay, unit); in schedule() local
135 MockScheduledFuture<T> future = new MockScheduledFuture<>(task, 0, TimeUnit.MILLISECONDS); in submit() local
152 MockScheduledFuture<?> future = new MockScheduledFuture<>(runnable, 0, in submit() local

123