/frameworks/base/core/tests/coretests/src/com/android/internal/infra/ |
D | AndroidFutureTest.java | 45 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/ |
D | RoleControllerManager.java | 147 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/ |
D | AndroidFuture.java | 102 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 …]
|
D | IAndroidFuture.aidl | 22 void complete(in AndroidFuture resultContainer); in complete() method
|
/frameworks/base/core/java/android/permission/ |
D | PermissionControllerService.java | 314 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/ |
D | FakeSettings.java | 36 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/ |
D | EuiccControllerTest.java | 1273 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/ |
D | ProgramInfoCache.java | 65 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/ |
D | VoiceInteractor.java | 95 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/ |
D | RemoteCall.java | 143 mFuture.complete(RemoteResult.FAILED_CANCELLED); in cancel() 147 mFuture.complete(RemoteResult.FAILED_TIMED_OUT); in timeOut()
|
D | FutureBackupCallback.java | 37 mFuture.complete(RemoteResult.of(result)); in operationComplete()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsRecorder.java | 219 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/ |
D | ViewRootSurfaceCallbackTest.java | 86 mTidOfSurfaceCreated.complete(myTid()); in surfaceCreated() 92 mTidOfSurfaceDestroyed.complete(myTid()); in surfaceDestroyed()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AAVCAssembler.cpp | 217 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/ |
D | ServiceTest.java | 172 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/ |
D | RemoteCallTest.java | 181 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/ |
D | Event.h | 41 void complete();
|
D | Event.cpp | 30 void Event::complete() { in complete() function in Event
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsDispatchersController.java | 816 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/ |
D | Test.java | 28 void complete() { in setUp()
|
/frameworks/base/cmds/incidentd/src/ |
D | report_file.proto | 31 * the report is complete. 37 * the report is complete.
|
/frameworks/base/core/java/android/os/ |
D | SynchronousResultReceiver.java | 64 mFuture.complete(new Result(resultCode, resultData)); in onReceiveResult()
|
/frameworks/base/packages/SystemUI/docs/ |
D | physics-animation-testing.md | 11 …complete 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/ |
D | RemoteFillService.java | 159 fillRequest.complete(response); in onFillRequest() 207 save.complete(intentSender); in onSaveRequest()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SomeArgs.java | 86 public void complete() { in complete() method in SomeArgs
|