Commit Graph

3891 Commits

Author SHA1 Message Date
Hall Liu
c8cb3aad58 Merge "Rename MbmsDownloadSession#getDownloadStatus" am: a07d895f09
am: be305be046

Change-Id: Ic126b1cbee30edbb8f90f3a61d206bbd75aa8d5f
2018-02-02 20:46:51 +00:00
Hall Liu
a07d895f09 Merge "Rename MbmsDownloadSession#getDownloadStatus" 2018-02-02 20:01:12 +00:00
Hall Liu
54ab6b91a8 Merge "Check for location access on TelephonyRegistry" am: 871202da2f am: cf59665a75
am: 56e6bd2cd1

Change-Id: If9989e10138a4fe923439c919807ca745d616043
2018-02-02 08:12:32 +00:00
Tyler Gunn
e2a66df86c Merge "Add call recording tone support." am: 8d5b08c430 am: eb74233ff9
am: 29d94726be

Change-Id: I67496b63f6a7f6362faed8c6a8cbff7cd665876c
2018-02-02 08:02:44 +00:00
Jordan Liu
058c408622 Merge "Add carrier config option to show call barring UI in CallSettings" am: 2aa0cdd1d2 am: ba0581bcf1
am: 32d87828e0

Change-Id: I5478643481f58006182f715b7c49816b0df89230
2018-02-02 07:54:35 +00:00
Alex Khlivnuik
c84f546547 Merge "Add CarrierConfig to displaying HD audio indicator for GSM/CDMA calls" am: 0be23629a8 am: c9cfb504f7
am: 114adea744

Change-Id: I606353211d342fd87c92103b4277129454a4ceea
2018-02-02 07:29:42 +00:00
nharold
4c6be5b585 Merge "CellSignalStrength cleanup" am: af7435ca1f am: 67a2db0a66
am: 252aeb18cb

Change-Id: Id9c95ec4ee347d686b411d7ec8119b62a8ef0fbf
2018-02-02 07:22:00 +00:00
Hall Liu
56e6bd2cd1 Merge "Check for location access on TelephonyRegistry" am: 871202da2f
am: cf59665a75

Change-Id: I8eee8b62f0e41fa7346126d29266dfd555550028
2018-02-02 04:37:13 +00:00
Tyler Gunn
29d94726be Merge "Add call recording tone support." am: 8d5b08c430
am: eb74233ff9

Change-Id: I1111bc80ec7dff95e6e1a5f53da22d5e65042060
2018-02-02 04:32:32 +00:00
Jordan Liu
32d87828e0 Merge "Add carrier config option to show call barring UI in CallSettings" am: 2aa0cdd1d2
am: ba0581bcf1

Change-Id: If09ae852661ab154804ad9f30a2eea0839f291c0
2018-02-02 04:27:27 +00:00
Alex Khlivnuik
114adea744 Merge "Add CarrierConfig to displaying HD audio indicator for GSM/CDMA calls" am: 0be23629a8
am: c9cfb504f7

Change-Id: I1ae7bb4715c9bffb7c6b2d57da17862f7c25ad55
2018-02-02 04:18:38 +00:00
nharold
252aeb18cb Merge "CellSignalStrength cleanup" am: af7435ca1f
am: 67a2db0a66

Change-Id: Ib405d3d8d2bc723dbddfaca4748bb34fcbae877a
2018-02-02 04:14:20 +00:00
Jack Yu
4fcd48db4b Merge "Added support for the new 1.2 data setup/deactivate API" am: a02d09a449
am: 8208b2ef2e

Change-Id: I699cc911c200c3f8d4390f19fc4cfb009c6090e9
2018-02-02 04:10:23 +00:00
Brad Ebinger
a7e7cfdedf Merge changes from topics "ims_sms_sms_ready", "ims_sms_rm_internal_sms", "ims_sms_disp" am: d6d9ff3c2d
am: 2390485616

