Commit Graph

9253 Commits

Author SHA1 Message Date
Sarah Chin
e959f09461 Merge "Add minimum bandwidth config for showing LTE+ data icon" into rvc-qpr-dev 2020-08-27 19:20:18 +00:00
Sarah Chin
ea9d40e140 Add minimum bandwidth config for showing LTE+ data icon
Only show the LTE+ icon if the combined channel bandwidth is greater
than the valued defined. By default, the value is 20 MHz, and if there
is no limit then the value should be 0.

Test: atest NetworkTypeControllerTest
Bug: 160873305
Change-Id: I4068860c5798f921fc198c095ba9b8f84ae5663b
2020-08-26 15:48:14 -07:00
Tyler Gunn
ebceb0dd39 Add default constructor to NR cell classes
The default constructor is missing in CellInfoNr and CellIdentityNr
classes. All the other CellInfo* and CellIdentity* classes have it.

Also, add setCellIdentity(CellIdentityNr) method to CellInfoNr.

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1202369
Bug: 147260058
Test: m
Merged-In: I4617272446ffb32d5d33d14d825f4ed919cc1c47
Change-Id: I4617272446ffb32d5d33d14d825f4ed919cc1c47
(cherry picked from commit 23382679eb)
2020-08-20 17:31:24 +00:00
Sarah Chin
be05cd4b40 Merge "Update NR TAC limit to 3 bytes" into rvc-qpr-dev 2020-08-17 19:42:11 +00:00
Sarah Chin
ca5b04dffa Update NR TAC limit to 3 bytes
TAC was updated to 3 bytes, so the limit is now 0xffffff instead of the
previous 0xffff. Update to meet 3GPP requirements in 24.501 9.11.3.8.

Test: build
Bug: 144433329
Change-Id: Ie007c29671da709f23684ff27d30ef1c377aadc6
Merged-In: Ie007c29671da709f23684ff27d30ef1c377aadc6
2020-08-17 09:57:53 -07:00
Brad Ebinger
75d127dc92 Remove IMS call logs that may leak PII
Bug: 160389340
Test: Check logs for PII
Change-Id: I203b37d8e643c59d69aa26097d223fc4b3f8e332
2020-08-13 00:41:39 +00:00
Daniel Bright
d44c53b4e5 Call on urls changed callback when callback added
Now calling onSubscriberAssociatedUriChanged on IImsRegistrationCallback
when the callback is first added to ImsRegistrationImplBase.

Bug: 159301697
Bug: 161656000
Test: Made phone call
Test: Added unit test
Change-Id: Ibfcb8aaae9d410a09ec98e57d77eccd34fcc222f
2020-08-06 22:01:05 +00:00
Shuo Qian
1818db33e9 Change the range checking for ssrsrq am: 71818ce490
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12254388

Change-Id: I7d7179add69fbc02f23ddd2bc3c39e1fb0f521b1
2020-07-29 20:19:31 +00:00
Shuo Qian
71818ce490 Change the range checking for ssrsrq
Test: Telephony tests
Bug: 159761054
Change-Id: I383f3b5c7b4e89fa7e9cd3be6e77c3d99552b99c
2020-07-28 21:25:20 +00:00
Josh Hou
7d4f7799ca Allow call forwarding number with prefixes to be dialed while on IMS roaming
If the carrier supports call forwarding number prefixes to be allowed
while on IMS roaming, then the number should be dialed and forwarded successfully

Bug: 153413483
Test: Verify the call using *72 <number to be forwarded to> is dialed and forwarded successully
Change-Id: Ia93dec2ebb11aa3ab8f48975a9b6f02089d1482b
2020-07-15 00:06:37 +08:00
Shuo Qian
84c1b0d149 Merge "Change the range of SS-RSRQ per 3GPP TS 38.133 section 10" into rvc-d1-dev 2020-07-11 00:06:35 +00:00
TreeHugger Robot
6162707258 Merge "Expose NR State string method for use in RadioInfo" into rvc-d1-dev 2020-07-10 23:22:45 +00:00
Shuo Qian
26e679e8e4 Change the range of SS-RSRQ per 3GPP TS 38.133 section 10
Test: Doc changes; unit tests
Bug: 159761054
Change-Id: I46ff439d43f64ff21ba5072a8533c60d2557bbb2
2020-07-10 20:35:25 +00:00
Sarah Chin
33e5841e87 Expose NR State string method for use in RadioInfo
Test: build
Bug: 160825855
Change-Id: Ie709cad1c94ad204c46a559d316f45da16c3541c
2020-07-09 19:26:03 -07:00
SongFerngWang
3a3af2fc2f Add carrier config for NR timer reset
KEY_NR_TIMERS_RESET_IF_NON_ENDC_AND_RRC_IDLE_BOOL:
Whetherdevice reset all of NR timers when device camped on a
network that haven't 5G capability and RRC currently in IDLE state.

