Meng Wang
c4aa6f6dcd
Remove unused SystemProperties.set
...
Bug: 140908357
Test: make
Merged-In: I47239b57bbbd37695fba5a37cc64b78428189a31
Change-Id: I47239b57bbbd37695fba5a37cc64b78428189a31
2019-12-23 18:36:58 +00:00
Zongheng Wang
e5f36d48ef
Merge "add languageTable and languageShiftTable to calculateLength"
2019-12-21 05:32:25 +00:00
Zongheng Wang
571cbd7a6a
add languageTable and languageShiftTable to calculateLength
...
* Change the calculateLength API's return value to an int array whose
length is 6. Added languageTable and languageShiftTable which is used
in Bluetooth MAP profile to encode GSM message.
Bug: 140562205
Test: Manual
Change-Id: I25e23c75d7aabcf2e3f678758a5a398f2ef8d4c1
2019-12-20 15:32:51 -08:00
Sarah Chin
598b5d5340
Merge "Change reference to Bundle.filterValues"
2019-12-20 22:28:35 +00:00
Treehugger Robot
c037935d74
Merge "Make PreciseCallState Constructor System API"
2019-12-20 22:08:13 +00:00
Sarah Chin
c8905d008d
Change reference to Bundle.filterValues
...
Add to TelephonyUtils and replace method call
Test: atest FrameworksTelephonyTests:ImsCallProfileTest
Bug: 140761560
Change-Id: I5cbc7f771f8443835da7acc9e4330ca238d0f929
Merged-In: I5cbc7f771f8443835da7acc9e4330ca238d0f929
2019-12-20 13:07:57 -08:00
Shuo Qian
c12886376a
Make PreciseCallState Constructor System API
...
We would make the constructor of PreciseCallState system API, to resolve
the mainline concern from TelephonyRegistry.
Also clean up unused imports.
Test: built
Bug: 146585782
Change-Id: I0bbca065f86fe352a06c63bdd1b25d34e77a9265
2019-12-20 12:12:57 -08:00
Shuo Qian
071d78b1ef
Merge "Make getDefaultCarrierServicePackageName for Mainline"
2019-12-20 18:23:12 +00:00
Treehugger Robot
afb16fa9d4
Merge "Use sysprop library for telephony props"
2019-12-20 02:00:38 +00:00
Treehugger Robot
268fd3556d
Merge "Remove Wifi APIs unused in AOSP."
2019-12-20 01:17:05 +00:00
Shuo Qian
ec428aa436
Make getDefaultCarrierServicePackageName for Mainline
...
Make this API system to resolve mainline concern. It is ok to make it
system API as it is not a key in CarrierConfigManager. We can add
permission check on the other side.
Test: built
Bug: 146583148
Change-Id: I7c4297d659635622ba4523abf2ce32e21f961ad0
2019-12-20 00:15:52 +00:00
Treehugger Robot
2e321705a7
Merge "Make Gps.KEY_PREFIX and Gps.KEY_PERSIST_LPP_MODE_BOOL Public"
2019-12-19 23:55:34 +00:00
Treehugger Robot
4d83e67433
Merge "Change reference to Build.IS_DEBUGGABLE"
2019-12-19 23:36:16 +00:00
Chen Xu
7be5365dc6
Merge "move carrierconfig key disable_severe_when_extreme_disabled to res"
2019-12-19 22:44:57 +00:00
Sarah Chin
5ea6d8a7d2
Change reference to Build.IS_DEBUGGABLE
...
Replace with TelephonyUtils.IS_DEBUGGABLE and actual call
Test: build
Bug: 140908357
Change-Id: I9e33c2fe426521b8e186cb8e1e5bd7be06992b52
2019-12-19 12:54:19 -08:00
Chen Xu
aec1aa8d5d
move carrierconfig key disable_severe_when_extreme_disabled to res
...
Bug: 135956699
Test: Manual
Change-Id: Ib12ff430c5781044ec0b36ac9b930224fc410c95
(cherry picked from commit 49b3b1680d )
Merged-in: Ib12ff430c5781044ec0b36ac9b930224fc410c95
2019-12-19 10:56:03 -08:00
Chen Xu
5910f6dd65
Merge "Expose ModemActivitiyInfo to system API"
2019-12-19 18:01:46 +00:00
Austin Wang
edf7ce4f38
Merge "Revert "Use new UnsupportedAppUsage annotation.""
2019-12-19 10:09:11 +00:00
Austin Wang
a63a2c0130
Revert "Use new UnsupportedAppUsage annotation."
...
This reverts commit a5264903e2 .
Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_master&target=sdk_phone_armv7-sdk&lkgb=6083299&lkbb=6085371&fkbb=6083313 , bug b/146533269
Change-Id: Ie5b031d7b277cf0e09b0a9776b26bf74f5f69e70
2019-12-19 06:38:19 +00:00
Brad Ebinger
8283939cec
Merge "Create new Carrier configuration for separate MMTEL/RCS features"
2019-12-19 02:02:57 +00:00
Jayachandran Chinnakkannu
d3adef0662
Merge "Expose ACTION_NETWORK_SET_TIME as system API"
2019-12-19 00:24:57 +00:00
Grace Jia
91cec6ee8f
Add post-call screen API.
...
Test: manual
Bug: 135929421
Change-Id: I63043646bb96b8543849c617ce1ccd41a558f24d
2019-12-18 21:07:40 +00:00
Jordan Liu
ac2b27aed1
Merge "Expose Circle and Polygon as SystemApi"
2019-12-18 20:56:22 +00:00
Brad Ebinger
2499aa4b81
Create new Carrier configuration for separate MMTEL/RCS features
...
Bug: 111305845
Test: atest FrameworksTelephonyTests; atest CtsTelephonyTestCases
Merged-In: Ia16f82b9cfb9e873d2c26850dfbfd451638ad30c
Change-Id: Ia16f82b9cfb9e873d2c26850dfbfd451638ad30c
2019-12-18 11:02:09 -08:00
Chen Xu
9663781a86
Expose ModemActivitiyInfo to system API
...
ModemActivityInfo is used for batteryStatusService which is part of
system service. To prepare telephony to be an mainline module, we
should expose ModemActivityInfo to systemAPI
1. remove getConsumedPower API as we are missing modem support, API
today only report 0
2. isValid API is introduced to cover modem issues before. Do not
expose this for now.
Bug: 140908357
Test: Build
Change-Id: I6e1b0daa2e0ce23b9fd55f0dd7037631b93eb7a5
(cherry picked from commit 7322e4a7ce )
Merged-in: I6e1b0daa2e0ce23b9fd55f0dd7037631b93eb7a5
2019-12-18 10:45:00 -08:00
Shuo Qian
6fe660ea86
Make Gps.KEY_PREFIX and Gps.KEY_PERSIST_LPP_MODE_BOOL Public
...
Test: build
Bug: 146445404
Change-Id: Ifb1efcb6fb0b870b8dc8caf07103e41e593b1a5f
2019-12-18 18:44:03 +00:00
Daniel Huang
53484a4946
Merge "Add more error codes."
2019-12-18 18:22:08 +00:00
satayev
1385dca8f6
Merge "Use new UnsupportedAppUsage annotation."
2019-12-18 15:32:40 +00:00
Artur Satayev
a5264903e2
Use new UnsupportedAppUsage annotation.
...
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv \
git diff HEAD^ HEAD | grep '^[+-][^+-]' | grep -v '.import'
Change-Id: I087bb1cecbe59f1cf0c2e770c735d7a433722c6f
2019-12-18 12:07:36 +00:00
danielwbhuang
7e4b4629d0
Add more error codes.
...
1. Add error codes for setPreferredOpportunisticDataSubscription and updateAvailableNetworks
2. Use Compatibility Framework to remap them.
Test: run atest.
1.atest TelephonyManagerTest#testPreferredOpportunisticDataSubscription
2.atest TelephonyManagerTest#testUpdateAvailableNetworks
Bug: 130595455
Merged-In: I6f386bfcf75236e30141fab89e2b62ee3a8cb59e
Change-Id: I6f386bfcf75236e30141fab89e2b62ee3a8cb59e
2019-12-18 06:13:51 +00:00
Xiangyu/Malcolm Chen
fbfe850906
Merge "Define a telephony database column for uicc applications enabled or not."
2019-12-17 23:56:41 +00:00
Steven Liu
5606de388d
Remove Wifi APIs unused in AOSP.
...
Bug: 132059890
Test: build
Change-Id: I75044e713ae039759b6f96a7e98928ca9f8645f9
2019-12-17 15:38:07 -08:00
Tyler Gunn
1017905980
Merge "Telephony: Get SIM card capacity count of SMS"
2019-12-17 23:31:15 +00:00
Jordan Liu
8cd7a4cb4a
Expose Circle and Polygon as SystemApi
...
Bug: 145956003
Test: manual
Change-Id: I1af173a6e3772fad8bde2ac93177af894178b18c
2019-12-17 14:59:01 -08:00
Treehugger Robot
7339d1743c
Merge "Add IntDef annotation to SIM state constants."
2019-12-17 22:16:55 +00:00
Tyler Gunn
fc72e79558
Merge "IMS-VT: Add config to control holding a video call"
2019-12-17 21:11:54 +00:00
Patrick Huang
a5e2fee8a3
Add IntDef annotation to SIM state constants.
...
Bug: 141227564
Test: Test build on device. Test calling affected TelephonyManager methods.
Change-Id: Ife159922b8b0fdf84ea376f32ac1d9156c9802d3
Merged-In: Ife159922b8b0fdf84ea376f32ac1d9156c9802d3
2019-12-17 12:38:25 -08:00
Peter Wang
23019528ec
Merge "[Telephony Mainline] Expose MAX_NETWORK_TYPE constant"
2019-12-17 19:10:24 +00:00
Treehugger Robot
56fcc024bc
Merge "Mainline Network Policy constants public"
2019-12-17 18:59:04 +00:00
Shuo Qian
c107c3a958
Merge "Introduce Radio Shutdown System APIs for Mainline"
2019-12-17 18:17:34 +00:00
Jayachandran C
e477e36fc0
Expose ACTION_NETWORK_SET_TIME as system API
...
This CL also uses android.telephony prefix
Bug: 146388552
Test: Build
Change-Id: I5afb7ef87ace11c7f97e2f6a75a409ecee537a18
2019-12-17 09:18:05 -08:00
Treehugger Robot
b430d57705
Merge "Change APIs related to carrier actions."
2019-12-17 07:06:36 +00:00
Inseob Kim
a9d6cd4469
Use sysprop library for telephony props
...
Bug: 117924132
Bug: 141246285
Test: lunch blueline-userdebug; m checkbuild
Change-Id: Idefa10b5bdeaff69496bc66730a7398258f3a38e
Merged-In: Idefa10b5bdeaff69496bc66730a7398258f3a38e
(cherry picked from commit 1b5e241b92 )
2019-12-17 13:57:16 +09:00
Malcolm Chen
b7c6ee3856
Define a telephony database column for uicc applications enabled or not.
...
Bug: 141018421
Test: unittest
Change-Id: I5d4f1ec1bc3832c471fd43f3024cd79383d8d3d6
Merged-In: I5d4f1ec1bc3832c471fd43f3024cd79383d8d3d6
2019-12-16 19:07:11 -08:00
Betty Chang
e74c1f1278
Merge "[Telephony Mainline] Add SimInfo.CONTENT_URI instead SubscriptionManager.CONTENT_URI for mainline"
2019-12-17 02:53:41 +00:00
Mengjun Leng
db15271ae7
Telephony: Get SIM card capacity count of SMS
...
Add an API to get the capacity of the stored SMS on ICC card.
Bug:37289947
Change-Id: Ic9383b3605ce450b3dc32ccc0c283789c12fabf7
2019-12-17 10:44:36 +08:00
Treehugger Robot
59b88e0e6a
Merge "Fix for Telephony Manager API javadoc inconsistencies"
2019-12-17 00:53:08 +00:00
James Lin
6a1d13f58e
Merge "[RCS] Add IMS service into system service registry"
2019-12-16 23:28:44 +00:00
Chen Xu
0bc81e1d23
Merge "expose APIs for mainline telephony-sdk"
2019-12-16 20:51:04 +00:00
Shuo Qian
3d18290b0d
Mainline Network Policy constants public
...
Test: Treehugger
Bug: 145759152
Change-Id: I05ab2e723d60cff9f67d89302591026c33c54e24
2019-12-16 20:49:18 +00:00