Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DAndroidFutureTest.java45 future.complete(5); in testGet()
52 future.complete(5); in testWhenComplete_AlreadyComplete()
72 future.complete(5); in testWhenComplete_NotYetComplete()
105 future1.complete(5); in testWriteToParcel()
140 future2.complete(5); in testWriteToParcel_Incomplete()
/frameworks/base/core/java/android/app/role/
DRoleControllerManager.java147 service.grantDefaultRoles(new RemoteCallback(future::complete)); in grantDefaultRoles()
163 new RemoteCallback(future::complete)); in onAddRoleHolder()
179 new RemoteCallback(future::complete)); in onRemoveRoleHolder()
195 new RemoteCallback(future::complete)); in onClearRoleHolders()
215 new RemoteCallback(future::complete)); in isApplicationQualifiedForRole()
233 new RemoteCallback(future::complete)); in isApplicationVisibleForRole()
250 service.isRoleVisible(roleName, new RemoteCallback(future::complete)); in isRoleVisible()
/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java102 complete((T) in.readValue(null)); in AndroidFuture()
121 future.complete(value); in completedFuture()
126 public boolean complete(@Nullable T value) { in complete() method in AndroidFuture
127 boolean changed = super.complete(value); in complete()
180 mRemoteOrigin.complete(this /* resultContainer */); in onCompleted()
348 complete((U) res); in accept()
409 complete(mFn.apply(mSourceResult)); in run()
457 complete(mCombineResults.apply(mResultT, (U) res)); in accept()
493 complete(mSupplier.get()); in run()
518 public void complete(AndroidFuture resultContainer) { in writeToParcel()
[all …]
DIAndroidFuture.aidl22 void complete(in AndroidFuture resultContainer); in complete() method
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java314 callback.complete(revoked); in onBind()
387 onApplyStagedRuntimePermissionBackup(packageName, user, callback::complete); in onBind()
397 onGetAppPermissions(packageName, callback::complete); in onBind()
427 onCountPermissionApps(permissionNames, flags, callback::complete); in onBind()
438 onGetPermissionUsages(countSystem, numMillis, callback::complete); in onBind()
467 packageName, permission, grantState, callback::complete); in onBind()
477 onGrantOrUpgradeDefaultRuntimePermissions(() -> callback.complete(true)); in onBind()
485 onUpdateUserSensitivePermissionFlags(uid, () -> callback.complete(null)); in onBind()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1273 final boolean complete, final GetDownloadableSubscriptionMetadataResult result) { in prepareGetDownloadableSubscriptionMetadataCall() argument
1279 if (complete) { in prepareGetDownloadableSubscriptionMetadataCall()
1291 boolean complete, GetDownloadableSubscriptionMetadataResult result) { in callGetDownloadableSubscriptionMetadata() argument
1292 prepareGetDownloadableSubscriptionMetadataCall(complete, result); in callGetDownloadableSubscriptionMetadata()
1299 boolean complete, GetDefaultDownloadableSubscriptionListResult result) { in callGetDefaultDownloadableSubscriptionList() argument
1305 if (complete) { in callGetDefaultDownloadableSubscriptionList()
1319 boolean switchAfterDownload, final boolean complete, final int result, in callDownloadSubscription() argument
1327 if (complete) { in callDownloadSubscription()
1341 assertEquals(complete && result == EuiccService.RESULT_OK ? 1 : 0, in callDownloadSubscription()
1346 private void callDeleteSubscription(int subscriptionId, String iccid, final boolean complete, in callDeleteSubscription() argument
[all …]
/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()
233 private static @NonNull List<ProgramList.Chunk> buildChunks(boolean purge, boolean complete, in buildChunks() argument
281 chunks.add(new ProgramList.Chunk(purge && i == 0, complete && (i == numChunks - 1), in buildChunks()
/frameworks/base/core/java/android/app/
DVoiceInteractor.java95 boolean complete;
109 complete = msg.arg1 != 0;
110 request = pullRequest((IVoiceInteractorRequest)args.arg1, complete);
113 + " finished=" + complete + " selection=" + args.arg2
116 ((PickOptionRequest)request).onPickOptionResult(complete,
118 if (complete) {
144 complete = msg.arg1 != 0;
145 request = pullRequest((IVoiceInteractorRequest)args.arg1, complete);
152 if (complete) {
198 public void deliverCommandResult(IVoiceInteractorRequest request, boolean complete,
[all …]
/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/net/
DNetworkStatsRecorder.java219 final NetworkStatsCollection complete = mComplete != null ? mComplete.get() : null; in recordSnapshotLocked() local
264 if (complete != null) { in recordSnapshotLocked()
265 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
343 final NetworkStatsCollection complete = mComplete != null ? mComplete.get() : null; in removeUidsLocked() local
344 if (complete != null) { in removeUidsLocked()
345 complete.removeUids(uids); in removeUidsLocked()
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootSurfaceCallbackTest.java86 mTidOfSurfaceCreated.complete(myTid()); in surfaceCreated()
92 mTidOfSurfaceDestroyed.complete(myTid()); in surfaceDestroyed()
/frameworks/av/media/libstagefright/rtsp/
DAAVCAssembler.cpp217 bool complete = false; in addFragmentedNALUnit() local
224 complete = true; in addFragmentedNALUnit()
267 complete = true; in addFragmentedNALUnit()
275 if (!complete) { in addFragmentedNALUnit()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DServiceTest.java172 pidResult.complete(intent.getIntExtra(EXTRA_PID, NOT_STARTED)); in waitForServiceStarted()
217 mServicePid.complete(reply.readInt()); in onServiceConnected()
219 mServicePid.complete(NOT_STARTED); in onServiceConnected()
/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()
/frameworks/native/cmds/surfacereplayer/replayer/
DEvent.h41 void complete();
DEvent.cpp30 void Event::complete() { in complete() function in Event
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsDispatchersController.java816 boolean complete = false; in handleCdmaStatusReport()
826 complete = true; in handleCdmaStatusReport()
830 return new Pair(success, complete); in handleCdmaStatusReport()
837 boolean complete = false; in handleGsmStatusReport()
844 complete = true; in handleGsmStatusReport()
848 return new Pair(success, complete); in handleGsmStatusReport()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DTest.java28 void complete() { in setUp()
/frameworks/base/cmds/incidentd/src/
Dreport_file.proto31 * the report is complete.
37 * the report is complete.
/frameworks/base/core/java/android/os/
DSynchronousResultReceiver.java64 mFuture.complete(new Result(resultCode, resultData)); in onReceiveResult()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-testing.md11complete before continuing the test. This works since the test is not running on the same thread a…
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteFillService.java159 fillRequest.complete(response); in onFillRequest()
207 save.complete(intentSender); in onSaveRequest()
/frameworks/base/core/java/com/android/internal/os/
DSomeArgs.java86 public void complete() { in complete() method in SomeArgs

12345