Bug: 160365713
Test: build pass.
Change-Id: I9802b8712798054a85307e549fb665bc85166311
2020-07-09 05:21:59 +08:00
Jack Yu
db897af77d Disable DUN APN while roaming for certain carriers
Some carriers would like to use default APN for
tethering while the device is roaming. Added a new
carrier config to disable DUN APN while the device
is roaming.

Fix: 158546796
Test: DcTrackerTest
Change-Id: I2e633fd764f86b196a6ee0c29af2b97733e82c66
2020-06-24 22:29:23 +00:00
TreeHugger Robot
3fa2d86fd0 Merge "Add additional info to device ID docs in TelephonyManager and Build" into rvc-dev 2020-06-24 16:15:32 +00:00
Michael Groover
e0de018109 Add additional info to device ID docs in TelephonyManager and Build
Android 10 introduced additional restrictions to access persistent
device identifiers. This commit updates the javadocs for
TelephonyManager and Build to provide additional details regarding
the requirements and how to check if these requirements are met.

Fixes: 158471988
Test: m docs -j
Change-Id: I02932a22ecc5b761aa1a92d59d09d31863c34235
2020-06-23 19:52:51 -07:00
Michael Groover
e219b9196f Merge "Update SubInfo docs for ICC ID / num restrictions in API 30" into rvc-dev 2020-06-22 20:58:24 +00:00
Michael Groover
0643914d05 Update SubInfo docs for ICC ID / num restrictions in API 30
In Android 11 access to the ICC ID is guarded behind the same access
restrictions as the SIM serial number; the requirements to access the
device phone number have also changed. This commit updates the docs to
reflect that these changes are active starting from API level 30.

Fixes: 159568585
Test: m docs -j
Change-Id: I5ececac6f8dee5281d8bfc6c62408a18c8b3effa
2020-06-21 18:43:23 -07:00
TreeHugger Robot
6f000e189b Merge "Reset cell broadcast config before enabling all channels" into rvc-dev 2020-06-19 22:02:39 +00:00
Jack Yu
88fb45c1a9 Reset cell broadcast config before enabling all channels
Before cell broadcast config service enabling all channels, it
reset all channels that were previously enabled. This will make
sure the full channel config can be pushed down to modem. This
also solved the issue that channel config not sending to modem
when SIM is swapped. Note that a hidden API is added and will
be unhide in the next Android release.

Fix: 155027085
Test: Manual
Merged-In: Id571b990f4e45aea5bbab0dbadce48dda7b2bc56
Change-Id: Id571b990f4e45aea5bbab0dbadce48dda7b2bc56
2020-06-17 15:47:23 -07:00
SongFerngWang
d1b164401e Add a carrier config for WFC's carrier name override by ef_pnn
To override wifi calling's carrier name string using ef_pnn
from sim card.

Bug: 157108864
Test: UE with TMO sim card to test in Roaming and WFC on, and then
check operator name. (PASS)

Change-Id: Id72ce2a9a0fb8f45efa8a975e8052808f726a971
2020-06-17 14:40:52 +08:00
Sooraj Sasindran
06e61f7cd5 Merge "Add hidden API to support allowed networks reason" into rvc-dev 2020-06-13 03:14:37 +00:00
TreeHugger Robot
9ff2625493 Merge "Fixed unreadble debug messages" into rvc-dev 2020-06-13 02:23:16 +00:00
Sooraj Sasindran
7e4cd920e7 Add hidden API to support allowed networks reason
Add hidden API to support allowed networks type for
specific reason like power.

Bug: 156709797
Test: system test
Change-Id: If4424d7d94ac26ad31725a1658dad5751d0d2629
2020-06-12 18:31:37 -07:00
Jack Yu
e7580a7238 Fixed unreadble debug messages
Fix: 158875554
Test: Manual
Change-Id: I8aa45474521e4ef5e2368ab25c6c39445e9f779c
2020-06-12 16:06:47 -07:00
Shuo Qian
6775b77bd5 Change the threshold for RSSNR from 10*db to db
Test: SignalStrengthTest
Bug: 158539126
Change-Id: I9bc4b2f601d7d3f2a32ca34768ecb2a78d59d5bb
2020-06-12 17:39:37 +00:00
Jack Yu
29cb5d5028 Fix unreadable debug message in cell identity
Fix: 158785766
Test: Manual
Change-Id: Ie9e7fbb88da163fcac3a8e97310f5ce357acbdf5
2020-06-11 15:20:10 -07:00
TreeHugger Robot
a4d247cfbf Merge "Update UL values for NR" into rvc-dev 2020-06-05 19:55:07 +00:00
Sarah Chin
6963421dfe Update UL values for NR
Test: build
Bug: 158218596
Change-Id: I2d548711c5de9683b57dc7bbeea9379d23b18343
2020-06-04 11:29:21 -07:00
Jack Yu
059be24240 Store ETWS primary information in the database
ETWS primary/secondary flag needs to be saved in the
database in order to perform duplicate check later. Used the
hardcoded database column name because Android R API freezes.
Will remove the hardcode in the next Android release.

