Commit Graph

12222 Commits

Author SHA1 Message Date
Shuo Qian
28ab493385 Merge "API Council Feedbacks" into rvc-dev 2020-03-12 21:54:42 +00:00
TreeHugger Robot
3269b7a4c8 Merge "[Mainline] Add @hide. Revisit and redesign in S" into rvc-dev 2020-03-12 17:50:44 +00:00
Shuo Qian
e3efafddda API Council Feedbacks
1) Update doc of ACTION_UPDATE_EMERGENCY_NUMBER_DB
2) Add new APIs EXTRA_VERSION and EXTRA_REQUIRED_HASH
3) Rename isDataConnectionEnabled to IsDataConnectionAllowed
4) Format the API documentations with html format
5) Throw errors for shutdownAllRadios, isAnyRadioPoweredOn
6) Modify the doc of TelephonyManager.getEmergencyNumberDbVersion
7) Add UPDATE_CONFIG permission for ACTION_UPDATE_EMERGENCY_NUMBER_DB

Test: Treehugger; Manual made a call; make -j offline-sdk-docs
Bug: 147696692
Bug: 147805285
Bug: 148217670
Bug: 148218347
Change-Id: Idf3dee3de5ebf75ca8b8fbaaf879e69f7ae4b754
Merged-In: Idf3dee3de5ebf75ca8b8fbaaf879e69f7ae4b754
(cherry picked from commit dc86120fca)
2020-03-12 03:49:15 +00:00
TreeHugger Robot
6a781e90bd Merge "Throw RuntimeException/ImsException when binder is null." into rvc-dev 2020-03-12 00:41:03 +00:00
Daniel Bright
50b916bd53 Merge "Remove PHONE_TYPE_IMS and PHONE_TYPE_THIRD_PARTY as apis" into rvc-dev 2020-03-12 00:33:51 +00:00
Jayachandran Chinnakkannu
dd3768ed8c Merge "Remove API getDefaultSimCountryIso() as per API council feedback" into rvc-dev 2020-03-11 21:53:08 +00:00
TreeHugger Robot
8ca61d7cd3 Merge "change getActiveAndHiddenSubscriptionInfoList API name" into rvc-dev 2020-03-11 20:54:07 +00:00
TreeHugger Robot
b6e24590fd Merge "READ_PHONE_STATE permission for isModemEnabledForSlot" into rvc-dev 2020-03-11 20:50:15 +00:00
Daniel Bright
87941e4fa1 Remove PHONE_TYPE_IMS and PHONE_TYPE_THIRD_PARTY as apis
Removing api status to several apis created during telephony mainline in R.

Bug: 147465477
Test: make
Change-Id: I6d394fae478ef62769147beaeb944771a67aca70
2020-03-11 11:59:03 -07:00
James Lin
5dd0e09694 Merge "Add a carrier config for two digital number pattern" into rvc-dev 2020-03-11 09:35:21 +00:00
SongFerngWang
cd7d966476 [Mainline] Add @hide. Revisit and redesign in S
Bug: 144486008
Test: build pass.
Change-Id: I9f301b65a3a476a114821c77916dbdb988e5d983
2020-03-11 14:34:25 +08:00
TreeHugger Robot
342f72063a Merge "Rollback @SystemApi on ApnSetting" into rvc-dev 2020-03-11 05:46:07 +00:00
TreeHugger Robot
f414c083dd Merge "Undo commit "Expose constants in Telephony.Carriers"" into rvc-dev 2020-03-11 05:39:55 +00:00
Daniel Bright
0080b55bc5 Merge "Rollback SystemApis for Mainline" into rvc-dev 2020-03-11 03:44:01 +00:00
TreeHugger Robot
60a6e43a74 Merge "Unexpose unnecessary SysUI APIs" into rvc-dev 2020-03-11 00:42:51 +00:00
Sarah Chin
76182efa9f Merge "Unexpose getDataRoamingFromRegistration API" into rvc-dev 2020-03-10 23:58:26 +00:00
Daniel Bright
d8b1c8b283 Rollback @SystemApi on ApnSetting
* Remove @SystemApi from ApnSetting.TYPE_*
* Remove @SystemApi from ApnSetting.getApnTypesStringFromBitmask

Bug: 147465477
Test: make \ flash
Change-Id: Ifc781ae494968fbaad8c591dbd990d397e0d733b
2020-03-10 15:08:12 -07:00
Sooraj Sasindran
4f1db18325 READ_PHONE_STATE permission for isModemEnabledForSlot
Specify READ_PHONE_STATE permission for isModemEnabledForSlot

