Commit Graph

2816 Commits

Author SHA1 Message Date
Jack Yu
03664c94ae Merge "Added indication update mode support" 2018-03-01 20:04:29 +00:00
Jack Yu
7ae19636ca Added indication update mode support
Adde the indication update mode support so that a system
component can control the behavior of indication update. This
will be used by the bluetooth stack when some BT devices such like
carkit is connected, modem will continue update the signal strength
even when the screen is off.

Test: Manual
Bug: 65112388
Merged-In: I4bb4894eaaba401f655e5dc25138275f5e8498e1
Change-Id: I4bb4894eaaba401f655e5dc25138275f5e8498e1
(cherry picked from commit 1a1c35750b)
2018-03-01 10:37:43 -08:00
Treehugger Robot
44d13875ff Merge "Plumb PhysicalChannelConfig all the way up." 2018-03-01 03:48:32 +00:00
Treehugger Robot
8c32954906 Merge "Don't throw exception if phone process is dead for carrier ID APIs" 2018-02-28 03:14:45 +00:00
Treehugger Robot
59391aa4a0 Merge "Modify shouldProcessCall API to remove redundancy" 2018-02-28 03:02:27 +00:00
Treehugger Robot
e6691d8e89 Merge "Add documentation for SECRET_CODE_ACTION according to API review process." 2018-02-28 02:30:44 +00:00
fionaxu
ff94846ddb Don't throw exception if phone process is dead for carrier ID APIs
Bug: 73772776
Test: Build
Change-Id: I81638f52d5d8ccf1005878ba4f3967e07169284b
(cherry picked from commit 331965e5d6)
Merged-in: I81638f52d5d8ccf1005878ba4f3967e07169284b
2018-02-27 17:54:21 -08:00
Jordan Liu
fdebcf1ae2 Merge "Use 4 thresholds instead of 6" 2018-02-27 23:44:03 +00:00
Jordan Liu
451ece3c21 Use 4 thresholds instead of 6
Min and max thresholds are fixed.

Bug: 73775507
Bug: 70698348
Test: manual and ServiceStateTrackerTest
Change-Id: Ie7fbda0627615f49b6205142c22ad48e88735f80
Merged-In: Ie7fbda0627615f49b6205142c22ad48e88735f80
2018-02-27 14:19:05 -08:00
Treehugger Robot
c16da498d5 Merge "Add more sms error codes" 2018-02-27 02:48:31 +00:00
Treehugger Robot
d676c5c134 Merge "Hide APN, USER and Password from log in SETUP_DATA_CALL" 2018-02-27 00:02:34 +00:00
Jayachandran Chinnakkannu
b103f9309b Merge "Add support for sending message with priority, link control and validity period options" 2018-02-26 22:53:22 +00:00
Holly Jiuyu Sun
7c259deb07 Add hashCode() in UiccAccessRule.
hashCode() and equals() should appear together.

Bug: 73785903
Test: test on phone
Merged-In: I7f9d8943f6a0e1039815e21ff6dfe035bd674639
Change-Id: I7f9d8943f6a0e1039815e21ff6dfe035bd674639
2018-02-26 10:45:17 -08:00
Mengjun Leng
b379ce981b Add support for sending message with priority, link control and validity period options
1. Added support for message priority(indicates the priority of a
   SMS to the network in the PDU) in 3gpp2
2. Added support for link control(indicates whether network can
   expect more messages or not so it can decide whether to retain
   the radio link or not) while sending multiple messages
3. Added support for validity period(indicates how much time the
   SMS is valid at the SMSC) support in 3gpp
4. Amended UT test cases for API changes and add UT validity period
   test case

Test: Verfied sending short SMS, long SMS, MMS, SMS with emoji on
      live network

Bug: 34962629
2018-02-24 01:14:03 +00:00
Cassie
5b97cf1395 Add documentation for SECRET_CODE_ACTION according to API review
process.

 * Document who can send and who can receive the broadcast. What are the security restrictions?
   The implication here is that there should be some. What are the wake-up semantics?
 * Document who can receive SECRET_CODE action and under what circumstances,
   and what permissions are needed to receive and send it.

Bug: 73751267, 73392896
Test: Basic telephony sanity
Change-Id: I1b6138c9ddf4cb3d84d8b652e18d4e57f410ee4d
2018-02-23 13:52:10 -08:00
Treehugger Robot
ab5bc3be50 Merge "Fixed service state CTS test failing" 2018-02-23 15:41:32 +00:00
Treehugger Robot
e9a215b238 Merge "Add comments according to the API review process." 2018-02-23 05:32:35 +00:00
Jack Yu
7d20eae135 Fixed service state CTS test failing
Added missing member variables in copyFrom().

