Home
last modified time | relevance | path

Searched refs:isStarted (Results 1 – 25 of 169) sorted by relevance

1234567

/aosp12/frameworks/base/core/tests/coretests/src/android/animation/
H A DValueAnimatorTests.java98 assertTrue(a.isStarted()); in testStartDelay()
192 assertFalse(a1.isStarted()); in testIsStarted()
193 assertFalse(a2.isStarted()); in testIsStarted()
409 } while (!a1.isStarted()); in testResume()
568 assertTrue(a1.isStarted());
574 assertFalse(a1.isStarted());
633 assertFalse(a0.isStarted());
634 assertFalse(a1.isStarted());
635 assertFalse(a2.isStarted());
636 assertFalse(a3.isStarted());
[all …]
H A DAnimatorSetActivityTest.java302 assertTrue(s.isStarted());
314 assertFalse(s.isStarted());
316 assertFalse(a1.isStarted());
317 assertFalse(a2.isStarted());
318 assertFalse(a3.isStarted());
319 assertFalse(a4.isStarted());
404 assertTrue(s.isStarted()); in testCancel()
438 boolean passedStartDelay = a1.isStarted() || a2.isStarted() || a3.isStarted() || in testIsRunning()
439 a4.isStarted() || a5.isStarted(); in testIsRunning()
456 while (!a2.isStarted()) { in testPauseAndResume()
[all …]
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
H A DAbstractQuickStepTest.java53 boolean isResumed, boolean isStarted) { in checkLauncherState() argument
55 super.checkLauncherState(launcher, expectedContainerType, isResumed, isStarted); in checkLauncherState()
58 + isResumed, isResumed != isStarted); in checkLauncherState()
64 ContainerType expectedContainerType, boolean isStarted, boolean isResumed) { in checkLauncherStateInOverview() argument
66 super.checkLauncherStateInOverview(launcher, expectedContainerType, isStarted, in checkLauncherStateInOverview()
72 isStarted && !isResumed); in checkLauncherStateInOverview()
/aosp12/packages/modules/NetworkStack/src/android/net/util/
H A DStopwatch.java29 public boolean isStarted() { in isStarted() method in Stopwatch
38 return (isStarted() && !isStopped()); in isRunning()
45 if (!isStarted()) { in start()
/aosp12/packages/apps/Camera2/src/com/android/camera/captureintent/
H A DCaptureIntentSession.java60 private boolean isStarted; field in CaptureIntentSession
76 isStarted = false; in CaptureIntentSession()
126 isStarted = true; in startEmpty()
216 private boolean isStarted() { in isStarted() method in CaptureIntentSession
217 return isStarted; in isStarted()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareNativeManagerTest.java129 when(mHalDeviceManager.isStarted()).thenReturn(true); in testControlFlowWithoutInterface()
137 when(mHalDeviceManager.isStarted()).thenReturn(false); in testControlFlowWithoutInterface()
143 when(mHalDeviceManager.isStarted()).thenReturn(true); in testControlFlowWithoutInterface()
161 when(mHalDeviceManager.isStarted()).thenReturn(true); in testReferenceCounting()
218 when(mHalDeviceManager.isStarted()).thenReturn(true); in testRequestFlowWithAsyncDeletes()
256 when(mHalDeviceManager.isStarted()).thenReturn(true); in testBasicFlowHal15()
/aosp12/packages/apps/TV/src/com/android/tv/menu/
H A DMenu.java204 if (mHideAnimator.isStarted()) { in show()
226 if (mShowAnimator.isStarted()) { in hide()
237 if (!mHideAnimator.isStarted()) { in hide()
240 } else if (mHideAnimator.isStarted()) { in hide()
283 return mMenuView.isVisible() && !mHideAnimator.isStarted(); in isActive()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DProviderStatusWatcher.java114 if (isStarted()) { in notifyListeners()
121 private boolean isStarted() { in isStarted() method in ProviderStatusWatcher
145 if (!isStarted()) { in stop()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
H A DAbstractLauncherUiTest.java538 final boolean isStarted = launcher.isStarted(); in checkLauncherIntegrity()
539 checkLauncherState(launcher, expectedContainerType, isResumed, isStarted); in checkLauncherIntegrity()
562 checkLauncherStateInOverview(launcher, expectedContainerType, isStarted, in checkLauncherIntegrity()
589 boolean isResumed, boolean isStarted) { in checkLauncherState() argument
591 isResumed == isStarted); in checkLauncherState()
597 ContainerType expectedContainerType, boolean isStarted, boolean isResumed) { in checkLauncherStateInOverview() argument
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DActivityTracker.java60 if (!callback.init(activity, activity.isStarted())) { in registerCallback()
79 return handleIntent(activity, activity.isStarted()); in handleNewIntent()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
H A DBiometricSchedulerOperationTest.java87 assertThat(mOperation.isStarted()).isFalse(); in testStartWithCookie()
97 assertThat(mOperation.isStarted()).isTrue(); in testStartWithCookie()
112 assertThat(mOperation.isStarted()).isFalse(); in testNoStartWithoutCookie()
127 assertThat(mOperation.isStarted()).isTrue(); in startsWhenReadyAndHalAvailable()
153 assertThat(mOperation.isStarted()).isFalse(); in startFailsWhenReadyButHalNotAvailable()
H A DBiometricSchedulerTest.java311 assertFalse(mScheduler.mPendingOperations.getFirst().isStarted()); in testCancelPendingAuth()
433 assertTrue(mScheduler.mCurrentOperation.isStarted()); in testCancelsWhenRequestId()
460 assertTrue(mScheduler.mCurrentOperation.isStarted()); in testCancelsPending_whenAuthRequestIdsSet()
461 assertFalse(mScheduler.mPendingOperations.getFirst().isStarted()); in testCancelsPending_whenAuthRequestIdsSet()
466 assertTrue(mScheduler.mCurrentOperation.isStarted()); in testCancelsPending_whenAuthRequestIdsSet()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DAudioPlaybackProgressBar.java94 if (!mUpdateAnimator.isStarted()) { in startUpdateTicks()
100 if (mUpdateAnimator.isStarted()) { in stopUpdateTicks()
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DOffloadController.java306 final boolean isStarted = started(); in start()
307 if (!isStarted) { in start()
317 return isStarted; in start()
768 final boolean isStarted = started(); in dump()
769 pw.println("Offload HALs " + (isStarted ? "started" : "not started")); in dump()
777 + (isStarted ? "current" : "last") in dump()
781 + (isStarted ? "current" : "last") in dump()
/aosp12/frameworks/base/services/core/java/com/android/server/location/provider/
H A DMockableLocationProvider.java145 if (oldProvider.getController().isStarted()) { in setProviderLocked()
155 if (!mProvider.getController().isStarted()) { in setProviderLocked()
160 if (mProvider.getController().isStarted()) { in setProviderLocked()
/aosp12/packages/apps/Dialer/java/com/android/dialer/dialpadview/
H A DPseudoEmergencyAnimator.java115 if (!pseudoEmergencyColorAnimator.isStarted()) { in start()
121 if (pseudoEmergencyColorAnimator != null && pseudoEmergencyColorAnimator.isStarted()) { in end()
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DPermissionPolicyService.java141 if (isStarted(userId)) { in onStart()
149 if (isStarted(userId)) { in onStart()
158 if (isStarted(userId)) { in onStart()
314 if (isStarted(changedUserId)) { in synchronizePackagePermissionsAndAppOpsAsyncForUser()
350 private boolean isStarted(@UserIdInt int userId) { in isStarted() method in PermissionPolicyService
364 if (isStarted(userId)) { in onStartUser()
508 if (isStarted(UserHandle.getUserId(uid))) { in resetAppOpPermissionsIfNotRequestedForUidAsync()
952 return isStarted(userId); in isInitialized()
/aosp12/frameworks/base/test-runner/tests/src/android/test/
H A DInstrumentationTestRunnerTest.java144 assertTrue(mInstrumentationTestRunner.isStarted()); in testDelayParameter()
191 assertTrue(mInstrumentationTestRunner.isStarted()); in assertTestRunnerCalledWithExpectedParameters()
244 public boolean isStarted() { in isStarted() method in InstrumentationTestRunnerTest.StubInstrumentationTestRunner
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp122 ALOG_ASSERT(not isStarted(), "Cannot add a criterion if PFW is already started"); in addCriterion()
188 bool ParameterManagerWrapper::isStarted() in isStarted() function in android::audio_policy::ParameterManagerWrapper
190 return mPfwConnector && mPfwConnector->isStarted(); in isStarted()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothScanningDevicesGroupPreferenceController.java100 if (isStarted()) { in reenableScanning()
151 if (bondState == BluetoothDevice.BOND_NONE && isStarted()) { in onDeviceBondStateChanged()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DSoundLevels.java155 if (!mSpeechLevelsAnimator.isStarted()) { in startSpeechLevelsAnimator()
164 if (mSpeechLevelsAnimator.isStarted()) { in stopSpeechLevelsAnimator()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DAnimationManager.java46 if (mCaptureAnimator != null && mCaptureAnimator.isStarted()) { in startCaptureAnimation()
178 if (mCaptureAnimator != null && mCaptureAnimator.isStarted()) { in cancelAnimations()
/aosp12/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java414 if (isStarted()) {
468 if (mShouldIgnoreEndWithoutStart && !isStarted()) {
471 if (isStarted()) {
486 && anim.isStarted()) {
505 } else if (event.mEvent == AnimationEvent.ANIMATION_END && anim.isStarted()) {
535 public boolean isStarted() {
934 if (!isStarted() || isPaused()) {
1119 if (node.mAnimation.isStarted()) {
1141 if (node.mAnimation.isStarted()) {
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/
H A DNat464Xlat.java157 public boolean isStarted() { in isStarted() method in Nat464Xlat
236 if (isStarted()) { in start()
253 if (!isStarted()) { in stop()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DLauncherActivityInterface.java203 return (launcher != null) && launcher.isStarted() in getVisibleLauncher()
267 launcher.isStarted(); in isInLiveTileMode()
286 if (!launcher.isStarted() || launcher.isForceInvisible()) { in closeOverlay()

1234567