Change-Id: I65687184fd12088804a905518b3613b2444be7eb
2018-02-02 04:03:45 +00:00
Brad Ebinger
0e370b4a02 Make ImsService API @SystemApi
Marks the ImsService API as @SystemAPI.

Bug: 63987047
Test: Build, Telephony unit tests
Merged-In: I10f8a09950be87cb166b718d1dcc2954fba872cb
Change-Id: I10f8a09950be87cb166b718d1dcc2954fba872cb
2018-02-01 15:45:29 -08:00
Brad Ebinger
5b1883b5f1 Integrate new MMTel APIs into the framework
Performs the bulk of the work of:
1) Moving the old MMTel APIs to a hidden
.compat namespace to support older vendor
versions of the code.

2) Replace the compat MMTel APIs with the
new ImsService APIs and integrate them
into existing code.

This is one of two CLs, this CL
integrates the new APIs, the next CL
creates the compat layer in telephony
to translate the .compat APIs to the new
APIs to allow Telephony to work with
older versions of the API.

Before commit, the corresponding vendor
changes will have to be submitted as well.

Bug: 63987047
Test: Telephony Unit tests
Merged-In: Icc9ecfdad000f42399beeac142083e62962c12d3
Change-Id: Icc9ecfdad000f42399beeac142083e62962c12d3
2018-02-01 15:45:29 -08:00
Brad Ebinger
19628b43cf Modify ImsService API to accomodate compat
Modifies the ImsService API to accomodate
the ImsService compat layer for older
vender implementations

Bug: 63987047
Test: Manual, Telephony unit tests
Merged-In: Ifb2870414e3d80ef114b3c5fa00c5c5e1aa80b05
Change-Id: Ifb2870414e3d80ef114b3c5fa00c5c5e1aa80b05
2018-02-01 15:45:29 -08:00
Brad Ebinger
6ed4ee6847 Integrate ImsCallSessionListener API changes
Integrates the ImsCallSessionListener API changes.
This involves:

1) Moving the ImsCallSessionListener to the
android.telephony.ims namespace.
2) Creating a compat layer between the old
IImsCallSessionListener AIDL and the new one
for vendors using the old implementation.
3) Modify ImsCallSession to only use
setListener to set ImsCallSessionListener
(other method was never used in our code).

Test: Telephony Unit Tests, Manual IMS Tests
Bug: 63987047
Merged-In: I4378c0b1d68ff4f5f21815c81af52c03a66f81c5
Change-Id: Id0cc43e9c97abb6f2776d8ad1cf599353b71e4b7
2018-02-01 15:45:28 -08:00
Hall Liu
871202da2f Merge "Check for location access on TelephonyRegistry" 2018-02-01 23:05:22 +00:00
Jack Yu
fcbda45498 Added data service configuration support
Added the resource overlay and carrier config support for
data service binding package configuration.

Test: Telephony sanity tests
Bug: 64132030
Change-Id: I3d64e6c0a5f86b6a4953eb611ee6828153a8b12d
2018-02-01 14:50:53 -08:00
Tyler Gunn
8d5b08c430 Merge "Add call recording tone support." 2018-02-01 22:38:55 +00:00
Jordan Liu
2aa0cdd1d2 Merge "Add carrier config option to show call barring UI in CallSettings" 2018-02-01 22:35:38 +00:00
Hall Liu
e1af92e44d Add missing return statement in setTempFileRootDirectory
Return without setting the local temp file root if the middleware
reports a failure.

Test: cts
Change-Id: I5e8ea1f7941a7157d88536925f681044d26ef540
2018-02-01 13:48:11 -08:00
Pengquan Meng
0879c904d2 Use IntDef for BCD_EXTENDED_TYPE
Bug:72762748
Test: unit test

