/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccConnectorTest.java | 89 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noPermission() 98 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noBindPermission() 107 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noPriority() 158 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testInitialState_available() 165 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testPackageChange_unavailableToAvailable() 175 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testPackageChange_unavailableToAvailable() 184 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testPackageChange_availableToUnavailable() 195 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testPackageChange_availableToUnavailable() 295 assertEquals(mConnector.mConnectedState, mConnector.getCurrentState()); in testLinger() 299 assertEquals(mConnector.mConnectedState, mConnector.getCurrentState()); in testLinger() [all …]
|
/frameworks/support/lifecycle/common/src/test/java/androidx/lifecycle/ |
D | FullLifecycleObserverTest.java | 57 when(mLifecycle.getCurrentState()).thenReturn(CREATED); in eachEvent() 64 when(mLifecycle.getCurrentState()).thenReturn(STARTED); in eachEvent() 69 when(mLifecycle.getCurrentState()).thenReturn(RESUMED); in eachEvent() 74 when(mLifecycle.getCurrentState()).thenReturn(STARTED); in eachEvent() 79 when(mLifecycle.getCurrentState()).thenReturn(CREATED); in eachEvent() 84 when(mLifecycle.getCurrentState()).thenReturn(INITIALIZED); in eachEvent()
|
D | ReflectiveGenericLifecycleObserverTest.java | 62 when(mLifecycle.getCurrentState()).thenReturn(STARTED); in anyState() 99 when(mLifecycle.getCurrentState()).thenReturn(CREATED); in singleMethod() 121 when(mLifecycle.getCurrentState()).thenReturn(CREATED); in eachEvent() 127 when(mLifecycle.getCurrentState()).thenReturn(STARTED); in eachEvent() 132 when(mLifecycle.getCurrentState()).thenReturn(RESUMED); in eachEvent() 137 when(mLifecycle.getCurrentState()).thenReturn(STARTED); in eachEvent() 142 when(mLifecycle.getCurrentState()).thenReturn(CREATED); in eachEvent() 147 when(mLifecycle.getCurrentState()).thenReturn(INITIALIZED); in eachEvent()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 122 private IState getCurrentState() { in getCurrentState() method in GsmInboundSmsHandlerTest 197 assertEquals("StartupState", getCurrentState().getName()); in transitionFromStartupToIdle() 203 assertEquals("IdleState", getCurrentState().getName()); in transitionFromStartupToIdle() 212 assertEquals("WaitingState", getCurrentState().getName()); in verifySmsIntentBroadcasts() 221 assertEquals("WaitingState", getCurrentState().getName()); in verifySmsIntentBroadcasts() 226 assertEquals("IdleState", getCurrentState().getName()); in verifySmsIntentBroadcasts() 249 assertEquals("IdleState", getCurrentState().getName()); in testNewSms() 266 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsFromBlockedNumber_noBroadcastsSent() 275 assertEquals("WaitingState", getCurrentState().getName()); in verifyDataSmsIntentBroadcasts() 280 assertEquals("IdleState", getCurrentState().getName()); in verifyDataSmsIntentBroadcasts() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | LayerVector.cpp | 42 (mStateSet == StateSet::Current) ? l->getCurrentState() : l->getDrawingState(); in do_compare() 44 (mStateSet == StateSet::Current) ? r->getCurrentState() : r->getDrawingState(); in do_compare() 65 auto& state = (stateSet == StateSet::Current) ? layer->getCurrentState() in traverseInZOrder() 77 auto& state = (stateSet == StateSet::Current) ? layer->getCurrentState() in traverseInReverseZOrder()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiControllerTest.java | 74 private IState getCurrentState() throws Exception { in getCurrentState() method in WifiControllerTest 145 assertEquals("StaDisabledState", getCurrentState().getName()); in enableWifi() 150 assertEquals("DeviceActiveState", getCurrentState().getName()); in enableWifi() 502 assertEquals("EcmState", getCurrentState().getName()); in testEcmOnFromDisabledMode() 694 assertEquals("EcmState", getCurrentState().getName()); in testWifiDoesNotToggleOnWhenInEcm() 718 assertEquals("EcmState", getCurrentState().getName()); in testScanModeDoesNotToggleOnWhenInEcm() 744 assertEquals("EcmState", getCurrentState().getName()); in testSoftApModeDoesNotToggleOnWhenInEcm() 764 assertEquals("DeviceActiveState", getCurrentState().getName()); in testReturnToDeviceActiveStateAfterAPModeShutdown() 777 assertEquals("DeviceActiveState", getCurrentState().getName()); in testReturnToDeviceActiveStateAfterAPModeShutdown() 790 assertEquals("DeviceActiveState", getCurrentState().getName()); in testReturnToDeviceActiveStateAfterWifiEnabledShutdown() [all …]
|
D | WifiStateMachineTest.java | 256 private IState getCurrentState() throws in getCurrentState() method in WifiStateMachineTest 559 assertEquals("DefaultState", getCurrentState().getName()); in createNew() 563 assertEquals("DefaultState", getCurrentState().getName()); in createNew() 569 assertEquals("DisconnectedState", getCurrentState().getName()); in loadComponentsInStaMode() 575 assertEquals("DefaultState", getCurrentState().getName()); in checkInitialStateStickyWhenDisabledMode() 581 assertEquals("DefaultState", getCurrentState().getName()); in checkInitialStateStickyWhenDisabledMode() 588 assertEquals("DefaultState", getCurrentState().getName()); in shouldStartSupplicantWhenConnectModeRequested() 594 assertEquals("DisconnectedState", getCurrentState().getName()); in shouldStartSupplicantWhenConnectModeRequested() 604 assertEquals("DefaultState", getCurrentState().getName()); in checkIsWifiEnabledForModeChanges() 610 assertEquals("DisconnectedState", getCurrentState().getName()); in checkIsWifiEnabledForModeChanges() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandlerTest.java | 92 private IState getCurrentState() { in getCurrentState() method in CdmaInboundSmsHandlerTest 170 assertEquals("StartupState", getCurrentState().getName()); in transitionFromStartupToIdle() 176 assertEquals("IdleState", getCurrentState().getName()); in transitionFromStartupToIdle() 196 assertEquals("WaitingState", getCurrentState().getName()); in testNewSms() 204 assertEquals("WaitingState", getCurrentState().getName()); in testNewSms() 209 assertEquals("IdleState", getCurrentState().getName()); in testNewSms() 227 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsFromBlockedNumber_noBroadcastsSent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ViewTransformationHelper.java | 60 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in ViewTransformationHelper 109 TransformState ownState = getCurrentState(viewType); in transformTo() 117 TransformState otherState = notification.getCurrentState(viewType); in transformTo() 166 TransformState ownState = getCurrentState(viewType); in transformFrom() 174 TransformState otherState = notification.getCurrentState(viewType); in transformFrom() 192 TransformState ownState = getCurrentState(viewType); in setVisible() 202 TransformState ownState = getCurrentState(viewType); in abortTransformations()
|
D | TransformableView.java | 38 TransformState getCurrentState(int fadingView); in getCurrentState() method
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
D | FragmentViewLifecycleTest.java | 66 fragment.getViewLifecycleOwner().getLifecycle().getCurrentState()); in testFragmentViewLifecycle() 115 fragment.getViewLifecycleOwner().getLifecycle().getCurrentState()); in testFragmentViewLifecycleRunOnCommit() 170 viewLifecycleOwner.getLifecycle().getCurrentState()); in testFragmentViewLifecycleDetach() 176 viewLifecycleOwner.getLifecycle().getCurrentState()); in testFragmentViewLifecycleDetach() 198 viewLifecycleOwner.getLifecycle().getCurrentState()); in testFragmentViewLifecycleReattach() 205 viewLifecycleOwner.getLifecycle().getCurrentState()); in testFragmentViewLifecycleReattach() 213 fragment.getViewLifecycleOwner().getLifecycle().getCurrentState()); in testFragmentViewLifecycleReattach()
|
D | FragmentArchLifecycleTest.java | 62 assertEquals(Lifecycle.State.CREATED, first.getLifecycle().getCurrentState()); in testFragmentAdditionDuringOnStop() 63 assertEquals(Lifecycle.State.CREATED, second.getLifecycle().getCurrentState()); in testFragmentAdditionDuringOnStop() 64 Assert.assertEquals(Lifecycle.State.CREATED, activity.getLifecycle().getCurrentState()); in testFragmentAdditionDuringOnStop()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | HybridNotificationView.java | 80 TransformState otherState = notification.getCurrentState( in onFinishInflate() 94 TransformState otherState = notification.getCurrentState( in onFinishInflate() 126 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in HybridNotificationView 127 return mTransformationHelper.getCurrentState(fadingView); in getCurrentState()
|
D | CustomInterpolatorTransformation.java | 48 TransformState otherState = notification.getCurrentState(mViewType); in transformTo() 69 TransformState otherState = notification.getCurrentState(mViewType); in transformFrom()
|
D | NotificationHeaderViewWrapper.java | 210 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in NotificationHeaderViewWrapper 211 return mTransformationHelper.getCurrentState(fadingView); in getCurrentState()
|
/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/ |
D | LiveDataTest.java | 608 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED); in setValue_lifecycleIsCreatedNoEvent_liveDataBecomesInactiveAndObserverNotCalled() 611 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.CREATED); in setValue_lifecycleIsCreatedNoEvent_liveDataBecomesInactiveAndObserverNotCalled() 641 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED); in test_liveDataInactiveViaSetValueThenLifecycleResumes() 644 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.CREATED); in test_liveDataInactiveViaSetValueThenLifecycleResumes() 652 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED); in test_liveDataInactiveViaSetValueThenLifecycleResumes() 678 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED); in setValue_oneOfTwoLifecyclesAreCreatedNoEvent() 679 when(mLifecycle4.getCurrentState()).thenReturn(Lifecycle.State.STARTED); in setValue_oneOfTwoLifecyclesAreCreatedNoEvent() 683 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.CREATED); in setValue_oneOfTwoLifecyclesAreCreatedNoEvent() 716 when(mLifecycle3.getCurrentState()).thenReturn(Lifecycle.State.STARTED); in setValue_twoLifecyclesAreCreatedNoEvent() 717 when(mLifecycle4.getCurrentState()).thenReturn(Lifecycle.State.STARTED); in setValue_twoLifecyclesAreCreatedNoEvent() [all …]
|
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/ |
D | TestUtils.java | 109 Lifecycle.State currentState = owner.getLifecycle().getCurrentState(); in waitTillState() 116 if (provider.getLifecycle().getCurrentState() == state) { in waitTillState() 126 + owner.getLifecycle().getCurrentState(), latchResult, is(true)); in waitTillState()
|
/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/ |
D | LiveData.java | 167 if (owner.getLifecycle().getCurrentState() == DESTROYED) { in observe() 361 return mOwner.getLifecycle().getCurrentState().isAtLeast(STARTED); in shouldBeActive() 366 if (mOwner.getLifecycle().getCurrentState() == DESTROYED) { in onStateChanged()
|
/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/ |
D | Lifecycle.java | 112 public abstract State getCurrentState(); in getCurrentState() method in Lifecycle
|
/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/ |
D | FragmentNavigatorTest.java | 97 assertThat("Old instance should be destroyed", fragment.getLifecycle().getCurrentState(), in testSingleTopInitial() 128 assertThat("Old instance should be destroyed", fragment.getLifecycle().getCurrentState(), in testSingleTop()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcControllerTest.java | 94 private IState getCurrentState() { in getCurrentState() method in DcControllerTest 131 assertEquals("DccDefaultState", getCurrentState().getName()); in testDataDormant()
|
/frameworks/support/lifecycle/runtime/api/ |
D | current.txt | 6 method public androidx.lifecycle.Lifecycle.State getCurrentState();
|
/frameworks/support/lifecycle/runtime/api_legacy/ |
D | 1.0.0.txt | 6 method public android.arch.lifecycle.Lifecycle.State getCurrentState();
|
D | 1.1.0.txt | 6 method public android.arch.lifecycle.Lifecycle.State getCurrentState();
|
D | current.txt | 6 method public android.arch.lifecycle.Lifecycle.State getCurrentState();
|