Home
last modified time | relevance | path

Searched refs:mSimulatedCommands (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java183 sst = new ServiceStateTracker(mPhone, mSimulatedCommands); in onLooperPrepared()
248 mSimulatedCommands.setVoiceRegState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME); in setUp()
249 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_HSPA); in setUp()
250 mSimulatedCommands.setDataRegState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME); in setUp()
251 mSimulatedCommands.setDataRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_HSPA); in setUp()
357 boolean oldState = (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPower()
361 != (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON)); in testSetRadioPower()
370 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_OFF); in testSetRadioPowerOnForEmergencyCall()
375 assertTrue(mSimulatedCommands.mSetRadioPowerForEmergencyCall); in testSetRadioPowerOnForEmergencyCall()
376 assertTrue(mSimulatedCommands.mSetRadioPowerAsSelectedPhoneForEmergencyCall); in testSetRadioPowerOnForEmergencyCall()
[all …]
DCellularNetworkServiceTest.java119 mSimulatedCommands.setVoiceRegState(voiceRegState); in testGetNetworkRegistrationInfo()
120 mSimulatedCommands.setVoiceRadioTech(voiceRadioTech); in testGetNetworkRegistrationInfo()
121 mSimulatedCommands.setDataRegState(dataRegState); in testGetNetworkRegistrationInfo()
122 mSimulatedCommands.setDataRadioTech(dataRadioTech); in testGetNetworkRegistrationInfo()
123 mSimulatedCommands.mCssSupported = cssSupported; in testGetNetworkRegistrationInfo()
124 mSimulatedCommands.mRoamingIndicator = roamingIndicator; in testGetNetworkRegistrationInfo()
125 mSimulatedCommands.mSystemIsInPrl = systemIsInPrl; in testGetNetworkRegistrationInfo()
126 mSimulatedCommands.mDefaultRoamingIndicator = defaultRoamingIndicator; in testGetNetworkRegistrationInfo()
127 mSimulatedCommands.mReasonForDenial = reasonForDenial; in testGetNetworkRegistrationInfo()
128 mSimulatedCommands.mMaxDataCalls = maxDataCalls; in testGetNetworkRegistrationInfo()
[all …]
DSmsStorageMonitorTest.java57 mSimulatedCommands.notifyIccSmsFull(); in testEventIccFull()
70 mSimulatedCommands.notifyRadioOn(); in testSmsMemoryStatus()
84 mSimulatedCommands.notifyRadioOn(); in testSmsMemoryStatus()
97 mSimulatedCommands.notifyRadioOn(); in testSmsMemoryStatus()
DGsmCdmaCallTrackerTest.java67 mSimulatedCommands.setRadioPower(true, null); in setUp()
68 mPhone.mCi = this.mSimulatedCommands; in setUp()
116 mSimulatedCommands.progressConnectingToActive(); in testMOCallPickUp()
236 mSimulatedCommands.triggerRing(mDialString); in setupRingingCall()
326 mSimulatedCommands.progressConnectingToActive(); in testMOCallPickUpHangUpResumeBackGround()
448 mSimulatedCommands.progressConnectingToActive(); in testCantCallOtaspInProgress()
DSmsDispatchersControllerTest.java159 mSimulatedCommands.setImsRegistrationState(new int[]{1, phoneType}); in switchImsSmsFormat()
160 mSimulatedCommands.notifyImsNetworkStateChanged(); in switchImsSmsFormat()
DTelephonyTest.java303 protected SimulatedCommands mSimulatedCommands; field in TelephonyTest
416 mSimulatedCommands = new SimulatedCommands(); in setUp()
422 mPhone.mCi = mSimulatedCommands; in setUp()
423 mCT.mCi = mSimulatedCommands; in setUp()
668 new CommandsInterface[] {mSimulatedCommands}); in setUp()
694 mSimulatedCommands.dispose(); in tearDown()
DGsmCdmaPhoneTest.java114 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_GSM); in switchToGsm()
122 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_IS95A); in switchToCdma()
135 mPhoneUT = new GsmCdmaPhone(mContext, mSimulatedCommands, mNotifier, true, 0, in setUp()
884 mSimulatedCommands.notifyEmergencyCallbackMode(); in testEmergencyCallbackMessages()
897 mSimulatedCommands.notifyExitEmergencyCallbackMode(); in testEmergencyCallbackMessages()
973 mSimulatedCommands.notifyEmergencyCallbackMode(); in testModemResetInEmergencyCallbackMessages()
1009 mSimulatedCommands.notifyModemReset(); in testModemResetInEmergencyCallbackMessages()
DSubscriptionInfoUpdaterTest.java163 new CommandsInterface[]{mSimulatedCommands}, mPackageManager); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardApplicationTest.java74 mContext, mSimulatedCommands); in setUp()
114 mUiccCardApplication.update(mUiccCardAppStatus, mContext, mSimulatedCommands); in testGetSetAppType()
126 mUiccCardApplication.update(mUiccCardAppStatus, mContext, mSimulatedCommands); in testGetSetAppState()
144 mUiccCardApplication.setIccFdnEnabled(true, mSimulatedCommands.DEFAULT_SIM_PIN2_CODE, in testGetSetIccFdnEnabled()
160 mUiccCardApplication.setIccLockEnabled(true, mSimulatedCommands.DEFAULT_SIM_PIN_CODE, in testGetSetIccLockedEnabled()
170 mUiccCardApplication.changeIccLockPassword(mSimulatedCommands.DEFAULT_SIM_PIN_CODE, in testChangeIccLockPassword()
174 eq(mSimulatedCommands.DEFAULT_SIM_PIN_CODE), eq("1111"), eq(TAG), (Message) any()); in testChangeIccLockPassword()
183 mUiccCardApplication.supplyPin(mSimulatedCommands.DEFAULT_SIM_PIN_CODE, mSupplyPin); in testSupplyPin()
193 assertEquals(mSimulatedCommands.DEFAULT_PIN1_ATTEMPT - 1, mAttemptsRemaining); in testSupplyPin()
215 mUiccCardApplication.update(mUiccCardAppStatus, mContext, mSimulatedCommands); in testAppStateChangeNotification()
[all …]
DUiccSlotTest.java69 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, 0 /* phoneId */, in onLooperPrepared()
140 mSimulatedCommands.setRadioPower(true, null); in testUpdateActiveSlotStatus()
149 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateActiveSlotStatus()
160 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateActiveSlotStatus()
194 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsSupported()
229 mUiccSlot.update(mSimulatedCommands, iss, 0 /* slotIndex */); in testUpdateSlotStatusEuiccIsNotSupported()
243 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUpdateAbsentState()
285 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotCreateAndDispose()
287 anyObject(), eq(mSimulatedCommands), eq(mIccCardStatus), anyInt(), anyObject(), in testUiccSlotCreateAndDispose()
295 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotCreateAndDispose()
[all …]
DIccRecordsTest.java72 mIccRecords = new SIMRecords(mUiccCardApplication3gpp, mContext, mSimulatedCommands); in onLooperPrepared()
154 mSimulatedCommands.setAuthenticationMode(mSimulatedCommands.ICC_AUTHENTICATION_MODE_NULL); in testGetIccSimChallengeResponseNull()
163 timeSpent < mSimulatedCommands.ICC_SIM_CHALLENGE_TIMEOUT_MILLIS); in testGetIccSimChallengeResponseNull()
174 mSimulatedCommands.setAuthenticationMode( in testGetIccSimChallengeResponseTimeout()
175 mSimulatedCommands.ICC_AUTHENTICATION_MODE_TIMEOUT); in testGetIccSimChallengeResponseTimeout()
183 timeSpent >= mSimulatedCommands.ICC_SIM_CHALLENGE_TIMEOUT_MILLIS); in testGetIccSimChallengeResponseTimeout()
213 mSimulatedCommands.setAuthenticationMode( in testGetIccSimChallengeResponseDefault()
214 mSimulatedCommands.ICC_AUTHENTICATION_MODE_DEFAULT); in testGetIccSimChallengeResponseDefault()
224 timeSpent < mSimulatedCommands.ICC_SIM_CHALLENGE_TIMEOUT_MILLIS); in testGetIccSimChallengeResponseDefault()
DUiccCardTest.java67 mSimulatedCommands.setIccIoResultForApduLogicalChannel(mIccIoResult); in setUp()
68 mUiccCard = new UiccCard(mContext, mSimulatedCommands, mIccCardStatus, 0 /* phoneId */, in setUp()
102 mSimulatedCommands.setOpenChannelId(mChannelId); in testUpdateUiccCardState()
104 mUiccCard.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccCardState()
DUiccProfileTest.java107 mSimulatedCommands.setIccIoResultForApduLogicalChannel(mIccIoResult); in setUp()
108 mUiccProfile = new UiccProfile(mContext, mSimulatedCommands, mIccCardStatus, in setUp()
177 mUiccProfile.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfileApplication()
191 mSimulatedCommands.setOpenChannelId(mChannelId); in testUpdateUiccProfile()
192 mUiccProfile.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfile()
208 mUiccProfile.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfilePinState()
251 mUiccProfile.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfileApplicationNotReady()
281 mUiccProfile.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfileApplicationAllReady()
313 mUiccProfile.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfileApplicationAllSupportedAppsReady()
349 mUiccProfile.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfileApplicationWithDuplicateApps()
[all …]
DUiccStateChangedLauncherTest.java103 UiccCard card = new UiccCard(mContext, mSimulatedCommands, in testProvisioningPackageSet()
118 card.update(mContext, mSimulatedCommands, in testProvisioningPackageSet()
133 card.update(mContext, mSimulatedCommands, in testProvisioningPackageSet()
DUiccControllerTest.java108 mSimulatedCommands.setIccCardStatus(mIccCardStatus); in setUp()
170 mSimulatedCommands.requestShutdown(null); in testPowerOff()
173 assertEquals(TelephonyManager.RADIO_POWER_UNAVAILABLE, mSimulatedCommands.getRadioState()); in testPowerOff()
178 mSimulatedCommands.setRadioPower(true, null); in testPowerOn()
181 assertEquals(TelephonyManager.RADIO_POWER_ON, mSimulatedCommands.getRadioState()); in testPowerOn()
202 mSimulatedCommands.setIccCardStatus(mIccCardStatus); in testPowerOffPowerOnWithApp()
DIsimUiccRecordsTest.java58 … mIsimUiccRecords = new IsimUiccRecords(mUiccCardApplication3gpp, mContext, mSimulatedCommands); in onLooperPrepared()
DSIMRecordsTest.java103 mSimulatedCommands, in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTrackerTest.java78 mEmergencyNumberTrackerMock = new EmergencyNumberTracker(mPhone, mSimulatedCommands); in setUp()
79 mEmergencyNumberTrackerMock2 = new EmergencyNumberTracker(mPhone2, mSimulatedCommands); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java143 mSimulatedCommands.notifySmsStatus(new byte[]{(byte)0xFF, (byte)0xFF, (byte)0xFF}); in testSmsStatus()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java528 mSimulatedCommands.setDataCallResult(true, createSetupDataCallResult()); in setUp()
670 mSimulatedCommands.setDataCallResult(true, createSetupDataCallResult()); in testDataSetup()
712 mSimulatedCommands.setDataCallResult(true, result); in testDataRetry()
738 mSimulatedCommands.setDataCallResult(true, createSetupDataCallResult()); in testDataRetry()
1983 mSimulatedCommands.setDataCallResult(true, createSetupDataCallResult()); in testRatChanged()