Commit Graph

5375 Commits

Author SHA1 Message Date
Treehugger Robot
1953ea490f Merge "SDK API doesSwitchModemConfigTriggerReboot" 2019-08-28 17:51:50 +00:00
Treehugger Robot
0280bd3970 Merge "No need PDU data for deleteMessageFromIcc()" 2019-08-28 08:01:30 +00:00
Pengquan Meng
9bc9b80912 Merge "Support WAC decoding in UMTS format" 2019-08-27 20:16:54 +00:00
Treehugger Robot
78658058dc Merge "Fix NPE" 2019-08-27 20:14:20 +00:00
Pengquan Meng
c3427c01b3 Support WAC decoding in UMTS format
This add a decoder for WAC information. WAC is appended to the UMTS
cell broadcast message. The encoding is defined in ATIS-0700041.

Bug: 123096618
Test: build & manual test
Merged-In: I73dc22c27c2cfd47000ae65448fbc857ed9aa42f
Change-Id: I73dc22c27c2cfd47000ae65448fbc857ed9aa42f
(cherry picked from commit 14df7e3845369e7254e6aae13160c7e1caa1d28a)
(cherry picked from commit 1f64582bdf)
2019-08-26 16:24:14 +00:00
Taesu Lee
265dc5bce2 No need PDU data for deleteMessageFromIcc()
Test: Manual

Change-Id: I5a64546cb9da57c039c7c86768f3710a1874220d
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2019-08-26 16:11:17 +09:00
Pengquan Meng
071936e546 Merge "Add fileds to Cellbroadcast" 2019-08-23 23:40:29 +00:00
Jack Yu
7302b24f48 Fixed null callback issue
Fixed the vendor data/network service non-responsive
issue. The callback binder passed from frameworks
might be GC'd so that vendor data/network service skipped
calling the callback. This eventually caused data
connection state machine messed up.

Fixed by turning the weak refernce to the callback into
a strong reference. This ensure the binder alive when
vendor service needs to invoke the callback.

Test: Telephony sanity tests
Bug: 139076980
Merged-In: Ica0b7b810ffd5416ffd1b2b61f7ebc4af0dcb8ce
Change-Id: Ica0b7b810ffd5416ffd1b2b61f7ebc4af0dcb8ce
(cherry picked from commit 09ef1cb126)
2019-08-22 01:41:03 -07:00
Jack Yu
594931f5d9 Added debug messages and watchdog
Added debug messages and watchdog to catch
unresponsive data service issue.

Bug: 139076980
Test: Manual
Merged-In: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5
Change-Id: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5
(cherry picked from commit 36e2bfbaad)
2019-08-22 01:38:34 -07:00
Pengquan Meng
7032c1e72e Add fileds to Cellbroadcast
This add some fileds to CellBroadcasts in order to support the WEA 3.0
geo-fencing.

Bug: 123096618
Test: atest TelephonyProviderTests
Merged-In: Ied0780cb1b9993e6d8cdb80131ba2f8b8affcb54
Change-Id: Ied0780cb1b9993e6d8cdb80131ba2f8b8affcb54
(cherry picked from commit 5c6e975ce4a973619f20167644475b04e663ee4e)
2019-08-21 17:40:54 -07:00
Treehugger Robot
f5d5de8a0f Merge "Added Part & Addr Constants." 2019-08-21 21:18:31 +00:00
Treehugger Robot
8f48cb7e7e Merge "Fix incorrect descriptions under SMS contract" 2019-08-19 14:22:21 +00:00
sung_jae
ed91c3a159 Fix NPE
Add checking of NPE in getNumberFromIntent API of PhoneNumberUtils.

Test: atest CtsTelephonyTestCases

Change-Id: I507ee020a98a919edc35e6402c0b8f9f84898870
Signed-off-by: sung_jae <sung_jae.kim@samsung.com>
2019-08-19 10:33:26 +09:00
Brad Ebinger
4204a6017e Merge "Modify RCS UCE APIs to use AIDL Interfaces." 2019-08-13 22:46:18 +00:00
Leland Miller
3e85da2d89 Merge "Add documentation for Locked Messages" 2019-08-12 23:42:56 +00:00
Leland Miller
8627256f12 Fix incorrect descriptions under SMS contract
Fixes: 117203793
Test: N/A, only modifies documentation
Change-Id: I5c4bc23e41bc0d1c97bccf7e288c4c41d8e1a438
2019-08-08 10:40:05 -07:00
Jack Yu
13b0b1a73d Merge "Added disallowed APN types configuration support" 2019-08-08 04:16:30 +00:00
Brad Ebinger
06a48decec Modify RCS UCE APIs to use AIDL Interfaces.
Integrate AIDL backend into RCS UCE APIs.

Test: Telephony Unit Tests
Change-Id: I7a1af154676797ce5adf7b037c883827f4085d52
2019-08-07 17:14:49 -07:00
Jordan Liu
58c632ae2d Add carrier config for data roaming notification
This config, when enabled, shows the user a notification when the device
switches to data roaming and the user has data roaming on.

