/aosp12/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ValueAnimatorTests.java | 98 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 D | AnimatorSetActivityTest.java | 302 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 D | AbstractQuickStepTest.java | 53 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 D | Stopwatch.java | 29 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 D | CaptureIntentSession.java | 60 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 D | WifiAwareNativeManagerTest.java | 129 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 D | Menu.java | 204 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 D | ProviderStatusWatcher.java | 114 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 D | AbstractLauncherUiTest.java | 538 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 D | ActivityTracker.java | 60 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 D | BiometricSchedulerOperationTest.java | 87 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 D | BiometricSchedulerTest.java | 311 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 D | AudioPlaybackProgressBar.java | 94 if (!mUpdateAnimator.isStarted()) { in startUpdateTicks() 100 if (mUpdateAnimator.isStarted()) { in stopUpdateTicks()
|
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
H A D | OffloadController.java | 306 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 D | MockableLocationProvider.java | 145 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 D | PseudoEmergencyAnimator.java | 115 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 D | PermissionPolicyService.java | 141 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 D | InstrumentationTestRunnerTest.java | 144 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 D | ParameterManagerWrapper.cpp | 122 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 D | BluetoothScanningDevicesGroupPreferenceController.java | 100 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 D | SoundLevels.java | 155 if (!mSpeechLevelsAnimator.isStarted()) { in startSpeechLevelsAnimator() 164 if (mSpeechLevelsAnimator.isStarted()) { in stopSpeechLevelsAnimator()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/ |
H A D | AnimationManager.java | 46 if (mCaptureAnimator != null && mCaptureAnimator.isStarted()) { in startCaptureAnimation() 178 if (mCaptureAnimator != null && mCaptureAnimator.isStarted()) { in cancelAnimations()
|
/aosp12/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 414 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 D | Nat464Xlat.java | 157 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 D | LauncherActivityInterface.java | 203 return (launcher != null) && launcher.isStarted() in getVisibleLauncher() 267 launcher.isStarted(); in isInLiveTileMode() 286 if (!launcher.isStarted() || launcher.isForceInvisible()) { in closeOverlay()
|