Commit Graph

3891 Commits

Author SHA1 Message Date
Hall Liu
49d1cb4770 Split the DownloadStateCallback class into two
Use individually-registered DownloadStatusListener and
DownloadProgressListener instead to listen for download status and
progress, respectively.

Bug: 74409377
Test: cts
Change-Id: Ifd5289038ffd66eef8bd7916f5256205b49be5f9
Merged-In: Ifd5289038ffd66eef8bd7916f5256205b49be5f9
2018-03-26 21:45:21 +00:00
Hall Liu
0713d63e17 Merge "Modify LocationAccessPolicy to use LocationManager" into pi-dev
am: 8404d082c4

Change-Id: Idb1f49fbadd56de4a7d83263411b1be0c7dc34e1
2018-03-26 21:12:17 +00:00
Hall Liu
8404d082c4 Merge "Modify LocationAccessPolicy to use LocationManager" into pi-dev 2018-03-26 20:59:58 +00:00
Treehugger Robot
5d9544cbea Merge "Better javadoc and rename several methods in ApnSetting." 2018-03-26 16:28:58 +00:00
yuemingw
a5b7e70eff Better javadoc and rename several methods in ApnSetting.
Cherrypicked from ag/3709855.

Test: Manually by TestDpc
Bug: 73087996
Merged-In: I5232c92a44ab505946956f81965a205f170aa52b
2018-03-26 16:28:03 +00:00
SongFerngWang
310f6d06d1 Specifies the carrier's default voicemail number for roaming network.
Configure voicemail number for roaming network.

BUG: 74022701
Test: Build success.
Change-Id: I9fa5543847abad4a40c1345c52475f416ce5031b
2018-03-26 09:58:41 +08:00
Mohamed Abdalkader
eef110306f Merge "Unhide ImsReasonInfo Constructor" into pi-dev am: 4f2e53fe48
am: cee0b20e71

Change-Id: I2429594470517b7d5496038ca815ac7ff8a6d821
2018-03-24 06:02:35 +00:00
Brad Ebinger
3a512c2897 Merge "Parse SMS locally upon error to get message ref" into pi-dev am: 2d108c3747
am: 4a27a1b678

Change-Id: Iae6d0df825b2b78c805a89ede9e502f04701aca4
2018-03-24 02:55:03 +00:00
Mohamed Abdalkader
cee0b20e71 Merge "Unhide ImsReasonInfo Constructor" into pi-dev
am: 4f2e53fe48

Change-Id: I37d8fcfc10582f2c865b9c1a5df39e3ad788559c
2018-03-24 02:37:50 +00:00
Hall Liu
5efb2f73dd Merge "Split the DownloadStateCallback class into two" into pi-dev am: ecd4709573
am: 3f65260be7

Change-Id: Ib5b10d57b839ff64a79a5b0689d2ae3eacea3a21
2018-03-24 02:26:33 +00:00
Malcolm Chen
636fdbccce Clean new TelephonyManager API.
This is to apply API council's review opinion on a previous commit.

We are reverting previous change, which renamed isDataEnabled and
setDataEnabled to isUserMobileDataEnabled and setUserMobileDataEnabled.
So this commit will remove the new APIs isUserMobileDataEnabled and
setUserMobileDataEnabled, and also rename hidden API isMobileDataEnabled
to isDataCapable.

Bug: 71584593
Test: unittest
Change-Id: I84d65776874e7a7f6e3a9af9ff7ec7dcbd715c2c
2018-03-23 18:51:29 -07:00
TreeHugger Robot
4f2e53fe48 Merge "Unhide ImsReasonInfo Constructor" into pi-dev 2018-03-24 01:12:49 +00:00
Brad Ebinger
4a27a1b678 Merge "Parse SMS locally upon error to get message ref" into pi-dev
am: 2d108c3747

Change-Id: I3b75da909f1f07125c5696f7f9e525736732f3c1
2018-03-24 01:03:41 +00:00
Hall Liu
3f65260be7 Merge "Split the DownloadStateCallback class into two" into pi-dev
am: ecd4709573

Change-Id: I09cdcd69729ac917ac7290d4e1efcf4d9dbc0530
2018-03-24 00:31:02 +00:00
Meng Wang
f47a426206 Revert "Unhide enable_apps carrier config key."
This reverts commit 4793b28d3f.

Reason for revert: This is not intended as a public API.

