Commit Graph

14738 Commits

Author SHA1 Message Date
TreeHugger Robot
7d560e6619 Merge "Improvements of D2D API according to the review" into sc-dev 2021-03-22 21:27:20 +00:00
Amit Mahajan
b29d424b29 Merge "Add new DataFailCauses to Intdef." into sc-dev 2021-03-22 19:55:29 +00:00
James Lin
7f65df99a5 Merge "UCE OPTIONS APIs updated" into sc-dev 2021-03-22 18:46:48 +00:00
Alireza Forouzan
fefc85a46b Merge "Add an API to getPhoneAccountHandle for a TelephonyManager" into sc-dev 2021-03-22 17:57:57 +00:00
Treehugger Robot
69cd06014d Merge "Make isDataCapable a public API" am: 965d021bf5 am: abed1c46be am: 1d40d06532
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629275

Change-Id: I8b83100d8d3945538b8fee0860bcf1d7cbbcaa91
2021-03-22 13:25:10 +00:00
Jack Nudelman
60a2143239 Merge "Add capability for thermal mitigation." am: 1cc1558ea6 am: 75c0c02fd4 am: f727323567
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1621704

Change-Id: I703c16f9d1ecaa5041072114b112600fcad92eff
2021-03-22 13:24:05 +00:00
Treehugger Robot
1d40d06532 Merge "Make isDataCapable a public API" am: 965d021bf5 am: abed1c46be
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629275

Change-Id: Ic06e74f162937597af19e3b44fc337d920f5f635
2021-03-22 12:42:28 +00:00
Jack Nudelman
f727323567 Merge "Add capability for thermal mitigation." am: 1cc1558ea6 am: 75c0c02fd4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1621704

Change-Id: If33c887416324e234c33dd42e9b8eeef659f7322
2021-03-22 12:42:10 +00:00
Treehugger Robot
965d021bf5 Merge "Make isDataCapable a public API" 2021-03-22 12:00:20 +00:00
Jack Nudelman
1cc1558ea6 Merge "Add capability for thermal mitigation." 2021-03-22 11:38:10 +00:00
Hui Wang
d2dc4ae865 Merge "Add VoPS support info for NR" am: 98763306a2 am: e6cbb031cd am: fd65c23661
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1585530

Change-Id: Ide029f3f8603474b3f30c7fc250c50e25cea2323
2021-03-22 11:01:14 +00:00
Treehugger Robot
67f4172451 Merge "Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc" am: 258ecb55a5 am: e8ed5b17cf am: 3873fd0c6a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1643623

Change-Id: I53cc9c17607de633dd6bb6a7380a53d1193e8c39
2021-03-22 10:56:45 +00:00
SongFerng Wang
935980c740 Merge "The phone didn't reload the allowed Network Type" am: cfa02cd687 am: 3dd9c6bf01
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1641903

Change-Id: I4dc32278e38dc6b3d859a9b097375618b9b3cb40
2021-03-22 03:56:37 +00:00
Alireza Forouzan
32d484c8e0 Add an API to getPhoneAccountHandle for a TelephonyManager
This change allows the carrier privilege app to get the PhoneAccountHandle associated with its TelephonyManager without requiring the READ_PRIVILEGED_PHONE_STATE permission.

Bug: 182966851
Test: manual,CTS
Change-Id: I83392c58d241ff02d099170294278b1273f11571
2021-03-21 17:49:33 +00:00
SongFerng Wang
cfa02cd687 Merge "The phone didn't reload the allowed Network Type" 2021-03-21 16:45:59 +00:00
Hongbo Zeng
80e8713490 Merge "Support getSlicingConfig() API for 5G Slicing Configuration" into sc-dev 2021-03-21 10:55:07 +00:00
Hui Wang
fd65c23661 Merge "Add VoPS support info for NR" am: 98763306a2 am: e6cbb031cd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1585530

Change-Id: I22e45b1888aa870708c66aa89926e4e98b9bc25f
2021-03-21 05:20:26 +00:00
Hui Wang
98763306a2 Merge "Add VoPS support info for NR" 2021-03-21 04:12:52 +00:00
Treehugger Robot
3873fd0c6a Merge "Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc" am: 258ecb55a5 am: e8ed5b17cf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1643623