Bug: 73298491
Test: atest CtsTelephonyTestCases:ServiceStateTest#testServiceState CtsTelephonyTestCases:TelephonyManagerTest#testGetServiceState
Change-Id: I750816a13801a911d68e0a774fd59602c81c5687
2018-02-22 14:35:43 -08:00
Cassie
e1c880242b Add comments according to the API review process.
* Explain what developers should use instead in the @deprecated note for Telephony#BEARER
 * Please add more documentation for network type bitmask - reference to just TelephonyManager is not sufficient because it has so much stuff in it.
 * Also remove the @hide tag for private constants in ServiceState.

Bug: 73751228
Test: Basic telephony sanity
Change-Id: Ie7405a961db4494104750bf406f20b1b4fb8191a
2018-02-22 09:08:48 -08:00
Pengquan Meng
033de4676b Merge "Cleanup TelephonyManager's log" 2018-02-22 05:19:11 +00:00
Hall Liu
47e1d11b47 Merge "EMBMS API tweaks" 2018-02-22 00:35:51 +00:00
Hall Liu
31230bb193 Merge "Check for location access on TelephonyRegistry" 2018-02-21 22:42:08 +00:00
Pengquan Meng
dd056c9b8e Cleanup TelephonyManager's log
Don't log success calls to TelephonyManager.setTelephonyProperty.

Bug: 71514398
Test: manual test
Change-Id: I2383f1e2925bff959c3d925d7fdc8be891630c61
2018-02-20 19:09:14 -08:00
Hall Liu
5b844876ba EMBMS API tweaks
Make changes per API council recommendations
Also clean up the download flow -- provide option for app to specify a
destination as long as it's on the same filesystem.

Bug: 72837388
Fixes: 72231372
Test: CTS and testapp

Change-Id: Ia2a68a73e6d61f426b55068542a66995afc20407
2018-02-20 17:08:47 -08:00
Brad Ebinger
4122fd23dc Merge "Add new reason code for call failed by unobtainable number" 2018-02-20 21:00:08 +00:00
Brad Ebinger
611f996de3 Modify shouldProcessCall API to remove redundancy
No need to differentiate between CSFB for emergency
and non-emergency calls.

Test: Telephony unit tests
Bug: 72642113
Change-Id: Ibc5aed284be030cc584d774f122d6082ff013f5f
2018-02-20 11:07:37 -08:00
Mohamed Abdalkader
1ff8e34128 Add more sms error codes
To bubble up more accurate codes from the radio so that the IMS provider
can handle accordingly.

Bug: 73487630
Change-Id: Ie482ca57504e1ecf77360940b7e1d3948d5f3e82
2018-02-20 17:00:10 +00:00
Naoyuki Konda
8b34ac657f Hide APN, USER and Password from log in SETUP_DATA_CALL
Some operators don't want to show apn, user, password.

Test: manual
Bug: 35411757
Change-Id: I357fd561d5b8aa9c6596786c9731e8f3cd9c532c
2018-02-20 19:48:24 +09:00
pkanwar
84a8bb80a1 Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false
Bug: 73609752
Test: compile

Change-Id: Ie9615e63d136f40ee301504b3e2b3b7ea4aec129
2018-02-19 10:35:57 -08:00
haoyu li
f492faf405 Add new reason code for call failed by unobtainable number
To show the "Invalid number" on the end call screen when user makes a
IMS call with unobtainable number, this reason code is used.

Test: manual - Checked that "Invalid number" is shown when make the IMS
MO call to unobtainable number.
Bug: 69940434

Change-Id: If3c54e6f55850141efad56ad7712db3c82a14f43
2018-02-19 08:33:55 +00:00
Brad Ebinger
b8d25ed3a4 Merge "MSIM support for hidden IMS capability and registration query APIs." 2018-02-16 20:35:45 +00:00
Eric Schwarzenbach
4ce04ddea1 Plumb PhysicalChannelConfig all the way up.
Updates TelephonyRegistry and PhoneStateListener to propagate
unsolicited PhysicalChannelConfig updates.

Bug: 72117533
Test: runtest frameworks-telephony

Change-Id: Ia6a6c4c76f95bd57bbd10c33abe9d10752f98caa
2018-02-16 10:28:37 -08:00
Nathan Harold
e227065214 Fix LTE Timing Advance Doc String
The Doc string for LTE timing advance incorrectly
lists the range based on the maximum size of an
incremental TA command rather than the cumulative
timing advance. The spec reference is correct, but
the range was wrong.

