/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ServiceStateTrackerTest.java | 182 sst = new ServiceStateTracker(mPhone, mSimulatedCommands); in onLooperPrepared() 247 mSimulatedCommands.setVoiceRegState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME); in setUp() 248 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_HSPA); in setUp() 249 mSimulatedCommands.setDataRegState(NetworkRegistrationInfo.REGISTRATION_STATE_HOME); in setUp() 250 mSimulatedCommands.setDataRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_HSPA); in setUp() 320 boolean oldState = (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPower() 324 != (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON)); in testSetRadioPower() 333 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier() 341 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier() 349 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerFromCarrier() [all …]
|
D | CellularNetworkServiceTest.java | 118 mSimulatedCommands.setVoiceRegState(voiceRegState); in testGetNetworkRegistrationInfo() 119 mSimulatedCommands.setVoiceRadioTech(voiceRadioTech); in testGetNetworkRegistrationInfo() 120 mSimulatedCommands.setDataRegState(dataRegState); in testGetNetworkRegistrationInfo() 121 mSimulatedCommands.setDataRadioTech(dataRadioTech); in testGetNetworkRegistrationInfo() 122 mSimulatedCommands.mCssSupported = cssSupported; in testGetNetworkRegistrationInfo() 123 mSimulatedCommands.mRoamingIndicator = roamingIndicator; in testGetNetworkRegistrationInfo() 124 mSimulatedCommands.mSystemIsInPrl = systemIsInPrl; in testGetNetworkRegistrationInfo() 125 mSimulatedCommands.mDefaultRoamingIndicator = defaultRoamingIndicator; in testGetNetworkRegistrationInfo() 126 mSimulatedCommands.mReasonForDenial = reasonForDenial; in testGetNetworkRegistrationInfo() 127 mSimulatedCommands.mMaxDataCalls = maxDataCalls; in testGetNetworkRegistrationInfo() [all …]
|
D | SmsStorageMonitorTest.java | 77 mSimulatedCommands.notifyIccSmsFull(); in testEventIccFull() 90 mSimulatedCommands.notifyRadioOn(); in testSmsMemoryStatus() 104 mSimulatedCommands.notifyRadioOn(); in testSmsMemoryStatus() 117 mSimulatedCommands.notifyRadioOn(); in testSmsMemoryStatus()
|
D | GsmCdmaCallTrackerTest.java | 82 mSimulatedCommands.setRadioPower(true, null); in setUp() 83 mPhone.mCi = this.mSimulatedCommands; in setUp() 135 mSimulatedCommands.progressConnectingToActive(); in testMOCallPickUp() 256 mSimulatedCommands.triggerRing(mDialString); in setupRingingCall() 352 mSimulatedCommands.progressConnectingToActive(); in testMOCallPickUpHangUpResumeBackGround() 486 waitForHandlerAction(mSimulatedCommands.getHandler(), 5000); in testCantCallOtaspInProgress() 487 mSimulatedCommands.progressConnectingToActive(); in testCantCallOtaspInProgress() 488 waitForHandlerAction(mSimulatedCommands.getHandler(), 5000); in testCantCallOtaspInProgress()
|
D | SmsDispatchersControllerTest.java | 177 mSimulatedCommands.setImsRegistrationState(new int[]{1, phoneType}); in switchImsSmsFormat() 178 mSimulatedCommands.notifyImsNetworkStateChanged(); in switchImsSmsFormat()
|
D | GsmCdmaPhoneTest.java | 103 mPhoneUT = new GsmCdmaPhone(mContext, mSimulatedCommands, mNotifier, true, 0, in onLooperPrepared() 110 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_GSM); in switchToGsm() 119 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_IS95A); in switchToCdma() 672 mSimulatedCommands.notifyEmergencyCallbackMode(); in testEmergencyCallbackMessages() 707 mSimulatedCommands.notifyExitEmergencyCallbackMode(); in testEmergencyCallbackMessages() 760 mSimulatedCommands.notifyEmergencyCallbackMode(); in testModemResetInEmergencyCallbackMessages() 795 mSimulatedCommands.notifyModemReset(); in testModemResetInEmergencyCallbackMessages()
|
D | TelephonyTest.java | 253 protected SimulatedCommands mSimulatedCommands; field in TelephonyTest 363 mSimulatedCommands = new SimulatedCommands(); in setUp() 369 mPhone.mCi = mSimulatedCommands; in setUp() 370 mCT.mCi = mSimulatedCommands; in setUp() 594 mSimulatedCommands.dispose(); in tearDown()
|
D | SubscriptionInfoUpdaterTest.java | 121 new CommandsInterface[]{mSimulatedCommands}, mPackageManager); in onLooperPrepared()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccSlotTest.java | 69 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() 286 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotCreateAndDispose() 288 anyObject(), eq(mSimulatedCommands), eq(mIccCardStatus), anyInt(), anyObject(), in testUiccSlotCreateAndDispose() 296 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotCreateAndDispose() [all …]
|
D | UiccCardApplicationTest.java | 65 mContext, mSimulatedCommands); in onLooperPrepared() 74 mSimulatedCommands); in onLooperPrepared() 161 mUiccCardApplication.setIccFdnEnabled(true, mSimulatedCommands.DEFAULT_SIM_PIN2_CODE, in testGetSetIccFdnEnabled() 179 mUiccCardApplication.setIccLockEnabled(true, mSimulatedCommands.DEFAULT_SIM_PIN_CODE, in testGetSetIccLockedEnabled() 190 mUiccCardApplication.changeIccLockPassword(mSimulatedCommands.DEFAULT_SIM_PIN_CODE, in testChangeIccLockPassword() 194 eq(mSimulatedCommands.DEFAULT_SIM_PIN_CODE), eq("1111"), eq(TAG), (Message) any()); in testChangeIccLockPassword() 204 mUiccCardApplication.supplyPin(mSimulatedCommands.DEFAULT_SIM_PIN_CODE, mSupplyPin); in testSupplyPin() 215 assertEquals(mSimulatedCommands.DEFAULT_PIN1_ATTEMPT - 1, mAttemptsRemaining); in testSupplyPin()
|
D | UiccCardTest.java | 66 mSimulatedCommands, mIccCardStatus, 0 /* phoneId */, in onLooperPrepared() 78 mSimulatedCommands, mIccCardStatus); in onLooperPrepared() 84 mSimulatedCommands, mIccCardStatus); in onLooperPrepared() 122 mSimulatedCommands.setIccIoResultForApduLogicalChannel(mIccIoResult); in setUp() 158 mSimulatedCommands.setOpenChannelId(mChannelId); in testUpdateUiccCardState()
|
D | UiccControllerTest.java | 78 new CommandsInterface[]{mSimulatedCommands}); in onLooperPrepared() 111 mSimulatedCommands.setIccCardStatus(mIccCardStatus); in setUp() 160 mSimulatedCommands.requestShutdown(null); in testPowerOff() 163 assertEquals(TelephonyManager.RADIO_POWER_UNAVAILABLE, mSimulatedCommands.getRadioState()); in testPowerOff() 168 mSimulatedCommands.setRadioPower(true, null); in testPowerOn() 171 assertEquals(TelephonyManager.RADIO_POWER_ON, mSimulatedCommands.getRadioState()); in testPowerOn() 191 mSimulatedCommands.setIccCardStatus(mIccCardStatus); in testPowerOffPowerOnWithApp()
|
D | UiccStateChangedLauncherTest.java | 103 UiccCard card = new UiccCard(mContext, mSimulatedCommands, in testProvisioningPackageSet() 118 card.update(mContext, mSimulatedCommands, in testProvisioningPackageSet() 133 card.update(mContext, mSimulatedCommands, in testProvisioningPackageSet()
|
D | UiccProfileTest.java | 89 mSimulatedCommands, mIccCardStatus, 0 /* phoneId */, in onLooperPrepared() 101 mSimulatedCommands, mIccCardStatus); in onLooperPrepared() 107 mSimulatedCommands, mIccCardStatus); in onLooperPrepared() 146 mSimulatedCommands.setIccIoResultForApduLogicalChannel(mIccIoResult); in setUp() 241 mSimulatedCommands.setOpenChannelId(mChannelId); in testUpdateUiccProfile() 264 mUiccProfile.update(mContextFixture.getTestDouble(), mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfilePinState() local
|
D | IccRecordsTest.java | 54 mIccRecords = new SIMRecords(mUiccCardApplication3gpp, mContext, mSimulatedCommands); in onLooperPrepared()
|
D | IsimUiccRecordsTest.java | 58 … mIsimUiccRecords = new IsimUiccRecords(mUiccCardApplication3gpp, mContext, mSimulatedCommands); in onLooperPrepared()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTrackerTest.java | 52 mEmergencyNumberTrackerMock = new EmergencyNumberTracker(mPhone, mSimulatedCommands); in onLooperPrepared()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmCellBroadcastHandlerTest.java | 108 mSimulatedCommands.notifyGsmBroadcastSms(new byte[] { in testBroadcastSms()
|
D | GsmSmsDispatcherTest.java | 144 mSimulatedCommands.notifySmsStatus(new byte[]{(byte)0xFF, (byte)0xFF, (byte)0xFF}); in testSmsStatus()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcTrackerTest.java | 519 mSimulatedCommands.setDataCallResult(true, createSetupDataCallResult()); in setUp() 617 mSimulatedCommands.setDataCallResult(true, createSetupDataCallResult()); in testDataSetup() 665 mSimulatedCommands.setDataCallResult(true, result); in testDataRetry() 701 mSimulatedCommands.setDataCallResult(true, createSetupDataCallResult()); in testDataRetry() 932 mSimulatedCommands.setDataCallResult(true, createSetupDataCallResult()); in testDDSResetAutoAttach()
|