Bug: 62907095
Test: make
Change-Id: Id79f91c72eac3929fa5ee7ac1cdd9df8671a1eb1
2018-03-23 16:42:02 -07:00
Brad Ebinger
2d108c3747 Merge "Parse SMS locally upon error to get message ref" into pi-dev 2018-03-23 23:19:26 +00:00
Hall Liu
ecd4709573 Merge "Split the DownloadStateCallback class into two" into pi-dev 2018-03-23 23:11:46 +00:00
Treehugger Robot
d3e1c76a99 Merge "Change null behavior of getCellBandwidths" 2018-03-23 21:06:45 +00:00
Eric Schwarzenbach
93d1cfe89e Merge "Merge "Change null behavior of getCellBandwidths" into pi-dev am: 9b29e5caa0" into pi-dev-plus-aosp
am: 90c04bbcc3

Change-Id: Id682c845ecefb2c547891006e3e8bd383a81bc71
2018-03-23 20:45:43 +00:00
Eric Schwarzenbach
80e2a4698c Merge "Change null behavior of getCellBandwidths" into pi-dev
am: 9b29e5caa0

Change-Id: I316f112d277e1f1c9f8fd4817a83323d8db78472
2018-03-23 20:09:06 +00:00
Eric Schwarzenbach
4e93e44115 Change null behavior of getCellBandwidths
Returns empty array instead of null when there are
no cell bandwidths.

Bug: 73751023
Test: make, runtest
Change-Id: Idc3f034bbea8f6c3f11dcd125f760b121d2c91d9
Merged-In: Idc3f034bbea8f6c3f11dcd125f760b121d2c91d9
(cherry picked from commit c119a86350)
2018-03-23 12:10:09 -07:00
fionaxu
f20f0d916f throw runtimeException for applicable TM APIs
1. This CL revert some API change from ag/3710629.
2. throw runtime exception when running in a non-1000 UID.
3. throw for methods that persist some sort of state and readers could continue to
return placeholder values.
4. for rest of TelephonyManager API cleanup b/74401420.

Bug: 74016743
Test: Build
Change-Id: I2846efc11eebce4a923762f56f09daaf37c44763
2018-03-23 12:04:22 -07:00
Hall Liu
5e35b2d00b Modify LocationAccessPolicy to use LocationManager
Remove the direct settings lookup since it's been deprecated.

Bug: 72886046
Test: run CTS
Change-Id: I00f11f46f20f86e91147b1232263b6c9a5d8c6b4
(cherry picked from commit d7a1c9dd76)
2018-03-23 18:37:07 +00:00
Eric Schwarzenbach
9b29e5caa0 Merge "Change null behavior of getCellBandwidths" into pi-dev 2018-03-23 18:31:43 +00:00
Eric Schwarzenbach
7ff6e14cf4 Add constants for reporting criteria
Adds RILConstants and TelephonyManager constants for reporting and
setting indication filter bits.

Bug: 72117365
Test: make
Change-Id: Ia52ffdbc9ea2499893ece518aba4a99c6fe4ee90
2018-03-23 11:21:44 -07:00
Cassie
21ed3c58e8 Move alpha long/short to the base CellIdentity according API Review.
Bug: 74831568
Test: Telephony sanity
Change-Id: I0ef69e3f18fca111191e1c6329ae13c0860869ba
2018-03-23 11:07:18 -07:00
Brad Ebinger
d4285ad123 Parse SMS locally upon error to get message ref
Parse the SMS locally to get the message ref when
onSmsReceived fails due to the platform being
unavailable. This allows the correct message ref
to be sent back via acknowledgeSms, instead of
the incorrect "0" value.

Bug: 74551838
Test: Manual
Change-Id: I2f8128d8ff4e07bb3720a344cee70fa5fd5d7535
2018-03-23 09:58:27 -07:00
Eric Schwarzenbach
c119a86350 Change null behavior of getCellBandwidths
Returns empty array instead of null when there are
no cell bandwidths.

Bug: 73751023
Test: make, runtest
Change-Id: Idc3f034bbea8f6c3f11dcd125f760b121d2c91d9
2018-03-22 16:51:19 -07:00
Ying Xu
96c52d3eb0 Merge "Add more comments for the isConfigForIdentifiedCarrier()" am: ec76adb9ff am: 3b84db2329
am: a8be468657

Change-Id: I406bbb27d7ec94b4122180388badb7757cbae104
2018-03-22 21:14:45 +00:00
Ying Xu
812319dc7d Merge "Add more comments for the isConfigForIdentifiedCarrier()" into pi-dev 2018-03-22 21:14:32 +00:00
Ying Xu
a8be468657 Merge "Add more comments for the isConfigForIdentifiedCarrier()" am: ec76adb9ff
am: 3b84db2329

Change-Id: I2a9bd2d3b691418debf601b869049e7df090c3a8
2018-03-22 20:40:10 +00:00
Pankaj Kanwar
d13c78bad4 Merge "Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"" am: 320b6c2312 am: 063c6dc0f6
am: df215ee9f3

