Commit Graph

5541 Commits

Author SHA1 Message Date
Sooraj Sasindran
ddc0fa5155 Merge "use putLong for long config" 2019-02-22 04:41:05 +00:00
Sooraj Sasindran
5f7ca3a2b9 use putLong for long config
use putLong for long config
Bug: 124800330
Test: make

Change-Id: Ibb3e9e2fefcc82eab1deecd65ee81aab0fec8c5e
2019-02-22 02:04:36 +00:00
Xiangyu/Malcolm Chen
24328b0c59 Merge "Don't return hidden subscription in getActiveSubIdList" 2019-02-22 00:54:17 +00:00
Malcolm Chen
d91d6b24f8 Don't return hidden subscription in getActiveSubIdList
Now getActiveSubscriptionInfoList will not return hidden
subscriptions. And getActiveSubIdList should be consistent
with it. In the mean time, internal SubscriptionController
API should have a way to specify if caller wants hidden
subscriptions or not.

Bug: 124690005
Test: manual
Change-Id: I46ccae88167c2988d71a6e07da2937bf9644a1f0
2019-02-22 00:49:37 +00:00
TreeHugger Robot
26ad134742 Merge "Fixed incorrect data network type when device is on IWLAN" 2019-02-21 22:41:32 +00:00
Michele Berionne
f8bfbbb96a Merge "Add checks on multisim capabilities." 2019-02-21 21:24:44 +00:00
Leland Miller
65b57ac806 Merge "Add documentation for inserting RCS 1-on-1 thread" am: 4b93dd3ff7 am: 75488cbae5
am: 17a6dc1867

Change-Id: I140a3585a32a6e7c63cbc793ef636b10c3f43637
2019-02-20 16:18:11 -08:00
Jack Yu
2bd032071b Fixed incorrect data network type when device is on IWLAN
When the device is configured as AP-assisted mode, the cellular
network service should reports the cellular data RAT instead of
IWLAN. However, before we clean up all usages of
ServiceState.getDataNetworkType(), we still need to simulate the
old behavior, which is reporting IWLAN as the data network type.
Once all places are cleaned up, we can remove this temporary
solution.

Test: Manual
Bug: 124994459
Change-Id: I37256517af3bcf7330cefe55a33d6f09af7e1353
2019-02-20 15:48:07 -08:00
Nathan Harold
2a3bcc587b Merge "Debug Event for Malformed PLMN ID in CellIdentity" am: 5ea5f198c0 am: e34afe3541
am: eaa8c47c4c

Change-Id: I00e78cf34f0d3644f69c7ea91154fecea3515cf5
2019-02-20 15:29:45 -08:00
Shuo Qian
0f5ff11af1 Merge "Add Prefix per Carrier requirement" 2019-02-20 23:24:35 +00:00
Leland Miller
17a6dc1867 Merge "Add documentation for inserting RCS 1-on-1 thread" am: 4b93dd3ff7
am: 75488cbae5

Change-Id: I8b083f893e837b778a74941ef7b7ed2d12b2e6bc
2019-02-20 15:09:43 -08:00
Nathan Harold
eaa8c47c4c Merge "Debug Event for Malformed PLMN ID in CellIdentity" am: 5ea5f198c0
am: e34afe3541

Change-Id: I8689e2e91dc3dac8499aec09b34ad67a6bde307b
2019-02-20 14:51:42 -08:00
Leland Miller
6ead427b4e Merge "Split RCS events into API and internal classes" am: 609ea873b7 am: 7b46efda19
am: 720a31725d

Change-Id: Id2d914dcb2088ea676c448ff7068ac7229913182
2019-02-20 14:10:06 -08:00
Treehugger Robot
4b93dd3ff7 Merge "Add documentation for inserting RCS 1-on-1 thread" 2019-02-20 22:07:36 +00:00
Nathan Harold
e3d149bbdd Merge "Expose the Radio HAL Version for Test Purposes" am: a6dda25ac9 am: 225ef93d21
am: 0025fc3286

Change-Id: I3fb947c31e5a6fb46d0216fed77e8655ac43492f
2019-02-20 13:10:40 -08:00
Nathan Harold
adcb75d38b Debug Event for Malformed PLMN ID in CellIdentity
Add a debug event to catch the case where the modem
reports a PLMN-ID that is either malformed or incomplete.

Bug: 124332651
Test: compilation
Change-Id: Iffea47349ff999aade2aa26e30f00e5007ba7b4e
2019-02-20 21:07:52 +00:00
Leland Miller
720a31725d Merge "Split RCS events into API and internal classes" am: 609ea873b7
am: 7b46efda19

