Commit Graph

6675 Commits

Author SHA1 Message Date
Shuo Qian
cd9786aae4 Merge "Add a documentation in EmergencyNumber#getNumber"
am: 27c3d13f9f

Change-Id: Ic3d047f3ec396de5ae6384c83cb31a113aabdaa8
2019-08-06 14:56:19 -07:00
Brad Ebinger
cb258ecb70 Merge "Adds better logging for ImsFeature features"
am: 4c5cd98c53

Change-Id: I7ba12bae00ffeea77f83076f99bd9a9ae89d120b
2019-08-06 14:52:27 -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
Taesu Lee
b89c2984bb 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
(cherry picked from commit d65aafc748)
2019-08-05 23:45:37 +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
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
Shuo Qian
06a0b6a010 Merge "Add documentation in TelephonyManager#getNetworkCountryIso"
am: 753f6c3e5a

Change-Id: Iae5df44de8a307888b4eff8d581ddefd68ad3450
2019-08-05 13:30:31 -07: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
Dheeraj Shetty
9d0769f8a6 Merge changes from topic "ims_cc"
am: a08cc8306f

Change-Id: I481a681784df325066a9087c0a82d0f15268ba7f
2019-07-31 21:57:40 -07:00
Dheeraj Shetty
39bcf023a0 CarrierConfig: get configs by prefix
am: 1c446a22d4

Change-Id: Ia39370cb55a8418f5ce600bf4e58a62a985a53ce
2019-07-31 21:57:26 -07: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
7c50667bc6 Merge "Add getSlotId API for ImsFeature and docs changes"
am: 375c74a865

Change-Id: I3c7e84575a552217637b611bff360b003ea43178
2019-07-31 11:31:26 -07: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
3d36c75a4c Merge "Add APIs for ImsService RCS UCE implementation"
am: 01f0935054

Change-Id: Ic4953e05afa2187e4566aaba5799dc800e61f548
2019-07-29 13:53:47 -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
062a8b747a Merge "Expose RSSI as GSM RAT-specific Signal Strength"
am: aaab62e3e5

Change-Id: Id92f441cdd64927d2f73ce0a3e4072320da60a95
2019-07-26 12:15:47 -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
c00a1b9d2a Merge "Call out IllegalArgumentException in docs for ImsMmTelManager"
am: ec63e6e9ed

Change-Id: Id51fdb8b8456c799f5939a7acd22fd024b935180
2019-07-24 14:12:05 -07:00
Brad Ebinger
ec63e6e9ed Merge "Call out IllegalArgumentException in docs for ImsMmTelManager" 2019-07-24 20:54:08 +00:00
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
53f6c34039 Merge "Make RcsMessageStore a top level API"
am: bac258f22e

Change-Id: If235ead8a75dc080e1e129d83bf7f24c3c996d8c
2019-07-12 14:53:26 -07: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
Jordan Liu
6ef6ff9ca1 Merge "Use TM SubId in getDataState and getDataActivity"
am: 3968a18c27

Change-Id: I69e39b4867b78182217357d14ef96c966e3b7dd3
2019-07-11 18:30:26 -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
Nathan Harold
22d0ed63cc Merge "Revert "Use TM SubId in getDataState and getDataActivity"" am: 4d4e2474ea
am: f5ee9c61be

Change-Id: I3a1ffa493f8b11cdd7c8bfff4fa4f8d78d54a169
2019-06-27 15:46:06 -07:00
Nathan Harold
4d4e2474ea Merge "Revert "Use TM SubId in getDataState and getDataActivity"" 2019-06-27 22:11:18 +00:00
Nathan Harold
44173ee7b0 Revert "Use TM SubId in getDataState and getDataActivity"
This reverts commit b2ab846cf4.

Reason for revert: Decision has been made to keep the unsupported AIDL API.

Change-Id: I31219606974019ac46da789ec31ca9cb3a86eb13
2019-06-26 00:41:00 +00:00
Jack Yu
75cddbf992 Merge "Reverted to the old logic for APN selection" into qt-dev
am: 5d02fcb146

Change-Id: If610d4ffd6101a18c15eb52a1d9d4d0c6e200bce
2019-06-24 16:18:56 -07:00
TreeHugger Robot
5d02fcb146 Merge "Reverted to the old logic for APN selection" into qt-dev 2019-06-24 22:34:53 +00:00
chen xu
0276e13b96 move short code definitions to SmsManager Test API
Bug: 127560420
Test: cts
Change-Id: I6a5ba2439713105b25913ba8eb081abfaafd1a2e
(cherry picked from commit 9c7fad9235)
Merged-in: I6a5ba2439713105b25913ba8eb081abfaafd1a2e
2019-06-24 21:12:48 +00:00
Youming Ye
60b023bfd0 Add carrier config for conference participants data support
Bug: 132312382
Test: Manual
Change-Id: I88edd5a590f46b961c986ef0bf24585b3c2cf4a1
Merged-In: I88edd5a590f46b961c986ef0bf24585b3c2cf4a1
2019-06-21 22:30:08 +00:00
Jack Yu
ee029fcefa Reverted to the old logic for APN selection
Reverted to the old logic that we select APN based on
RAT, but adding a special handling for 2G cases. This can
deal with the case that some APN settings has EHRPD which
we incorrectly thought that APN setting can be used on CDMA
network.

Bug: 134086103
Test: Unit tests
Change-Id: I557f00d32f53498782394ea7824e316e263ca7e7
2019-06-21 13:54:37 -07:00
Hunter Knepshield
4a686288a5 Merge "Fix SubInfo#toString consistency." am: f15b5b38db
am: 79d5cbd0e1

Change-Id: Iebe58fc9a6dc39d21be58f1adf01c1313594583f
2019-06-20 17:33:37 -07:00
Brad Ebinger
d1cb346d4f Make RcsMessageStore a top level API
RcsManager was handling both DB APIs and RcsFeature logic, which
made it confusing. Instead, make RcsMessageStore->RcsMessageManager,
which is a top level API.

Test: Manual
Change-Id: I9b9f96154d0705797cedade3d6cee27719897164
2019-06-20 23:28:43 +00:00
Hunter Knepshield
49fa37256f Fix SubInfo#toString consistency.
MCC was previously running into the country ISO.

"... mnc 260mCountryIso=US ..."

Some fields had odd spacing/delimiters.

Test: compilation (trivial)
Change-Id: I217fbbdf3a2783e8b98ceecbf62e21482b58db37
2019-06-20 20:32:57 +00:00