Change-Id: Ic0a0e91d91b82466e4bb05b3b872dfd390be73b7
2018-03-22 19:50:27 +00:00
Pankaj Kanwar
df215ee9f3 Merge "Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"" am: 320b6c2312
am: 063c6dc0f6

Change-Id: Icd154b391b05dfa4ed16a97407a15dd7f03ad106
2018-03-22 19:16:52 +00:00
yinxu
349b644db3 Add more comments for the isConfigForIdentifiedCarrier()
This is a clean cherry-pick from:
https://android-review.git.corp.google.com/c/platform/frameworks/base/+/642231

Bug:74945742
Test: Compile
Change-Id: Ife3fdf797ca8877ec495d61a8aeed56fa20282a7
Merged-in: Ife3fdf797ca8877ec495d61a8aeed56fa20282a7
(cherry picked from commit cea0d8d488)
2018-03-22 12:08:51 -07:00
Ying Xu
ec76adb9ff Merge "Add more comments for the isConfigForIdentifiedCarrier()" 2018-03-22 19:07:45 +00:00
Pankaj Kanwar
320b6c2312 Merge "Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"" 2018-03-22 17:03:39 +00:00
Holly Jiuyu Sun
a99b258049 Merge "Mark eraseSubscriptions as @SystemApi." 2018-03-22 03:45:55 +00:00
Mohamed Abdalkader
ca0c1ac304 Unhide ImsReasonInfo Constructor
Test: builds
Bug: 76033384
Change-Id: If1101b82f92e45cd417f34356545363f6f9bf322
2018-03-22 00:40:01 +00:00
Hall Liu
7953997160 Split the DownloadStateCallback class into two
Use individually-registered DownloadStatusListener and
DownloadProgressListener instead to listen for download status and
progress, respectively.

Bug: 74409377
Test: cts
Change-Id: Ifd5289038ffd66eef8bd7916f5256205b49be5f9
2018-03-21 23:39:07 +00:00
Brad Ebinger
025cb0c392 Merge "Define phone process as a constant" into pi-dev 2018-03-21 20:38:00 +00:00
Pankaj Kanwar
77f2365672 Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"
This reverts commit 84a8bb80a1.

Change-Id: Ied14258726d71262642f8d72db5ee11ea671836b
2018-03-21 20:20:06 +00:00
nharold
08ee27ff90 Merge "Add alpha Strings to CellIdentityTdscdma" 2018-03-21 20:06:59 +00:00
Brad Ebinger
fb241e2250 Merge "Added Locking for MmTelFeature" into pi-dev 2018-03-21 18:56:00 +00:00
Brad Ebinger
1078b3a36b Define phone process as a constant
Test: Manual
Bug: 72645729
Merged-In: I8086e4efa15d74bd61c55b72c7b14be4705fcd58
Change-Id: If07728ea2cc0128113ebe947a154f80ff45a7d9d
2018-03-21 09:59:05 -07:00
yuemingw
50b8acebbd Merge "Better javadoc and rename several methods in ApnSetting." into pi-dev am: 5d5d6aa28a
am: e31dd1fe95

Change-Id: I055265d8312cb79d1b8ecb08a3340b07624d6e29
2018-03-21 05:08:17 +00:00
Nathan Harold
d79738634e Merge "Add alpha Strings to CellIdentityTdscdma" into pi-dev am: 7eec8e9635
am: 5b258f6d3e

Change-Id: I4c2598a2804c35686aeabb5e41a320eeee945f2f
2018-03-21 05:00:56 +00:00
Jiuyu Sun
60cd769fc9 Merge "Mark eraseSubscriptions as @SystemApi." into pi-dev am: b8651f6fba
am: eb73734b96

Change-Id: I21f1ef5c693ffb3d88d5067456c8418f037b4f4c
2018-03-21 04:36:40 +00:00
yuemingw
e31dd1fe95 Merge "Better javadoc and rename several methods in ApnSetting." into pi-dev
am: 5d5d6aa28a

Change-Id: Ifaae67cd03bd979e3aeb40f3a077bdb36d5911e6
2018-03-21 02:51:18 +00:00
Nathan Harold
5b258f6d3e Merge "Add alpha Strings to CellIdentityTdscdma" into pi-dev
am: 7eec8e9635

Change-Id: I0343a43b014f5c09336dad2e108063dc48518269
2018-03-21 02:43:24 +00:00
Jiuyu Sun
eb73734b96 Merge "Mark eraseSubscriptions as @SystemApi." into pi-dev
am: b8651f6fba

Change-Id: I31b7c560e9e2c0c6163b2f4214d897ddc279f51a
2018-03-21 02:31:18 +00:00