/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | ImsConferenceTest.java | 107 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/ |
D | DelegateInputConsumer.java | 14 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()
|
D | AccessibilityInputConsumer.java | 93 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()
|
D | AssistantInputConsumer.java | 135 if (mState != STATE_ACTIVE) { in onMotionEvent() 222 if (mState != STATE_ACTIVE) { in onMotionEvent()
|
D | NavHandleLongPressInputConsumer.java | 147 if (mState != STATE_ACTIVE) { in onMotionEvent() 264 if (mState != STATE_ACTIVE && MAIN_EXECUTOR.getHandler().hasCallbacks(mTriggerLongPress) in cancelLongPress()
|
D | TrackpadStatusBarInputConsumer.java | 56 if (mState != STATE_ACTIVE) { in onMotionEvent()
|
/packages/modules/Bluetooth/android/app/tests/instrumentation/com/android/bluetooth/telephony/ |
D | BluetoothInCallServiceTest.java | 218 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 …]
|
D | CallInfoTest.java | 95 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/ |
D | TbsGenericTest.java | 298 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/ |
D | ManualFocusRing.java | 76 mFocusState = FocusState.STATE_ACTIVE; in processStates() 79 if (mFocusState == FocusState.STATE_ACTIVE && !mRingRadius.isActive()) { in processStates()
|
D | AutoFocusRing.java | 85 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/ |
D | HfpClientConference.java | 86 && 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/ |
D | BasicCallTests.java | 656 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/ |
D | InCallViewModelTest.java | 97 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/ |
D | InCallServiceImplTest.java | 97 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/ |
D | BluetoothLeCall.java | 45 STATE_ACTIVE, 80 public static final int STATE_ACTIVE = 0x03; field in BluetoothLeCall
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/ |
D | BluetoothInCallService.java | 271 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/ |
D | InCallLiveDataTest.java | 101 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/ |
D | NavHandleLongPressInputConsumerTest.java | 180 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/ |
D | TelephonyConferenceController.java | 135 case Connection.STATE_ACTIVE: in recalculateConferenceable() 311 case Connection.STATE_ACTIVE: in recalculateConference()
|
D | GsmConnection.java | 76 if (isHoldable() && (getState() == STATE_ACTIVE || getState() == STATE_HOLDING)) { in buildConnectionCapabilities()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/ |
D | HfpClientConnectionTest.java | 90 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/ |
D | ImsVideoTech.java | 248 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/ |
D | TestConnectionManager.java | 233 case STATE_ACTIVE: in setState() 259 case Connection.STATE_ACTIVE:
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | TracingQsService.java | 70 (tracingOn ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE)); in update()
|