Commit Graph

5107 Commits

Author SHA1 Message Date
Jordan Liu
fd2fc70be2 Merge "Add CallAttributes and PhoneStateListener method" am: 7bc14fcc38 am: 8a6a6a61f8
am: d887e0f5f9

Change-Id: I81363ce1cae66491dc3c539905ce089302929e53
2019-01-14 13:53:38 -08:00
Jordan Liu
d887e0f5f9 Merge "Add CallAttributes and PhoneStateListener method" am: 7bc14fcc38
am: 8a6a6a61f8

Change-Id: I019bafc8fc47758f7cdeae0aee1081f73965fc7b
2019-01-14 12:56:20 -08:00
Nathan Harold
a1ec4ead2c Merge "Add API to Retrieve Detailed SignalStrength Info" am: b6d32aa5e8 am: 1ee0a3de13
am: ce349cfec4

Change-Id: I18d9630985320432870518b402ba7ac57e7b1337
2019-01-14 12:28:00 -08:00
Nathan Harold
6c93f8d18a Merge changes from topic "cellinfocallback-error" am: 360e25280c am: ed0c722aad
am: 28d31b21c4

Change-Id: Ib2f14771f9788f954b30ee6ef3981b9a1b714793
2019-01-14 12:18:44 -08:00
Nathan Harold
ce349cfec4 Merge "Add API to Retrieve Detailed SignalStrength Info" am: b6d32aa5e8
am: 1ee0a3de13

Change-Id: I9abe7802a5e04714275efc901bcff295625c5b1f
2019-01-14 11:37:32 -08:00
Nathan Harold
28d31b21c4 Merge changes from topic "cellinfocallback-error" am: 360e25280c
am: ed0c722aad

Change-Id: I835826b8197bea1e87491a8c18fc938d64c20f8d
2019-01-14 11:30:24 -08:00
Jordan Liu
7bc14fcc38 Merge "Add CallAttributes and PhoneStateListener method" 2019-01-14 18:45:12 +00:00
Nathan Harold
b6d32aa5e8 Merge "Add API to Retrieve Detailed SignalStrength Info" 2019-01-14 17:51:38 +00:00
Nathan Harold
360e25280c Merge changes from topic "cellinfocallback-error"
* changes:
  Add an onError() method to CellInfoCallback
  Add AIDL for ParcelableException
2019-01-14 17:50:39 +00:00
Sooraj Sasindran
a951bbe072 Merge "Rename ANS to ONS" am: c78240df19
am: ac483b306d

Change-Id: I8714b3f7b4c71d817d2a8e8361442f720bf5a5a2
2019-01-12 11:37:42 -08:00
Sooraj Sasindran
c78240df19 Merge "Rename ANS to ONS" 2019-01-12 19:11:53 +00:00
Amruth Ramachandran
6c6528f648 Merge "Add support for LTE VoPS info" am: c43846705b am: 474ed578d1
am: 766e5d7e86

Change-Id: I80ea047797f7142b69a7cafec0bcf66aba13afd8
2019-01-12 04:39:10 -08:00
Amruth Ramachandran
766e5d7e86 Merge "Add support for LTE VoPS info" am: c43846705b
am: 474ed578d1

Change-Id: I1f7f4977d921950736c3f540ed8f68cbea0174dc
2019-01-12 04:27:04 -08:00
Amruth Ramachandran
c43846705b Merge "Add support for LTE VoPS info" 2019-01-12 12:02:19 +00:00
Sooraj Sasindran
10ed4a2b01 Merge "Rename ANS to ONS" 2019-01-12 02:32:31 +00:00
Amruth Ramachandran
a46bc5c266 Add support for LTE VoPS info
LTE VoPS support contains:
    isVopsSupported: This indicates if camped network support VoLTE services.
    isEmcBearerSupported: This indicates if camped network support VoLTE emergency bearers.

Bug:112194535
Test: atest
Change-Id: I6ab186d0423b857daaf579a75a852b230783eb39
2019-01-11 16:33:51 -08:00
Nathan Harold
7484270560 Add an onError() method to CellInfoCallback
There are 2 known types of failures that result in
CellInfo requests to fail:
1) timeout waiting for a response from the modem
2) errors returned from the modem (including the RIL).

This patch adds an explicit onError() callback to
ensure that callers can get detailed error information.

Bug: 120488917
Test: manually tested both error cases by modifying
    RadioResponse.java and forcing both the timeout
    and an explicit error.
Change-Id: Ieb499dc220718aa99a552ea081eb4b4b5c1424aa
2019-01-11 14:42:54 -08:00
Hall Liu
b8d605bc29 Merge "Propagate some SIP INVITE header fields on a MT call" am: a24ced9e9b
am: fb1c1a61db

