Home
last modified time | relevance | path

Searched refs:isDone (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/instrumentation/
DSoundTriggerInstrumentationObserver.java158 assertThat(mOnRecognitionStarted.isDone()).isTrue(); in resetOnRecognitionStartedFuture()
170 assertThat(mOnRecognitionStopped.isDone()).isTrue(); in resetOnRecognitionStoppedFuture()
182 assertThat(mOnModelUnloaded.isDone()).isTrue(); in resetOnModelUnloadedFuture()
299 assertThat(mOnModelLoaded.isDone()).isTrue(); in resetOnModelLoadedFuture()
311 assertThat(mOnClientAttached.isDone()).isTrue(); in resetOnClientAttachedFuture()
323 assertThat(mOnClientDetached.isDone()).isTrue(); in resetOnClientDetachedFuture()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAbstractAuthenticatorTests.java125 assertTrue(future.isDone()); in testStartUpdateCredentialsSessionDefaultImpl()
166 assertTrue(future.isDone()); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
181 assertTrue(future.isDone()); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
235 assertTrue(future.isDone()); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl()
250 assertTrue(future.isDone()); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl()
308 assertTrue(future.isDone()); in testIsCredentialsUpdateSuggestedDefaultImpl()
DAccountManagerUnaffiliatedAuthenticatorTests.java293 assertTrue(future.isDone()); in testStartAddAccountSession()
328 assertTrue(future.isDone()); in testStartUpdateCredentialsSession()
367 assertTrue(future.isDone()); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
417 assertTrue(future.isDone()); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
DAccountManagerTest.java342 assertTrue(futureBundle.isDone()); in addAccount()
353 assertTrue(futureAccount.isDone()); in renameAccount()
365 assertTrue(futureBoolean.isDone()); in removeAccount()
379 assertTrue(futureBundle.isDone()); in removeAccountWithIntentLaunch()
393 assertTrue(futureBundle.isDone()); in removeAccount()
421 assertTrue(futureBundle.isDone()); in getAuthTokenByFeature()
1267 assertTrue(futureBundle.isDone()); in testDeprecatedGetAuthTokenWithFuture_NoOptions_DefaultToken_Success()
1294 assertTrue(futureBundle.isDone()); in testDeprecatedGetAuthTokenWithFuture_NoOptions_CustomToken_Success()
1326 assertTrue(futureBundle.isDone()); in testGetAuthTokenWithFuture_Options_DefaultToken_Success()
1359 assertTrue(futureBundle.isDone()); in testGetAuthTokenWithFuture_Options_CustomToken_Success()
[all …]
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBugreportManagerTest.java195 callback2::isDone); in simultaneousBugreportsNotAllowed()
223 assertThat(callback.isDone()).isFalse(); in cancelBugreport()
336 public synchronized boolean isDone() { in isDone() method in BugreportManagerTest.BugreportCallbackImpl
468 while (!callback.isDone()) { in waitUntilDoneOrTimeout()
499 assertThat(callback.isDone()).isFalse(); in assertExceptionThrownForMode()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/
DSimpleAccountManagerFuture.java51 public boolean isDone() { in isDone() method in SimpleAccountManagerFuture
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/
DSoundTriggerManagerTest.java150 assertThat(mDetectedFuture.isDone()).isTrue(); in listenForDetection()
352 if (detectedFuture.isDone()) { in testStartTriggerStopRecognitionRace_doesNotFail()
/cts/tests/tests/security/src/android/security/cts/
DNanoAppBundleTest.java194 public void setAddAccountDone(boolean isDone) { in setAddAccountDone() argument
195 mAddAccountDone = isDone; in setAddAccountDone()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DAlwaysOnHotwordDetectorTest.java361 assertThat(modelSession.getOnRecognitionStartedFuture().isDone()).isFalse(); in testAbortRecognitionAndOnResourceAvailable_recognitionPausedAndResumed()
951 assertThat(appOpFuture.isDone()).isFalse(); in testOnRejected_noAppOpsNoted()
1050 assertThat(secondRecogSessionFuture.isDone()).isFalse(); in testRecognitionNotRequested_afterResumeFailed()
1152 .getOnClientAttachedFuture().isDone()).isFalse(); in testDestroy_doubleCallsAreNoop()
1154 .getOnClientDetachedFuture().isDone()).isFalse(); in testDestroy_doubleCallsAreNoop()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechServiceTest.java98 assertFalse(connected.isDone()); in testNullEngine()
99 assertFalse(disconnected.isDone()); in testNullEngine()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h338 virtual bool isDone() { in isDone() function
473 bool isDone() override { in isDone() function
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCarrierMessagingServiceWrapperTest.java255 return (mServiceReadyFuture != null && mServiceReadyFuture.isDone()); in isServiceReady()
/cts/apps/CtsVerifier/jni/audio_loopback/
DNativeAudioAnalyzer.cpp171 mIsDone = mLoopbackProcessor->isDone(); in dataCallbackProc()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java94 assertTrue(futureBoolean.isDone()); in removeAccount()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java375 public boolean isDone() { in isDone() method in NetworkSecurityPolicyTestBase.SettableFuture
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java979 public boolean isDone() { in isDone() method in StorageManagerTest.ObbObserver
986 while (!isDone() && waitTime < MAX_WAIT_TIME) { in waitForCompletion()
996 return isDone(); in waitForCompletion()
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java423 assertThat(mCloseSystemDialogsReceived.isDone()).isFalse(); in assertCloseSystemDialogsNotReceived()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DAccountManagementTest.java513 while (!future.isDone()) { in waitForFutureDone()
/cts/tests/net/src/android/net/cts/
DLocalSocketTest.java549 if (!future.isDone()) { in runInSeparateThread()
/cts/tests/ServiceKillTest/app/src/com/android/cts/servicekilltestapp/
DServiceKillTestService.java301 if (mScheduledFuture.isDone()) { in stopBenchmark()
/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java834 assertFalse(toastShown.isDone()); in testRemovedCallbackIsNotCalled()
835 assertFalse(toastHidden.isDone()); in testRemovedCallbackIsNotCalled()
/cts/tests/tests/view/src/android/view/animation/cts/
DLayoutAnimationControllerTest.java448 assertTrue(mController.isDone()); in testIsDone()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioManagerTest.java2889 assertThat(future.isDone()) in assertCallDoesNotChangeStreamVolume()
2921 private void pollWithBackoff(BooleanSupplier isDone, long initialMs, in pollWithBackoff() argument
2926 if (isDone.getAsBoolean()) { in pollWithBackoff()
2993 if (f.isDone()) { in assertStreamMuteStateChange()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java522 createWindowFuture.isDone()); in testAccessJavaScriptCanOpenWindowsAutomatically()
DWebViewTest.java1480 assertFalse(handler.future().isDone()); in testDocumentHasImages()
2225 assertFalse(future.isDone()); in testSetWebChromeClient()

12