Andrei-Valentin Onea
f304f4d2ea
Merge "Add @UnsupportedAppUsage annotations"
2019-03-06 18:01:47 +00:00
Andrei Onea
890db3d672
Add @UnsupportedAppUsage annotations
...
For packages:
android.speech
android.telephony.mbms.vendor
android.view
android.webkit
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Merged-In: Iefe25091fa0fcc0adfe4ff85fe5e3ab3ac9c5f10
Change-Id: I04104cf3852a0a7440676ccc55dd96c1eec730c4
2019-03-06 15:43:49 +00:00
Chen Xu
e5fd14aed5
Merge "migrate cdma home eri from resource overlay to carrierconfig"
2019-03-06 02:50:20 +00:00
chen xu
48467114cc
migrate cdma home eri from resource overlay to carrierconfig
...
Bug: 121145488
Test: Build
Change-Id: I1ec160883282c8819727d3d56c909d9a1c7fd5d2
(cherry picked from commit eb07e4ebff )
Merged-in: I1ec160883282c8819727d3d56c909d9a1c7fd5d2
2019-03-05 17:20:26 -08:00
Jack Yu
83181d80c8
Merge changes from topic "iwlan_api"
...
* changes:
Added annotations to the APIs
Fixed IWLAN related APIs issue
2019-03-05 21:26:30 +00:00
Chen Xu
695bbd1858
Merge "fix the issue that sending wrong preferred networktype to RIL"
2019-03-05 21:10:41 +00:00
chen xu
42814534d9
fix the issue that sending wrong preferred networktype to RIL
...
Bug: 126805258
Test: Manual
Change-Id: Ifb1fc21423a09f0d000553d4d06bafa023adc9d6
Merged-in: Ifb1fc21423a09f0d000553d4d06bafa023adc9d6
2019-03-05 21:07:02 +00:00
Treehugger Robot
792ce880ad
Merge "add missing annotation for TelephonyManager APIs"
2019-03-05 19:06:30 +00:00
Jack Yu
7338e5c238
Added annotations to the APIs
...
Added @Nullable and @NonNull to several APIs.
Test: Manual
Bug: 126701840
Bug: 126702171
Bug: 126702057
Bug: 126702564
Bug: 126703014
Bug: 126702900
Change-Id: Ib4d8b2b45b11ef5d70cd229f33b8c8f903e5e6ee
2019-03-05 11:00:12 -08:00
Jack Yu
6bd48a24cf
Fixed IWLAN related APIs issue
...
Fixed APIs that not meeting API review requirement.
1. Changed createXxxServiceProvider to onCreateXxxServiceProvider
2. Added builder for NetworkRegistrationState
Test: Manual
Bug: 126552434
Change-Id: Idb2411a47caf61e83fe26b98e393fa851ac1759d
2019-03-05 10:52:06 -08:00
Jack Yu
a11fb3bafe
Merge "Add Carriers.SKIP_464XLAT and includes ApnSetting"
2019-03-05 17:36:51 +00:00
Jack Yu
ea741435e4
Fixed that DcTracker does not use correct data registration info
...
Fixed by using correct info from the corresponding transport
Test: Unit tests + manual
Bug: 126436426
Merged-In: Ie8ae20423b794622b6a6141faf68c01b75c144ce
Change-Id: Ie8ae20423b794622b6a6141faf68c01b75c144ce
(cherry picked from commit 1fa6cf1578 )
2019-03-04 21:15:36 -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
chen xu
5a2b45096c
add missing annotation for TelephonyManager APIs
...
Bug: 126702627
Test: Build
Change-Id: I39cb57db7cc1105bf74eb18ecf15ddbdc6e44f0c
Merged-in: I39cb57db7cc1105bf74eb18ecf15ddbdc6e44f0c
2019-03-04 15:43:21 -08:00
Michele Berionne
5461b1d23f
Merge "Move the check on multisim support when switch configuration is done"
2019-03-04 21:12:06 +00:00
Brad Ebinger
cef848b56e
Merge "Update ImsSsData/ImsSsInfo API based on API council feedback."
2019-03-04 21:02:10 +00:00
Jordan Liu
56bd70db86
Merge "Add NonNull and Nullable annotations"
2019-03-04 20:18:50 +00:00
Michele Berionne
6d9dd94da0
Merge "Changes to APIs for CarrierRestrictionRules class"
2019-03-04 19:01:42 +00:00
Michele
9a7b0638ca
Changes to APIs for CarrierRestrictionRules class
...
Add @NonNull annotation where applicable.
Rename isCarrierIdentifiersAllowed into areCarrierIdentifiersAllowed.
Make Builder class final.
Bug: 126375826
Bug: 126699079
Bug: 126700761
Test: Compilation
Change-Id: I1a02bc007f147597df97eaa55c00fd31a952870b
2019-03-04 10:59:42 -08:00
Amit Mahajan
36791ef41e
Merge "Adding new APN type for Mission Critical Services."
2019-03-04 18:23:30 +00:00
Treehugger Robot
693e023bac
Merge "Fix javadoc HTML escaping."
2019-03-04 16:22:20 +00:00
Mark Chien
077a04828d
Merge "Change return value of getTetherApnRequired() to a boolean."
2019-03-03 06:53:47 +00:00
Treehugger Robot
a3f1b3f15d
Merge "Fixed all APIs not meeting API review requirement"
2019-03-03 04:27:32 +00:00
Amit Mahajan
fd3ee5783e
Adding new APN type for Mission Critical Services.
...
Test: build
Bug: 124447962
Change-Id: I9f608badd363703394432640dc892a4465660b6d
2019-03-01 16:52:17 -08:00
Hall Liu
3c0a49ec48
Merge "API tweaks round 2"
2019-03-01 23:00:54 +00:00
Jack Yu
8eb6ca8354
Fixed all APIs not meeting API review requirement
...
To address the API review feedback provided by
the API council.
Bug: 126702995
Bug: 126701710
Bug: 126702357
Bug: 126701113
Bug: 126701239
Bug: 126700713
Bug: 126700064
Test: Manual
Change-Id: I4b902c1fc2c09133022b05dacdda8964436205d2
2019-03-01 14:37:47 -08:00
Michele
f9a71e81ee
Move the check on multisim support when switch configuration is done
...
The methods switchMultiSimConfig() and isMultisimSupported() in
TelephonyManager have different permissions. So, in order to check if
the switch operation can be performed, the check needs to be moved after
the verification of the permissions.
Bug: 124462964
Test: compilation
Change-Id: I501110d8b3fb2d26e4dfe187b52bb45dc8b5dc4b
2019-03-01 13:01:51 -08:00
chen xu
ef3d5bc27f
add Nullable annotation to TelephonyAPIs
...
Bug: 126702627
Test: Build
Change-Id: I0fa9370840ceda70b181976fa671cd962bdfcbca
2019-03-01 18:41:24 +00:00
Treehugger Robot
9886350a69
Merge "Add euicc privileged actions and extras."
2019-03-01 17:39:49 +00:00
Brad Ebinger
ea5bb6cd3b
Merge "Fix ImsMmTelManager API in accordance with the council"
2019-03-01 17:21:17 +00:00
Patrick Huang
3b3a74436c
Add euicc privileged actions and extras.
...
Bug: 122769846
Test: Test on phone
Change-Id: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
Merged-In: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
2019-02-28 19:51:10 -08:00
Hall Liu
1059cd57f0
API tweaks round 2
...
Add nullability annotations and change a static constant to a method
that returns a value.
Fixes: 126702861
Fixes: 126699926
Fixes: 126698717
Fixes: 126699057
Fixes: 126701443
Fixes: 126700882
Test: compiles
Change-Id: I96396eb8890b8b5148cf74447e08c31983398e47
2019-02-28 18:54:15 -08:00
Chen Xu
c931e9b0c0
Merge "add NonNull and Nullable annotation to APIs"
2019-03-01 02:17:33 +00:00
Nathan Harold
572b1ee84b
Merge "Add a Constant for CellInfo#UNAVAILABLE_LONG"
2019-03-01 01:15:47 +00:00
Treehugger Robot
b967dce9d9
Merge "Fix to hide phone number printed in the log"
2019-03-01 00:45:51 +00:00
Brad Ebinger
3e23651080
Update ImsSsData/ImsSsInfo API based on API council feedback.
...
Bug: 126699932
Bug: 126702587
Bug: 126701185
Bug: 126702997
Test: atest FrameworksTelephonyTests
Change-Id: I8500c2905bbc34d9033e2869b51d38b8d9b4727f
2019-02-28 15:57:49 -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
Jordan Liu
260189ceab
Add NonNull and Nullable annotations
...
Fixes: 126700810
Fixes: 126699781
Fixes: 126701115
Fixes: 126701034
Fixes: 126702858
Test: No behavior change
Change-Id: Ia590d660fbf5ed261ca2c44eed390397fe1ffba2
2019-02-28 13:48:02 -08:00
Brad Ebinger
66cee391c3
Fix ImsMmTelManager API in accordance with the council
...
Bug: 121190195
Test: atest FrameworksTelephonyTests
Merged-In: I5d011e1875c082a4532747e30e8582ff3da4ee93
Change-Id: I5d011e1875c082a4532747e30e8582ff3da4ee93
2019-02-28 11:25:13 -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
Treehugger Robot
c76c5529bf
Merge "Update annotations for UiccCardInfo APIs"
2019-02-28 13:01:02 +00:00
Jordan Liu
28911517b2
Update annotations for UiccCardInfo APIs
...
Fixes: 124800040
Test: no change to behavior
Change-Id: I0644eb9bac417b9a8b0fd8eaf691728ed0784527
2019-02-27 14:45:23 -08:00
Jordan Liu
eee18bd546
Merge "Implement isRemovable"
2019-02-27 20:40:31 +00:00
Amruth Ramachandran
d5386dfe1f
Merge "Expose DataSpecificRegistrationState as System API"
2019-02-27 19:00:44 +00:00
Nathan Harold
fd8cb59cc1
Merge "Add Documentation for ACTION_DEBUG_EVENT"
2019-02-27 18:39:59 +00:00
Nathan Harold
b609e1cc83
Add Documentation for ACTION_DEBUG_EVENT
...
The debug event action lost out on the documentation
for DebugEventReporter when it migrated to TM. This
change adds documentation for ACTION_DEBUG_EVENT
EXTRA_DEBUG_EVENT_ID, and EXTRA_DEBUG_EVENT_DESCRIPTION
Bug: 126178766
Test: make offline-sdk-docs (docstring-only change)
Change-Id: I6073d8b181c1258dbd7b47e8d5a45732d619396a
2019-02-26 16:42:54 -08:00
Amruth Ramachandran
e4cbd119d4
Expose DataSpecificRegistrationState as System API
...
LteVopsSupportInfo is currently not accessible for telephony
APK since DataSpecificRegistrationState is @hide api. This info is
required to determine if current LTE network support IMS. This
change exposes DataSpecificRegistrationState and LteVops info
as System API.
Bug: 112194535
Test: atest
Change-Id: Iec5c42ccef88b66c3f8ef05f8f96b2a4133ca63f
2019-02-26 14:16:40 -08:00
Hall Liu
3d7b3fb737
Merge "Rename the RTT audio flag in ImsStreamMediaProfile"
2019-02-26 21:54:40 +00:00
Jordan Liu
0fe6845f7d
Implement isRemovable
...
Add resource non_removable_euicc_slots which lists the slot indexes
which refer to non-removable eUICCs chips.
Test: EuiccCardTest
Bug: 122738148
Change-Id: I8836e25acf37527bbb067538902de056e1465b31
Merged-In: I8836e25acf37527bbb067538902de056e1465b31
2019-02-26 13:30:15 -08:00
Nathan Harold
11cbc3b9f2
Fix Order of Operations for Converting RSSI to ASU
...
Due to the wrong order of operations, the conversion
from RSSI to ASU was returning bad results. Fix the
equation so that the ASU is correctly calculated.
Bug: 126199198
Test: (force device to GSM) - atest CellInfoTest
verified on aosp_taimen
Change-Id: Iaeb9a2a6d8efb5b39fc1f81e8d2969694cc06422
2019-02-26 01:55:40 +00:00