Change-Id: I85abf94a108439da8a0858778f5fccc10cf2a415
2019-01-11 11:46:07 -08:00
Hall Liu
a24ced9e9b Merge "Propagate some SIP INVITE header fields on a MT call" 2019-01-11 19:17:35 +00:00
Chen Xu
26c60d6d69 Merge "precisedataState refactor part 3" am: 2351fa8b8f
am: f7f229bc1d

Change-Id: Iad8b0677d1853957582c20a86c242bff3512f869
2019-01-11 11:02:38 -08:00
Grace Chen
bf59b843f4 Merge "Add profile class in SubscriptionInfo database" am: 1403b61c05
am: ec0c47f5e7

Change-Id: I7778eac7340eafc2ff80dedc6064c4d655e58f15
2019-01-11 10:55:38 -08:00
Jordan Liu
fd59a81329 Add CallAttributes and PhoneStateListener method
CallAttributes changes will not be reported until we have a full modem
and framework implementation. Registering for one right now is a no-op.

Test: builds
Bug: 110107501
Change-Id: I9c246438de407f5553fd90652e481cdc39b8c844
2019-01-11 10:41:52 -08:00
Pengquan Meng
9ee7ddb414 Merge "Add RIL_RADIO_TECHNOLOGY_NR to IntDef" 2019-01-11 18:13:10 +00:00
Chen Xu
2351fa8b8f Merge "precisedataState refactor part 3" 2019-01-11 18:11:37 +00:00
Treehugger Robot
1403b61c05 Merge "Add profile class in SubscriptionInfo database" 2019-01-11 18:04:44 +00:00
Sooraj Sasindran
9ac6a8b5d4 Rename ANS to ONS
Rename AlternativeNetworkService to OpportunisticNetworkService
Bug: 118347827
Test: compile

Merged-In: Ifbbc5eccd35c4b0c2c4e60a04425f4aea0fdeafd
Change-Id: Ifbbc5eccd35c4b0c2c4e60a04425f4aea0fdeafd
2019-01-11 17:46:50 +00:00
Xiangyu/Malcolm Chen
71839b732d Merge "Add helper API to hide subscriptions when getting active subscriptions" 2019-01-11 07:53:37 +00:00
Sooraj Sasindran
88a17f3b67 Merge "Define entry and exit threshold for opportunistic" am: d748f78231
am: d7f69a3de7

Change-Id: I9edc56b0b4a4bf382ea567bcb1eeeff47da8e5ff
2019-01-10 22:56:58 -08:00
Treehugger Robot
d748f78231 Merge "Define entry and exit threshold for opportunistic" 2019-01-11 06:34:28 +00:00
TreeHugger Robot
2383c6bfc9 Merge "Add profile class in SubscriptionInfo database" 2019-01-11 06:09:36 +00:00
Jiuyu Sun
5f08027714 Merge "Allow privileged carrier app to update subscription nickname." 2019-01-11 03:01:12 +00:00
Grace Chen
5be6e9cb27 Add profile class in SubscriptionInfo database
Bug: 116732485
Test: Basic telephony sanity

Change-Id: I28a6d64c90db94ef0735f4d97f430560b733e797
Merged-In: I28a6d64c90db94ef0735f4d97f430560b733e797
2019-01-10 18:49:08 -08:00
shilu
b7ec9a0c9a Propagate some SIP INVITE header fields on a MT call
These fields can be used for Spoof call detection in the Dialer

Bug: 115537553
Test: compile and test on device
Change-Id: Ib92043536e0fc43e40efc53189a28c4e58064ddc
2019-01-10 15:59:06 -08:00
Sooraj Sasindran
fd617463b4 Rename ANS to ONS
Rename AlternativeNetworkService to OpportunisticNetworkService
Bug: 118347827
Test: compile

Change-Id: Ifbbc5eccd35c4b0c2c4e60a04425f4aea0fdeafd
2019-01-10 15:57:31 -08:00
sqian
03bde886e5 Add Emergency Uniform Resource Number (URN)
Test: Treehugger
Bug: 112657134
Change-Id: I87537f7123910e9843207428eb3167a90a15b6df
2019-01-10 12:54:04 -08:00
chen xu
896e3d4580 precisedataState refactor part 3
1. expose DataFailCause to systemAPI
2. expose PreciseDataState to systemAPI
3. change string apntype to bitmask.
4. change string dataFaiLcause to intdef