Bug: 66751464
Test: compilation (docstring only change)
Change-Id: I0242cae7af40a7d9ed5ae9a2a509592076e5b6a3
2018-02-15 13:07:59 -08:00
Xiangyu/Malcolm Chen
9f92ed943c Merge "Add NetworkRegistrationState into SS's list." 2018-02-15 19:01:59 +00:00
Brad Ebinger
1da6f542ef Merge "Add new owners files for Telephony/Telecom frameworks files." 2018-02-15 17:23:31 +00:00
Tyler Gunn
6b067bc879 Add new owners files for Telephony/Telecom frameworks files.
Test: N/A
Bug: 73373651
Change-Id: Ia0e19018d6cd72923f9f20b372d303fa532409b0
2018-02-14 16:13:39 -08:00
Malcolm Chen
574b41a1bd Add NetworkRegistrationState into SS's list.
Add hidden API to add NetworkRegistrationState into SS's
NetworkRegistrationState list.

Bug: 73305596
Test: unittest
Change-Id: Ief7f22632c1f3400c01663d13b990dc9b0d59e2e
2018-02-14 14:32:29 -08:00
Brad Ebinger
64afdd9376 MSIM support for hidden IMS capability and registration query APIs.
Modifies TelephonyManager APIs to better support MSIM devices
and adds a method to query MMTEL IMS Registration technology.

Test: Manual, telephony unit tests.
Bug: 35128252
Merged-In: Ie37185bd3477635094a0db998918ba5ad59842be
Change-Id: Ie37185bd3477635094a0db998918ba5ad59842be
2018-02-14 18:36:17 +00:00
fionaxu
58278bed65 add a current table in CarrierIdProvider
restructure CarrierIdProvider into two tables
1. All - a private table which stores a complete mapping of all carriers
2. Current - a public table only stores the carrier identification of the
current active subs. require no permission to query.
expose the content url to public so that apps could be
notified on carrier identity change either on background or foreground.

Bug: 72571475
Test: runtest --path CarrierIdProviderTest.java
Test: Manual
Change-Id: If2a20288e63d25343f5bb582b35564d769a4e13b
(cherry picked from commit 3d00d698d7)
Merged-in: If2a20288e63d25343f5bb582b35564d769a4e13b
2018-02-13 23:46:19 -08:00
Holly Jiuyu Sun
42339c464f Merge "Public EuiccManager APIs." 2018-02-13 22:56:08 +00:00
Holly Jiuyu Sun
052fbabc35 Public EuiccManager APIs.
Public EuiccManager and other related necessary files.
Mark EuiccCardManager and other related necessary files as @SystemApi.
Solve lint errors and warnings.

Bug: 35851809
Test: test on phone
Change-Id: I8a2c78804cae56b679d311d613edca5be4bc2522
Merged-In: I68853e134e1e31fa9b91a83af6c491a2a8cca971
2018-02-13 12:53:45 -08:00
Qingxi Li
4d7025fc1d Add interfact to get phone ID from UiccSlotInfo
Bug: 72753162
Test: TreeHugger
Merged-In: I7733a5f60cf4535339fe9b44e99178304ccbb2c0
Change-Id: I7733a5f60cf4535339fe9b44e99178304ccbb2c0
2018-02-13 19:29:00 +00:00
Jack Yu
492f249dbb Merge "Added owners" 2018-02-12 22:39:00 +00:00
Jack Yu
5424174152 Added owners
Test: Build
Change-Id: I95104f646bc054e4ad9a6807d6e3df69f1e00d75
2018-02-12 12:07:34 -08:00
Jordan Liu
f27242dbd6 Merge "Overload setTelephonyProperty without phone ID" 2018-02-12 18:17:24 +00:00
Tyler Gunn
ea72eacc45 Add Connection Event for supplementary service notifications.
These are passed up to the UI with an optional charsequence message which
the UI can choose to display to the user.

Test: Manual, added new unit tests
Bug: 65534165
Change-Id: Icdf2738ac4dfd3a65e9eacac2caa4d4a44348ab4
2018-02-08 21:34:13 +00:00
Treehugger Robot
4c8fa81d17 Merge "Make TelephonyManager#getNai() public" 2018-02-07 23:17:18 +00:00
Pooja Jain
d34698def5 IMS: Add support in frameworks for call deflection feature
Call deflection feature is useful to deflect MT call to another
number.

Test: Manual

Bug: 62170348
Change-Id: Idfbcc175a856aa0bb9476f8c73d7a614a3af0700
2018-02-07 12:29:16 +05:30
Hall Liu
5fb337ff85 Check for location access on TelephonyRegistry
When sending outbound callbacks on CELL_INFO and CELL_LOCATION, check to
make sure that the user has authorized us and the receiving app to get
information on their location.

Bug: 69637693
Test: manual: telephony testapp
Change-Id: Iacfc894428b11a7ec973567d7a797eedb281355f
2018-02-06 14:01:47 -08:00
Xiangyu/Malcolm Chen
1168c31c4a Merge "Update ServiceState to adapt NetworkService change." 2018-02-06 21:32:31 +00:00