Commit Graph

105 Commits

Author SHA1 Message Date
Pengquan Meng
156f347db4 Merge "Support maximum wait time for Cell broadcast" 2019-09-06 17:15:28 +00:00
Pengquan Meng
9f677a0790 Support maximum wait time for Cell broadcast
Geo-Fencing Maximum Wait Time a device shall allow to determines it
location meeting operator policy. If the device is unable to determine
its position meeting operator policy within the GeoFencing Maximum Wait Time,
it shall present the alert to the user and discontinue further positioning
determination for the alert.

Bug: 139022202
Test: manual
Merged-In: If3d8d7915f2d86da20c63e99bee01f30e3ea89c0
Change-Id: If3d8d7915f2d86da20c63e99bee01f30e3ea89c0
(cherry picked from commit 02d6ac0f20)
2019-09-05 15:27:31 -07:00
Jordan Liu
d41a61df80 Merge "Change CellBroadcast APIs to SystemApi"
am: 82454e029f

Change-Id: Ic39446ab84f910b0f5225ad42f061e2a525ec868
2019-09-03 13:52:14 -07:00
Jordan Liu
e4141f0e8b Change CellBroadcast APIs to SystemApi
Bug: 135956699
Test: atest SmsManagerPermissionTest
Change-Id: Ibbb22505a80567d1c08cffe9b7a7fdbd10890abe
Merged-In: Ibbb22505a80567d1c08cffe9b7a7fdbd10890abe
2019-09-03 11:32:58 -07:00
Pengquan Meng
6cf420a80e Merge "Support WAC decoding in UMTS format"
am: 9bc9b80912

Change-Id: I7efc88e5878e68b571d55fd386ad022b9a662bc3
2019-08-27 13:50:18 -07: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
Pengquan Meng
e5f84f5a70 Merge "Add fileds to Cellbroadcast"
am: 071936e546

Change-Id: Iad7a4cd63161e8634a4431ad6536f75b7a7ee82c
2019-08-23 21:20:47 -07:00
Pengquan Meng
071936e546 Merge "Add fileds to Cellbroadcast" 2019-08-23 23:40:29 +00:00
Nagaraja
633db92447 Merge "Added Part & Addr Constants."
am: f5d5de8a0f

Change-Id: Ieac6f8911910c9fea16d60457b5108222f68ca92
2019-08-23 02:28:01 -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
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
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
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
Nagaraja
ec816a04b6 Add documentation for Locked Messages
Test: None, documentation only.
Bug: 124791757
Change-Id: I5e0005547dbf47d2b0b3b5de4f1f9486f0385736
2019-08-01 20:18:34 +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
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
Leland Miller
7f997fea79 Merge "Add documentation for Conversation table" am: c0c7806ec0
am: c722aa9076

Change-Id: I0a3b81f35484d3cd45e810b09d304dde03b274a6
2019-05-20 12:42:44 -07:00
Gowroji Sunil
37ffaecd0e Add documentation for Conversation table
Test: None, documentation only.
Change-Id: I264c0e090f06914d60f3e08d9ea77a5a47763c1c
2019-05-17 00:03:33 +00:00
Hai Zhang
929085f3c3 Deprecate intent action to the old changing default dialer/SMS dialogs.
Bug: 124452117
Bug: 131204827
Test: presubmit
Change-Id: Iee636cf2dbcf4bdda5fc487d6883591e9463b0af
2019-05-10 17:48:30 -07:00
SongFerngWang
f07d64bdc9 Add 5G evolution icon
This add the 5GE icon to the system UI for specific carriers
LTE CA network.

Bug: 124768697
Test: build & manually test:
fake the operator name with pattern, and check the status bar data icon.

Change-Id: Ife0401219138c7ed22e7bfbd4d5e8648c54a98a8
Merged-In: Ife0401219138c7ed22e7bfbd4d5e8648c54a98a8
2019-04-24 23:03:29 +08:00
TreeHugger Robot
7269961ae3 Merge "Annotate Part Uri as @NonNull" into qt-dev 2019-04-17 18:10:39 +00:00
Leland Miller
7a29ca696e Annotate Part Uri as @NonNull
This is in response to automated API feedback.

Change-Id: I6f3c7675dc09bdca6bc30e1b7a8718e46f6ff4b4
Fix: 126699938
Test: Build and existing tests pass
2019-04-15 16:17:20 -07:00
calvinpan
9f090e8a13 Add NonNull in Carriers constant
Add NonNull in Carriers constant

