Commit Graph

13079 Commits

Author SHA1 Message Date
Jordan Liu
2a274fa1c7 Merge "Implement equals and hashCode" into rvc-dev am: 74918ad98b
Change-Id: Id6e4a9d2652693eb9fedf0a8251792405ada3111
2020-04-20 18:57:02 +00:00
Jordan Liu
74918ad98b Merge "Implement equals and hashCode" into rvc-dev 2020-04-20 18:50:02 +00:00
TreeHugger Robot
58232838fb Merge "DO NOT MERGE Remove references of telephony-stubs." into rvc-dev 2020-04-18 06:16:44 +00:00
Jack Yu
92f2dcfa9e Merge "Debug message fix" into rvc-dev am: 3fc3559385
Change-Id: Ic9a769067373ca7fb5069d2e803dea1e6c3e7f4c
2020-04-18 03:48:33 +00:00
Jack Yu
3fc3559385 Merge "Debug message fix" into rvc-dev 2020-04-18 03:28:15 +00:00
Mingming Cai
13dd8c3b6f Merge "Make MNC length hidden public" into rvc-dev am: a29134bae4
Change-Id: I46ff0bc0dc2b61650885c97b4446e0b3a7d658c0
2020-04-18 00:06:27 +00:00
Jack Yu
06d85c3da9 Debug message fix
Fixed the toString and made overrideNetworkTypeToString
public for debugging purposes.

Fix: 154229268
Test: Manual
Change-Id: I5c886de22543188032df172810b987cff964577b
2020-04-17 16:05:53 -07:00
Jordan Liu
00fd9fd017 Implement equals and hashCode
This keeps SmsHeader in sync with cellbroadcastservice.SmsHeader.

Bug: 148482334
Test: builds
Change-Id: I2a3188a603595e4c97acf6413036dcddf35c0b87
2020-04-17 19:10:59 +00:00
Mingming Cai
3f9e9edb8e Make MNC length hidden public
Make CellIdentity.MNC_MIN_LENGTH and CellIdentity.MNC_MAX_LENGTH
hidden public to support IccRecords changes.

Bug: 152518548
Test: make
Change-Id: Ic253a6bbbf07e4ce62a7ea25ca67dff54e2c67c8
2020-04-17 03:17:46 -07:00
TreeHugger Robot
b04bd512bd Merge "Set legacy MTU field for backward compatibility" into rvc-dev am: bd9f62a4d1
Change-Id: Ie00e0d95700d784c69f402cb12edd6a9317b6440
2020-04-16 05:50:44 +00:00
TreeHugger Robot
bd9f62a4d1 Merge "Set legacy MTU field for backward compatibility" into rvc-dev 2020-04-16 05:35:16 +00:00
Amit Mahajan
7973105d8b DO NOT MERGE Remove references of telephony-stubs.
Since it's not used for now.

Test: TH
Bug: 153304048
Merged-in: I1812818c3d49463c3840a98212bbab58a110359a
Change-Id: I1812818c3d49463c3840a98212bbab58a110359a
2020-04-15 17:55:52 -07:00
Jack Yu
8d41fd3a92 Set legacy MTU field for backward compatibility
For IWLAN, MTU is not negotiated as part of the RA. The interface
MTU is still necessary here to ensure full backward compatibility.
To workaround this, we set legacy mtu field with the larger value
of mtu v4 and mtu v6.

Fix: 153470573
Test: FrameworkTelephonyTests
Change-Id: I0671618817a295cc4e9c75df17501de338dbe155
2020-04-15 16:15:23 -07:00
TreeHugger Robot
68b478ae75 Merge "[5G settings UI] Add config for the 5G limited VoLTE alert dialog" into rvc-dev am: f3b2dc9b03
Change-Id: Ic5b90153b54d5a0b819ae95ad0c46c776d40123a
2020-04-15 17:23:27 +00:00
Sarah Chin
d6746cb65e Merge "Add carrier config for roaming meteredness" into rvc-dev am: 22f4b399ec
Change-Id: I2bd186b56274e28c60a629f138211419134296bc
2020-04-15 17:03:36 +00:00
TreeHugger Robot
f3b2dc9b03 Merge "[5G settings UI] Add config for the 5G limited VoLTE alert dialog" into rvc-dev 2020-04-15 08:47:04 +00:00
Sarah Chin
dc310318e9 Add carrier config for roaming meteredness
Test: atest DcTrackerTest, DataConnectionTest
Bug: 152541872
Change-Id: I07e9fd2cf42de8c6f924cda5e16aa6820baef4cd
2020-04-14 17:25:40 -07:00
Xiangyu/Malcolm Chen
2565a56708 Merge "Add a @hide API to indicate 5G and DSDS conflict." into rvc-dev am: e9dc36d551
Change-Id: Ib19013fbbcbc3a499739ec56d5b6c2461befc3d8
2020-04-14 22:23:51 +00:00
Xiangyu/Malcolm Chen
e9dc36d551 Merge "Add a @hide API to indicate 5G and DSDS conflict." into rvc-dev 2020-04-14 22:17:28 +00:00
Malcolm Chen
e92ce14eb7 Add a @hide API to indicate 5G and DSDS conflict.
Bug: 152786064
Test: build and manual
Change-Id: I79a8fda5b70a31acc365ebcbb03b73b20d2443fd
2020-04-14 11:19:48 -07:00
SongFerng Wang
3f77974bf9 Merge "For NR (non-standalone), use LTE signal strength as primary rule" into rvc-dev am: 6cfdd46d4b
Change-Id: I1b3f23b1203c4673bf558067a9220697486e1fb0
2020-04-14 09:45:46 +00:00
SongFerngWang
27b6a58a41 [5G settings UI] Add config for the 5G limited VoLTE alert dialog
Flag specifying whether to show an alert dialog for 5G disable
when the user disables VoLTE.

