Home
last modified time | relevance | path

Searched refs:ACTIVE (Results 1 – 25 of 115) sorted by relevance

12345

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java86 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testAttachDetach()
90 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testAttachDetach()
104 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testConnectionDisconnected()
105 mImsCallUT.attach(mConnection2, Call.State.ACTIVE); in testConnectionDisconnected()
108 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testConnectionDisconnected()
112 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testConnectionDisconnected()
143 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackTone()
145 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testUpdateRingBackTone()
168 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackToneBetweenStateChange()
170 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testUpdateRingBackToneBetweenStateChange()
[all …]
DImsPhoneConnectionTest.java175 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateForeGround()
179 eq(Call.State.ACTIVE)); in testImsUpdateStateForeGround()
188 doReturn(Call.State.ACTIVE).when(mForeGroundCall).getState(); in testUpdateCodec()
198 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateBackGround()
202 eq(Call.State.ACTIVE)); in testImsUpdateStateBackGround()
212 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStatePendingHold()
214 eq(Call.State.ACTIVE)); in testImsUpdateStatePendingHold()
268 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testPostDialWait()
293 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testPostDialPause()
309 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testSetWifiDeprecated()
[all …]
DImsCallInfoTrackerTest.java140 doReturn(Call.State.ACTIVE).when(c).getState(); in testIncomingCall()
154 assertEquals(Call.State.ACTIVE, info.getCallState()); in testIncomingCall()
217 doReturn(Call.State.ACTIVE).when(c1).getState(); in testMultiCalls()
232 assertEquals(Call.State.ACTIVE, info1.getCallState()); in testMultiCalls()
250 assertEquals(Call.State.ACTIVE, info1.getCallState()); in testMultiCalls()
286 doReturn(Call.State.ACTIVE).when(c2).getState(); in testMultiCalls()
301 assertEquals(Call.State.ACTIVE, info2.getCallState()); in testMultiCalls()
313 doReturn(Call.State.ACTIVE).when(c).getState(); in testHeldByRemote()
331 assertEquals(Call.State.ACTIVE, info.getCallState()); in testHeldByRemote()
347 assertEquals(Call.State.ACTIVE, info.getCallState()); in testHeldByRemote()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTest.java58 mDriverCall.state = DriverCall.State.ACTIVE; in testAttachDetach()
63 assertEquals(Call.State.ACTIVE, mCallUnderTest.getState()); in testAttachDetach()
83 mDriverCall.state = DriverCall.State.ACTIVE; in testMultiparty()
110 mDriverCall.state = DriverCall.State.ACTIVE; in testConnectionDisconnected()
116 assertEquals(Call.State.ACTIVE, mCallUnderTest.getState()); in testConnectionDisconnected()
121 assertEquals(Call.State.ACTIVE, mCallUnderTest.getState()); in testConnectionDisconnected()
DSimulatedGsmCallState.java34 ACTIVE(0), enumConstant
112 return mState == State.ACTIVE || mState == State.HOLDING; in isActiveOrHeld()
238 call.mState = CallInfo.State.ACTIVE; in progressConnectingCallState()
255 call.mState = CallInfo.State.ACTIVE; in progressConnectingToActive()
303 || call.mState == CallInfo.State.ACTIVE in triggerHangupForeground()
490 if (c != null && c.mState == CallInfo.State.ACTIVE) { in releaseActiveAcceptHeldOrWaiting()
516 c.mState = CallInfo.State.ACTIVE; in releaseActiveAcceptHeldOrWaiting()
529 c.mState = CallInfo.State.ACTIVE; in releaseActiveAcceptHeldOrWaiting()
557 if (c.mState == CallInfo.State.ACTIVE) { in switchActiveAndHeldOrWaiting()
560 c.mState = CallInfo.State.ACTIVE; in switchActiveAndHeldOrWaiting()
[all …]
DGsmCdmaConnectionTest.java142 mDC.state = DriverCall.State.ACTIVE; in testConnectionStateUpdate()
144 assertEquals(GsmCdmaCall.State.ACTIVE, connection.getState()); in testConnectionStateUpdate()
164 mDC.state = DriverCall.State.ACTIVE; in testCDMAPostDialPause()
182 mDC.state = DriverCall.State.ACTIVE; in testGSMPostDialPause()
202 mDC.state = DriverCall.State.ACTIVE; in testPostDialWait()
216 mDC.state = DriverCall.State.ACTIVE; in testHangUpConnection()
DGsmCdmaCallTrackerTest.java138 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUp()
172 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallDialPickUpHangup()
219 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallSwitch()
284 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMTCallAccept()
353 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
365 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
423 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testUpdatePhoneType()
/frameworks/base/core/java/android/text/method/
DMultiTapKeyListener.java105 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown()
106 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown()
113 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE) in onKeyDown()
208 content.setSpan(TextKeyListener.ACTIVE, in onKeyDown()
240 buf.removeSpan(TextKeyListener.ACTIVE); in onSpanChanged()
276 int start = buf.getSpanStart(TextKeyListener.ACTIVE); in run()
277 int end = buf.getSpanEnd(TextKeyListener.ACTIVE); in run()
DPasswordTransformationMethod.java155 int st = sp.getSpanStart(TextKeyListener.ACTIVE); in charAt()
156 int en = sp.getSpanEnd(TextKeyListener.ACTIVE); in charAt()
200 st = sp.getSpanStart(TextKeyListener.ACTIVE); in getChars()
201 en = sp.getSpanEnd(TextKeyListener.ACTIVE); in getChars()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/night/ui/
DNightDisplayTileMapperTest.kt104 QSTileState.ActivationState.ACTIVE, in enabledModel_whenAutoModeOff()
118 QSTileState.ActivationState.ACTIVE, in enabledModel_forceAutoMode_whenAutoModeOff()
130 val expectedState = createNightDisplayTileState(QSTileState.ActivationState.ACTIVE, null) in enabledModel_autoModeTwilight_locationOff()
142 QSTileState.ActivationState.ACTIVE, in enabledModel_autoModeTwilight_locationOn()
235 QSTileState.ActivationState.ACTIVE, in enabledModel_autoModeCustom_24Hour()
252 QSTileState.ActivationState.ACTIVE, in enabledModel_autoModeCustom_12Hour()
270 QSTileState.ActivationState.ACTIVE, in enabledModel_autoModeCustom_24Hour_forceEnabled()
285 if (activationState == QSTileState.ActivationState.ACTIVE) in createNightDisplayTileState()
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/deviceidle/
DIDeviceIdleConstraint.java42 ACTIVE,
48 int ACTIVE = 0; field
/frameworks/av/services/camera/libcameraservice/device3/
DStatusTracker.cpp96 if (mStates.valueAt(i) == ACTIVE) { in dumpActiveComponents()
108 markComponent(id, ACTIVE, Fence::NO_FENCE); in markComponentActive()
154 if (mStates.valueAt(i) == ACTIVE) { in getDeviceStateLocked()
157 return ACTIVE; in getDeviceStateLocked()
170 return fencesDone ? IDLE : ACTIVE; in getDeviceStateLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt196 ACTIVE, in <lambda>()
342 GestureState.ACTIVE -> { in <lambda>()
426 updateArrowState(GestureState.ACTIVE) in <lambda>()
442 updateArrowState(GestureState.ACTIVE) in <lambda>()
445 GestureState.ACTIVE -> { in <lambda>()
503 GestureState.ACTIVE -> fullScreenProgress(xTranslation) in <lambda>()
511 GestureState.ACTIVE -> stretchActiveBackIndicator(gestureProgress) in <lambda>()
527 GestureState.ACTIVE, in <lambda>()
538 GestureState.ACTIVE -> params.activeIndicator in <lambda>()
770 GestureState.ACTIVE -> { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/
DAlarmTileMapperTest.kt92 createAlarmTileState(QSTileState.ActivationState.ACTIVE, expectedSecondaryLabel) in nextAlarmSet24HourFormat()
111 createAlarmTileState(QSTileState.ActivationState.ACTIVE, expectedSecondaryLabel) in nextAlarmSet12HourFormat()
131 createAlarmTileState(QSTileState.ActivationState.ACTIVE, expectedSecondaryLabel) in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly()
151 createAlarmTileState(QSTileState.ActivationState.ACTIVE, expectedSecondaryLabel) in nextAlarmSetOneMinuteLessThanAWeekLater_mapsSecondaryLabelToDisplayTime()
171 createAlarmTileState(QSTileState.ActivationState.ACTIVE, expectedSecondaryLabel) in nextAlarmSetExactlyAWeekLater_mapsSecondaryLabelToDisplayDateOnly()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/
DReduceBrightColorsTileMapperTest.kt77 val expectedState = createReduceBrightColorsTileState(QSTileState.ActivationState.ACTIVE) in enabledModel()
87 if (activationState == QSTileState.ActivationState.ACTIVE) in createReduceBrightColorsTileState()
97 if (activationState == QSTileState.ActivationState.ACTIVE) Tile.STATE_ACTIVE in createReduceBrightColorsTileState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileStateToProto.kt43 Tile.STATE_ACTIVE -> QsTileState.ACTIVE in QSTile()
49 state.booleanState = state.state == QsTileState.ACTIVE in QSTile()
/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizerContext.cpp68 mState = State::ACTIVE; in enable()
73 if (mState != State::ACTIVE) { in disable()
182 if (mState != State::ACTIVE) { in capture()
233 RETURN_VALUE_IF(mState != State::ACTIVE, result, "stateNotActive"); in process()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java431 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_moAccepted()
432 doReturn(Call.State.ACTIVE).when(mImsConnection0).getState(); in singleImsCall_moAccepted()
587 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_mtAccepted()
588 doReturn(Call.State.ACTIVE).when(mImsConnection0).getState(); in singleImsCall_mtAccepted()
874 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_codecSwitch()
875 doReturn(Call.State.ACTIVE).when(mImsConnection0).getState(); in singleImsCall_codecSwitch()
942 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_ratSwitch()
943 doReturn(Call.State.ACTIVE).when(mImsConnection0).getState(); in singleImsCall_ratSwitch()
1027 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_ratSwitchToUnknown()
1028 doReturn(Call.State.ACTIVE).when(mImsConnection0).getState(); in singleImsCall_ratSwitchToUnknown()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/ui/
DScreenRecordTileMapper.kt44 activationState = QSTileState.ActivationState.ACTIVE in map()
56 activationState = QSTileState.ActivationState.ACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileState.kt78 ACTIVE(Tile.STATE_ACTIVE), in build()
87 Tile.STATE_ACTIVE -> ACTIVE in build()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DDialogResult.kt20 ACTIVE,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDriverCall.java34 ACTIVE, enumConstant
166 case 0: return State.ACTIVE; in stateFromCLCC()
DCall.java43 ACTIVE, enumConstant
70 case ACTIVE: return State.ACTIVE; in stateFromDCState()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverTileMapperTest.kt61 QSTileState.ActivationState.ACTIVE, in activeStateMatchesEnabledModel()
87 if (activationState == QSTileState.ActivationState.ACTIVE) in createDataSaverTileState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
DRotationLockTileMapper.kt49 activationState = QSTileState.ActivationState.ACTIVE in map()
79 if (activationState == QSTileState.ActivationState.ACTIVE) ON_INDEX else OFF_INDEX] in getSecondaryLabelWithPosture()

12345