Commit Graph

4864 Commits

Author SHA1 Message Date
Pengquan Meng
87a336846e Merge "Fix getSimOperator to return mccmnc based on subId" 2017-11-02 01:11:29 +00:00
Jordan Liu
c173c93c1c Merge "Added interface to get the decimal digit from hex ICCID." 2017-11-01 23:20:39 +00:00
Hall Liu
f1167ced38 Merge "Add @TestApi for EMBMS APIs needed for CTS" 2017-11-01 22:35:51 +00:00
Wenting Xiong
cb35e99d72 Display the number of LTE signal bars is based on RSRP only
Some carriers require to display the number of LTE signal bars is
based on RSRP only.
This carrier config is used to control it.

Test: manual - Checked that the number of LTE signal bars display
which base on RSRP only can be controlled by carrier config.
Bug: 67831028

Change-Id: I077ef253f34fc503a591dcb3f01d60ab6573f298
2017-11-01 15:52:46 +09:00
Hall Liu
156b3041a9 Add @TestApi for EMBMS APIs needed for CTS
Bug: 68049452
Test: CTS
Change-Id: I5d132ac4e67deccf41c998822f82cf94d3f2ce7f
2017-10-31 18:49:09 -07:00
Yujing Gu
cf94c67dc0 Added interface to get the decimal digit from hex ICCID.
The interface used to get the decimal digit from hex ICCID to
compare with the old decimal ICCID after the version upgrade.

Change-Id: Ib4690bd942cce79da544f44aaa56af21efb085aa
Test: SubscriptionInfoUpdaterTest#testHexIccId
Fixes: 62245439
2017-10-30 13:38:29 -07:00
Treehugger Robot
1400db6748 Merge "Add support for send Message with messaging options" 2017-10-29 17:48:44 +00:00
Hall Liu
1fab41e771 Merge "EMBMS - Add TestApi and provide service override" 2017-10-27 23:19:29 +00:00
Tyler Gunn
6c350bbb1d Handle alternate status values.
Some carriers use sendrecv to indicate a call in a conference is active,
and sendonly to indicate that the remote party has held the call.
Adding support for these status values.

This ensures that remotely held calls for these carriers are set to held.

Test: Manual
Bug: 33272103
Merged-In: Ie386bdb4c77df1305d80f604f48174794c3ee0c1
Change-Id: I4a950c4e143d5ac396b30569dbda0b1cf4e92a3e
2017-10-27 12:55:32 -07:00
Cassie Han
1565803cd2 Merge "Add the operator name and MCC/MNC in string format into the CellIdentity." 2017-10-27 17:17:54 +00:00
Mengjun Leng
bbef627077 Add support for send Message with messaging options
Add support for following messaging options.

1.Add support for message priority in 3gpp2.

2.Add link control support while sending multiple messages.

3.Add validity period support in 3gpp.

Change-Id: I19f4fbc5a3b6922884196b301d30280acd9e501e

MSIM(Telephony): Add changes to SMS APIs as per new SmsManager design

Change SMS Msim APIs as per new SmsManager design

Change-Id: I14ad7685e23b14203a76dfe3cc5a95a337f7d0e3
2017-10-27 11:31:48 +08:00
Hall Liu
64e22af32e EMBMS - Add TestApi and provide service override
Add @TestApi annotations to methods that CTS needs
Add a manifest meta-data key that allows client apps to specify the
exact component name of the MBMS service to bind to.

Bug: 68049452
Test: CTS
Change-Id: I50654c41da38696a25fad93d0a5e0b0c11fa0b42
2017-10-26 15:46:42 -07:00
Brad Ebinger
3ab81b9694 Merge "Fix dial emergency call redial issue by China Unicom." 2017-10-25 20:36:17 +00:00
Cassie
933b78d977 Add the operator name and MCC/MNC in string format into the CellIdentity.
Bug: 63984327
Test: Basic telephony sanity
Change-Id: Ia5e7f5b980efbde647f95f3e83a62d56132b90da
2017-10-25 10:04:31 -07:00
Kazuya Ohshiro
990af17cd3 Make it possible to dial an operator specific code
Added a new array config that indicating list of
FAC (feature access codes) to dial as a normal call.

Test: manual - Checked that special codes which configured in
CarrierConfig are dialed as a normal call.
Bug: 67664279

Change-Id: I1c4b60ae4f28c25e55b38563fe445f831793d466
2017-10-24 15:51:47 -07:00
Jordan Liu
9953542c3a Merge "Add config to display VM number as default number of CF"
am: 3e26cb18fb

