Commit Graph

13083 Commits

Author SHA1 Message Date
Jack Yu
78b4100272 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-18 23:42:45 +00:00
TreeHugger Robot
51ff852593 Merge "Add a carrier config for WFC's carrier name override by ef_pnn" into rvc-dev am: 29db7a6a62 am: 778a866f06
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11874044

Change-Id: I695548eb16b92fa97da8817b8407b2fffeb626fc
2020-06-18 22:00:43 +00: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
1dfff63b39 Merge "Add hidden API to support allowed networks reason" into rvc-dev am: 06e61f7cd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712805

Change-Id: Ia5e38013db7a64afc03b3564c1f336622e834e7c
2020-06-13 03:23:35 +00: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
faac366840 Merge "Fixed unreadble debug messages" into rvc-dev am: 9ff2625493
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11855413

Change-Id: I7d153d6fecc4f188ca46672c2117d7e3cb26e299
2020-06-13 02:36:47 +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
Hall Liu
dd1aa9dc92 Merge "Throw exception from addServiceAnnouncement impl" am: a179e9f6e7 am: 15b0dc5eb3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1322368

Change-Id: I13727534d36ab9925b9e602b8dc31e2a2b082d63
2020-06-12 23:16:01 +00:00
Automerger Merge Worker
5fb38bc9e8 Merge "Merge "Change the threshold for RSSNR from 10*db to db" into rvc-dev am: 46ff383585" into rvc-dev-plus-aosp 2020-06-12 23:15:41 +00:00
Shuo Qian
2a3cc13e14 Merge "Change the threshold for RSSNR from 10*db to db" into rvc-dev am: 46ff383585
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838961

Change-Id: I1520ad742a9bc4ab0beeb009b5ebfb85f0260cbd
2020-06-12 23:15:15 +00:00
Hall Liu
c6fc7c6ca8 Merge "Rename addServiceAnnouncement-related methods" am: 6f68b4bf53 am: c31fa35b94
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1311925

Change-Id: Ib3d1a0773170168cb3f2a1aa3c906d5a47286fe3
2020-06-12 23:14:46 +00: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
TreeHugger Robot
8d03c829db Merge "Fix unreadable debug message in cell identity" into rvc-dev am: 11ce6826b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11843145

Change-Id: I911180c11f806baccb654b6e703f2ad2debae6b4
2020-06-12 00:09:14 +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
Hall Liu
915a081cd6 Throw exception from addServiceAnnouncement impl
Throw an UnsupportedOperationException from the base implementation of
addServiceAnnouncement and add supporting documentation.

Bug: 155926142
Test: existing CTS
Change-Id: Ib120b650d2a29acdacb9877cdeeba4b782f3f189
2020-06-08 17:14:54 -07:00
Hall Liu
70afad6952 Rename addServiceAnnouncement-related methods
Address feedback on the API

Fixes: 155926142
Test: CTS
Change-Id: I69e17faf4d09ab686fdd97975bc7f069597b87b3
2020-06-08 16:32:47 -07:00
Xin Li
d7785982ac Merge "Merge QQ3A.200605.002 into master" 2020-06-06 01:41:11 +00:00
Automerger Merge Worker
b1ac0342ea Merge "Merge "Correct comments/documentation" am: a2d5e8c2bf am: 5a02fb8e59" into rvc-dev-plus-aosp 2020-06-05 20:04:49 +00:00
Shi Lu
23a250eeb7 Merge "Correct comments/documentation" am: a2d5e8c2bf am: 5a02fb8e59
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1299587

Change-Id: I76880af2dcfe1951d272ec27bf2ba282aef5ed34
2020-06-05 20:04:33 +00:00
TreeHugger Robot
bc1b5f3f6c Merge "Update UL values for NR" into rvc-dev am: a4d247cfbf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739778

Change-Id: Ic428042f124f4e0c40370b00d1df9f769b7a845d
2020-06-05 20:04:18 +00:00
TreeHugger Robot
a4d247cfbf Merge "Update UL values for NR" into rvc-dev 2020-06-05 19:55:07 +00:00
Shi Lu
5a02fb8e59 Merge "Correct comments/documentation" am: a2d5e8c2bf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1299587

Change-Id: Id382c91f9d6fbc4c7dc5ba577d1e0e9b89dd0976
2020-06-05 19:51:07 +00:00
Shi Lu
a2d5e8c2bf Merge "Correct comments/documentation" 2020-06-05 19:35:27 +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
Allen Su
63c1d4e812 Merge "[KDDI] Define carrier config for call forwarding items" am: f7c1dc5a3a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1322498

