| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This reverts commit 7d0fa830874b20844d525218ce7bd54df8334566.
Change-Id: I5a816b254b2db1ea68ff955adc4c8d4f698717c2
|
|
|
|
|
|
|
|
|
| |
The modemTriggeredPollState breaks airplane mode on some devices.
Although the UI shows that airplane mode is activated, the fact is that
the radio remains active and in service. By using original AOSP pollState()
here, service state in sim status shows correctly radio off.
Change-Id: If2ab5b088a13b1a159e01f82fbea1f58a77b64cd
|
|\
| |
| |
| | |
Change-Id: I0ae7dc11e483e46b2e942339733378d88271dfd8
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/java/android/telephony/SmsManager.java
src/java/com/android/internal/telephony/BaseCommands.java
src/java/com/android/internal/telephony/CommandsInterface.java
src/java/com/android/internal/telephony/GsmCdmaCallTracker.java
src/java/com/android/internal/telephony/GsmCdmaConnection.java
src/java/com/android/internal/telephony/GsmCdmaPhone.java
src/java/com/android/internal/telephony/IccProvider.java
src/java/com/android/internal/telephony/ImsSMSDispatcher.java
src/java/com/android/internal/telephony/InboundSmsHandler.java
src/java/com/android/internal/telephony/Phone.java
src/java/com/android/internal/telephony/PhoneInternalInterface.java
src/java/com/android/internal/telephony/RIL.java
src/java/com/android/internal/telephony/ServiceStateTracker.java
src/java/com/android/internal/telephony/TelephonyEventLog.java
src/java/com/android/internal/telephony/cdma/CdmaSMSDispatcher.java
src/java/com/android/internal/telephony/dataconnection/DcTracker.java
src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java
src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
src/java/com/android/internal/telephony/test/SimulatedCommandsVerifier.java
src/java/com/android/internal/telephony/uicc/AdnRecord.java
src/java/com/android/internal/telephony/uicc/UiccController.java
tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
tests/telephonytests/src/com/android/internal/telephony/ImsSMSDispatcherTest.java
tests/telephonytests/src/com/android/internal/telephony/ServiceStateTrackerTest.java
tests/telephonytests/src/com/android/internal/telephony/gsm/GsmInboundSmsHandlerTest.java
Change-Id: I353ccef1d324716b13196ff6b3a56a74e091de51
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. Update the proto so the version used on the device is
in sync with the version on the server.
2. Added CDMA service state logging in pollStateDoneCdma() and
pollStateDoneCdmaLte().
bug: 31224848
Change-Id: I7c56f4c23ebc0db126d44e9a119ad71289781ca1
|
| | |\
| | | |
| | | |
| | | | |
into the new TelephonyMetrics" into nyc-mr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
app into the new TelephonyMetrics
Added the new TelephonyMetrics to support metrics collection
through dumpsys.
bug: 31224848
Change-Id: If4b6032e98b6cc8b68e8459e0e799a3755b1f2f9
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If we change phone types after falling into a roaming condition
(due to other bug/race) we were tossing the old state and not
notifying listeners. This could leave listeners thinking we
were still roaming.
Also added logging to try to catch this in the future and made
DataConnection (a listener) more robust by rechecking the roaming
state when it connects.
bug:31278802
Change-Id: Ica5b2bbf1cb6fde5bc11994d1a699c53ac562ade
|
| | |
| | |
| | |
| | |
| | | |
Bug: 31308687
Change-Id: Id8907abc8f76cc77b5bcfeee4d5ed34bf18e71e3
|
| | |
| | |
| | |
| | |
| | | |
Bug: 30474919
Change-Id: I082dfd847316c15a2e4eda86e21e003e3ac398d5
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead use a new hidden field in ServiceState until we
get a real api in O.
bug:30480638
Change-Id: I40e3eeddced2c8f078c51fe8be4d45ce2e1139df
|
| | |\ \
| | | |/
| | |/| |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Earlier state was never polled in APM. With b/27486486 it was done
on network state changes since that is considered a modem trigger.
RAT and radio state changes are also modem triggers and should
trigger pollState().
Bug: 30286279
Change-Id: I6695a8db5b61170643cc4a81c7db25072804b306
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make them the same as LTE since we don't have an overlay setting for
LTE_CA (nor do we want one).
Also noticed that on CDMA/CDMA+LTE we didn't enable the ratcheting
mechanism so we'd bounce between LTE and LTE_CA unnecessarily.
bug:30269506
Change-Id: I34d308c7ee92745ce18700f31b8b68e78728b01e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In order to be sure that the Radio is available to communicate, we now
check to see if the radio is available for commands. We are going to use
this in emergency calling to make sure that the Radio is on (and not
still in the unavailable state) after disabling airplane mode.
Bug: 29039211
Change-Id: I3ee828e165f8e9501de4650c06172ad33c93d51f
|
| | |
| | |
| | |
| | |
| | | |
Bug: 29645680
Change-Id: Ic179390dbab365a026e159895c2c5de2ad90508e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Note this may be redesigned in O to better handle the
various bitrate/channel combinations in a sane way.
bug:27360321
Change-Id: I29dc8cbbdec60b3a5c0eed8117e3b7bb27f429ed
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Only reports transitions to higher RATs within a given family.
Reset when we move to a new cell.
Avoids costly propogation of RAT flapping within the family,
for example every outgoing data pops us into a higher RAT and
idle time pops us back down.
bug:27360321
Change-Id: Ifd219eda701eb2c87a8b6798d919f71fab804f5d
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
-framework will ignore NITZ time after Jan 1, 2038 to avoid malicious
basestation hack phone time and cause phone crashes
-unit test
Bug: 29083635
Change-Id: I4f60610ed13f5d6e7b0cf18f43708be2e528368c
|
| | |\ \
| | | |/
| | |/|
| | | |
| | | |
| | | | |
am: 5dc5ace26c
Change-Id: I3ef1cb4cc70cc8adb0f7342c20f2905864eb5c20
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- add new api to control provisioning notification visibility through
network agent
- rework on the interaction between carrier app and framework
- code cleanup
- unit test support
- hook pco value into datacallcomplete, enabling test by set sysprop for
pco values
Bug: 28567303
Change-Id: Id6b9b2aff4c4f128103593aab0bcef1c3a365141
|
|\| | |
| | | |
| | | |
| | | | |
Change-Id: Iac319efc8e8bb6220bea40e8e2961a722596bc25
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- if radio is already in the off state,
the SHUTDOWN request is not sent down
- Adding a condition to send the request
immediately
Change-Id: I92c108794252538b77b79d897cea8f8ea7489a17
CRs-Fixed: 1085035
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
- Change access specifier for variables
Change-Id: I7671cf955e058a5059c9ac7c532fc23252f2e2f8
CRs-Fixed: 1077509
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SPN display text is based on both voice service state
and data service state.
Eg - Voice service state is OOS and data service state
is IN_SERVICE. In such cases, both regStates need to be
considered to determine what to show in UI for SPN.
Fix the wrong CDMA carrier text in expanded status bar.
After updating operator, the expanded status bar will
update SPN
For GSM, SPN is "no service" if service is out of service.
For CDMA, SPN is CDMA carrier. Check current service
state whether out of service, if yes, display "no service"
instead of SPN.
CRs-Fixed: 711942, 532471
Change-Id: Ic46ac0c7e3af51a380bb2db5d71a71bf9595c2ec
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
if mUiccAppType is RUIM:
use RuimRecords for mcc/mnc lookup.
else
Use mIccRecords of mUiccAppType for mcc/mnc.
Above algorithm mandates that mUiccAppType MUST always be
correct for current configuration. This is controlled by
VOICE_RADIO_TECH and mPrecisePhoneType
For the configuration where simcard has only RuimApp and SimApp.
- In home network, VOICE_RADIO_TECH would indicate 1x.
- This would result in enforcing that phonetype be CDMA.
- MCC/MNC lookup on GsmCdmaPhone would result in using RuimRecords.
- *#0000# would show RuimRecords parameters.
- In roaming GSM networks, VOICE_RADIO_TECH would indicate 3GPP RAT value.
- this would force phone type to change from cdma >> GSM.
- SimRecords would be used in mcc/mnc lookup.
- *#0000# would show SimRecords parameters.
For the configuration where simcard has CsimApp, UsimApp and Isimapp.
- In home/roaming network, VOICE_RADIO_TECH would indicate 3GPP-rats/1x/LTE
- GsmCdmaPhone would use SimRecords irrespective of VOICE_RADIO_TECH value.
- *#0000# would show SimRecords or RuimRecords parameters based on current
phoneType and VOICE_RADIO_TECH.
For the configurations where simcard has Csimapp or just RuimApp.
- RuimRecords would be used in mcc/mnc lookup.
- *#0000# woud show RuimRecords parameters.
Change-Id: Id2ac103c1d6fc6a3dbe6849f73ce92f84b5305ad
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Display roaming searching text in the device when cdma subscription
source is NV.As per current implementation, ERI file is always loaded
ir-respective of NV or RUIM.
Change-Id: I6858e47e669ad5068481d516fb36606e7cb55bb6
CRs-Fixed: 646971
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Handle IMS capabilities changed indication and update
service state.
Change-Id: I54e3a51c2756c5e399432f89fb6250c5a2ae93a9
CRs-Fixed: 998552
|
| | |
| | |
| | |
| | | |
Change-Id: I5f8561aad14cd49af87ece481bd598ac4a99bad8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- The shutdown command is not sent to
the modem for a graceful shutdown when
the modem is in offline state in which,
the RADIO_POWER off request is rejected
- Send the shutdown command as soon as
the device has been given a chance to
power down the radio
CRs-Fixed: 977534
Change-Id: I2fc2eae04918f3927e93924f6ae7b3e19f920de2
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replace isActiveSubId() in some places where isValidSubscriptionId()
method used, this change is to filter out DUMMY subId value
Change access modifier of below method and enum to protected
- handleSimLoaded()
- EVENT_SIM_LOCKED_QUERY_ICCID_DONE
Change-Id: I768d6de927fc49a6cc5c06f2102b8688e6191c57
CRs-Fixed: 1034971
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update operator alphalong when voice or data is in service
Change-Id: I3e0d41b424606516d60319a76f22e2bde6ad3dcd
CRs-Fixed: 822749
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Handle LTE_CA equivalent of LTE RAT.
CRs-Fixed: 873290
Change-Id: I8cfd5fdf71e533e225bb823e8fea2074bd79e98e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the process of extending ServicestateTracker class to
QtiServiceStateTracker, Modify Access modifier types of
few variables and method from private to protected to
access from child class.
Change-Id: I04c05d432094c4d46216fcca58f776b0e6e7863c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- In ServiceStateTracker, decode the "concurrent services support
indicator" field from RIL_REQUEST_VOICE_REGISTRATION_STATE
request and based on the value of this CSSI field allow concurrent
CS and PS services to applications.
- Notify data connection changed on CSS indicator update.
- When the phone moves from a DTM cell to a non DTM cell while in
active voice call, data connection is not suspended.
To fix this, consider CSS indicator change also for notifying
data connection.
- To determine concurrent voice and data support
we need to query Data Radio Tech
CRs-Fixed: 564063, 641116
Change-Id: I57c445ee28be4e1c0f2934cb136a70d39447511c
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
-framework will ignore NITZ time after Jan 1, 2038 to avoid malicious
basestation hack phone time and cause phone crashes
-unit test
Bug: 29083635
Change-Id: I4f60610ed13f5d6e7b0cf18f43708be2e528368c
|
|/
|
|
|
|
|
|
|
|
| |
The relative frequency of the getAllCellInfo() logs and the
large size of these log lines is contributing substantively
to the log eliding of the RADIO_LOG buffer. Because the RILJ
call contains all the same info these logs add little value.
Bug: 29368040
Change-Id: Ia3ebf3d74986f8f12ac2adbd2dfd7283bb8162b5
|
|
|
|
|
|
|
|
|
| |
Per API review, we want to revert getConfig(int) to
getConfigForSubId(int) (ag/1075011). This CL changes all
callers to use getConfigForSubId(int).
Bug: 28295813
Change-Id: Ib55064226da5371d5acf014c0e0c20f3724d02c4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL removes the legacy code from ServiceStateTracker that
was synthesizing highly incomplete CellInfo reports under very
specific conditions (only in LTE-CDMA mode). This was causing
CellInfo to be sent that consisted of a single LTE Cell Info
report that was missing information. Because this only worked
when the serving cell was LTE / the device was in LTE-CDMA mode
it was also inconsistent.
-Remove the hack to update CellInfo on unsolicited SignalStrength
change reported by RIL (only active in LTE+CDMA mode).
-Remove the hack to update CellInfo on Data Registration State
change.
-Remove the now-unneeded mCellInfo and mCellInfoLte structures
from SST.
-Remove the obsolete decoding for the LTE Cell Info in the
DATA_REGISTRATION_STATE message.
Bug: 27949013
Change-Id: I0ac6f8f93a1d1177a246d5cd2843025b8f9b34a9
|
|
|
|
|
| |
Bug: 25203607
Change-Id: I3bbef77edf57eaa8d7da24d687cc9b5ab0ef111b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
fix the scenario: ICC records are loaded and OTASP_NEEDED, and then
we switch from CDMA->GSM->CDMA. In that case we end up sending
NOT_NEEDED and UNINITIALIZED, or just UNINITIALIZED -- and in either
case we don't send NEEDED again.
Bug: 28056182
Change-Id: I56d16fe68aeb69f333e53f4a4cd643c2143d39f5
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Error alert and notification messages are stored as string arrays in
resources. CarrierConfig stores carrier-specific error codes and corresponding
index which is used to get appropriate messages.
- Supported SPN formats are stored as string arrays in resources. CarrierConfig
stores index used to get appropriate SPN format.
Bug: 27170754
Change-Id: I7f3635ec0ae73d6190b4b73b11ad13058fc25d54
|
|\ \
| | |
| | |
| | | |
ConnectivityMetricsLogger" into nyc-dev
|
| | |
| | |
| | |
| | |
| | | |
Bug: 28026463
Change-Id: I3c4f14e8a6611f0cb5c52eb24573621d3a13c4cb
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
Used Carrier Config to load correct ERI configuration file since
there are MCC/MNC shared by different carriers.
bug: 23887558
Change-Id: Ibe2ff7862bf50e31b52fb783c49bda993f8d2ca7
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| | |
am: 9dd3a9f
* commit '9dd3a9fff75ee1d6aceff626126f6e3324f20ddb':
Notify call state when phone app starts and SIM is loaded.
Change-Id: I016c765ef34dac41dd8245c16fdb877fefbe1c81
|