Home
last modified time | relevance | path

Searched refs:getState (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java106 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
107 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
113 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
115 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect()
138 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect()
140 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect()
156 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testTelecomManagerAcceptRingingCall()
157 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testTelecomManagerAcceptRingingCall()
183 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testTelecomManagerAcceptRingingVideoCall()
184 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testTelecomManagerAcceptRingingVideoCall()
[all …]
DCallAudioManagerTest.java123 when(call.getState()).thenReturn(CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
147 when(call2.getState()).thenReturn(CallState.RINGING); in testUnmuteOfSecondIncomingCall()
185 when(call.getState()).thenReturn(CallState.ACTIVE);
218 when(call.getState()).thenReturn(CallState.ANSWERED);
238 when(call.getState()).thenReturn(CallState.ACTIVE);
253 when(call.getState()).thenReturn(CallState.CONNECTING);
273 when(call.getState()).thenReturn(CallState.DIALING);
282 when(call.getState()).thenReturn(CallState.ACTIVE);
302 when(call.getState()).thenReturn(CallState.NEW);
312 when(call.getState()).thenReturn(CallState.AUDIO_PROCESSING);
[all …]
DBluetoothPhoneServiceTest.java262 when(activeCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsOneCall()
280 when(silentRingingCall.getState()).thenReturn(CallState.RINGING); in testListCurrentCallsSilentRinging()
310 when(confCall1.getState()).thenReturn(CallState.ACTIVE); in testConferenceInProgressCDMA()
311 when(confCall2.getState()).thenReturn(CallState.ACTIVE); in testConferenceInProgressCDMA()
359 when(foregroundCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaHold()
360 when(heldCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaHold()
401 when(confCall1.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaConference()
402 when(confCall2.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaConference()
443 when(waitingCall.getState()).thenReturn(CallState.RINGING); in testWaitingCallClccResponse()
461 when(newCall.getState()).thenReturn(CallState.NEW); in testNewCallClccResponse()
[all …]
DConnectionServiceFocusManagerTest.java212 int previousState = activeCall.getState(); in testCallStateChangedAffectCallFocus()
213 when(activeCall.getState()).thenReturn(CallState.ON_HOLD); in testCallStateChangedAffectCallFocus()
215 (Call) activeCall, previousState, activeCall.getState()); in testCallStateChangedAffectCallFocus()
224 when(newActivateCall.getState()).thenReturn(CallState.ACTIVE); in testCallStateChangedAffectCallFocus()
239 when(mNewCall.getState()).thenReturn(CallState.ACTIVE); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
246 when(mActiveCall.getState()).thenReturn(CallState.ON_HOLD); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
365 when(call.getState()).thenReturn(state); in createFakeCall()
DTelecomSystemTest.java646 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
647 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
652 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
653 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in outgoingCallPhoneAccountSelected()
694 emergencyIds.mCallId).getState()); in triggerEmergencyRedial()
696 emergencyIds.mCallId).getState()); in triggerEmergencyRedial()
1015 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in startAndMakeActiveOutgoingCall()
1017 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in startAndMakeActiveOutgoingCall()
1026 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in startAndMakeActiveOutgoingCall()
1027 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in startAndMakeActiveOutgoingCall()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java193 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in doEnable()
234 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in doEnable()
238 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in doDisable()
271 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in doDisable()
325 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testGattStartTimeout()
347 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testGattStartTimeout()
357 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testGattStopTimeout()
383 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testGattStopTimeout()
392 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testProfileStartTimeout()
437 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testProfileStopTimeout()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DMethodStateTest.java95 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionsToEapSim()
96 MethodState methodState = (MethodState) mEapStateMachine.getState(); in testProcessTransitionsToEapSim()
109 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionToEapAka()
110 MethodState methodState = (MethodState) mEapStateMachine.getState(); in testProcessTransitionToEapAka()
126 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionToEapAkaPrime()
127 MethodState methodState = (MethodState) mEapStateMachine.getState(); in testProcessTransitionToEapAkaPrime()
140 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionToEapMsChapV2()
141 MethodState methodState = (MethodState) mEapStateMachine.getState(); in testProcessTransitionToEapMsChapV2()
154 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionToEapTtls()
155 MethodState methodState = (MethodState) mEapStateMachine.getState(); in testProcessTransitionToEapTtls()
[all …]
DEapSimStateTest.java101 EapMethodState preNotification = (EapMethodState) mEapSimMethodStateMachine.getState(); in testProcessNotification()
104 assertEquals(preNotification, mEapSimMethodStateMachine.getState()); in testProcessNotification()
116 EapMethodState preProcess = (EapMethodState) mEapSimMethodStateMachine.getState(); in testProcessEapSimNotification()
127 assertEquals(preProcess, mEapSimMethodStateMachine.getState()); in testProcessEapSimNotification()
136 EapMethodState preProcess = (EapMethodState) mEapSimMethodStateMachine.getState(); in testProcessInvalidDecodeResult()
143 assertEquals(preProcess, mEapSimMethodStateMachine.getState()); in testProcessInvalidDecodeResult()
DEapAkaStateTest.java100 EapMethodState preNotification = (EapMethodState) mEapAkaMethodStateMachine.getState(); in testProcessNotification()
103 assertEquals(preNotification, mEapAkaMethodStateMachine.getState()); in testProcessNotification()
115 EapMethodState preProcess = (EapMethodState) mEapAkaMethodStateMachine.getState(); in testProcessEapAkaNotification()
126 assertEquals(preProcess, mEapAkaMethodStateMachine.getState()); in testProcessEapAkaNotification()
135 EapMethodState preProcess = (EapMethodState) mEapAkaMethodStateMachine.getState(); in testProcessInvalidDecodeResult()
142 assertEquals(preProcess, mEapAkaMethodStateMachine.getState()); in testProcessInvalidDecodeResult()
DEapAkaPrimeStateTest.java58 EapMethodState preNotification = (EapMethodState) mStateMachine.getState(); in testProcessNotification()
61 assertEquals(preNotification, mStateMachine.getState()); in testProcessNotification()
72 EapMethodState preProcess = (EapMethodState) mStateMachine.getState(); in testProcessInvalidDecodeResult()
79 assertEquals(preProcess, mStateMachine.getState()); in testProcessInvalidDecodeResult()
91 assertTrue(mStateMachine.getState() instanceof FinalState); in testHandleEapFailure()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DStateMachineTest.java233 Assert.assertEquals(smQuitTest.mS1, lr.getState()); in testStateMachineQuit()
238 Assert.assertEquals(smQuitTest.mS1, lr.getState()); in testStateMachineQuit()
335 Assert.assertEquals(smQuitNowTest.mS1, lr.getState()); in testStateMachineQuitNow()
340 Assert.assertEquals(smQuitNowTest.mS1, lr.getState()); in testStateMachineQuitNow()
542 Assert.assertEquals(smEnterExitTranstionToTest.mS1, lr.getState()); in testStateMachineEnterExitTransitionToTest()
546 Assert.assertEquals(smEnterExitTranstionToTest.mS1, lr.getState()); in testStateMachineEnterExitTransitionToTest()
550 Assert.assertEquals(smEnterExitTranstionToTest.mS2, lr.getState()); in testStateMachineEnterExitTransitionToTest()
554 Assert.assertEquals(smEnterExitTranstionToTest.mS2, lr.getState()); in testStateMachineEnterExitTransitionToTest()
560 Assert.assertEquals(smEnterExitTranstionToTest.mS2, lr.getState()); in testStateMachineEnterExitTransitionToTest()
568 Assert.assertEquals(smEnterExitTranstionToTest.mS3, lr.getState()); in testStateMachineEnterExitTransitionToTest()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java175 if (call.getState() == BluetoothHeadsetClientCall.CALL_STATE_DIALING in handleCall()
176 || call.getState() == BluetoothHeadsetClientCall.CALL_STATE_ALERTING in handleCall()
177 || call.getState() == BluetoothHeadsetClientCall.CALL_STATE_ACTIVE in handleCall()
178 || call.getState() == BluetoothHeadsetClientCall.CALL_STATE_HELD) { in handleCall()
183 } else if (call.getState() == BluetoothHeadsetClientCall.CALL_STATE_INCOMING in handleCall()
184 || call.getState() == BluetoothHeadsetClientCall.CALL_STATE_WAITING) { in handleCall()
190 } else if (call.getState() == BluetoothHeadsetClientCall.CALL_STATE_TERMINATED) { in handleCall()
225 Log.d(mTAG, "prevConn " + prevConn.isClosing() + " new call " + newCall.getState()); in isDisconnectingToActive()
227 if (prevConn.isClosing() && prevConn.getCall().getState() != newCall.getState() in isDisconnectingToActive()
228 && newCall.getState() != BluetoothHeadsetClientCall.CALL_STATE_TERMINATED) { in isDisconnectingToActive()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConferenceBase.java143 int oldState = getState(); in setConferenceOnHold()
148 notifyStateChanged(oldState, getState()); in setConferenceOnHold()
155 int oldState = getState(); in setConferenceOnDialing()
160 notifyStateChanged(oldState, getState()); in setConferenceOnDialing()
167 int oldState = getState(); in setConferenceOnRinging()
172 notifyStateChanged(oldState, getState()); in setConferenceOnRinging()
179 int oldState = getState(); in setConferenceOnActive()
184 notifyStateChanged(oldState, getState()); in setConferenceOnActive()
DTelephonyConnection.java154 … connection.getState() == mOriginalConnection.getStateBeforeHandover())) {
1109 if (ringingCall.getState() != Call.State.WAITING) { in performHold()
1217 if (mIsHoldable && (getState() == STATE_ACTIVE || getState() == STATE_HOLDING)) { in buildConnectionCapabilities()
1223 + mIsHoldable + " State = " + getState() + " capabilities = " + callCapabilities); in buildConnectionCapabilities()
1684 if (getState() == current.getState()) { in isConferenceHosted()
1779 && (c.getState() == STATE_ACTIVE || c.getState() == STATE_HOLDING)); in canTransfer()
1884 if (getState() == STATE_DISCONNECTED) { in hangup()
1924 if (getState() == STATE_DISCONNECTED) { in reject()
2006 if (!ringingCall.getState().isRinging()) { in isValidRingingCall()
2093 mOriginalConnectionState = mOriginalConnection.getState(); in setStateOverride()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRow.java104 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_NOT_STARTED; in isRecordingNotStarted()
110 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_IN_PROGRESS; in isRecordingInProgress()
116 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FAILED; in isRecordingFailed()
122 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_CANCELED; in isScheduleCanceled()
127 && (mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FAILED in isRecordingFinished()
128 || mSchedule.getState() == ScheduledRecording.STATE_RECORDING_CLIPPED in isRecordingFinished()
129 || mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FINISHED); in isRecordingFinished()
135 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FINISHED; in hasRecordedProgram()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java140 if (getPhone() != null && getState() == STATE_ACTIVE in onHold()
141 && getPhone().getRingingCall().getState() != Call.State.WAITING) { in onHold()
145 mOriginalConnection.getState() == Call.State.ACTIVE) { in onHold()
160 if (getPhone() != null && getState() == STATE_HOLDING && in onUnhold()
161 getPhone().getForegroundCall().getState() != Call.State.DIALING) { in onUnhold()
165 mOriginalConnection.getState() == Call.State.HOLDING) { in onUnhold()
235 return call != null && call.getState().isRinging() && in isValidRingingCall()
244 Call.State newState = mOriginalConnection.getState(); in updateState()
281 if (getState() == STATE_ACTIVE || getState() == STATE_HOLDING) { in buildCallCapabilities()
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java125 if (telecomCall.getState() == Call.STATE_CONNECTING) { in onCallAdded()
129 } else if (telecomCall.getState() == Call.STATE_RINGING) { in onCallAdded()
149 LogUtil.d("CallList.onCallAdded", "callState=" + call.getState()); in onCallAdded()
161 call.getState() == DialerCallState.INCOMING in onCallAdded()
162 || call.getState() == DialerCallState.CALL_WAITING; in onCallAdded()
209 if (call.getState() == DialerCallState.INCOMING in onCallAdded()
210 || call.getState() == DialerCallState.CALL_WAITING) { in onCallAdded()
234 if (call.getState() != DialerCallState.INCOMING) { in onCallAdded()
525 if (call.getState() == state) { in getCallWithState()
544 if ((call.getState() == DialerCallState.ACTIVE in hasNonParentActiveOrBackgroundCall()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientStateMachineTest.java111 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, mMceStateMachine.getState()); in testDefaultConnectingState()
131 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTED, mMceStateMachine.getState()); in testStateTransitionFromConnectingToDisconnected()
151 Assert.assertEquals(BluetoothProfile.STATE_CONNECTED, mMceStateMachine.getState()); in testStateTransitionFromConnectingToConnected()
172 Assert.assertEquals(BluetoothProfile.STATE_CONNECTED, mMceStateMachine.getState()); in testStateTransitionFromConnectedWithMasDisconnected()
180 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTED, mMceStateMachine.getState()); in testStateTransitionFromConnectedWithMasDisconnected()
199 Assert.assertEquals(BluetoothProfile.STATE_CONNECTED, mMceStateMachine.getState()); in testReceiveEmptyEvent()
204 Assert.assertEquals(BluetoothProfile.STATE_CONNECTED, mMceStateMachine.getState()); in testReceiveEmptyEvent()
222 Assert.assertEquals(BluetoothProfile.STATE_CONNECTED, mMceStateMachine.getState()); in testSetMessageStatus()
231 Assert.assertEquals(BluetoothProfile.STATE_CONNECTING, mMceStateMachine.getState()); in setupSdpRecordReceipt()
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/
DPrintJobPreferenceControllerTest.java100 when(mPrintJobInfo.getState()).thenReturn(PrintJobInfo.STATE_CREATED); in updateUi_jobState_STATE_CREATED()
111 when(mPrintJobInfo.getState()).thenReturn(PrintJobInfo.STATE_QUEUED); in updateUi_jobState_STATE_QUEUED()
122 when(mPrintJobInfo.getState()).thenReturn(PrintJobInfo.STATE_STARTED); in updateUi_jobState_STATE_STARTED()
133 when(mPrintJobInfo.getState()).thenReturn(PrintJobInfo.STATE_QUEUED); in updateUi_jobState_STATE_QUEUED_and_jobInfo_CANCELLING()
145 when(mPrintJobInfo.getState()).thenReturn(PrintJobInfo.STATE_STARTED); in updateUi_jobState_STATE_STARTED_and_jobInfo_CANCELLING()
157 when(mPrintJobInfo.getState()).thenReturn(PrintJobInfo.STATE_FAILED); in updateUi_jobState_STATE_FAILED()
168 when(mPrintJobInfo.getState()).thenReturn(PrintJobInfo.STATE_BLOCKED); in updateUi_jobState_STATE_BLOCKED()
179 when(mPrintJobInfo.getState()).thenReturn(PrintJobInfo.STATE_BLOCKED); in updateUi_jobState_STATE_BLOCKED_and_jobInfo_CANCELLING()
/packages/services/Telephony/tests/src/com/android/phone/
DNumberVerificationManagerTest.java60 when(ss.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in setUp()
70 when(mForegroundCall.getState()).thenReturn(Call.State.IDLE); in setUp()
71 when(mRingingCall.getState()).thenReturn(Call.State.IDLE); in setUp()
72 when(mBackgroundCall.getState()).thenReturn(Call.State.IDLE); in setUp()
110 when(ss.getState()).thenReturn(ServiceState.STATE_POWER_OFF); in testNoPhoneInServiceFailure()
125 when(mRingingCall.getState()).thenReturn(Call.State.ALERTING); in testAllLinesFullFailure()
141 when(ss.getState()).thenReturn(ServiceState.STATE_POWER_OFF); in testVerificationWorksWithOnePhoneInService()
154 when(fakeCall.getState()).thenReturn(Call.State.ACTIVE); in testVerificationWorksWithOnePhoneFull()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/
DRestrictAppTipTest.java121 assertThat(parcelTip.getState()).isEqualTo(BatteryTip.StateType.NEW); in parcelable()
169 assertThat(mNewBatteryTip.getState()).isEqualTo(BatteryTip.StateType.HANDLED); in update_anomalyBecomeInvisible_stateHandled()
176 assertThat(mHandledBatteryTip.getState()).isEqualTo(BatteryTip.StateType.INVISIBLE); in update_handledAnomlayBecomeInvisible_stateInvisible()
182 assertThat(mInvisibleBatteryTip.getState()).isEqualTo(BatteryTip.StateType.NEW); in update_newAnomalyComes_stateNew()
185 assertThat(mHandledBatteryTip.getState()).isEqualTo(BatteryTip.StateType.NEW); in update_newAnomalyComes_stateNew()
191 assertThat(mInvisibleBatteryTip.getState()).isEqualTo(BatteryTip.StateType.HANDLED); in update_newHandledAnomalyComes_containHandledAnomaly()
203 assertThat(batteryTip.getState()).isEqualTo(BatteryTip.StateType.INVISIBLE); in sanityCheck_appUninstalled_stateInvisible()
215 assertThat(batteryTip.getState()).isEqualTo(BatteryTip.StateType.NEW); in sanityCheck_twoRestrictedAppsWhileUninstallOne_stateVisible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtilsTest.java74 when(mRestrictAppTip.getState()).thenReturn(BatteryTip.StateType.NEW); in testGetActionForBatteryTip_typeRestrictStateNew_returnActionRestrict()
82 when(mRestrictAppTip.getState()).thenReturn(BatteryTip.StateType.HANDLED); in testGetActionForBatteryTip_typeRestrictStateHandled_returnActionOpen()
90 when(mEarlyWarningTip.getState()).thenReturn(BatteryTip.StateType.NEW); in testGetActionForBatteryTip_typeEarlyWarningStateNew_returnActionBatterySaver()
98 when(mEarlyWarningTip.getState()).thenReturn(BatteryTip.StateType.HANDLED); in testGetActionForBatteryTip_typeEarlyWarningStateHandled_returnActionOpen()
106 when(mLowBatteryTip.getState()).thenReturn(BatteryTip.StateType.NEW); in testGetActionForBatteryTip_typeLowBatteryStateNew_returnActionBatterySaver()
114 when(mLowBatteryTip.getState()).thenReturn(BatteryTip.StateType.HANDLED); in testGetActionForBatteryTip_typeLowBatteryStateHandled_returnActionOpen()
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java428 primaryCall.getState(), in onCameraPermissionGranted()
558 primaryCall.getState(), primaryCall.getVideoTech().getSessionModificationState()); in onFullscreenModeChanged()
594 currentCallState != call.getState() || isRemotelyHeld != call.isRemotelyHeld(); in checkForCallStateChange()
624 call.getState(), in checkForCallStateChange()
666 currentCallState = call.getState(); in updateCallCache()
706 call.getState(), call.getVideoTech().getSessionModificationState()); in updateVideoCall()
799 call.getState(), in adjustVideoMode()
1043 if (!isVideoCall(call) || call.getState() == DialerCallState.INCOMING) { in maybeExitFullscreen()
1062 || call.getState() != DialerCallState.ACTIVE in maybeAutoEnterFullscreen()
1288 final int state = call.getState(); in isIncomingVideoCall()
[all …]
DCallCardPresenter.java171 startContactInfoSearch(call, true, call.getState() == DialerCallState.INCOMING); in onInCallScreenDelegateInit()
343 callState = this.primary.getState(); in onStateChange()
463 !VideoCallPresenter.showIncomingVideo(primary.getVideoState(), primary.getState()); in updatePrimaryCallState()
467 .setState(primary.getState()) in updatePrimaryCallState()
515 if (primary.getState() == DialerCallState.ACTIVE) { in getSwapToSecondaryButtonState()
575 startContactInfoSearch(call, isPrimary, call.getState() == DialerCallState.INCOMING); in maybeStartSearch()
651 !VideoCallPresenter.showIncomingVideo(primary.getVideoState(), primary.getState()); in updatePrimaryDisplayInfo()
976 return DialerCallState.isDialing(primary.getState()) in hasOutgoingGatewayCall()
1039 return primary != null && primary.getState() == DialerCallState.ACTIVE; in isPrimaryCallActive()
1091 boolean screenIsOn = display.getState() == Display.STATE_ON; in sendAccessibilityEvent()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DRestrictAppDetectorTest.java128 assertThat(mRestrictAppDetector.detect().getState()).isEqualTo(BatteryTip.StateType.NEW); in testDetect_hasAnomaly_tipNew()
142 assertThat(mRestrictAppDetector.detect().getState()) in testDetect_hasAutoHandledAnomaly_tipHandled()
155 assertThat(restrictAppTip.getState()).isEqualTo(BatteryTip.StateType.NEW); in testDetect_typeNewHasUninstalledAnomaly_removeIt()
172 assertThat(restrictAppTip.getState()).isEqualTo(BatteryTip.StateType.NEW); in testDetect_typeNewHasRestrictedAnomaly_removeIt()
192 assertThat(restrictAppTip.getState()).isEqualTo(BatteryTip.StateType.INVISIBLE); in testDetect_typeHandledHasUnRestrictedAnomaly_removeIt()
200 assertThat(mRestrictAppDetector.detect().getState()) in testDetect_noAnomaly_tipInvisible()

12345678910>>...16