Bug: 126699334
Test: build pass
Change-Id: Ifda6407092847e8863cba79360eba3df12f9c7e1
Merged-In: I428ff623d46d3891b05882df5774343bfe3234c0
2019-04-15 18:23:45 +00:00
calvinpan
ef7b99adae Add NonNull in Carriers constant
Add NonNull in Carriers constant

Bug: 126699334
Test: build pass
Change-Id: I1cc3db5a4bb778e1693ebfff37dca6e136251f1b
2019-04-12 10:51:22 +00:00
SongFerngWang
3cbcf75c4a Add 5G evolution icon
This add the 5GE icon to the system UI for specific carriers
LTE CA network.

Bug: 124768697
Test: build & manually test:
fake the operator name with pattern, and check the status bar data icon.

Change-Id: Ife0401219138c7ed22e7bfbd4d5e8648c54a98a8
Merged-In: Ife0401219138c7ed22e7bfbd4d5e8648c54a98a8
(cherry picked from commit 2d178eaabb)
2019-04-09 17:54:18 +00:00
Jack Yu
2d9b4faedc Passing ServiceState as byte array into ServiceStateProvider
This allows the provider to reconstruct the service state
object correctly. Also we can get rid of all the 'set'
methods in ServiceState, which we'd like to remove in the future.

Test: Manual
Bug: 129768354
Merged-In: I835d30e544b3ed49d5d0b6b1ca981a81e3ee2039
Change-Id: I835d30e544b3ed49d5d0b6b1ca981a81e3ee2039
(cherry picked from commit 2e273b2f0f)
2019-04-02 14:02:57 -07:00
Jack Yu
2e273b2f0f Passing ServiceState as byte array into ServiceStateProvider
This allows the provider to reconstruct the service state
object correctly. Also we can get rid of all the 'set'
methods in ServiceState, which we'd like to remove in the future.

Test: Manual
Bug: 129768354
Change-Id: I835d30e544b3ed49d5d0b6b1ca981a81e3ee2039
2019-04-02 11:27:34 -07:00
chen xu
2b0139ca18 rename precise carrier id to specific carrier id
Bug: 126727010
Test: atest CtsTelephonyTestCases

Change-Id: I4561ae8c15c429912695e0753b2ab3137a4e1e44
(cherry picked from commit 45f6621391)
Merged-in: I4561ae8c15c429912695e0753b2ab3137a4e1e44
2019-03-10 01:06:33 -08:00
chen xu
45f6621391 rename precise carrier id to specific carrier id
Bug: 126727010
Test: atest CtsTelephonyTestCases

Change-Id: I4561ae8c15c429912695e0753b2ab3137a4e1e44
2019-03-06 17:54:01 -08:00
Jack Yu
1dbd55b6b0 Merge "Add Carriers.SKIP_464XLAT and includes ApnSetting" am: a11fb3bafe am: 29ccc27713
am: 9a5c6744e2

Change-Id: I068cc9bbf401db41a551767a47427b74e6c1b386
2019-03-05 10:08:57 -08:00
Yuuki Habu
aaea4a512f Add Carriers.SKIP_464XLAT and includes ApnSetting
Add the below flag as well and they are hidden now
 - SKIP464_XLAT_DEFAULT
 - SKIP464_XLAT_DISABLE
 - SKIP464_XLAT_ENABLE

Support new flag skip464xlat in ApnSetting

Bug: 69949375
Test: run TelephonyProviderTest

Change-Id: Ia85be92a41a7c1a0b8176718d17469880a0c42cb
2019-03-05 09:46:18 +09:00
Alan Stokes
6390339290 Merge "Fix javadoc HTML escaping." am: 693e023bac am: 4514c01068
am: 555ef78e35

Change-Id: I72faadd47fcd35ed8a5fc2e9e95cadc72cac3c27
2019-03-04 08:56:40 -08:00
Treehugger Robot
693e023bac Merge "Fix javadoc HTML escaping." 2019-03-04 16:22:20 +00:00
Chen Xu
f2e5e06c2e Merge "add NonNull and Nullable annotation to APIs" am: c931e9b0c0 am: 715c2d87cc
am: 3bc4573765

