Home
last modified time | relevance | path

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

123

/packages/services/Telephony/tests/src/com/android/services/telephony/
DImsConferenceTest.java99 Connection.STATE_ACTIVE, in testPropertyPropagation()
105 Connection.STATE_ACTIVE, in testPropertyPropagation()
148 Connection.STATE_ACTIVE, in testNotifyOnConferenceCapacityChanged()
154 Connection.STATE_ACTIVE, in testNotifyOnConferenceCapacityChanged()
193 Connection.STATE_ACTIVE, in testSinglePartyEmulation()
199 Connection.STATE_ACTIVE, in testSinglePartyEmulation()
244 Connection.STATE_ACTIVE, in testDisconnectParticipantViaDisconnectState()
250 Connection.STATE_ACTIVE, in testDisconnectParticipantViaDisconnectState()
257 Connection.STATE_ACTIVE, in testDisconnectParticipantViaDisconnectState()
308 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
30 if (mState == STATE_ACTIVE) { in getActiveConsumerInHierarchy()
38 return mDelegate.allowInterceptByParent() && mState != STATE_ACTIVE; in allowInterceptByParent()
63 mState = STATE_ACTIVE; in setActive()
DAccessibilityInputConsumer.java89 if (mState == STATE_ACTIVE) { in onMotionEvent()
118 if (mState == STATE_ACTIVE && mDeviceState.isAccessibilityMenuShortcutAvailable()) { in onMotionEvent()
128 if (mState == STATE_ACTIVE) { in onMotionEvent()
151 if (mState != STATE_ACTIVE) { in onMotionEvent()
DAssistantInputConsumer.java135 if (mState != STATE_ACTIVE) { in onMotionEvent()
222 if (mState != STATE_ACTIVE) { in onMotionEvent()
DTrackpadStatusBarInputConsumer.java53 if (mState != STATE_ACTIVE) { in onMotionEvent()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGenericTest.java279 mTbsGeneric.callStateChanged(ccid, callUuid, BluetoothLeCall.STATE_ACTIVE); in testCallStateChanged()
288 assertThat(capturedTbsCall.getState()).isEqualTo(BluetoothLeCall.STATE_ACTIVE); in testCallStateChanged()
381 mTbsGeneric.callStateChanged(ccid, callUuid, BluetoothLeCall.STATE_ACTIVE); in testCallAccept()
406 BluetoothLeCall.STATE_ACTIVE, in testCallTerminate()
462 BluetoothLeCall.STATE_ACTIVE, in testCallHold()
549 mTbsGeneric.callStateChanged(ccid, callUuid, BluetoothLeCall.STATE_ACTIVE); in testCallRetrieve()
632 BluetoothLeCall.STATE_ACTIVE, in testCallJoin()
669 mTbsGeneric.callStateChanged(ccid, callUuids.get(0), BluetoothLeCall.STATE_ACTIVE); in testCallJoin()
/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/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java268 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in testListCurrentCallsOneCall()
373 when(confCall1.getState()).thenReturn(Call.STATE_ACTIVE); in testConferenceInProgressCDMA()
374 when(confCall2.getState()).thenReturn(Call.STATE_ACTIVE); in testConferenceInProgressCDMA()
440 when(foregroundCall.getState()).thenReturn(Call.STATE_ACTIVE); in testListCurrentCallsCdmaHold()
441 when(heldCall.getState()).thenReturn(Call.STATE_ACTIVE); in testListCurrentCallsCdmaHold()
505 when(confCall1.getState()).thenReturn(Call.STATE_ACTIVE); in testListCurrentCallsCdmaConference()
506 when(confCall2.getState()).thenReturn(Call.STATE_ACTIVE); in testListCurrentCallsCdmaConference()
627 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in testListCurrentCallsCallHandleChanged()
729 when(ringingCall.getState()).thenReturn(Call.STATE_ACTIVE); in testCallClccCache()
847 when(parentCall.getState()).thenReturn(Call.STATE_ACTIVE); in testListCurrentCallsImsConference()
[all …]
DCallInfoTest.java85 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in getActiveCall()
141 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in hasOnlyDisconnectedCalls_withConnectedCall()
213 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in getCallByState_withNoMatchingCall()
227 when(activeCall.getState()).thenReturn(Call.STATE_ACTIVE); in getCallByStates_withNoMatchingCall()
/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()
799 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testPullNonExternalCall()
818 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSendConnectionEventNull()
834 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSendConnectionEventNotNull()
856 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSendCallEventNull()
873 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSendCallEventNonNull()
940 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testCdmaEnhancedPrivacyVoiceCall()
959 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testDropCdmaEnhancedPrivacyVoiceCall()
985 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testPullExternalCall()
1010 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testPullNonPullableExternalCall()
[all …]
DTelecomSystemTest.java700 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
701 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
1104 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in startAndMakeActiveOutgoingCall()
1105 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in startAndMakeActiveOutgoingCall()
1162 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in startAndMakeActiveIncomingCall()
1163 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in startAndMakeActiveIncomingCall()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/
DInCallModelTest.java103 mInCallModel.updateModelWithPhoneNumber(PHONE_NUMBER, Call.STATE_ACTIVE); in updateModelWithPhoneNumber_active_setsPhoneNumberAndSubtitle()
132 mInCallModel.updateModelWithContact(phoneInfo, Call.STATE_ACTIVE); in updateModelWithContact_active_noAvatarUri_setsContactNameAndInitialsIcon()
148 mInCallModel.updateModelWithContact(phoneInfo, Call.STATE_ACTIVE); in updateModelWithContact_active_invalidAvatarUri_setsContactNameAndInitialsIcon()
/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.java241 if (getLastState() == Call.STATE_ACTIVE && state == Call.STATE_HOLDING) { in onStateChanged()
390 && conferenceCall.getState() == Call.STATE_ACTIVE) { in hangupCall()
1107 && conferenceCall.getState() == Call.STATE_ACTIVE) { in _processChld()
1338 case Call.STATE_ACTIVE: in getBtCallState()
1415 states.add(Call.STATE_ACTIVE); in getForegroundCall()
1497 return getCallByState(Call.STATE_ACTIVE); in getActiveCall()
1574 case Call.STATE_ACTIVE: in getTbsCallState()
1575 return BluetoothLeCall.STATE_ACTIVE; in getTbsCallState()
1650 if (state == BluetoothLeCall.STATE_ACTIVE && !mCallInfo.isNullCall(activeChild)) { in createTbsCall()
1660 state = BluetoothLeCall.STATE_ACTIVE; in createTbsCall()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/ndo/
DInCallLiveDataTest.java116 when(mMockDetails.getState()).thenReturn(Call.STATE_ACTIVE); in testOnStateChanged()
117 mCallbackCaptor.getValue().onStateChanged(mMockCall, Call.STATE_ACTIVE); in testOnStateChanged()
/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/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionManager.java233 case STATE_ACTIVE: in setState()
259 case Connection.STATE_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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionTest.java91 assertThat(mHfpClientConnection.getState()).isEqualTo(Connection.STATE_ACTIVE); in constructorWithCall()
215 assertThat(mHfpClientConnection.getState()).isEqualTo(Connection.STATE_ACTIVE); in enterPrivateMode()
243 assertThat(mHfpClientConnection.getState()).isEqualTo(Connection.STATE_ACTIVE); in handleCallChanged_active()
/packages/apps/Traceur/src/com/android/traceur/
DTracingQsService.java70 (tracingOn ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE)); in update()
DStackSamplingQsService.java71 (stackSamplingOn ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE)); in update()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v33/
DSafetyCenterQsTileService.kt73 qsTile.state = Tile.STATE_ACTIVE in onStartListening()

123