Change-Id: I153f47181cd6a1052751518e6a9f41b924f6267d
2020-06-04 03:18:17 +00:00
Jack Yu
28becbf0b8 Merge "Store ETWS primary information in the database" into rvc-dev am: dc9e545bd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712801

Change-Id: I2a353c1939bdd2487ffcc4df71b3903e95cdffb6
2020-06-04 00:54:08 +00: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
allenwtsu
2a4441dc1c [KDDI] Define carrier config for call forwarding items
Test: build pass
Bug: 158013358
Bug: 149274975
Change-Id: Ie49ca51497e8f0d9f16d14cc183311dcd02d8bbb
Merged-In: Ie49ca51497e8f0d9f16d14cc183311dcd02d8bbb
2020-06-03 10:18:03 +00:00
Brad Ebinger
d3360490b7 Merge "Remove IllegalArgumentException for registration of capabilities" into rvc-dev am: 0093603809
Change-Id: I27e16b483d9a33fe5f0fadbfab9fd10ed9cdcf5b
2020-05-27 18:24:05 +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
5671bd38db Merge "Remove spammy log line." into rvc-dev am: 505380e42c
Change-Id: I62364fa7772662b5e0523945568dbdce9f1c37b7
2020-05-27 03:19:36 +00:00
TreeHugger Robot
505380e42c Merge "Remove spammy log line." into rvc-dev 2020-05-27 03:01:09 +00:00
Brad Ebinger
ed917bbe47 Merge "Fix possible deadlock in incoming call" am: c203e56238
Change-Id: Ifcfb48a88afbf4c46dcb87b8d07bac9763eb5b4f
2020-05-27 00:41:15 +00:00
Brad Ebinger
3c1c15c9a2 Fix possible deadlock in incoming call
When notifying the framework of an incoming call, a lock is held
in both the MmTelFeature and MmTelFeatureConnection. This can cause
a deadlock if the MmTelFeatureConnection is also processing an
event, such as sending/acknowleging an SMS message.

Remove the lock around the listener methods to the framework, since
it is not needed.

Bug: 155083563
Fixes: 155819733
Test: atest CtsTelephonyTestCases:ImsServiceTest FrameworksTelephonyTests
Change-Id: I39f7192c6f79e215ef989797870f5f501197cd08
Merged-In: I39f7192c6f79e215ef989797870f5f501197cd08
2020-05-26 15:52:09 -07: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
0e3639174d Merge "[KDDI] Define carrier config for call forwarding items" into rvc-dev am: 07fd727050
Change-Id: I8e6f40aee0c4bff7d7784accb75edc41471e3486
2020-05-25 03:14:33 +00: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
9ced939313 Merge "Fix MmTelFeatureConnection Memory Leak" into rvc-dev am: 0b35eb55a8
Change-Id: Id06fda9d0a3f3995c9497410e79ccb72c4862a43
2020-05-20 19:28:00 +00: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
Calvin Pan
99fb86a51a Merge "Update getSimCarrierId() document" am: 4e61079a4c
Change-Id: I486690f2cb60629cd864d7acc919df3342a2f6ac
2020-05-19 09:00:36 +00:00
Calvin Pan
4e61079a4c Merge "Update getSimCarrierId() document" 2020-05-19 08:40:12 +00: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
Amit Mahajan
963957ed4d Merge "DUT fail to unlock SIM after selecting Home IMSI from STK When unlock SIM pin,SIM begin refresh, and the UiccCardApp was disposed." am: 62120dcc8c am: 67bec2d79b
Change-Id: I2395255c3da76bb1da99fe243a280c65ba9baf95
2020-05-19 00:16:28 +00:00
Amit Mahajan
67bec2d79b Merge "DUT fail to unlock SIM after selecting Home IMSI from STK When unlock SIM pin,SIM begin refresh, and the UiccCardApp was disposed." am: 62120dcc8c
Change-Id: I50ca70c0e9a3a20bc64604e9e05cec619111679f
2020-05-18 23:55:10 +00:00
Amit Mahajan
62120dcc8c Merge "DUT fail to unlock SIM after selecting Home IMSI from STK When unlock SIM pin,SIM begin refresh, and the UiccCardApp was disposed." 2020-05-18 23:38:22 +00:00
TreeHugger Robot
baa92662b4 Merge "Fix UCE docs" into rvc-dev am: b8ec05c9f0
Change-Id: I40924079a2fa2c2db2eec7346e3989c4cbed6186
2020-05-18 23:09:39 +00:00