Commit Graph

9642 Commits

Author SHA1 Message Date
Pengquan Meng
13e58d2ed5 Merge "Add geo targeting implementation" am: df2293f68b
am: 52cd1fe0f1

Change-Id: I85db283d7a47a8fcaf07256aec783c0f91540e40
2019-08-23 03:02:24 -07:00
Nagaraja
40efe816dd Merge "Added Part & Addr Constants." am: f5d5de8a0f
am: 633db92447

Change-Id: I8606aed63df7fb46f805acadf3973f8f4dfe7d33
2019-08-23 02:58:48 -07:00
Pengquan Meng
52cd1fe0f1 Merge "Add geo targeting implementation"
am: df2293f68b

Change-Id: Iaa8d3d72bff57cbbd36b9f5ed63807fef2a0b119
2019-08-23 02:32:14 -07:00
Nagaraja
633db92447 Merge "Added Part & Addr Constants."
am: f5d5de8a0f

Change-Id: Ieac6f8911910c9fea16d60457b5108222f68ca92
2019-08-23 02:28:01 -07:00
Pengquan Meng
df2293f68b Merge "Add geo targeting implementation" 2019-08-22 00:04:10 +00:00
Treehugger Robot
f5d5de8a0f Merge "Added Part & Addr Constants." 2019-08-21 21:18:31 +00:00
Pengquan Meng
e7bc13f806 Add geo targeting implementation
This CL adds support for geo targeting, including determining whether a
point is inside a simple polygon and circle.

For the judgment of the point in the polygon, the algorithm implemented
here simply considers the spherical polygon as a 2d plane polygon, which
may be not precisely. However, according to the test of real geographical
coordinates data i.e state/city/stree boundary data, this error is less than
10 meters that within 160 meters requires by the spec.

Bug: 123096618
Test: atest GeoUtils
Change-Id: I51e1fad3b48c1a58fa0510f97d9f5f9335779c30
(cherry picked from commit 7fbc74b66b58dd57deedb7336c5c1e2f0f9e2064)
2019-08-21 20:47:13 +00:00
Leland Miller
4e16f07ddf Merge "Fix incorrect descriptions under SMS contract" am: 8f48cb7e7e
am: 6ef5b6c183

Change-Id: I602eafce4122063c07e6ff09f61f5ca43f47a0f4
2019-08-19 08:14:28 -07:00
Leland Miller
6ef5b6c183 Merge "Fix incorrect descriptions under SMS contract"
am: 8f48cb7e7e

Change-Id: I9b8659b91e72608100efbba3d36cb0b86066feb3
2019-08-19 08:02:38 -07:00
Treehugger Robot
8f48cb7e7e Merge "Fix incorrect descriptions under SMS contract" 2019-08-19 14:22:21 +00:00
TreeHugger Robot
c64852517a Merge "DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master" into stage-aosp-master 2019-08-15 23:02:12 +00:00
satayev
6cb0b46b2a Merge "Move telephony/cdma/ classes into appropriate package." am: 46c04b7bb8
am: 4a607da02b

Change-Id: I1516a6375c546f4af54984a4bff2ab2dcbc1783c
2019-08-15 13:39:04 -07:00
satayev
4a607da02b Merge "Move telephony/cdma/ classes into appropriate package."
am: 46c04b7bb8

Change-Id: I1fb05b0e09c492fa95af92e6b146364492177f61
2019-08-15 13:18:41 -07:00
Xin Li
80860803a4 DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master
Bug: 134405016
Change-Id: I303c0268e8e454b0f0f460eb286812a50c9add88
2019-08-14 12:04:06 -07:00
Artur Satayev
f772c13f9d Move telephony/cdma/ classes into appropriate package.
Not changing the java packages, but rather moving the source location. This allows running metalava on them.

Test: m
Change-Id: I3b46644361239d85818dd885f461dfc94de49dca
2019-08-14 10:48:10 +01:00
Brad Ebinger
7e3661be1e Merge "Modify RCS UCE APIs to use AIDL Interfaces." am: 4204a6017e
am: c64c204f59

Change-Id: I4102629a798cbf520965a0141d8e89d5e87fa756
2019-08-13 16:51:51 -07:00
Brad Ebinger
c64c204f59 Merge "Modify RCS UCE APIs to use AIDL Interfaces."
am: 4204a6017e

Change-Id: I3c10e76be4266bb4f43306ca3f0c7362499208f7
2019-08-13 16:34:41 -07:00
Brad Ebinger
4204a6017e Merge "Modify RCS UCE APIs to use AIDL Interfaces." 2019-08-13 22:46:18 +00:00
Leland Miller
568f8bff01 Merge "Add documentation for Locked Messages" am: 3e85da2d89
am: 332f0a4ae8

