/frameworks/base/core/tests/coretests/src/android/app/appsearch/ |
D | AppSearchSessionUnitTest.java | 55 mAppSearch.createSearchSession(searchContext, mExecutor, future::complete); in setUp() 62 schemaFuture::complete); in setUp() 89 putDocumentsFuture.complete(result); in testPutDocument_throwsNullException() 117 mExecutor, mExecutor, schemaFuture::complete); in testGetEmptyNextPage() 130 putDocumentsFuture.complete(result); in testGetEmptyNextPage() 149 searchResults.getNextPage(mExecutor, getNextPageFuture::complete); in testGetEmptyNextPage() 156 searchResults.getNextPage(mExecutor, getNextPageFuture::complete); in testGetEmptyNextPage() 170 mExecutor, mExecutor, schemaFuture::complete); in testGetEmptyNextPage_multiPages() 188 putDocumentsFuture.complete(result); in testGetEmptyNextPage_multiPages() 209 searchResults.getNextPage(mExecutor, getNextPageFuture::complete); in testGetEmptyNextPage_multiPages() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | VibratorInfoTest.java | 293 VibratorInfo complete = completeBuilder.build(); in testEquals() local 295 assertEquals(complete, complete); in testEquals() 296 assertEquals(complete, completeBuilder.build()); in testEquals() 297 assertEquals(complete.hashCode(), completeBuilder.build().hashCode()); in testEquals() 302 assertNotEquals(complete, completeWithComposeControl); in testEquals() 307 assertNotEquals(complete, completeWithNoEffects); in testEquals() 312 assertNotEquals(complete, completeWithUnknownEffects); in testEquals() 317 assertNotEquals(complete, completeWithDifferentPrimitiveDuration); in testEquals() 324 assertNotEquals(complete, completeWithDifferentFrequencyMapping); in testEquals() 329 assertNotEquals(complete, completeWithEmptyFrequencyMapping); in testEquals() [all …]
|
/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/permission/ |
D | PermissionControllerService.java | 382 callback.complete(revoked); in onBind() 455 onApplyStagedRuntimePermissionBackup(packageName, user, callback::complete); in onBind() 465 onGetAppPermissions(packageName, callback::complete); in onBind() 495 onCountPermissionApps(permissionNames, flags, callback::complete); in onBind() 506 onGetPermissionUsages(countSystem, numMillis, callback::complete); in onBind() 529 params, callback::complete); in onBind() 539 onGrantOrUpgradeDefaultRuntimePermissions(() -> callback.complete(true)); in onBind() 550 onUpdateUserSensitivePermissionFlags(uid, () -> callback.complete(null)); in onBind() 586 callback.complete(PermissionControllerService in onBind() 602 permissionName, callback::complete); in onBind() [all …]
|
/frameworks/base/core/java/com/android/internal/infra/ |
D | AndroidFuture.java | 102 complete((T) in.readValue(null)); in AndroidFuture() 130 future.complete(value); in completedFuture() 135 public boolean complete(@Nullable T value) { in complete() method in AndroidFuture 136 boolean changed = super.complete(value); in complete() 189 mRemoteOrigin.complete(this /* resultContainer */); in onCompleted() 354 complete((U) res); in accept() 415 complete(mFn.apply(mSourceResult)); in run() 463 complete(mCombineResults.apply(mResultT, (U) res)); in accept() 499 complete(mSupplier.get()); in run() 524 public void complete(AndroidFuture resultContainer) { in writeToParcel() [all …]
|
D | IAndroidFuture.aidl | 22 void complete(in AndroidFuture resultContainer); in complete() method
|
/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() 1300 boolean complete, GetDefaultDownloadableSubscriptionListResult result) { in callGetDefaultDownloadableSubscriptionList() argument 1306 if (complete) { in callGetDefaultDownloadableSubscriptionList() 1321 boolean switchAfterDownload, final boolean complete, final int result, in callDownloadSubscription() argument 1330 if (complete) { in callDownloadSubscription() 1344 assertEquals(complete && result == EuiccService.RESULT_OK ? 1 : 0, in callDownloadSubscription() 1349 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 | 92 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/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 | 218 final NetworkStatsCollection complete = mComplete != null ? mComplete.get() : null; in recordSnapshotLocked() local 263 if (complete != null) { in recordSnapshotLocked() 264 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked() 342 final NetworkStatsCollection complete = mComplete != null ? mComplete.get() : null; in removeUidsLocked() local 343 if (complete != null) { in removeUidsLocked() 344 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/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/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/native/cmds/surfacereplayer/replayer/ |
D | Event.h | 41 void complete();
|
D | Event.cpp | 30 void Event::complete() { in complete() function in Event
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | Test.java | 28 void complete() { in setUp()
|
/frameworks/base/services/core/java/com/android/server/powerstats/ |
D | PowerStatsService.java | 317 future.complete(getPowerStatsHal().getEnergyConsumed(energyConsumerIds)); in getEnergyConsumedAsync() 322 future.complete(getPowerStatsHal().getStateResidency(powerEntityIds)); in getStateResidencyAsync() 327 future.complete(getPowerStatsHal().readEnergyMeter(channelIds)); in readEnergyMeterAsync()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AHEVCAssembler.cpp | 470 bool complete = false; in addFragmentedNALUnit() local 481 complete = true; in addFragmentedNALUnit() 512 complete = true; in addFragmentedNALUnit() 523 complete = true; in addFragmentedNALUnit() 531 if (!complete) { in addFragmentedNALUnit()
|
D | AAVCAssembler.cpp | 445 bool complete = false; in addFragmentedNALUnit() local 456 complete = true; in addFragmentedNALUnit() 487 complete = true; in addFragmentedNALUnit() 498 complete = true; in addFragmentedNALUnit() 506 if (!complete) { in addFragmentedNALUnit()
|
/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…
|