Bug: 151313654
Test: build pass. manual test: UI show alert dialog.
Change-Id: I5a5ab9e47722ad2ba28038233c5d2fc5fbe7e667
2020-04-14 04:25:22 +00:00
SongFerngWang
68c58a57b0 For NR (non-standalone), use LTE signal strength as primary rule
There are two signal strengths, NR and LTE signal strength,
during NR (non-standalone). A lot of carriers' requirement define
UE show LTE signal strength on status bar during
NR (non-standalone).
Add a carrier config whether to use LTE signal strength as
primary during NR (non-standalone)

Bug: 152864241
Test: make pass.
Change-Id: Ib13d73719dace2d80aee5669181f4f934316ffd1
2020-04-14 11:16:47 +08:00
Daniel Bright
534f31c6ad Merge "Add CarrierConfig key to customize apn priority" into rvc-dev am: 2a639e9786
Change-Id: I942602b2559dac56eb21c9bf34ec94e561a6e1bc
2020-04-11 05:17:25 +00:00
Daniel Bright
2a639e9786 Merge "Add CarrierConfig key to customize apn priority" into rvc-dev 2020-04-11 04:56:25 +00:00
Sarah Chin
c8fff7ea25 Merge "Add carrier configs for NR SA unmetered" into rvc-dev am: 31354ac59f
Change-Id: Ifbccbbfbe740e0ec59efc09346e6311f5555eae3
2020-04-11 00:09:15 +00:00
Daniel Bright
14ad84249a Add CarrierConfig key to customize apn priority
Test: atest on com.android.internal.telephony.dataconnection
Test: Make phone call
Test: Send text message
Test: Hit websites on chrome
Test: Override pririties using carrier config using broadcast
Bug: 152324921
Change-Id: Ib2139a93768999c2a867e40fea8d86c0ce730130
Merged-In: I259071334c135709fc98c989a9b7c8c35f449578
2020-04-10 23:53:21 +00:00
Sarah Chin
31354ac59f Merge "Add carrier configs for NR SA unmetered" into rvc-dev 2020-04-10 23:38:37 +00:00
Jordan Liu
d4157988dc Merge "Implement #equals in Geometries subclasses" into rvc-dev am: daeb3d4b5e
Change-Id: I1b21df3f32c88a6393fa23526dc1d5eafba0f8e8
2020-04-09 18:22:25 +00:00
Jordan Liu
daeb3d4b5e Merge "Implement #equals in Geometries subclasses" into rvc-dev 2020-04-09 18:15:39 +00:00
Sarah Chin
5956f3080c Add carrier configs for NR SA unmetered
Test: atest DcTrackerTest
Bug: 153117651
Change-Id: I1543a7943d8bcd536ece5cb673b419e740086111
2020-04-09 10:33:39 -07:00
Nathan Harold
5e5a8b2095 Merge "Add warning about TelephonyManager Reliability" into rvc-dev am: ae87a963b8
Change-Id: Ie42122275298340ce3967623af534772d474240b
2020-04-09 16:40:28 +00:00
Nathan Harold
ae87a963b8 Merge "Add warning about TelephonyManager Reliability" into rvc-dev 2020-04-09 16:38:41 +00:00
Jordan Liu
1486437ad2 Implement #equals in Geometries subclasses
Bug: 148482334
Test: atest CbGeoUtilsTest
Change-Id: Ifc9aeaf378ac3221fc25690ed6ce33108cf2f56f
2020-04-08 14:42:02 -07:00
Nathan Harold
9ec1a993c6 Add warning about TelephonyManager Reliability
Add a warning that TelephonyManager methods may not behave
in a consistent way on devices that do not implement
FEATURE_TELEPHONY.

