Commit Graph

5719 Commits

Author SHA1 Message Date
Qingxi Li
fada6f73ff Add interfact to get phone ID from UiccSlotInfo
Bug: 72753162
Test: TreeHugger
Change-Id: I7733a5f60cf4535339fe9b44e99178304ccbb2c0
2018-02-06 14:36:51 -08:00
Pankaj Kanwar
f7a84a6c4b Merge "Fix the function to get baseband version correctly in telephony manager." 2018-02-06 05:13:23 +00:00
pkanwar
ffe6a84e52 Fix the function to get baseband version correctly in telephony manager.
Bug: 62281863
Test: manual
Change-Id: I58cefcf9651e2dbe4058a8eca6a0875153df0b90
2018-02-05 18:48:36 -08:00
Xiangyu/Malcolm Chen
121647fe22 Merge "Update ServiceState to adapt NetworkService change." 2018-02-04 23:12:34 +00:00
Jack Yu
0c5f8dfaca resolve merge conflicts of c3415d2bc6 to master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I072c3d46b81dee0a83036ea7d5e91bd1989fa250
2018-02-03 20:42:01 -08:00
Malcolm Chen
5ad2092112 Update ServiceState to adapt NetworkService change.
SST is re-routed to get cellular registration states from
CellularNetworkService. Updating ServiceState to adapt that
change.

Bug: 64132030
Test: unittest
Change-Id: Ifd557ce50a4419ead6125cda29c79d331508448e
2018-02-04 01:12:05 +00:00
Xiangyu/Malcolm Chen
1b368de832 Merge "Add strings and carrier config needed network service." 2018-02-04 01:11:03 +00:00
Hall Liu
3918780c28 Merge "Add missing return statement in setTempFileRootDirectory" am: d281b1a116 am: a376949816
am: 048b1517b4

Change-Id: I261b953da7e9edb048becbfcfffb3925f2371ec2
2018-02-04 00:57:17 +00:00
Pengquan Meng
099ede2617 Merge "Use IntDef for BCD_EXTENDED_TYPE" am: 97246476a7 am: a2311212a6
am: a8f341c47a

Change-Id: I5ddcab70828fec9f59de920feb085c867bd0059e
2018-02-04 00:49:55 +00:00
Hall Liu
e35ef2778e Merge "Rename MbmsDownloadSession#getDownloadStatus" am: a07d895f09 am: be305be046
am: c8cb3aad58

Change-Id: I0c5313fef938e6d9dfbb7779f336a3e3b34fe6c2
2018-02-04 00:05:22 +00:00
Jack Yu
c3415d2bc6 Merge "Added data service configuration support" am: 2e9bdd78f2
am: de0d22d73a

Change-Id: I47f6d9669c39060d70ba156bc121421c3dba9537
2018-02-03 06:19:08 +00:00
Jack Yu
2e9bdd78f2 Merge "Added data service configuration support" 2018-02-03 04:40:46 +00:00
Malcolm Chen
ec1022121b Add strings and carrier config needed network service.
Add resource overlay and carrier config which will determine
which package / network services will be bound to.

Bug: 64132030
Test: regression tests
Change-Id: I5f515ec16b712e7be25f69e0e079d672227542b0
2018-02-02 17:32:48 -08:00
Hall Liu
048b1517b4 Merge "Add missing return statement in setTempFileRootDirectory" am: d281b1a116
am: a376949816

Change-Id: Ib940c4a54821c23aff204e01a0bd097615864415
2018-02-03 01:17:54 +00:00
Pengquan Meng
a8f341c47a Merge "Use IntDef for BCD_EXTENDED_TYPE" am: 97246476a7
am: a2311212a6

Change-Id: I228c3af0f864e97ab28806745466bc2d72e293b3
2018-02-03 00:08:10 +00:00
Treehugger Robot
d281b1a116 Merge "Add missing return statement in setTempFileRootDirectory" 2018-02-02 22:09:34 +00:00
Pengquan Meng
97246476a7 Merge "Use IntDef for BCD_EXTENDED_TYPE" 2018-02-02 21:32:11 +00:00
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
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