Change-Id: I35e81dcc8e091e91cf335587849c596134781a7c
2019-02-28 18:54:02 -08:00
chen xu
8165386bfe add NonNull and Nullable annotation to APIs
Bug: 126699430
Bug: 126699963
Bug: 126700457
Bug: 126700771
Bug: 126702453
Bug: 123939479
Test: Build
Change-Id: Ib429d2918e63f8d272fc7842b0abd83ffd5a9090
2019-02-28 14:15:58 -08:00
Alan Stokes
a9b5b2aab0 Fix javadoc HTML escaping.
HTLM special characters ('<', '>' and '&') don't need to be escaped
inside {@code}, even though they do elsewhere in javadoc. And in fact
they shouldn't be - because if they are escaped then the escaped
version shows up verbatim in the developer docs.

See for example:
https://developer.android.com/reference/android/graphics/drawable/GradientDrawable
https://developer.android.com/reference/android/support/v13/view/inputmethod/InputConnectionCompat

This change just removes the escaping to fix the public documentation.

Test: N/A (only comment lines changed)
Change-Id: I131b3b3e26547e30cff7b67514d177c48926bb26
2019-02-28 17:42:50 +00:00
Leland Miller
65b57ac806 Merge "Add documentation for inserting RCS 1-on-1 thread" am: 4b93dd3ff7 am: 75488cbae5
am: 17a6dc1867

Change-Id: I140a3585a32a6e7c63cbc793ef636b10c3f43637
2019-02-20 16:18:11 -08:00
Leland Miller
db2337f779 Add documentation for inserting RCS 1-on-1 thread
Test: None, documentation only
Bug: 124781386
Change-Id: I1ab521aa6ceb54dc513a219b238f66a59fbfab97
2019-02-20 07:53:49 -08:00
Leland Miller
e0f0c74cf9 Merge "Move RCS table creation flag to contract class" am: 0c8bc10ab2 am: 122d78ddac
am: b280d76d1f

Change-Id: Iac5b5b7d729769cf9005391819657573ddc5271f
2019-02-15 11:08:48 -08:00
Leland Miller
bd7959dd55 Move RCS table creation flag to contract class
This will allow access to the flag outside of the test package. In
particular, we can now use this flag to disable the relevant CTS tests
when RCS tables are not created.

Test: Manually ensured the flag works using CtsRcsTestCases
Change-Id: I995f38c83d52c3a23131f223a550cf71e59b9cba
2019-02-13 10:36:15 -08:00
Leland Miller
6722dd317b Merge "Add getOrCreateCanonicalAddressId" am: efc16ab0d8 am: 5854e9312c
am: 3179ad0d40

Change-Id: Idbd353963c8dcfa245c39c8b78a48ae43fa8bc76
2019-02-12 01:28:43 -08:00
Leland Miller
7b378ab803 Add getOrCreateCanonicalAddressId
This is used exclusively for RCS message storage to retrieve canonical
address IDs for participants.

Test: CtsRcsTestCases
Change-Id: Idd935b8d7787db9597b643551714f134d63b33c0
2019-02-11 10:02:22 -08:00
Sahin Caliskan
67d3d8ba22 Merge "Implementation of RcsMessageStore APIs [base]" am: c4ed10103a am: c104c84af6
am: 15b3cf44a0

Change-Id: Ib33e25d4eae5c47a61b7dedca5c79f2b6d5bc477
2019-02-06 10:20:41 -08:00
Sahin Caliskan
f00a876893 Implementation of RcsMessageStore APIs [base]
This change adds the implementation of RcsMessageStore. Please see the
bug for the design and one-pager

Test: Added unit tests

Bug: 109759350
Change-Id: I6049dcf74ef9e19a38ce58148a89497992bc1c98
2019-02-06 15:49:16 +00:00
Leland Miller
6d2e9b8cae Merge "Add part ID reuse to API contract" am: d49a6c86f4 am: ea65fcc98a
am: c5ceebba02

Change-Id: Ide0ff27e0de513dd2687e3fc30e177cd1d5fd45c
2019-01-23 21:21:14 -08:00
Leland Miller
6c753558c3 Add part ID reuse to API contract
This make explicit that part IDs should not be reused to point to new
parts as this may cause issues in applications that expect pars to
remain consistent.

Test: Documentation change, will follow up with a CTS test
Change-Id: I990aa5848f59cc85c76d129701cba1ca27c78894
2019-01-23 22:44:06 +00:00
Leland Miller
698f366f59 Merge "Add thread ID reuse to API contract" am: a24e12b46e am: 7261b8a16c
am: 434fd829bb

Change-Id: I56e6957091b8f8b0aff6720e8b77de824a82ad33
2019-01-18 12:32:54 -08:00