Methods may succeed, may fail loudly, may silently fail, depending
on underlying device support and manufacturer-specific decisions.
When FEATURE_TELEPHONY is not declared, CTS does not enforce any
particular behavior.

Bug: 150006590
Test: compilation (docstring-only change)
Change-Id: I80f5031a43ccc8e5af97d341cf00e48afb80f63a
2020-04-08 14:37:16 -07:00
Tyler Gunn
bf6b30d27a Merge "Add carrier config to support local disconnect of empty IMS conference." into rvc-dev am: 9b82cceb59
Change-Id: If6fb25b669a74e7e586736c04101a42ab6adcffe
2020-04-08 20:25:29 +00:00
Tyler Gunn
9b82cceb59 Merge "Add carrier config to support local disconnect of empty IMS conference." into rvc-dev 2020-04-08 20:15:32 +00:00
Tyler Gunn
c766cf8e36 Merge "Add carrier config to indicate if cep is supported on peer." into rvc-dev am: edb826c298
Change-Id: I47b5e49acf08e085ea23e21a5f6b2d5a5d00bc09
2020-04-08 15:04:45 +00:00
Tyler Gunn
edb826c298 Merge "Add carrier config to indicate if cep is supported on peer." into rvc-dev 2020-04-08 15:02:11 +00:00
Jack Yu
e88497eb8c Merge "Only setup data when config and sim is ready" into rvc-dev am: 8f19a55f50
Change-Id: I36329d71b79c7c2e46f76589a33af0b8017e84f6
2020-04-08 08:34:23 +00:00
Jack Yu
8f19a55f50 Merge "Only setup data when config and sim is ready" into rvc-dev 2020-04-08 08:13:10 +00:00
Tyler Gunn
4eb1891b56 Add carrier config to support local disconnect of empty IMS conference.
Adding carrier config key to support ability to locally disconnect an
empty IMS conference.  The network normally does this, but there             are some
carriers which rely on the device to do it.

Test: Add unit test to verify local disconnect when participant count is
zero.
Test: Use conference event package test cmd/intents to inject test CEP to
simulate a conference dropped to 0 participants.  Verify IMS conference is
disconnected.
Fixes: 151707520

Change-Id: Id7238bc668e6d6d2d7a04a8696263b260d6b6fd8
2020-04-07 19:01:15 -07:00
Hall Liu
a55f29dfe6 Merge "Fix order of uid/pid in LocationAccessPolicy" into rvc-dev am: f6d37fc03f
Change-Id: I251886aafa2269c90461e22d53c3a388a0441a92
2020-04-08 00:49:44 +00:00
Jack Yu
38de77534a Only setup data when config and sim is ready
SIM needs to be fully loaded before we can setup
data connection because APN slection requires
MCC/MNC on the SIM. Also lots of data related configs
are stored in carrier config. Both needs to be ready
before we can setup a data connection (except for
emergency APN).

Bug: 152816633
Test: Manual + unit tests

Change-Id: I69c7838bdd9751bef4c15e9504519b55afb9fefb
2020-04-07 16:57:59 -07:00
Hall Liu
7e826f9531 Fix order of uid/pid in LocationAccessPolicy
Fix the order in which uid and pid are passed into the permission check.

Test: atest LocationAccessPolicyTest
Fixes: 151330809
Change-Id: I479c8fc123d5a994e8cbe6489aa00bea4abca1c7
(cherry picked from commit 0cd4dbc0b3)
2020-04-07 21:20:07 +00:00
James Lin
12dd15688d Merge "[RCS] Add apis to register and unregister UCE publish state changed." am: 9f4da761af am: 8c5c4b55a9
Change-Id: Ieaf763cbe8b5df54e17923966d89f69082b2a0fc
2020-04-07 17:42:37 +00:00
James Lin
8c5c4b55a9 Merge "[RCS] Add apis to register and unregister UCE publish state changed." am: 9f4da761af
Change-Id: I8edee149e6a53ba180abc510f64ca1405b781307
2020-04-07 17:26:20 +00:00
James Lin
9f4da761af Merge "[RCS] Add apis to register and unregister UCE publish state changed." 2020-04-07 17:10:41 +00:00
Treehugger Robot
d65e5d7f8b Merge "Use an original text for next force 7bit encoding" am: d72172d5de am: f61540d482
Change-Id: Ifcfeae5477074c163224b242ab93a894efee3baa
2020-04-07 03:16:11 +00:00
Treehugger Robot
f61540d482 Merge "Use an original text for next force 7bit encoding" am: d72172d5de
Change-Id: Iebf62e4fc4f8618e3b92fd79de527bc70972ddaf
2020-04-07 02:52:41 +00:00