Change-Id: Ic7929c8345ac56031c9e64c1d2df7ce7aa27825f
2021-03-20 01:07:38 +00:00
Treehugger Robot
258ecb55a5 Merge "Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc" 2021-03-20 00:28:35 +00:00
TreeHugger Robot
9f15b8d17a Merge "Updates to API based on API council feedback." into sc-dev 2021-03-20 00:02:52 +00:00
Amit Mahajan
558d3deaad Add new DataFailCauses to Intdef.
Test: build (documentation only change)
Bug: 178498823
Change-Id: I3eeca8f8f85099a2c789804be0a7ae78c3bead3d
2021-03-19 16:06:46 -07:00
SongFerng Wang
2c9acf1094 Merge "Implementation of "Enable 2G" for Settings." am: 3ccc2738e2 am: 74de537b56
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1641783

Change-Id: I43640a7ef47ca09c08d042b8d4ceb76b5c54c4eb
2021-03-19 14:23:29 +00:00
SongFerngWang
84bced4979 The phone didn't reload the allowed Network Type
Reload the allowed Network after device insert SIM card.
Change the behavior of notifyAllowedNetworkTypesChanged.
Log print String representation of the allowed network types.
Bug: 180903931
Bug: 179814490
Test: atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java#testSetAllowedNetworkTypesForReason_moreReason
atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java#testSetAllowedNetworkTypesForReason
atest android.telephony.cts.TelephonyCallbackTest

Change-Id: Icfffea3c74ecf6938455d841da9d6175f6aa07de
Merged-In: Icfffea3c74ecf6938455d841da9d6175f6aa07de
2021-03-19 21:56:17 +08:00
SongFerng Wang
3ccc2738e2 Merge "Implementation of "Enable 2G" for Settings." 2021-03-19 13:09:55 +00:00
Hongbo Zeng
c638307194 Support getSlicingConfig() API for 5G Slicing Configuration
- add getSlicingConfig() API in TelephonyManager and ITelephony
- add Parcelable implmentations for RouteSelectionDescriptor,
  SlicingConfig, and UrspRule
- remove @hide and @SystemApi for TrafficDescriptor and
  NetworkSliceInfo to make them public

Bug: 178075247
Test: .
(1) run "atest TelephonyManagerTest#testGetSlicingConfig" for CTS result
[22/121] android.telephony.cts.TelephonyManagerTest#testGetSlicingConfig: PASSED (956ms)
(2) run "atest RILTest#testGetSlicingConfig" for RILTest result
[17/111] com.android.internal.telephony.RILTest#testGetSlicingConfig: PASSED (1ms)

Change-Id: I0addc2b22c11b13759e890d88f51490993fb72e1
2021-03-19 20:03:26 +08:00
Zoey Chen
38c581fc6c Merge "[Telephony] Return if context is null when register TelephonyCallback" am: a805d39229 am: 51f11f9b0b am: aab9659d41
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1644386

Change-Id: Iee971b6fdac174392e75e1ae49ef09446faf1257
2021-03-19 11:31:03 +00:00
Zoey Chen
aab9659d41 Merge "[Telephony] Return if context is null when register TelephonyCallback" am: a805d39229 am: 51f11f9b0b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1644386

Change-Id: I8f6b72edbe920ae78b2a59dea4b3cd8e21ba47e1
2021-03-19 10:46:18 +00:00
Zoey Chen
a805d39229 Merge "[Telephony] Return if context is null when register TelephonyCallback" 2021-03-19 09:28:41 +00:00
Amit Mahajan
69ef020c8e Merge "Clarifying documentation for SliceInfo per API council feedback." into sc-dev 2021-03-19 02:32:35 +00:00
Grace Jia
aeea4ec376 Improvements of D2D API according to the review
Add noun 'preference' to all APIs like deviceToDeviceSharingStatus.
Change subId to subscriptionId to be consistent with other methods.

Bug: 181681064
Test: make
Change-Id: I0d6d6589ab7146e97745fa1aa2f2a53e6cb9b41f
2021-03-18 19:22:50 -07:00
SongFerng Wang
026fa948ae Merge "KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray" into sc-dev 2021-03-19 01:28:31 +00:00
Daniel Huang
408440ed54 Merge "Add configs for IMS Service Entitlement." into sc-dev 2021-03-19 01:22:57 +00:00
Amit Mahajan
1ee17465ec Clarifying documentation for SliceInfo per API council feedback.
Test: none; documentation only change
Bug: 180125761
Change-Id: Ic26598802d0648e7a12ed0ec78c01afc1a72598f
2021-03-18 16:59:45 -07:00
James.cf Lin
e2d599905a UCE OPTIONS APIs updated
1. Expose OPTIONS APIs in the RcsContactUceCapability.
2. Update the feature tags type from List to Set.