Change-Id: I44092dddb460050a7598ed00f14154d534a98f51
2019-08-12 18:32:08 -07:00
Leland Miller
332f0a4ae8 Merge "Add documentation for Locked Messages"
am: 3e85da2d89

Change-Id: Ie2ada062645c674ef35b386272a592f36e1485ee
2019-08-12 18:21:16 -07:00
Leland Miller
3e85da2d89 Merge "Add documentation for Locked Messages" 2019-08-12 23:42:56 +00:00
Andrew Sapperstein
60cc649995 Merge "Add a blacklist for preinstalled carrier apps." into qt-dev
am: aa3689c4d9

Change-Id: I00e9ee3cccfbe56d02e1d23edc35c87ad73ec85d
2019-08-08 14:30:31 -07: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
Andrew Sapperstein
e016781807 Add a blacklist for preinstalled carrier apps.
Allows an OEM to specify that a preinstalled carrier app, even if
TelephonyManager says it should have carrier privileges, does not
get granted the default permissions and does not get enabled when
a compatible SIM is inserted.

Bug: 138150105
Test: verified locally
Change-Id: I0afec28f1f18227947c1fe9e6bb5fd0dad3b5dac
Merged-In: I0afec28f1f18227947c1fe9e6bb5fd0dad3b5dac
2019-08-08 15:05:06 +00:00
Jack Yu
639621cc19 Merge "Added disallowed APN types configuration support" am: 13b0b1a73d
am: b0bd8bedad

Change-Id: If7f34bad3433d20223b3591dd2332c35ce4b11a2
2019-08-07 21:42:27 -07:00
Jack Yu
b0bd8bedad Merge "Added disallowed APN types configuration support"
am: 13b0b1a73d

Change-Id: I6c66b42ba4e39005bb255a9d924aa518810d99f3
2019-08-07 21:34:28 -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
Xiangyu/Malcolm Chen
b756934aa1 Merge "Add carrier config for data roaming notification" am: 8526f8788d
am: 4853d18c36

Change-Id: I2ff41fd0d3ef3eea0a0655576c6336c56f2fe581
2019-08-06 15:32:39 -07:00
Shuo Qian
86e80ec970 Merge "Add a documentation in EmergencyNumber#getNumber" am: 27c3d13f9f
am: cd9786aae4

Change-Id: I0692518168fe6d8a462dede65621fe98702899e1
2019-08-06 15:31:45 -07:00
Brad Ebinger
6a81d39269 Merge "Adds better logging for ImsFeature features" am: 4c5cd98c53
am: cb258ecb70

Change-Id: Ic08f1d7c4e417aa2a0f508b999dcdbb805838686
2019-08-06 15:24:01 -07:00
Xiangyu/Malcolm Chen
4853d18c36 Merge "Add carrier config for data roaming notification"
am: 8526f8788d

Change-Id: Ic25d7b8e133e479ce68dca375b5879f8adecd327
2019-08-06 14:57:23 -07:00
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
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
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
2f462866b3 Merge "Add documentation in TelephonyManager#getNetworkCountryIso" am: 753f6c3e5a
am: 06a0b6a010

Change-Id: I9268455d8074763205c4c6f3f9101ace0b6ea12a
2019-08-05 13:42:24 -07:00
Shuo Qian
06a0b6a010 Merge "Add documentation in TelephonyManager#getNetworkCountryIso"
am: 753f6c3e5a

Change-Id: Iae5df44de8a307888b4eff8d581ddefd68ad3450
2019-08-05 13:30:31 -07:00
TreeHugger Robot
41f788ca29 Merge "Added the min match system config for loose phone numbers comparison" into qt-dev-plus-aosp 2019-08-03 01:27:02 +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
Dheeraj Shetty
b235b87f37 Merge changes from topic "ims_cc" am: a08cc8306f
am: 9d0769f8a6

Change-Id: Ia79d7886ad64194491cb2e3236f1e987b8b3f01b
2019-08-01 00:32:18 -07:00
Dheeraj Shetty
c47fb3bfd4 CarrierConfig: get configs by prefix am: 1c446a22d4
am: 39bcf023a0

Change-Id: I71f18e46c83734c73d0e180055bb00aac61f13cf
2019-08-01 00:31:58 -07:00
Dheeraj Shetty
9d0769f8a6 Merge changes from topic "ims_cc"
am: a08cc8306f

Change-Id: I481a681784df325066a9087c0a82d0f15268ba7f
2019-07-31 21:57:40 -07:00