Change-Id: I2fc31c0fdc1e8eb203830dff9a7914e56ebda413
2019-02-20 13:05:37 -08:00
Nathan Harold
0025fc3286 Merge "Expose the Radio HAL Version for Test Purposes" am: a6dda25ac9
am: 225ef93d21

Change-Id: Ie4b60e4ba25b69eaef298887ca803b428620e33d
2019-02-20 12:42:50 -08:00
Treehugger Robot
609ea873b7 Merge "Split RCS events into API and internal classes" 2019-02-20 20:01:14 +00:00
Nathan Harold
a6dda25ac9 Merge "Expose the Radio HAL Version for Test Purposes" 2019-02-20 17:50:41 +00:00
Xin Li
4ba3b12efb Merge changes from topic "PPRL.190205.001"
* changes:
  Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev
  DO NOT MERGE - Merge PPRL.190205.001 into master
2019-02-20 16:25:58 +00:00
Leland Miller
db2337f779 Add documentation for inserting RCS 1-on-1 thread
Test: None, documentation only
Bug: 124781386
Change-Id: I1ab521aa6ceb54dc513a219b238f66a59fbfab97
2019-02-20 07:53:49 -08:00
Xiangyu/Malcolm Chen
ad44dd90b1 Merge "Adding validate before switch feature." am: f2cf09c945
am: 86ca0ba02f

Change-Id: Ib886edf8fc3d1fa1703adcc0f91e8dff606face0
2019-02-19 21:47:24 -08:00
Xiangyu/Malcolm Chen
86ca0ba02f Merge "Adding validate before switch feature."
am: f2cf09c945

Change-Id: Ie3f4429c1d7efefb83cf8289481a37adddd83801
2019-02-19 21:38:21 -08:00
Xiangyu/Malcolm Chen
f2cf09c945 Merge "Adding validate before switch feature." 2019-02-20 05:25:00 +00:00
Xiangyu/Malcolm Chen
1995aaf852 Merge "Rename PREFERRED_DATA_SUBID_CHANGE to ACTIVE_DATA_SUB_CHANGE" 2019-02-20 05:07:30 +00:00
Xiangyu/Malcolm Chen
4d67623dad Merge "Move getPhoneCount implementation back to TelephonyManager." am: 7d6e085229
am: 2938bf23f7

Change-Id: Id5d2e92feb2a40c8cd6cc3206d3b2a563abd4117
2019-02-19 19:24:11 -08:00
Xiangyu/Malcolm Chen
2938bf23f7 Merge "Move getPhoneCount implementation back to TelephonyManager."
am: 7d6e085229

Change-Id: I5bca6f3d4db132fbf4a0086d38d57ccda53c2780
2019-02-19 19:10:34 -08:00
Xiangyu/Malcolm Chen
7d6e085229 Merge "Move getPhoneCount implementation back to TelephonyManager." 2019-02-20 02:58:09 +00:00
Malcolm Chen
d78dac0bd1 Adding validate before switch feature.
In CBRS DSDS mode, switching data to CBRS network will require
validation first. Adding a component of CellularNetworkValidator
to trigger the validation and pass the result back to PhoneSwitcher.

Bug: 118348832
Test: manual
Change-Id: I689aa494f031834b5cee76906922ebdafa9c77ed
Merged-In: I689aa494f031834b5cee76906922ebdafa9c77ed
2019-02-20 02:52:14 +00:00
Hall Liu
c7e26f7fbb Merge "Turn on enforcing mode for Q-based location APIs" am: 5bc4949f3f am: 7407647336
am: 2dadf15165

Change-Id: I85e0f8f0d637554de609d3b80ab5ab1e4a64afec
2019-02-19 17:52:15 -08:00
Hall Liu
2dadf15165 Merge "Turn on enforcing mode for Q-based location APIs" am: 5bc4949f3f
am: 7407647336

Change-Id: I2392be3559a6bc2052e1ae7b5acfeb5e20ac1415
2019-02-19 17:37:59 -08:00
Shuo Qian
089b142729 Merge "Add 'hasKnownUserIntentEmergency' into ImsCallProfile Parcel" am: 9102b10a00
am: bd50159ba9

Change-Id: I1b4523556c1457aa634dcaa579316ea4360698a1
2019-02-19 17:30:06 -08:00
Hall Liu
7407647336 Merge "Turn on enforcing mode for Q-based location APIs"
am: 5bc4949f3f

Change-Id: I5bbc816a59c8155a89109d8cc77dd4bd1536bd2a
2019-02-19 17:27:02 -08:00
Shuo Qian
bd50159ba9 Merge "Add 'hasKnownUserIntentEmergency' into ImsCallProfile Parcel"
am: 9102b10a00