Change-Id: I33c26b671f6e824ae100d2d5049402cdbade8237
2018-02-01 13:39:49 -08:00
Hall Liu
92964f60ec Rename MbmsDownloadSession#getDownloadStatus
Rename and change signature/behavior to match up with middleware
vendor's expectations

Test: run CTS tests
Change-Id: If18acff5631cfc0473c342e9250973866e960d69
2018-02-01 13:23:17 -08:00
Treehugger Robot
0be23629a8 Merge "Add CarrierConfig to displaying HD audio indicator for GSM/CDMA calls" 2018-02-01 21:18:53 +00:00
nharold
af7435ca1f Merge "CellSignalStrength cleanup" 2018-02-01 21:03:55 +00:00
Treehugger Robot
a02d09a449 Merge "Added support for the new 1.2 data setup/deactivate API" 2018-02-01 20:10:36 +00:00
Jack Yu
677cfaa2a0 Added support for the new 1.2 data setup/deactivate API
Added support for the 1.2 IRadio APIs that support IWLAN handover.

Test: Telephony sanity tests
Bug: 64132030
Merged-In: I8c962bb45bc4d42610faa32f0ee36080e8e6cb65
Change-Id: I8c962bb45bc4d42610faa32f0ee36080e8e6cb65
(cherry picked from commit 08063d6c1b)
2018-02-01 03:26:10 -08:00
Jack Yu
4aa09f4c7f Merge "Added support for the new 1.2 data setup/deactivate API" 2018-02-01 11:21:00 +00:00
Hall Liu
8d584f0a91 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: Ib4c8c6a9765f504823016e538dd46768d1032792
2018-02-01 01:00:52 +00:00
Mohamed Abdalkader
304f4b5509 Add and trigger onReady API for SMS over IMS.
Test: manual test that normal code path is fine since this code path is
not yet exercisable.
BUG=69846044
Merged-In: Icb15ca4aa6606fba641f6270dca5e0e06fc4466a
Change-Id: Icb15ca4aa6606fba641f6270dca5e0e06fc4466a
2018-01-31 14:55:42 -08:00
Mohamed Abdalkader
904c1eca5f Unhide SMS over IMS APIs
While here add more constants for send sms result.

Test: manual
BUG:69846044
Merged-In: I66fdcff51dc5ded9f6199d09bb667c89f38b6d59
Change-Id: I66fdcff51dc5ded9f6199d09bb667c89f38b6d59
2018-01-31 13:18:45 -08:00
Nathan Harold
9d729c5304 CellSignalStrength cleanup
Remove a few duplicated initialization methods
in the CellSignalStrength classes. They were
either not being used or were trivially refactored
in to their respective constructors.

Bug: 72742517
Test: compilation
Change-Id: I7115eace62dc0b6d59ea25deedaf5a0d0f270496
2018-01-31 12:53:03 -08:00
Mohamed Abdalkader
7073c075fb Remove internal version of SMS apis
Test: manual
BUG=69846044
Merged-In: Ie084ea67c460c686bd587e4b36f8c1579517ea7f
Change-Id: Ie084ea67c460c686bd587e4b36f8c1579517ea7f
2018-01-31 11:55:39 -08:00
Mohamed Abdalkader
6e545d5892 Move Sms API to proper MMTelFeature class
- while here remove unnecessary call to ackSms from
  SmsImplBase as this is handled by ImsSmsDispatcher

Test: None, APIs not exercised yet.
BUG=69846044
Merged-In: Iec4bbd07a67502dbbfb2142a7bc95f51be0cb377
Change-Id: Iec4bbd07a67502dbbfb2142a7bc95f51be0cb377
2018-01-31 11:24:31 -08:00
Mohamed Abdalkader
967a952b34 Add unique id for sms APIs to be able to trigger correct smstracker
In old APIs the SmsTracker itself was being passed to the RIL
and onSendComplete the tracker's pending intent was triggered
and then the updated messageRef was used as the id.

