Home
last modified time | relevance | path

Searched refs:STATE_ACTIVE (Results 1 – 25 of 53) sorted by relevance

123

/packages/services/Telephony/tests/src/com/android/services/telephony/
DImsConferenceTest.java107 Connection.STATE_ACTIVE, in testPropertyPropagation()
113 Connection.STATE_ACTIVE, in testPropertyPropagation()
180 Connection.STATE_ACTIVE, in testNotifyOnConferenceCapacityChanged()
186 Connection.STATE_ACTIVE, in testNotifyOnConferenceCapacityChanged()
225 Connection.STATE_ACTIVE, in testSinglePartyEmulation()
231 Connection.STATE_ACTIVE, in testSinglePartyEmulation()
276 Connection.STATE_ACTIVE, in testDisconnectParticipantViaDisconnectState()
282 Connection.STATE_ACTIVE, in testDisconnectParticipantViaDisconnectState()
289 Connection.STATE_ACTIVE, in testDisconnectParticipantViaDisconnectState()
340 Connection.STATE_ACTIVE, in testDisconnectParticipantViaRemoval()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DDelegateInputConsumer.java14 protected static final int STATE_ACTIVE = 1; field in DelegateInputConsumer
39 if (mState == STATE_ACTIVE) { in getActiveConsumerInHierarchy()
47 return mDelegate.allowInterceptByParent() && mState != STATE_ACTIVE; in allowInterceptByParent()
71 mState = STATE_ACTIVE; in setActive()
DAccessibilityInputConsumer.java93 if (mState == STATE_ACTIVE) { in onMotionEvent()
122 if (mState == STATE_ACTIVE && mDeviceState.isAccessibilityMenuShortcutAvailable()) { in onMotionEvent()
132 if (mState == STATE_ACTIVE) { in onMotionEvent()
155 if (mState != STATE_ACTIVE) { in onMotionEvent()
DAssistantInputConsumer.java135 if (mState != STATE_ACTIVE) { in onMotionEvent()
222 if (mState != STATE_ACTIVE) { in onMotionEvent()
DNavHandleLongPressInputConsumer.java147 if (mState != STATE_ACTIVE) { in onMotionEvent()
264 if (mState != STATE_ACTIVE && MAIN_EXECUTOR.getHandler().hasCallbacks(mTriggerLongPress) in cancelLongPress()
DTrackpadStatusBarInputConsumer.java56 if (mState != STATE_ACTIVE) { in onMotionEvent()
/packages/modules/Bluetooth/android/app/tests/instrumentation/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java218 doReturn(Call.STATE_ACTIVE).when(activeCall).getState(); in listCurrentCallsOneCall()
300 doReturn(Call.STATE_ACTIVE).when(confCall1).getState(); in conferenceInProgressCDMA()
301 doReturn(Call.STATE_ACTIVE).when(confCall2).getState(); in conferenceInProgressCDMA()
365 doReturn(Call.STATE_ACTIVE).when(foregroundCall).getState(); in listCurrentCallsCdmaHold()
366 doReturn(Call.STATE_ACTIVE).when(heldCall).getState(); in listCurrentCallsCdmaHold()
413 doReturn(Call.STATE_ACTIVE).when(confCall1).getState(); in listCurrentCallsCdmaConference()
414 doReturn(Call.STATE_ACTIVE).when(confCall2).getState(); in listCurrentCallsCdmaConference()
510 doReturn(Call.STATE_ACTIVE).when(activeCall).getState(); in listCurrentCallsCallHandleChanged()
607 doReturn(Call.STATE_ACTIVE).when(ringingCall).getState(); in callClccCache()
718 doReturn(Call.STATE_ACTIVE).when(parentCall).getState(); in listCurrentCallsImsConference()
[all …]
DCallInfoTest.java95 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in getActiveCall()
151 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in hasOnlyDisconnectedCalls_withConnectedCall()
223 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in getCallByState_withNoMatchingCall()
237 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in getCallByStates_withNoMatchingCall()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGenericTest.java298 mTbsGeneric.callStateChanged(ccid, callUuid, BluetoothLeCall.STATE_ACTIVE); in testCallStateChanged()
307 assertThat(capturedTbsCall.getState()).isEqualTo(BluetoothLeCall.STATE_ACTIVE); in testCallStateChanged()
387 mTbsGeneric.callStateChanged(ccid, callUuid, BluetoothLeCall.STATE_ACTIVE); in testCallAccept()
411 BluetoothLeCall.STATE_ACTIVE, in testCallTerminate()
465 BluetoothLeCall.STATE_ACTIVE, in testCallHold()
549 mTbsGeneric.callStateChanged(ccid, callUuid, BluetoothLeCall.STATE_ACTIVE); in testCallRetrieve()
627 BluetoothLeCall.STATE_ACTIVE, in testCallJoin()
662 mTbsGeneric.callStateChanged(ccid, callUuids.get(0), BluetoothLeCall.STATE_ACTIVE); in testCallJoin()
731 BluetoothLeCall.STATE_ACTIVE, in testCallOperationsBlockedForBroadcastReceiver()
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DManualFocusRing.java76 mFocusState = FocusState.STATE_ACTIVE; in processStates()
79 if (mFocusState == FocusState.STATE_ACTIVE && !mRingRadius.isActive()) { in processStates()
DAutoFocusRing.java85 mFocusState = FocusState.STATE_ACTIVE; in processStates()
88 if (mFocusState == FocusState.STATE_ACTIVE && !mRingRadius.isActive()) { in processStates()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHfpClientConference.java86 && getState() == Connection.STATE_ACTIVE) { in onConnectionAdded()
88 } else if (connection.getState() == Connection.STATE_ACTIVE in onConnectionAdded()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java656 assertEquals(Call.STATE_ACTIVE, in testIncomingThenOutgoingCalls_AssociatedUsersNotEqual()
802 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testPullNonExternalCall()
821 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSendConnectionEventNull()
837 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSendConnectionEventNotNull()
859 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSendCallEventNull()
876 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSendCallEventNonNull()
943 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testCdmaEnhancedPrivacyVoiceCall()
962 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testDropCdmaEnhancedPrivacyVoiceCall()
988 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testPullExternalCall()
1013 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testPullNonPullableExternalCall()
[all …]
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/
DInCallViewModelTest.java97 mInCallModel.updateModelWithPhoneNumber(PHONE_NUMBER, Call.STATE_ACTIVE); in updateModelWithPhoneNumber_active_setsPhoneNumberAndSubtitle()
126 mInCallModel.updateModelWithContact(phoneInfo, Call.STATE_ACTIVE); in updateModelWithContact_active_noAvatarUri_setsContactNameAndInitialsIcon()
142 mInCallModel.updateModelWithContact(phoneInfo, Call.STATE_ACTIVE); in updateModelWithContact_active_invalidAvatarUri_setsContactNameAndInitialsIcon()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/telecom/
DInCallServiceImplTest.java97 mInCallService.mCallStateChangedCallback.onStateChanged(mMockCall, Call.STATE_ACTIVE); in testOnStateChanged()
99 assertThat(mCallListener.mState).isEqualTo(Call.STATE_ACTIVE); in testOnStateChanged()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeCall.java45 STATE_ACTIVE,
80 public static final int STATE_ACTIVE = 0x03; field in BluetoothLeCall
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java271 if (getLastState() == Call.STATE_ACTIVE && state == Call.STATE_HOLDING) { in onStateChanged()
433 && conferenceCall.getState() == Call.STATE_ACTIVE) { in hangupCall()
443 && btCall.getState() == Call.STATE_ACTIVE in hangupCall()
1180 && conferenceCall.getState() == Call.STATE_ACTIVE) { in processChldLocked()
1388 case Call.STATE_ACTIVE -> CallState.ACTIVE; in getBtCallState()
1460 states.add(Call.STATE_ACTIVE); in getForegroundCall()
1543 return getCallByState(Call.STATE_ACTIVE); in getActiveCall()
1599 case Call.STATE_ACTIVE -> BluetoothLeCall.STATE_ACTIVE; in getTbsCallState()
1663 if (state == BluetoothLeCall.STATE_ACTIVE && !mCallInfo.isNullCall(activeChild)) {
1673 state = BluetoothLeCall.STATE_ACTIVE;
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/ndo/
DInCallLiveDataTest.java101 when(mMockDetails.getState()).thenReturn(Call.STATE_ACTIVE); in testOnStateChanged()
102 mInCallLiveData.onStateChanged(mMockCall, Call.STATE_ACTIVE); in testOnStateChanged()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/inputconsumers/
DNavHandleLongPressInputConsumerTest.java180 assertThat(mUnderTest.mState).isEqualTo(DelegateInputConsumer.STATE_ACTIVE); in testLongPressTriggered()
198 assertThat(mUnderTest.mState).isEqualTo(DelegateInputConsumer.STATE_ACTIVE); in testLongPressTriggeredWithSlightVerticalMovement()
212 assertThat(mUnderTest.mState).isEqualTo(DelegateInputConsumer.STATE_ACTIVE); in testLongPressTriggeredWithSlightHorizontalMovement()
243 assertThat(mUnderTest.mState).isEqualTo(DelegateInputConsumer.STATE_ACTIVE); in testLongPressTriggeredWithExtendedTwoStageDuration()
264 assertThat(mUnderTest.mState).isEqualTo(DelegateInputConsumer.STATE_ACTIVE); in testLongPressTriggeredWithNormalDurationInFirstStage()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConferenceController.java135 case Connection.STATE_ACTIVE: in recalculateConferenceable()
311 case Connection.STATE_ACTIVE: in recalculateConference()
DGsmConnection.java76 if (isHoldable() && (getState() == STATE_ACTIVE || getState() == STATE_HOLDING)) { in buildConnectionCapabilities()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionTest.java90 assertThat(mHfpClientConnection.getState()).isEqualTo(Connection.STATE_ACTIVE); in constructorWithCall()
214 assertThat(mHfpClientConnection.getState()).isEqualTo(Connection.STATE_ACTIVE); in enterPrivateMode()
242 assertThat(mHfpClientConnection.getState()).isEqualTo(Connection.STATE_ACTIVE); in handleCallChanged_active()
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoTech.java248 if (call.getState() != Call.STATE_ACTIVE) { in pause()
282 if (call.getState() != Call.STATE_ACTIVE) { in unpause()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionManager.java233 case STATE_ACTIVE: in setState()
259 case Connection.STATE_ACTIVE:
/packages/apps/Traceur/src/com/android/traceur/
DTracingQsService.java70 (tracingOn ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE)); in update()

123