Bug: 144791721
Test: make
Change-Id: I895f46671b0023b835239a661eea1881eb1ff48f
2020-03-10 20:14:28 +00:00
Sooraj Sasindran
40468064ed change getActiveAndHiddenSubscriptionInfoList API name
getActiveAndHiddenSubscriptionInfoList to getCompleteActiveSubscriptionInfoList

Bug: 144791721
Test: make
Merged-In: I6202c4039d858ccfed1d09e8b315d701bb571ccf
Change-Id: I6202c4039d858ccfed1d09e8b315d701bb571ccf
(cherry picked from commit feb6aa47b4)
2020-03-10 20:08:20 +00:00
Sarah Chin
ba01f23e9f Unexpose getDataRoamingFromRegistration API
Test: build
Bug: 148604865
Change-Id: I695645418d2babc1eb524a29b2054c1cd8f74da3
2020-03-10 12:40:40 -07:00
Daniel Bright
5dbd3c3b69 Undo commit "Expose constants in Telephony.Carriers"
Undid carrier constants as @SystemApis.  Also had to move
constants out of annotation.java because any references in
that specific file need to be to public APIs.

Bug: 148170690
Test: make, flash
Change-Id: Ie4b827563dbc373c58ec805bc5400e0950b5b81e
2020-03-10 12:27:16 -07:00
Jayachandran C
5e36c82b96 Make TelephonyManager.getCdmaEriInformation and CdmaEriInformation hide@
Bug: 147839123
Test: Basic telephony testing
      atest frameworks/base/packages/SystemUI/tests
Change-Id: I648b9b2acccaf835adab7c5d813c3728b7320d94
2020-03-10 10:56:49 -07:00
Brad Ebinger
5463a87fc3 Merge "API Review: Rethrow from system server for ImsCallSessionListener" into rvc-dev 2020-03-10 16:57:52 +00:00
SongFerngWang
56e1a31265 5G icon default changed
default value:"connected_mmwave:5G,connected:5G,not_restricted_rrc_idle:5G
,not_restricted_rrc_con:5G"

Bug: 150826929
Test: build pass
Change-Id: I298b0eb496f5aae8c812ccfa375e2649fc9c2a64
2020-03-10 13:08:31 +08:00
Daniel Bright
d2412e3b18 Rollback SystemApis for Mainline
Rolling back telephony SystemdApis for mainline.

Bug: 147854704
Test: make
Change-Id: Ief11f574482461a4cda1b4e59cd23aaa0b8b9eef
2020-03-09 18:13:53 -07:00
TreeHugger Robot
e5e8e34c7c Merge "API fix: getProprietaryCallExtras should not return null" into rvc-dev 2020-03-10 01:08:35 +00:00
Shuo Qian
e171bca393 Merge "API Council Feedback - Override EmergencyNumberDB File API" into rvc-dev 2020-03-09 23:17:44 +00:00
Brad Ebinger
816fdbb2b9 API fix: getProprietaryCallExtras should not return null
Fixes: 149216142
Test: atest CtsTelephonyTestCases
Change-Id: I7bd0d44f08169d41396a8cb202f3928e14bc5939
2020-03-09 23:14:42 +00:00
Brad Ebinger
ece30e73ab API Review: Rethrow from system server for ImsCallSessionListener
Test: atest FrameworksTelephonyTests:ImsCallSessionListenerTests
Bug: 149997618
Change-Id: I98e7aeb033c3a5da332cc40e58ec5e066be6a2cc
2020-03-09 23:11:48 +00:00
Brad Ebinger
1a72c04a67 Merge "API Fix: Remove 200 from PUBLISH_STATE_OK" into rvc-dev 2020-03-09 22:52:46 +00:00
Brad Ebinger
1084c52acf Merge "API fix: Rename and clarify ProvisioningManager constants" into rvc-dev 2020-03-09 22:51:53 +00:00
TreeHugger Robot
410b854a84 Merge "API Review: Clarify deprecated docs and rethrow from system server" into rvc-dev 2020-03-09 22:34:33 +00:00
Jayachandran C
207aa3a8e4 Remove API getDefaultSimCountryIso() as per API council feedback
Change Linkify to
1) use fallback context from activity thread when a valid context
   is not passed in the API.
2) use default locale if activity thread returns null context

Bug: 144576376
Bug: 148514283
Test: atest com.android.frameworks.coretests