Bug: 181175307
Test: atest RcsUceAdapterTest ImsServiceTest RcsContactUceCapabilityTest
Change-Id: Id4499d7f9f6eb2b572902d76129f9ad388354d9f
2021-03-19 07:46:26 +08:00
Hui Wang
eb0ef951d4 Add VoPS support info for NR
Bug: 167991878
Test: atest FrameworksTelephonyTests:CellularNetworkServiceTest
Test: atest FrameworksTelephonyTests:ServiceStateTrackerTest
Test: atest CtsTelephonyTestCases:VopsSupportInfoTest
Change-Id: Ib7ee266d2fb2bbfc16b33c9c79f2ef2a576a8e81
2021-03-18 23:33:54 +00:00
Kai Shi
1224d2650b Merge "Add the LCE system API" am: 26ba4d0d09 am: 855075a2c2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1643471

Change-Id: I19a67dc2479548452f96c82e91c2a236ffbbf8ad
2021-03-18 22:46:08 +00:00
Amit Mahajan
f36b5ff898 Merge "Clarifying documentation for SliceInfo per API council feedback." am: afb77c6f83 am: ddc8641c01
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1642743

Change-Id: I7d19ab42485cf0e119efddf1ae98e7a298a3af64
2021-03-18 22:44:53 +00:00
Kai Shi
26ba4d0d09 Merge "Add the LCE system API" 2021-03-18 21:23:34 +00:00
Amit Mahajan
463ec227c6 Merge "Rename SliceInfo to NetworkSliceInfo." into sc-dev 2021-03-18 20:20:13 +00:00
Amit Mahajan
afb77c6f83 Merge "Clarifying documentation for SliceInfo per API council feedback." 2021-03-18 19:55:52 +00:00
Brad Ebinger
20b244b5c3 Merge "Create new UCE shell commands for modifying PUBLISH for testing" am: 748bf34abf am: 071c6e31ee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1587771

Change-Id: I768d5a673717c8e3a043ef3e28ac1f79df69ba67
2021-03-18 17:25:58 +00:00
danielwbhuang
8744fc01dd Add configs for IMS Service Entitlement.
1. KEY_FCM_SENDER_ID_STRING
2. KEY_SHOW_VOWIFI_WEBVIEW_BOOL
3. KEY_IMS_PROVISIONING_BOOL

Bug: 181634035
Test: make.
Change-Id: Ife460f3bb4ec71bbce66733dd4a0049c4ab3a2a9
2021-03-18 17:59:07 +08:00
SongFerngWang
c42f2697d0 KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray
Bug: 179814490
Test: build pass
Change-Id: Ica29b8aee243168bb7719f01972075d54ff763e9
2021-03-18 11:39:23 +08:00
Zoey Chen
8eac3a3ff1 [Telephony] Return if context is null when register TelephonyCallback
Bug: 183064691
Test: make
Change-Id: Ic77a6085f05c942dcd7514bc78b7bfa46938ec38
2021-03-18 11:05:12 +08:00
Calvin Pan
4e94266881 Merge "Add a carrier config for PROVISIONING button in radioinfo" into sc-dev 2021-03-18 02:02:05 +00:00
Kai Shi
857391f361 Add the LCE system API
Add the link capacity estimate system API.
Remove the system API of getCarrierBandwidth() and CarrierBandwidth as
they are replaced by the new LCE system API in PhoneStateListener.

Bug: 180434672
Bug: 176814680
Test: manual test of the new LCE system API in LinkBandwidthEstimator
Test: atest -c PhoneStateListenerTest

Merged-In: I5899acf02006a164e31f9b82aeaa7974dd6d2869
Change-Id: I5899acf02006a164e31f9b82aeaa7974dd6d2869
2021-03-17 18:56:11 -07:00
Remi NGUYEN VAN
a3648a387c Make isDataCapable a public API
There is no definitive API to determine whether a device supports mobile
data; this API fills the gap.

Bug: 146206136
Test: m
Change-Id: I5daa302063ee4e9c27dd9ba1a09d65af80ed9d99
2021-03-18 10:47:19 +09:00
Amit Mahajan
c2f06b0e63 Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc
Test: none
Bug: 170704921
Change-Id: I7d6985ab1aaf830c4560195189d01a661d478dbe
2021-03-17 15:43:57 -07:00
Hall Liu
9e53260ddb Merge "Add carrier config keys for RTT-VT compat" am: 2ab1cc0fac am: 4b4f0e38a1 am: 0c9184f87e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1636900

Change-Id: I6e6c51d5a6d98f524e37a61000f974afe269e6b1
2021-03-17 22:08:20 +00:00