Home
last modified time | relevance | path

Searched refs:getCurrentState (Results 1 – 24 of 24) sorted by relevance

/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A DVcnGatewayConnectionConnectingStateTest.java71 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testNullNetworkTriggersDisconnect()
83 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testNewNetworkTriggersReconnect()
96 assertEquals(mGatewayConnection.mConnectingState, mGatewayConnection.getCurrentState()); in testSameNetworkDoesNotTriggerReconnect()
104 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testChildSessionClosedTriggersDisconnect()
114 assertEquals(mGatewayConnection.mRetryTimeoutState, mGatewayConnection.getCurrentState()); in testIkeSessionClosedTriggersDisconnect()
134 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testTeardown()
143 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testNonTeardownDisconnectRequest()
H A DVcnGatewayConnectionRetryTimeoutStateTest.java65 assertEquals(mGatewayConnection.mConnectingState, mGatewayConnection.getCurrentState()); in testNewNetworkTriggerRetry()
79 assertEquals(mGatewayConnection.mRetryTimeoutState, mGatewayConnection.getCurrentState()); in testSameNetworkDoesNotTriggerRetry()
97 assertEquals(mGatewayConnection.mDisconnectedState, mGatewayConnection.getCurrentState()); in testNullNetworkTriggersDisconnect()
117 assertEquals(mGatewayConnection.mConnectingState, mGatewayConnection.getCurrentState()); in testTimeoutElapsingTriggersRetry()
135 assertNull(mGatewayConnection.getCurrentState()); in testTeardownDisconnectRequest()
147 assertEquals(mGatewayConnection.mDisconnectedState, mGatewayConnection.getCurrentState()); in testNonTeardownDisconnectRequest()
H A DVcnGatewayConnectionDisconnectedStateTest.java75 assertNull(vgc.getCurrentState()); in testEnterWhileQuittingTriggersQuit()
85 assertEquals(mGatewayConnection.mConnectingState, mGatewayConnection.getCurrentState()); in testNetworkChangesTriggerStateTransitions()
96 assertEquals(mGatewayConnection.mDisconnectedState, mGatewayConnection.getCurrentState()); in testNullNetworkDoesNotTriggerStateTransition()
109 assertNull(mGatewayConnection.getCurrentState()); in testTeardown()
121 assertEquals(mGatewayConnection.mDisconnectedState, mGatewayConnection.getCurrentState()); in testNonTeardownDisconnectRequest()
H A DVcnGatewayConnectionConnectedStateTest.java143 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testNullNetworkDoesNotTriggerDisconnect()
157 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testNullNetworkAirplaneModeDisconnects()
168 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testNewNetworkTriggersMigration()
180 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testSameNetworkDoesNotTriggerMigration()
204 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in verifyDataStallTriggersMigration()
326 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testMigration()
389 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testChildOpenedRegistersNetwork()
476 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in verifyChildOpenedRequestsAndAppliesParallelSas()
495 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testOpportunisticSa_ignoresPreOpenFailures()
669 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testUnwantedNetworkAgentWithDisconnectedNetworkAgent()
[all …]
H A DVcnGatewayConnectionDisconnectingStateTest.java56 assertEquals(mGatewayConnection.mRetryTimeoutState, mGatewayConnection.getCurrentState()); in testIkeSessionClosed()
87 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testTeardown()
103 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testNonTeardownDisconnectRequest()
H A DVcnGatewayConnectionTestBase.java371 assertEquals(expectedState, mGatewayConnection.getCurrentState()); in verifySafeModeTimeoutNotifiesCallbackAndUnregistersNetworkAgent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DViewTransformationHelper.java91 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in ViewTransformationHelper
140 TransformState ownState = getCurrentState(viewType); in transformTo()
148 TransformState otherState = notification.getCurrentState(viewType); in transformTo()
193 TransformState ownState = getCurrentState(viewType); in transformFrom()
201 TransformState otherState = notification.getCurrentState(viewType); in transformFrom()
219 TransformState ownState = getCurrentState(viewType); in setVisible()
229 TransformState ownState = getCurrentState(viewType); in abortTransformations()
H A DTransformableView.java39 TransformState getCurrentState(int fadingView); in getCurrentState() method
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DLocationTimeZoneProviderController.java350 if (provider.getCurrentState().isStarted()) { in stopProviderIfStarted()
357 ProviderState providerState = provider.getCurrentState(); in stopProvider()
423 ProviderState newPrimaryState = mPrimaryProvider.getCurrentState(); in alterProvidersStartedStateIfRequired()
429 ProviderState newSecondaryState = mSecondaryProvider.getCurrentState(); in alterProvidersStartedStateIfRequired()
434 + " primary=" + mPrimaryProvider.getCurrentState() in alterProvidersStartedStateIfRequired()
435 + " secondary=" + mPrimaryProvider.getCurrentState(); in alterProvidersStartedStateIfRequired()
447 ProviderState providerState = provider.getCurrentState(); in tryStartProvider()
536 ProviderState primaryCurrentState = mPrimaryProvider.getCurrentState(); in handleProviderFailedStateChange()
537 ProviderState secondaryCurrentState = mSecondaryProvider.getCurrentState(); in handleProviderFailedStateChange()
787 ProviderState primaryProviderState = mPrimaryProvider.getCurrentState(); in generateCurrentAlgorithmStatus()
[all …]
H A DLocationTimeZoneProvider.java561 final ProviderState getCurrentState() { in getCurrentState() method in LocationTimeZoneProvider
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DHybridNotificationView.java126 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in HybridNotificationView
127 return mTransformationHelper.getCurrentState(fadingView); in getCurrentState()
172 TransformState otherState = notification.getCurrentState(TRANSFORMING_VIEW_TITLE); in transformTo()
185 TransformState otherState = notification.getCurrentState(TRANSFORMING_VIEW_TITLE); in transformFrom()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DCustomInterpolatorTransformation.java43 TransformState otherState = notification.getCurrentState(mViewType); in transformTo()
64 TransformState otherState = notification.getCurrentState(mViewType); in transformFrom()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/permission/
H A DOneTimePermissionUserManager.java241 private int getCurrentState() { in getCurrentState() method in OneTimePermissionUserManager.PackageInactivityListener
258 updateUidState(getCurrentState()); in updateUidState()
277 currentState = getCurrentState(); in updateUidState()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
H A DQSTileImplTest.java353 assertNotEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testHandleDestroyLifecycle()
358 assertEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testHandleDestroyLifecycle()
382 assertTrue(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningTrue_stateAtLeastResumed()
387 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testTileDoesntStartResumed()
398 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningFalse_stateAtMostCreated()
409 assertNotEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testListeningFalse_stateNotDestroyed()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationHeaderViewWrapper.java316 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in NotificationHeaderViewWrapper
317 return mTransformationHelper.getCurrentState(fadingView); in getCurrentState()
H A DNotificationTemplateViewWrapper.java88 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
114 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
H A DNotificationViewWrapper.java281 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in NotificationViewWrapper
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileImpl.java353 return getLifecycle().getCurrentState().isAtLeast(RESUMED); in isListening()
479 if (mLifecycle.getCurrentState().equals(DESTROYED)) return; in handleSetListeningInternal()
493 if (mLifecycle.getCurrentState().equals(DESTROYED)) return; in handleSetListeningInternal()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/utils/
H A DStateMachine.java156 protected int getCurrentState() { in getCurrentState() method in StateMachine
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
H A DDreamOverlayService.java264 return mLifecycleRegistry.getCurrentState(); in getCurrentStateLocked()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DLocationTimeZoneProviderTest.java305 ProviderState currentState = provider.getCurrentState(); in assertAndReturnProviderState()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSFragmentTest.java413 .getCurrentState(); in getListeningAndVisibilityLifecycleState()
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/
H A DVcnGatewayConnection.java2555 + (getCurrentState() == null in dump()
2557 : getCurrentState().getClass().getSimpleName())); in dump()
/aosp14/frameworks/base/packages/CredentialManager/
H A Dprofile.txt.prof3137 HSPLandroidx/compose/runtime/Recomposer;->getCurrentState()Lkotlinx/coroutines/flow/StateFlow;
8456 HSPLandroidx/lifecycle/LifecycleRegistry;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;