Bug: 119891533
Change-Id: Ife380a5063f44f80d41f60ffaecc5185f2f5b16b
(cherry picked from commit 16e24cd5de)
Merged-in: Ife380a5063f44f80d41f60ffaecc5185f2f5b16b
2019-01-09 22:49:42 -08:00
Shuo Qian
9f11eaff31 Merge "Add Emergency Call Routing" 2019-01-10 00:33:51 +00:00
TreeHugger Robot
6ef1b7e2d5 Merge "Expose WFC roaming Mode ISIM IST EF as SystemApi" 2019-01-10 00:00:19 +00:00
Holly Jiuyu Sun
5b44f9b4c2 Allow privileged carrier app to update subscription nickname.
Make EuiccManager#updateSubscriptionNickname as public API to allow
carrier app to call it.
Only a privileged app of the given subscription can update the
subscription nickname.
Refresh cached subscription list after the nickname is successfully
updated.

Bug: 122597547
Test: test on phone
Change-Id: I63c5ec4366f32735a54adf40b9cc0b47af681736
2019-01-09 13:52:07 -08:00
Chen Xu
55c53d029b Merge "precisedataState refactor part 3" 2019-01-09 19:11:12 +00:00
Nathan Harold
fd179b0fa8 Merge changes Ic4bd706a,I680224ba am: bad2bc1167 am: fb57a250aa
am: dc6ada0237

Change-Id: Ife09a87204435d65679a0f53a3d3e6e138706bd2
2019-01-09 10:32:37 -08:00
Brad Ebinger
c50a1ef795 Expose WFC roaming Mode ISIM IST EF as SystemApi
Bug: 120986348
Bug: 120945804
Test: atest FrameworksTelephonyTests
Change-Id: I4d7a203dd57050535867329c8dc36f8c75667c15
2019-01-09 10:12:04 -08:00
Nathan Harold
dc6ada0237 Merge changes Ic4bd706a,I680224ba am: bad2bc1167
am: fb57a250aa

Change-Id: I3ed4373f425989f382d9b702deb41210e92c5da0
2019-01-09 10:09:01 -08:00
Sooraj Sasindran
abf137431b Define entry and exit threshold for opportunistic
Define entry and exit threshold for opportunistic network RSRP and RSSNR

Bug: 120847469
Test: compile
Merged-In: I6a2a02e03b66dc8ea682fc2483ec71c343563d7a
Change-Id: I6a2a02e03b66dc8ea682fc2483ec71c343563d7a
2019-01-09 17:40:43 +00:00
Nathan Harold
bad2bc1167 Merge changes Ic4bd706a,I680224ba
* changes:
  Log Invalid Level as an Error in SignalStrength
  Set DBG Flag False for CellSignalStrengthLte
2019-01-09 17:38:10 +00:00
sqian
a4bd738b8b Add Emergency Call Routing
Some countries or carriers require some emergency numbers that must
be handled with normal call routing or emergency routing.

Do not send service types from the database
as the emergency service categories

When searching for the corresponding service categories,
try to find the one that comes from the radio indication.

Test: Treehugger
Bug: 112657134
Change-Id: I95dadd07e9155c6e402a72339f307b4d7ef32fe4
2019-01-08 18:56:17 -08:00
Sahin Caliskan
332b7d09ed Merge "Implement RcsParticipant (base)" am: a2e577d8ed am: 2ff175569a
am: 6c160b2232

Change-Id: Iba123585cefab1a622fa1699289de4ea4f23fe6a
2019-01-08 15:14:05 -08:00
Nathan Harold
5472d802b7 Log Invalid Level as an Error in SignalStrength
If one of the CellSignalStrength classes returns a
level value that's out of range, it should be logged
as an error. This CL adds loge() to SignalStrength
and logs this event at the correct level.

Bug: 8675309
Test: compilation
Change-Id: Ic4bd706ae83e647cd782a60d94db7077c6d0fc1b
2019-01-08 15:05:04 -08:00
Nathan Harold
ffdd905439 Set DBG Flag False for CellSignalStrengthLte
The debug flag for CellSignalStrengthLte was left
"true" due to "f23153f - Refactor SignalStrength".

This CL sets it to false to fix log spam.

Bug: 122545223
Test: compilation
Change-Id: I680224ba726dde26c1e45584bd37d85bc02aa91a
2019-01-08 15:04:54 -08:00
Sahin Caliskan
6c160b2232 Merge "Implement RcsParticipant (base)" am: a2e577d8ed
am: 2ff175569a

Change-Id: I19e23c04feb02fc895f56f41fff1cbfd0a8f2971
2019-01-08 14:57:49 -08:00