/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NetworkTypeControllerTest.java | 74 private IState getCurrentState() throws Exception { in getCurrentState() method in NetworkTypeControllerTest 256 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateLegacy() 259 assertEquals("legacy", getCurrentState().getName()); in testTransitionToCurrentStateLegacy() 264 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateRestricted() 268 assertEquals("restricted", getCurrentState().getName()); in testTransitionToCurrentStateRestricted() 273 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdle() 279 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdle() 289 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdleSupportPhysicalChannelConfig1_6() 298 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdleSupportPhysicalChannelConfig1_6() 311 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdle_usingUserDataForRrcDetection() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | SimSlotStateTest.java | 96 SimSlotState state = SimSlotState.getCurrentState(); in testEmptySlots() 112 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_nullSlot() 128 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_inactiveSlot() 144 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_noSimCard() 161 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCard() 178 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCardInErrorState() 195 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_physicalSimCardInRestrictedState() 213 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithNullCard() 230 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithoutProfile() 247 SimSlotState state = SimSlotState.getCurrentState(); in testSingleSim_esimCardWithProfile() [all …]
|
D | PerSimStatusTest.java | 174 PerSimStatus perSimStatus1 = PerSimStatus.getCurrentState(mPhone); in onPullAtom_perSimStatus() 175 PerSimStatus perSimStatus2 = PerSimStatus.getCurrentState(mSecondPhone); in onPullAtom_perSimStatus() 226 PerSimStatus perSimStatus = PerSimStatus.getCurrentState(mPhone); in onPullAtom_perSimStatus_noSubscriptionManagerService() 268 PerSimStatus perSimStatus = PerSimStatus.getCurrentState(mPhone); in onPullAtom_perSimStatus_noImsManager() 330 PerSimStatus perSimStatus = PerSimStatus.getCurrentState(mPhone); in onPullAtom_perSimStatus_noImsMmTelManager() 388 PerSimStatus perSimStatus = PerSimStatus.getCurrentState(mPhone); in onPullAtom_perSimStatus_noUiccSlot()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnGatewayConnectionConnectingStateTest.java | 71 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()
|
D | VcnGatewayConnectionRetryTimeoutStateTest.java | 65 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()
|
D | VcnGatewayConnectionDisconnectedStateTest.java | 75 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()
|
D | VcnGatewayConnectionConnectedStateTest.java | 147 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testNullNetworkDoesNotTriggerDisconnect() 161 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testNullNetworkAirplaneModeDisconnects() 172 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testNewNetworkTriggersMigration() 184 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testSameNetworkDoesNotTriggerMigration() 208 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in verifyDataStallTriggersMigration() 266 assertEquals(vcnGatewayConnection.mConnectedState, vcnGatewayConnection.getCurrentState()); in verifyVcnTransformsApplied() 333 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testMigration() 378 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testMigrationHandleFailure() 423 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in testChildOpenedRegistersNetwork() 510 assertEquals(mGatewayConnection.mConnectedState, mGatewayConnection.getCurrentState()); in verifyChildOpenedRequestsAndAppliesParallelSas() [all …]
|
D | VcnGatewayConnectionDisconnectingStateTest.java | 56 assertEquals(mGatewayConnection.mRetryTimeoutState, mGatewayConnection.getCurrentState()); in testIkeSessionClosed() 87 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testTeardown() 103 assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); in testNonTeardownDisconnectRequest()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccConnectorTest.java | 98 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noPermission() 107 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noBindPermission() 116 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noPriority() 198 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testInitialState_available() 205 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testPackageChange_unavailableToAvailable() 215 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testPackageChange_unavailableToAvailable() 224 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testPackageChange_availableToUnavailable() 235 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testPackageChange_availableToUnavailable() 501 assertEquals(mConnector.mConnectedState, mConnector.getCurrentState()); in testLinger() 505 assertEquals(mConnector.mConnectedState, mConnector.getCurrentState()); in testLinger() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 121 private IState getCurrentState() { in getCurrentState() method in GsmInboundSmsHandlerTest 244 assertEquals("StartupState", getCurrentState().getName()); in transitionFromStartupToIdle() 250 assertEquals("IdleState", getCurrentState().getName()); in transitionFromStartupToIdle() 278 assertEquals("WaitingState", getCurrentState().getName()); in verifySmsIntentBroadcasts() 296 assertEquals("WaitingState", getCurrentState().getName()); in verifySmsIntentBroadcasts() 302 assertEquals("IdleState", getCurrentState().getName()); in verifySmsIntentBroadcasts() 327 assertEquals("IdleState", getCurrentState().getName()); in testNewSms() 343 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsFromBlockedNumber_noBroadcastsSent() 361 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsWithUserLocked_notificationShown() 390 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsFromBlockedNumberWithUserLocked_noNotificationShown() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ViewTransformationHelper.java | 91 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()
|
D | TransformableView.java | 39 TransformState getCurrentState(int fadingView); in getCurrentState() method
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandlerTest.java | 87 private IState getCurrentState() { in getCurrentState() method in CdmaInboundSmsHandlerTest 186 assertEquals("StartupState", getCurrentState().getName()); in transitionFromStartupToIdle() 192 assertEquals("IdleState", getCurrentState().getName()); in transitionFromStartupToIdle() 216 assertEquals("WaitingState", getCurrentState().getName()); in testNewSms() 224 assertEquals("WaitingState", getCurrentState().getName()); in testNewSms() 229 assertEquals("IdleState", getCurrentState().getName()); in testNewSms() 265 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsFromBlockedNumber_noBroadcastsSent()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneProviderController.java | 349 if (provider.getCurrentState().isStarted()) { in stopProviderIfStarted() 356 ProviderState providerState = provider.getCurrentState(); in stopProvider() 422 ProviderState newPrimaryState = mPrimaryProvider.getCurrentState(); in alterProvidersStartedStateIfRequired() 428 ProviderState newSecondaryState = mSecondaryProvider.getCurrentState(); in alterProvidersStartedStateIfRequired() 433 + " primary=" + mPrimaryProvider.getCurrentState() in alterProvidersStartedStateIfRequired() 434 + " secondary=" + mPrimaryProvider.getCurrentState(); in alterProvidersStartedStateIfRequired() 446 ProviderState providerState = provider.getCurrentState(); in tryStartProvider() 535 ProviderState primaryCurrentState = mPrimaryProvider.getCurrentState(); in handleProviderFailedStateChange() 536 ProviderState secondaryCurrentState = mSecondaryProvider.getCurrentState(); in handleProviderFailedStateChange() 801 ProviderState primaryProviderState = mPrimaryProvider.getCurrentState(); in generateCurrentAlgorithmStatus() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/ |
D | UceDeviceState.java | 214 getCurrentState()); in UceDeviceState() 237 public synchronized DeviceStateResult getCurrentState() { in getCurrentState() method in UceDeviceState 253 DeviceStateResult previousState = getCurrentState(); in refreshDeviceState() 317 DeviceStateResult currentState = getCurrentState(); in refreshDeviceState() 336 DeviceStateResult previousState = getCurrentState(); in resetDeviceState() 338 DeviceStateResult currentState = getCurrentState(); in resetDeviceState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | CustomInterpolatorTransformation.java | 43 TransformState otherState = notification.getCurrentState(mViewType); in transformTo() 64 TransformState otherState = notification.getCurrentState(mViewType); in transformFrom()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | HybridNotificationView.java | 125 public TransformState getCurrentState(int fadingView) { in getCurrentState() method in HybridNotificationView 126 return mTransformationHelper.getCurrentState(fadingView); in getCurrentState() 171 TransformState otherState = notification.getCurrentState(TRANSFORMING_VIEW_TITLE); in transformTo() 184 TransformState otherState = notification.getCurrentState(TRANSFORMING_VIEW_TITLE); in transformFrom()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | SimSlotState.java | 40 public static SimSlotState getCurrentState() { in getCurrentState() method in SimSlotState 115 return (getCurrentState().numActiveSims > 1); in isMultiSim()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/ |
D | CastVolumeSliderViewModel.kt | 48 .mapNotNull { it?.getCurrentState() } in <lambda>() 63 private fun PlaybackInfo.getCurrentState(): State { in PlaybackInfo() method in com.android.systemui.volume.panel.component.volume.slider.ui.viewmodel.CastVolumeSliderViewModel
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataNetwork.java | 2037 IState state = getCurrentState(); 2058 if (getCurrentState() == null || isDisconnected()) { 2138 if (getCurrentState() == null || isDisconnected()) { 2952 if (getCurrentState() == null || isDisconnected()) { 3017 if (getCurrentState() == null || isDisconnected() || isDisconnecting()) { 3018 loge("tearDownWhenConditionMet: Not in the right state. State=" + getCurrentState()); 3409 return getCurrentState() == mConnectingState; 3416 return getCurrentState() == mConnectedState; 3423 return getCurrentState() == mDisconnectingState; 3430 return getCurrentState() == mDisconnectedState; [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | OneTimePermissionUserManager.java | 245 private int getCurrentState() { in getCurrentState() method in OneTimePermissionUserManager.PackageInactivityListener 262 updateUidState(getCurrentState()); in updateUidState() 281 currentState = getCurrentState(); in updateUidState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 353 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | ToAodFoldTransitionInteractor.kt | 87 transitionInteractor.getCurrentState(), in forceToAod()
|
/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | StateMachine.java | 1155 private final IState getCurrentState() { in getCurrentState() method in StateMachine.SmHandler 1397 public final IState getCurrentState() { in getCurrentState() method in StateMachine 1401 return smh.getCurrentState(); in getCurrentState() 1569 smh.mLogRecords.add(this, smh.getCurrentMessage(), string, smh.getCurrentState(), in addLogRec() 2094 final IState curState = getCurrentState(); in dump() 2102 state = mSmHandler.getCurrentState().getName().toString(); in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | DisplaySwitchLatencyTracker.kt | 124 getCurrentState() in <lambda>() 174 private fun getCurrentState(): Int = in <lambda>() method in com.android.systemui.unfold.DisplaySwitchLatencyTracker
|