Change-Id: Ie332a31b699b375d7a9ff56f314346546244010e
2017-10-23 20:39:20 +00:00
Jordan Liu
3e26cb18fb Merge "Add config to display VM number as default number of CF" 2017-10-23 20:27:28 +00:00
Hall Liu
c336947da4 Merge "Check success before registering DeathRecipient"
am: b6c4bc311a

Change-Id: Ie4a8f3ea3374d30a6a4dd9d22d9d48df0075c560
2017-10-20 23:22:13 +00:00
Hall Liu
b6c4bc311a Merge "Check success before registering DeathRecipient" 2017-10-20 23:10:09 +00:00
Treehugger Robot
b1092bfd55 Merge "Refactored area update info support" 2017-10-20 19:19:09 +00:00
Qiong Liu
48fe53f026 Add config to display VM number as default number of CF
Add config to determine whether to display voicemail number when
call forwarding number is null. The default value is false.

Test: manual - checked the voicemail number shown as default
Bug: 67855679
Change-Id: Iffa7f9a31757e2df2535abf0269a768ff4e67e8c
2017-10-20 15:38:38 +09:00
Pengquan Meng
c671962c9a Merge "[framework] Fixed signal strength issue"
am: 6d98743048

Change-Id: I5d6ff6f0419b658ee9786567087b95ced5e70233
2017-10-20 05:52:43 +00:00
Pengquan Meng
6d98743048 Merge "[framework] Fixed signal strength issue" 2017-10-20 05:44:42 +00:00
Jack Yu
143abfd113 Refactored area update info support
1. Refactored area update information support so it
   is not limited to channel 50 and Brazil.
2. Added channel 60 for India.

Test: Manual
bug: 37746109
Merged-In: Ic1c4683ecfe0556547ba15eb9b9e780644f17bff
Change-Id: Ic1c4683ecfe0556547ba15eb9b9e780644f17bff
(cherry picked from commit 93c4285623)
2017-10-19 17:28:11 -07:00
Pengquan Meng
7082ef0360 [framework] Fixed signal strength issue
The flag GSM of signal strength maybe unknown under OOS, but the signal
strength changed has been notified. In this case, set the flag GSM based
on the signal strength data.

Test: manual
Bug: 62431424

Change-Id: I9e63c45ea8b7c6c37e6ecd2478808c310c3d69ae
2017-10-19 18:54:40 +00:00
qingbiao.meng
fa8b4d3448 Fix dial emergency call redial issue by China Unicom.
Dial emergency call like 112 use China Unicom card, and if wait
remote server end the call, then disconnect code will be 31(NORMAL_UNSPECIFIED),
this code will be treat as DisconnectCause.ERROR in telecom-service at last,
and cause redial in telecom-service.

To fix, I change it to DisconnectCause.OTHER.

Test: Build pass
2017-10-19 02:32:53 +00:00
Jordan Liu
a0df3496d3 Merge "Add config to skip showing CF fail-to-disable dialog"
am: d32138d78a

Change-Id: I0bb3388b4f2e0243049316c3548aacf6f034ffd2
2017-10-17 21:06:58 +00:00
DongYuchen
439f16d4ad Add config to skip showing CF fail-to-disable dialog
Add config to skip showing CF fail-to-disable dialog. Because it is not
always correct to show fail-to-disable dialog. It depends on the way
of NW CF handling. The default value is set to false.

Test: manual - checked the call forwarding fail dialog was not shown
Bug: 35790386
Change-Id: I8b0e3d15736d95df8fcac205cb9a3ef2f8579988
2017-10-17 20:36:02 +09:00
Sooraj Sasindran
d5987f9722 Merge "Enhance network scan request"
am: b9f49e671a

Change-Id: If24d4740c346761391213f94647c43cbd742444a
2017-10-17 06:11:06 +00:00
Sooraj Sasindran
b9f49e671a Merge "Enhance network scan request" 2017-10-17 06:03:31 +00:00
Hall Liu
7bfd87f169 Merge "Add null checks to EMBMS AIDL impls"
am: 9e93a6515e

Change-Id: I888b5772fca069b638f1c2d0f803cf3863b7ff85
2017-10-16 22:44:48 +00:00
Hall Liu
8374e75d47 Check success before registering DeathRecipient
Before registering a DeathRecipient for EMBMS frontend apps, make sure
that whatever operation that they requested actually reported as
successful from the middleware.

Change-Id: I33605dc0a31d827248bed8c7ae6da22096732238
Fixes: 67864414
Test: manual, with testapps
2017-10-16 15:25:31 -07:00
Hall Liu
9e93a6515e Merge "Add null checks to EMBMS AIDL impls" 2017-10-16 22:04:17 +00:00
nharold
7edf405cdd Merge "Remove getNetworkType() from ServiceState"
am: ce1f9afb84