Fix: 157699377
Test: CtsTelephonyTestCases & CellBroadcastServiceTests
Change-Id: Iedec92a1f435f60ceb9f36637a1718adbbd7e2ae
2020-06-03 21:18:54 +00:00
Brad Ebinger
0093603809 Merge "Remove IllegalArgumentException for registration of capabilities" into rvc-dev 2020-05-27 18:10:51 +00:00
TreeHugger Robot
505380e42c Merge "Remove spammy log line." into rvc-dev 2020-05-27 03:01:09 +00:00
Amit Mahajan
5c5635ac7d Remove spammy log line.
Test: TH
Bug: 157172358
Change-Id: Ib76bd317bdd21ef6c1272d38f102f8e40b66d9b8
2020-05-26 14:51:21 -07:00
Allen Su
07fd727050 Merge "[KDDI] Define carrier config for call forwarding items" into rvc-dev 2020-05-25 02:54:22 +00:00
Brad Ebinger
ffb93e5dd6 Remove IllegalArgumentException for registration of capabilities
We threw an IllegalArgumentException for an invalid subscription,
however this is counter to what this exception should be used for.
Instead, use ImsException#CODE_ERROR_INVALID_SUBSCRIPTION.

Also fixed incorrect ImsException sent when telephony crashed.

Bug: 156402275
Test: atest FrameworksTelephonyTests; CtsTelephonyTestCases; manual
Change-Id: I3250419a2438afb58922ae653e3f2e4f9628e593
2020-05-21 16:41:01 -07:00
Brad Ebinger
0b35eb55a8 Merge "Fix MmTelFeatureConnection Memory Leak" into rvc-dev 2020-05-20 19:07:49 +00:00
allenwtsu
6206afc8c1 [KDDI] Define carrier config for call forwarding items
Test: build pass
Bug: 149274975
Change-Id: Ie49ca51497e8f0d9f16d14cc183311dcd02d8bbb
2020-05-19 23:06:33 +08:00
Brad Ebinger
64e101323b Fix MmTelFeatureConnection Memory Leak
In FeatureConnection, we never cleaned up the ImsFeatureStatusCallback
after it was destroyed, leaving zombie FeatureConnections around.

Bug: 156893040
Test: atest FrameworksTelephonyTests
Change-Id: Idcf8b558c3807a3f9f5094afee532e76ea6f02cb
2020-05-18 17:46:06 -07:00
TreeHugger Robot
b8ec05c9f0 Merge "Fix UCE docs" into rvc-dev 2020-05-18 23:04:41 +00:00
Hunter Knepshield
7eeed0981e Merge "Reapply aosp/970247 to fix SubInfo#toString." into rvc-dev 2020-05-18 22:30:16 +00:00
Hunter Knepshield
e23886b901 Reapply aosp/970247 to fix SubInfo#toString.
Looks like somewhere along the line this was partially overwritten by
another change. This makes the toString value consistent and stops the
MNC field from running into the country ISO code.

Test: compilation (trivial)
Change-Id: Ifdc00d340ae8ce31c224decebdd6c7aa4230bdb7
Bug: 8675309
2020-05-18 22:29:59 +00:00
Brad Ebinger
1735254a44 Fix UCE docs
Clarify some of the docs for UCE Intent.

Fixes: 156114453
test: docs only
Change-Id: I01617d0741055e347e05bdbd5eb5a6825f896e73
2020-05-18 21:22:26 +00:00
Sarah Chin
a718624635 Merge "Create carrier config for NR enabled setting" into rvc-dev 2020-05-15 18:47:12 +00:00
Sarah Chin
39c87c67d8 Create carrier config for NR enabled setting
Test: build
Bug: 155915216
Change-Id: Ib81bb6b1712fcf53723df04f162c50a89c96e04d
2020-05-13 23:44:12 -07:00
Calvin Pan
4bf8746b40 Merge "Update getSimCarrierId() document" into rvc-dev 2020-05-14 01:59:25 +00:00
calvinpan
18d70ab7b0 Update getSimCarrierId() document
Carrier_list.pb move to latest_carrierid/ folder, so update the
description.

Bug: 155254987
Test: Build pass
Change-Id: Iacf1bfe68fa86194e8b75cbfce9aa37c0abfbca3
2020-05-13 12:11:33 +08:00
Brad Ebinger
3e79d2dcf9 Merge "Do not throw RemoteException for notifyUserActivity" into rvc-dev 2020-05-11 20:35:00 +00:00
Shuo Qian
95ff60f2fd Merge "Modify the default values to avoid 2 DB hysteresis DB limitation" into rvc-dev 2020-05-11 20:22:13 +00:00