Home
last modified time | relevance | path

Searched refs:complete (Results 1 – 25 of 140) sorted by relevance

123456

/frameworks/base/core/tests/coretests/src/android/os/
DVibratorInfoTest.java262 VibratorInfo complete = completeBuilder.build(); in testEquals() local
264 assertEquals(complete, complete); in testEquals()
265 assertEquals(complete, completeBuilder.build()); in testEquals()
266 assertEquals(complete.hashCode(), completeBuilder.build().hashCode()); in testEquals()
271 assertNotEquals(complete, completeWithComposeControl); in testEquals()
276 assertNotEquals(complete, completeWithNoEffects); in testEquals()
281 assertNotEquals(complete, completeWithUnknownEffects); in testEquals()
286 assertNotEquals(complete, completeWithDifferentPrimitiveDuration); in testEquals()
295 assertNotEquals(complete, completeWithDifferentFrequencyProfile); in testEquals()
300 assertNotEquals(complete, completeWithEmptyFrequencyProfile); in testEquals()
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java670 resultFuture.complete(result); in name()
681 resultFuture.complete(result); in configurationIntent()
692 resultFuture.complete(result); in currentDestinationString()
703 resultFuture.complete(result); in dataManagementIntent()
714 resultFuture.complete(result); in dataManagementIntentLabel()
724 resultFuture.complete(result); in transportDirName()
734 resultFuture.complete(result); in requestBackupTime()
787 resultFuture.complete(Arrays.asList(result)); in getAvailableRestoreSets()
798 resultFuture.complete(result); in getCurrentRestoreSet()
820 resultFuture.complete(result); in nextRestorePackage()
[all …]
/frameworks/base/tests/AttestationVerificationTest/src/android/security/attestationverification/
DPeerDeviceSystemAttestationVerificationTest.kt54 future.complete(result) in <lambda>()
66 future.complete(result) in <lambda>()
80 future.complete(result) in <lambda>()
90 future2.complete(result) in <lambda>()
104 future.complete(result) in <lambda>()
118 future.complete(result) in <lambda>()
132 future.complete(result) in <lambda>()
DSystemAttestationVerificationTest.kt58 future.complete(result) in <lambda>()
70 future.complete(result) in <lambda>()
82 future.complete(result) in <lambda>()
93 future.complete(result) in <lambda>()
107 future.complete(result) in <lambda>()
120 result, _ -> future.complete(result) in <lambda>()
132 future.complete(result) in <lambda>()
144 future.complete(result) in <lambda>()
156 future.complete(token) in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java417 .complete(new CreateGameSessionResult(gameSession10, mockSurfacePackage10)); in gameTaskStartedAndSessionRequested_createsGameSession()
451 .complete(new CreateGameSessionResult(gameSession10, mockSurfacePackage10)); in gameSessionSuccessfullyCreated_createsTaskOverlay()
471 .complete(new CreateGameSessionResult(gameSession10, mockSurfacePackage10)); in gameProcessStopped_soleProcess_destroysGameSession()
498 .complete(new CreateGameSessionResult(gameSession10, mockSurfacePackage10)); in gameProcessStopped_soleProcess_destroysMultipleGameSessionsForSamePackage()
502 .complete(new CreateGameSessionResult(gameSession11, mockSurfacePackage11)); in gameProcessStopped_soleProcess_destroysMultipleGameSessionsForSamePackage()
531 .complete(new CreateGameSessionResult(gameSession10, mockSurfacePackage10)); in gameProcessStopped_multipleProcesses_gameSessionDestroyedWhenAllDead()
560 .complete(new CreateGameSessionResult(gameSession10, mockSurfacePackage10)); in gameProcessCreatedAfterInitialProcessDead_newGameSessionCreated()
594 .complete(new CreateGameSessionResult(gameSession10, mockSurfacePackage10)); in gameProcessCreatedAfterInitialProcessDead_multipleGameSessionsCreatedSamePackage()
598 .complete(new CreateGameSessionResult(gameSession11, mockSurfacePackage11)); in gameProcessCreatedAfterInitialProcessDead_multipleGameSessionsCreatedSamePackage()
645 .complete(new CreateGameSessionResult(gameSession10, mockSurfacePackage10)); in processActivityAndDeath_notForGame_gameSessionUnaffected()
[all …]
DFakeServiceConnector.java64 androidFuture.complete(job.run(mService)); in postForResult()
83 androidFuture.complete(result); in postAsync()
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java436 callback.complete(revoked); in onBind()
509 onApplyStagedRuntimePermissionBackup(packageName, user, callback::complete); in onBind()
519 onGetAppPermissions(packageName, callback::complete); in onBind()
549 onCountPermissionApps(permissionNames, flags, callback::complete); in onBind()
560 onGetPermissionUsages(countSystem, numMillis, callback::complete); in onBind()
583 params, callback::complete); in onBind()
593 onGrantOrUpgradeDefaultRuntimePermissions(() -> callback.complete(true)); in onBind()
604 onUpdateUserSensitivePermissionFlags(uid, () -> callback.complete(null)); in onBind()
640 callback.complete(PermissionControllerService in onBind()
656 permissionName, callback::complete); in onBind()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
DCompletableFutureUtilTest.kt137 completable.complete(expectedValue) in testCharSequenceAfterCompletion()
189 completable.complete("Hello!") in testCharSequenceAfterCancellation()
197 completable.complete(expectedValue) in testCharSequenceAfterCompleteAndCancellation()
217 completable.complete(expectedValue) in testCharSequenceMultipleAssignment()
218 completable.complete(notExpectedValue) in testCharSequenceMultipleAssignment()
230 completable.complete(expectedValue) in testCharSequenceUnblockByCompletion()
247 completable.complete(expectedValue) in testCharSequenceUnblockByCompletionWithCancellationGroup()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DSynchronousResultReceiver.java151 private void complete(Result<T> result) { in complete() method in SynchronousResultReceiver
157 getFuture().complete(result); in complete()
179 complete(new Result<>(resultData)); in send()
189 complete(new Result<>(e)); in propagateException()
239 future.complete(res); in send()
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DAndroidFutureTest.java46 future.complete(5); in testGet()
53 future.complete(5); in testWhenComplete_AlreadyComplete()
73 future.complete(5); in testWhenComplete_NotYetComplete()
106 future1.complete(5); in testWriteToParcel()
141 future2.complete(5); in testWriteToParcel_Incomplete()
/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java101 complete((T) in.readValue(null)); in AndroidFuture()
129 future.complete(value); in completedFuture()
134 public boolean complete(@Nullable T value) { in complete() method in AndroidFuture
135 boolean changed = super.complete(value); in complete()
188 mRemoteOrigin.complete(this /* resultContainer */); in onCompleted()
353 complete((U) res); in accept()
414 complete(mFn.apply(mSourceResult)); in run()
469 complete(mCombineResults.apply(mResultT, (U) res)); in accept()
505 complete(mSupplier.get()); in run()
530 public void complete(AndroidFuture resultContainer) { in writeToParcel()
[all …]
DIAndroidFuture.aidl22 void complete(in AndroidFuture resultContainer); in complete() method
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DFakeSettings.java36 public void setUserSetupComplete(boolean complete) { in setUserSetupComplete() argument
37 mUserSetupComplete = complete ? 1 : 0; in setUserSetupComplete()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DIpcSerializer.kt65 start.complete(Unit) in process()
88 finish.complete(Unit) in runSerialized()
DSuspend.kt31 launch { completion.complete(block()) } in <lambda>()
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteCall.java143 mFuture.complete(RemoteResult.FAILED_CANCELLED); in cancel()
147 mFuture.complete(RemoteResult.FAILED_TIMED_OUT); in timeOut()
DFutureBackupCallback.java37 mFuture.complete(RemoteResult.of(result)); in operationComplete()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DProgramInfoCache.java65 ProgramInfoCache(@Nullable ProgramList.Filter filter, boolean complete, in ProgramInfoCache() argument
68 mComplete = complete; in ProgramInfoCache()
118 mComplete = chunk.complete; in updateFromHalProgramListChunk()
234 private static @NonNull List<ProgramList.Chunk> buildChunks(boolean purge, boolean complete, in buildChunks() argument
283 chunks.add(new ProgramList.Chunk(purge && i == 0, complete && (i == numChunks - 1), in buildChunks()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1388 final boolean complete, final GetDownloadableSubscriptionMetadataResult result) { in prepareGetDownloadableSubscriptionMetadataCall() argument
1394 if (complete) { in prepareGetDownloadableSubscriptionMetadataCall()
1406 boolean complete, GetDownloadableSubscriptionMetadataResult result) { in callGetDownloadableSubscriptionMetadata() argument
1407 prepareGetDownloadableSubscriptionMetadataCall(complete, result); in callGetDownloadableSubscriptionMetadata()
1415 boolean complete, GetDefaultDownloadableSubscriptionListResult result) { in callGetDefaultDownloadableSubscriptionList() argument
1421 if (complete) { in callGetDefaultDownloadableSubscriptionList()
1436 boolean switchAfterDownload, final boolean complete, final int result, in callDownloadSubscription() argument
1445 if (complete) { in callDownloadSubscription()
1459 assertEquals(complete && result == EuiccService.RESULT_OK ? 1 : 0, in callDownloadSubscription()
1464 private void callDeleteSubscription(int subscriptionId, String iccid, final boolean complete, in callDeleteSubscription() argument
[all …]
/frameworks/base/core/java/android/app/
DVoiceInteractor.java92 boolean complete;
106 complete = msg.arg1 != 0;
107 request = pullRequest((IVoiceInteractorRequest)args.arg1, complete);
110 + " finished=" + complete + " selection=" + args.arg2
113 ((PickOptionRequest)request).onPickOptionResult(complete,
115 if (complete) {
141 complete = msg.arg1 != 0;
142 request = pullRequest((IVoiceInteractorRequest)args.arg1, complete);
149 if (complete) {
195 public void deliverCommandResult(IVoiceInteractorRequest request, boolean complete,
[all …]
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DConnectUtil.kt110 connectFuture.complete(null) in onSuccess()
114 connectFuture.complete(reason) in onFailure()
153 scanResultsFuture.complete(wifiManager.scanResults) in getWifiScanResults()
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootSurfaceCallbackTest.java86 mTidOfSurfaceCreated.complete(myTid()); in surfaceCreated()
92 mTidOfSurfaceDestroyed.complete(myTid()); in surfaceDestroyed()
/frameworks/base/services/core/java/com/android/server/security/
DAttestationVerificationManagerService.java80 resultCallback.complete(RESULT_UNKNOWN);
114 resultCallback.complete(result); in verifyAttestationForAllVerifiers()
/frameworks/native/cmds/surfacereplayer/replayer/
DEvent.h41 void complete();
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
DRemoteCallTest.java181 RemoteCall remoteCall = new RemoteCall(callbackFuture::complete, 1000); in testCall_whenCallbackIsCalledBeforeCancel_returnsResult()
197 RemoteCall remoteCall = new RemoteCall(callbackFuture::complete, 1000); in testCall_whenCancelIsCalledBeforeCallbackButAfterCall_returnsCancel()
254 new Thread(() -> future.complete(uncheck(supplier)), "test-worker-thread").start(); in runInWorkerThreadAsync()

123456