Bug: 133358875
Test: manual
Change-Id: Ia091575ff0fa7e02f0c6a98bae0e66ef73beff81
Merged-In: Ia091575ff0fa7e02f0c6a98bae0e66ef73beff81
2019-08-05 19:31:34 -07:00
Shuo Qian
27c3d13f9f Merge "Add a documentation in EmergencyNumber#getNumber" 2019-08-06 01:56:32 +00:00
Brad Ebinger
4c5cd98c53 Merge "Adds better logging for ImsFeature features" 2019-08-06 00:27:04 +00:00
sqian
4d93934a45 Add a documentation in EmergencyNumber#getNumber
If the number starts with a carrier prefix, the
 carrier prefix is configured in
 {@link CarrierConfigManager#KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY}.

This is important because it provides a solid reference for Apps to
strip the prefix, which they may not prefer to display.

Bug: 137225076
Test: Treehugger
Change-Id: I1f6bd74f1d6eb86fe3326246e0ddb08b9cf7ac11
Merged-In: I1f6bd74f1d6eb86fe3326246e0ddb08b9cf7ac11
(cherry picked from commit 552a58ae51)
2019-08-05 23:00:39 +00:00
chen xu
29e8b772d4 SDK API doesSwitchModemConfigTriggerReboot
Bug: 129424775
Change-Id: If03e376ad0e91ad69f8444567700ed3fe76d66f6
Merged-in: If03e376ad0e91ad69f8444567700ed3fe76d66f6
2019-08-05 14:56:55 -07:00
Hui Yu
483e6e3731 Merge "Added the min match system config for loose phone numbers comparison" 2019-08-05 21:41:56 +00:00
Taesu Lee
c180e46fe5 Added the min match system config for loose phone numbers comparison
Specific min match is required for each country.

Test: atest PhoneNumberUtilsTest

Change-Id: I7f9e9ad824d44f2ebf8367beb6ec337e3eb3a8ad
Merged-In: I7f9e9ad824d44f2ebf8367beb6ec337e3eb3a8ad
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Bug:134246556
2019-08-05 21:27:36 +00:00
sqian
597c6bad06 Add documentation in TelephonyManager#getNetworkCountryIso
In multi-sim, returns a shared emergency network country iso
 from other subscription if the subscription used to create the
 TelephonyManager doesn't camp on a network due to some reason
 (e.g. pin/puk locked), or sim is absent in the corresponding slot.

Test: unit test
Bug: 137236159
Bug: 137235431
Change-Id: I311e690d1f79ebefbc068c486d9bed814c129aab
Merged-In: I311e690d1f79ebefbc068c486d9bed814c129aab
(cherry picked from commit 8ab9550f86)
2019-08-02 15:43:34 -07:00
Jack Yu
284a528847 Added disallowed APN types configuration support
The change added the configuration support for disallowed APN
types for WWAN or WLAN transport. This is to meet carrier policy
that certain traffic for APN types are not allowed on given
transport.

Bug: 135551751
Test: Manual + unit tests
Merged-in: I63c44d1e774b7491929406929e1a5a556db9515a
Change-Id: I63c44d1e774b7491929406929e1a5a556db9515a
(cherry picked from commit ac9a731d27)
2019-08-02 09:58:55 -07:00
Nagaraja
ec816a04b6 Add documentation for Locked Messages
Test: None, documentation only.
Bug: 124791757
Change-Id: I5e0005547dbf47d2b0b3b5de4f1f9486f0385736
2019-08-01 20:18:34 +00:00
Treehugger Robot
a08cc8306f Merge changes from topic "ims_cc"
* changes:
  ims: API to update ims carreir configs
  CarrierConfig: get configs by prefix
  Add new carrier config for supporting WPS over IMS
2019-08-01 04:35:50 +00:00
Dheeraj Shetty
6b58978968 ims: API to update ims carreir configs
Add a new API in IImsConfig to update carrier
configs for ims.

Bug: 125484786
Test: Build
Change-Id: Id4577b46df514f7948a1d7b1ca58c12abf93b744
2019-08-01 00:20:21 +00:00
Dheeraj Shetty
1c446a22d4 CarrierConfig: get configs by prefix
Get configs using the prefix of components like gps, wifi or ims.
Add a new ims class for configs related to ims stack.

Bug: 132286782
Test: Build

Change-Id: Ib20ac3b3c55156913284268439102fba7e96dad7
2019-08-01 00:20:06 +00:00
andychou
a722fdf05a Add new carrier config for supporting WPS over IMS
Some carriers allow WPS over IMS but carrier not allow.
Add a carrier config and dial WPS call over IMS or CS per config value

Bug: 131917532
Test: Override Carrier Config and test WPS over IMS or CS
Change-Id: Idb698b12ba08086584e1883cc61e31f924ae42cb
Merged-In: Idb698b12ba08086584e1883cc61e31f924ae42cb
2019-08-01 00:19:39 +00:00
Brad Ebinger
5b01ea24d5 Add getSlotId API for ImsFeature and docs changes
Test: Manual
Change-Id: Ie8fdf191b863105fad4751df7d7de61858b75f32
2019-07-29 16:37:26 -07:00
Brad Ebinger
01f0935054 Merge "Add APIs for ImsService RCS UCE implementation" 2019-07-29 20:10:38 +00:00
Brad Ebinger
b34f1b96cf Adds better logging for ImsFeature features
Test: Manual, check logcat
Change-Id: I203cfb8462956dffcab03756cbb379810595835b
2019-07-26 16:32:49 -07:00
Nathan Harold
aaab62e3e5 Merge "Expose RSSI as GSM RAT-specific Signal Strength" 2019-07-26 18:37:34 +00:00
Brad Ebinger
c2a60b20bc Add APIs for ImsService RCS UCE implementation
Includes APIs for RCS User Capability Echange,
including presence and SIP OPTIONS.

Note: This CL only defines the API changes
needed for this, not the telephony implementation
to unblock vendor implementation and testing.

Test: Manual
Bug: 111305845
Change-Id: I91227a05cb7062f17aac78657e25e28fac2b4d5d
2019-07-26 11:15:52 -07:00
Brad Ebinger
ec63e6e9ed Merge "Call out IllegalArgumentException in docs for ImsMmTelManager" 2019-07-24 20:54:08 +00:00
Nagaraja
a15ee4d12b Added Part & Addr Constants.
This constants is added to avoid usage of hard-coded strings.

Test: None, added constants only.
Bug: 124791757
Change-Id: Ib95b44b642b9a6bb5d2d741509fe13f23fdb27b3
2019-07-22 11:30:26 +05:30
Treehugger Robot
24eac6a4c7 Merge "Add @NonNull annotation to CONTENT_URI" 2019-07-19 08:54:31 +00:00
Brad Ebinger
9b490a16d9 Call out IllegalArgumentException in docs for ImsMmTelManager
There are situations where the ImsMmTelManager APIs will
throw an IllegalArgumentException that were not explicitly called
out. These situations are now documented correctly.

Also internally moved to a SystemSpecificException that is
rethrown as an IllegalArgumentException in case we need to
add other Exception cases to the API.

Will follow up with API changes that deprecate the current
APIs and throw a checked exception instead.

Bug: 137222412
Bug: 137225292
Test: manual
Change-Id: I416b20dc4e7723c752cc028866348c97dbeeb5a8
2019-07-16 14:55:57 -07:00
Brad Ebinger
0eea7ac8f4 Merge "Switch DDS during MSIM emergency call" 2019-07-12 22:59:43 +00:00
Brad Ebinger
bac258f22e Merge "Make RcsMessageStore a top level API" 2019-07-12 21:40:40 +00:00
Xiangyu/Malcolm Chen
5e83291083 Merge "Mark two unfinished APIs as "DO NOT USE"." 2019-07-12 19:04:17 +00:00
Leland Miller
1510dc9a0a Add @NonNull annotation to CONTENT_URI
Test: None, simple annotation
Bug: 124791757
Change-Id: Ic56c4e15c73a414f7da257585578eaaaec5f9818
2019-07-12 10:10:03 -07:00
Brad Ebinger
e63e96e57a Switch DDS during MSIM emergency call
Add carrier config to force DDS switch if device
does not support SUPL on non DDS for emergency and
also does not support control plane fallback.

Test: atest FrameworksTelephonyTests
Merged-In: Ic49e126ae0abfe71edd1fe000c2a0dfd2360dece
Change-Id: Ic49e126ae0abfe71edd1fe000c2a0dfd2360dece
(cherry picked from commit c9654c1b57)
2019-07-11 17:57:13 -07:00
Malcolm Chen
dcc97e11b1 Mark two unfinished APIs as "DO NOT USE".
The two APIs at this point are not well defined and implemented due to
design changes after they were introduced. Marking them as DO NOT USE
until further re-define or clean up.

Test: build
Bug: 135222940
Change-Id: I3f06040fdda25c7aa27be45cd90177136f7e996f
Merged-In: I3f06040fdda25c7aa27be45cd90177136f7e996f
2019-07-11 17:04:19 -07:00
Nathan Harold
af984d0d4e Use TM SubId in getDataState and getDataActivity
-Update getDataState() API to use the SubId specified
 by the TelephonyManager instance.

-Update the getDataActivity() API to use the SubId
 specified by the TelephonyManager instance.

(This CL is an un-revert of aosp/984377)

Bug: 135205433
Test: manual (automated test is infeasible)
Change-Id: I035f2c44a7955e88608b1c336acb72fb68c3e450
2019-07-11 11:52:55 -07:00
Nathan Harold
9cbb0b77c9 Expose RSSI as GSM RAT-specific Signal Strength
In GSM, RSSI is the correct specific name for signal
strength measurements. To promote callers using specific
methods and to bring GSM in line with other FooSignalStrength
methods.

Bug: 125027693
Test: cts - CellInfoTest
Change-Id: Idf62c7fbf8d6dd1c116da35a5e6375851218053e
2019-07-09 12:45:41 -07:00
Nazanin Bakhshi
cf5e620a19 Merge "Store subscriber ID / IMSI into telephony database" 2019-07-01 23:26:18 +00:00