Instead of passing the tracker, passing a unique id to be used
for the lifetime of the message.

Doing same thing for receiving flow.

Test: None, APIs not exercised yet.
BUG=69846044
Merged-In: Id19f854e2c48649db8f2031ee4f49cdac331451c
Change-Id: Id19f854e2c48649db8f2031ee4f49cdac331451c
2018-01-31 11:18:11 -08:00
Jack Yu
08063d6c1b Added support for the new 1.2 data setup/deactivate API
Added support for the 1.2 IRadio APIs that support IWLAN handover.

Test: Telephony sanity tests
Bug: 64132030
Change-Id: I8c962bb45bc4d42610faa32f0ee36080e8e6cb65
2018-01-31 10:16:57 -08:00
Jack Yu
3224cd958c Merge "Used the better hash method provided by Objects" am: 262f84699e am: e9642cdb50
am: 91737fac7a

Change-Id: I1bfba282b275a036c90482fd44bfe382de49f851
2018-01-31 10:44:59 +00:00
Jack Yu
91737fac7a Merge "Used the better hash method provided by Objects" am: 262f84699e
am: e9642cdb50

Change-Id: I843b74fae7c6c8b937236755793d6739600e7643
2018-01-31 10:35:49 +00:00
Treehugger Robot
262f84699e Merge "Used the better hash method provided by Objects" 2018-01-31 09:04:52 +00:00
nharold
d21e8d8b7b Merge "Remove getIsimChallengeResponse" am: b6d5a85a9c am: c13ddc2fe0
am: e69ef2e511

Change-Id: I4117e88b3c6360d9b6c542f53826bef612572700
2018-01-31 02:18:53 +00:00
nharold
e69ef2e511 Merge "Remove getIsimChallengeResponse" am: b6d5a85a9c
am: c13ddc2fe0

Change-Id: If67d532c0ab0cbd778650cd2a6bd33b91f0459e5
2018-01-31 01:59:39 +00:00
Holly Jiuyu Sun
bba3be6a5e Merge "Only allow LPA to select ISD-R using iccTransmitApduBasicChannel" am: 04e5e63305 am: 8b37eedfc9
am: 7c824e97b9

Change-Id: I33e427e9f34c90a742dd9c6e7cc2baf0bfad4825
2018-01-31 00:27:00 +00:00
nharold
b6d5a85a9c Merge "Remove getIsimChallengeResponse" 2018-01-31 00:23:50 +00:00
Holly Jiuyu Sun
7c824e97b9 Merge "Only allow LPA to select ISD-R using iccTransmitApduBasicChannel" am: 04e5e63305
am: 8b37eedfc9

Change-Id: I5ed1d2622cac57b527eb13ff752be44f606a1dc1
2018-01-31 00:18:23 +00:00
Nathan Harold
c6ee8d63eb Merge "Update Docstring for SmsMessage.getOriginatingAddress" am: 14513e0ea3
am: 79f3dcb694

Change-Id: I4b3369fb2a75234e9100630cc7a2ebf49855d722
2018-01-31 00:12:08 +00:00
Wenting Xiong
d58536800f Add carrier config option to show call barring UI in CallSettings
Some operators require to add Call Barring setting UI to CallSetting,
so add a new CarrierConfig value to customize this.

Bug: 30845125
Test: Manual
Change-Id: I5d80508afd8216f04f443c5a9e0dd83d5247788f
2018-01-30 15:13:21 -08:00
Holly Jiuyu Sun
04e5e63305 Merge "Only allow LPA to select ISD-R using iccTransmitApduBasicChannel" 2018-01-30 23:05:00 +00:00
nharold
e397302a30 Merge "Update hashCode in CellSignalStrength classes" am: 59fec059a9 am: f148ec8b72
am: 7ec87ba8a6

Change-Id: Ib53ddcc9957810e50be46482c14e44f4ba4c7b74
2018-01-30 21:54:01 +00:00