Change-Id: I91088e4dda584b102409f4007b25f405d538464f
2019-02-19 17:22:07 -08:00
Hall Liu
5bc4949f3f Merge "Turn on enforcing mode for Q-based location APIs" 2019-02-20 01:08:04 +00:00
Malcolm Chen
1a1689a32c Move getPhoneCount implementation back to TelephonyManager.
Moving it inside iTelephony creates problems. Some components call
getPhoneCount during initialization while iTelephony service is not
even running, which will cause phone process to crash.

Bug: 123667461
Test: manual
Change-Id: I51199eaf0bd87055c21fe61af50f4c353137d621
Merged-In: I51199eaf0bd87055c21fe61af50f4c353137d621
2019-02-20 00:49:58 +00:00
sqian
6473542b4d Add 'hasKnownUserIntentEmergency' into ImsCallProfile Parcel
Test: Treehugger
Bug: 123999640
Change-Id: Ie68a02a7e0f9aabe5dbc37806a495169feb63765
Merged-In: Ie68a02a7e0f9aabe5dbc37806a495169feb63765
(cherry picked from commit 0c86fbf491)
2019-02-19 15:25:02 -08:00
TreeHugger Robot
7f7ec2f244 Merge "Add 'hasKnownUserIntentEmergency' into ImsCallProfile Parcel" 2019-02-19 23:19:56 +00:00
Malcolm Chen
026451d9fb Rename PREFERRED_DATA_SUBID_CHANGE to ACTIVE_DATA_SUB_CHANGE
Redefine a PhoneStateListener event so that it reflects which
subscription is currently being used for Internet data. It could
be default user data subscription or currently active opportunistic
subscription.

Bug: 124260187
Test: unittest
Change-Id: Icb90b5bd93845c29157cafddcd53335728638ec2
2019-02-19 14:48:17 -08:00
Leland Miller
c39f23c1a6 Split RCS events into API and internal classes
This will allow us to inject dependencies into the API classes that are
not parcelable or do not come from ircs.

Bug: 123699565
Test: Unit tests pass
Change-Id: Iab4e6ea3fd983eef7fb0cba7311175ea82a444ff
2019-02-19 11:39:49 -08:00
Michele
1b9e7d1f33 Add checks on multisim capabilities.
Rename method isMultisimCarrierRestricted to isMultisimSupported to
indicate extended scope that includes checks on the capabilities of the
hardware to support multi-SIM configuration.

Bug: 123537730
Test: Compilation, test application
Change-Id: I20860c7a25b054b8312c144544726337e09559e2
2019-02-16 00:36:15 -08:00
sqian
69f48c5e90 Add Prefix per Carrier requirement
Some carrier requires if users dial an emergency number address with
some prefix, the combination of the prefix and the address is also a
valid emergency number to dial.

Bug: 122429213
Test: Treehugger
Change-Id: Ib9b96bb0a210aba64a8652984d22f3564813fa9d
2019-02-15 18:29:18 -08:00
Hall Liu
c54582e1f0 Turn on enforcing mode for Q-based location APIs
Also fix some logging.

Bug: 116258458
Test: manual, unit
Change-Id: I370aae906760365d9cd2a35b456d8ff8522c0902
2019-02-15 17:31:29 -08:00
Shuo Qian
a3360f911a Merge "Populate 'hasKnownUserIntentEmergency'" am: 59d8275546
am: b75330904e

Change-Id: I657738047be85983dd633322ac5abe8d48b32f44
2019-02-15 14:01:51 -08:00
Shuo Qian
b75330904e Merge "Populate 'hasKnownUserIntentEmergency'"
am: 59d8275546

Change-Id: If7167ecae8c4de2cfb3a8032beb350fe1e327f32
2019-02-15 13:43:51 -08:00
Shuo Qian
59d8275546 Merge "Populate 'hasKnownUserIntentEmergency'" 2019-02-15 21:23:52 +00:00
Shi Lu
2e31d35a35 Merge "API Review: SIP INVITE fields on a MT call" 2019-02-15 21:01:25 +00:00
Leland Miller
e0f0c74cf9 Merge "Move RCS table creation flag to contract class" am: 0c8bc10ab2 am: 122d78ddac
am: b280d76d1f

Change-Id: Iac5b5b7d729769cf9005391819657573ddc5271f
2019-02-15 11:08:48 -08:00
Leland Miller
b280d76d1f Merge "Move RCS table creation flag to contract class" am: 0c8bc10ab2
am: 122d78ddac

Change-Id: I4431919630371ee77deefce037ce0f7bb7f1a503
2019-02-15 10:48:00 -08:00