Change-Id: I145821d12b49fcd4036dafce27857547f293124f
2020-03-09 13:22:36 -07:00
Grace Jia
fc1339f0bc Throw RuntimeException/ImsException when binder is null.
Bug: 149227341
Test: atest CtsTelephonyTestCases:ImsMmTelManagerTest
Change-Id: Ida19a2f5e0bbb64facd7f08eb4ab68d120134a0e
(cherry picked from commit da20037842)
2020-03-09 19:28:37 +00:00
Betty Chang
4bfc09b55c Merge "[Telephony Mainline] Fix JavaDoc for getPremiumSmsConsent method" into rvc-dev 2020-03-09 02:32:13 +00:00
Brad Ebinger
6b06c64627 API fix: Rename and clarify ProvisioningManager constants
Fixes: 148515237
Test: atest CtsTelephonyTestCases; atest FrameworksTelephonyTests
Change-Id: I633ad3270f8b7d047c3522a420746b668000d078
2020-03-06 15:49:34 -08:00
Shuo Qian
75c49ab334 API Council Feedback - Override EmergencyNumberDB File API
Use ParcelFileDescriptor; Introduce Reset API

Test: atest TelephonyHostTest#testEmergencyNumberDb
Bug: 147805285
Change-Id: I7a7733c02874c0f17fef8c91b9e543c8e803f504
Merged-In: I7a7733c02874c0f17fef8c91b9e543c8e803f504
2020-03-06 22:56:25 +00:00
Brad Ebinger
6d8722cb87 API Review: Clarify deprecated docs and rethrow from system server
1) Clarify why there are new APIs being added as @deprecated
   (backwards compatibility), and
2) onLineIdentificationSupplementaryServiceResponse should throw
an exception instead of silently failing.

Test: atest CtsTelephonyTestCases FrameworksTelephonyTests
Fixes: 149997057
Fixes: 143987946
Change-Id: I5c2bacad43917a6ecad49dcf9d3213b3472534cc
2020-03-06 11:12:25 -08:00
Brad Ebinger
5f2d7b6a5a API Fix: Remove 200 from PUBLISH_STATE_OK
Test: atest CtsTelephonyTestCases; manual
Bug: 149316154
Change-Id: I3e2edf69c48f90743903a257033a43d608b4f0d5
2020-03-06 19:11:10 +00:00
Sarah Chin
42d2031cc9 Merge "Update AccessNetworkConstants to uses values from HAL" into rvc-dev 2020-03-06 18:39:05 +00:00
changbetty
a335758c74 [Telephony Mainline] Fix JavaDoc for getPremiumSmsConsent method
Bug: 148603739
Test: make
Change-Id: I386ca2c398d3897148fc56ebe4956cac12531590
2020-03-06 16:46:25 +08:00
Jack Yu
9dd2585d3f Merge "4G+ RAT icon can not be displayed when back to 4G from 4G+" into rvc-dev 2020-03-06 07:51:22 +00:00
Betty Chang
e78a4b2695 Merge "[Telephony Mainline] Rename the method from isCurrentSimOperator to matchesCurrentSimOperator" into rvc-dev 2020-03-06 06:01:38 +00:00
Brad Ebinger
0542580955 Merge "API Review: Define the extras as containing CharSequences, not Strings" into rvc-dev 2020-03-06 05:10:44 +00:00
Brad Ebinger
2fa6a99ee9 API Review: Define the extras as containing CharSequences, not Strings
Test: atest FrameworksTelephonyTests:ImsPhoneTest
Fixes: 150331517
Change-Id: I7c6f4c13e6267a3e643ebae77697ea18ee8cd242
2020-03-06 01:51:48 +00:00
Xiangyu/Malcolm Chen
2f2742cc80 Merge "Remove @ModemCount enum definitions." into rvc-dev 2020-03-06 01:51:03 +00:00
Sarah Chin
07e5274fd0 Update AccessNetworkConstants to uses values from HAL
Test: build
Bug: 150479290
Change-Id: I46034fce8f8f13b555a0cfb05cc5a9f076c7251a
2020-03-05 17:28:45 -08:00
Sarah Chin
b800cbd56a Unexpose unnecessary SysUI APIs
These APIs were exposed for mainline since they were used in SysUI code,
but the logic that was using them was moved to Telephony. Unexposing the
APIs since they no longer need to be exposed.

Test: atest FrameworksTelephonyTests
Bug: 147447171
Bug: 111498835
Bug: 149874525
Change-Id: I1930977c5345c075773d18db4eb05913038d7e7f
2020-03-05 14:29:27 -08:00
TreeHugger Robot
931e7099e1 Merge "Change javadoc of getSubmitPduEncodedMessage and add IntRange to its parameters" into rvc-dev 2020-03-05 11:33:39 +00:00
TreeHugger Robot
899b5ea52a Merge "Added the high usage hidden APIs back" into rvc-dev 2020-03-05 02:40:34 +00:00