Change-Id: I8e09f9060c7066e99428ea395743f66924443488
2017-10-16 18:41:22 +00:00
nharold
ce1f9afb84 Merge "Remove getNetworkType() from ServiceState" 2017-10-16 18:30:01 +00:00
Hall Liu
35496c27b8 Add null checks to EMBMS AIDL impls
Add null checks for things that the user passes in so that they don't
inadvertently cause NPEs for the middleware later on.

Change-Id: I09392a2ac9adec494fcbeeba889ce7fca6708323
Fixes: 67785040
Test: manual
2017-10-13 16:51:21 -07:00
Nathan Harold
03d23999d3 Remove getNetworkType() from ServiceState
This method was deprecated 4 years and 11 months ago
and set to be removed in 2013. It was replaced by
getVoiceNetworkType().

Bug: 67589287
Test: make checkbuild on goog/master
Change-Id: I5fefa755738ff2fb3f3babfcafd4dfb329314feb
2017-10-13 12:06:02 -07:00
Sooraj Sasindran
6e2226d0fb Enhance network scan request
BUG=63865942

Test: Verified by making changes in settings app to call the api
      and confirmed that the new information is delivered to vendor
      code
Merged-In: Ia17647bdedefed5230f4d113b7286d820f557e95
Change-Id: Ia17647bdedefed5230f4d113b7286d820f557e95
2017-10-13 09:25:13 -07:00
Jordan Liu
c04d233ac2 Merge "Add a new carrier config to suppress AoC indication"
am: db95dff0d8

Change-Id: If86b396f87e4f9f143f7abc02b4e05478693ade0
2017-10-12 23:58:55 +00:00
Jordan Liu
db95dff0d8 Merge "Add a new carrier config to suppress AoC indication" 2017-10-12 23:42:17 +00:00
Omata Shou
29b132bff4 Add a new carrier config to suppress AoC indication
Some carriers require to suppress the AoC(Advice of Charge) indication.
This carrier config is used to disable the popup dialog which warns the
user of data charges.

Test: Passed make build
Bug: 65036581
Merged-In: Ibb8d548573c9c747c790722ee526fcd626b3fa67
Change-Id: Ibb8d548573c9c747c790722ee526fcd626b3fa67
2017-10-12 16:41:20 -07:00
Hall Liu
1c36619f5b Merge "Fix URI unparceling and clarify an error condition"
am: 5f123e6ad6

Change-Id: Ib8023d966e01fd2acefc464d8d25ed5030cfd85b
2017-10-11 23:28:42 +00:00
Hall Liu
5f123e6ad6 Merge "Fix URI unparceling and clarify an error condition" 2017-10-11 23:04:58 +00:00
Brad Ebinger
946ff79971 Merge "Add new Download Error Codes"
am: e9bd5449b5

Change-Id: I8fa3c3dcc5104a5326a680ae186c9285a7e47358
2017-10-11 22:24:58 +00:00
Brad Ebinger
e9bd5449b5 Merge "Add new Download Error Codes" 2017-10-11 22:12:26 +00:00
Hall Liu
a094510982 Fix URI unparceling and clarify an error condition
Use the proper unparceling method for lists, add a more verbose
exception for when the app fails to declare a critical piece of
metadata.

Change-Id: I29d5291d7b88476496334d268be94f7f8c08255c
Fixes: 67640653
Test: manual, with testapp
2017-10-10 19:08:24 -07:00
Brad Ebinger
6fb5072fa8 Add new Download Error Codes
Adds new MBMS Download Session error codes to allow for
more fine grained error reporting to the client app.

Test: Manual
Change-Id: I9c2163d934835efaaa145e4c0f8a91838d84aa1e
2017-10-10 12:50:49 -07:00
Brad Ebinger
3b6df532f3 Merge "Require DownloadRequest#Builder to have mandatory Source URI"
am: 432c2b0fb9

Change-Id: I3332d44105c6ce4f8d4223caad66715c4c67d52f
2017-10-10 18:39:56 +00:00
Brad Ebinger
432c2b0fb9 Merge "Require DownloadRequest#Builder to have mandatory Source URI" 2017-10-10 18:27:36 +00:00
Brad Ebinger
ea737a8e1e Require DownloadRequest#Builder to have mandatory Source URI
This change modifies the API to require that the
DownloadRequest#Builder includes the Source URI as a mandatory,
non-null parameter.

Test: Manual, Telephony Test MBMS app
Change-Id: I7d44e977314a57fdf063aa233bfb978b48ebf1db
2017-10-10 00:06:04 +00:00