Commit Graph

11427 Commits

Author SHA1 Message Date
Amit Mahajan
f57e4c9bce Merge "add capability for TelephonyManager.getNetworkSlicingConfiguration()" into sc-dev 2021-03-23 21:10:36 +00:00
Zongheng Wang
9b8c0d2a6a Merge "Replace createSmsSubmitPdu with createFromNativeSmsSubmitPdu" am: ab2c1e5777 am: 52937545e4 am: 391e64a11c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1649709

Change-Id: I636a73921e61d466dca66155b67cbc036a8b0200
2021-03-23 20:33:04 +00:00
Zongheng Wang
391e64a11c Merge "Replace createSmsSubmitPdu with createFromNativeSmsSubmitPdu" am: ab2c1e5777 am: 52937545e4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1649709

Change-Id: Ib50204ae34577adaa3cf9e887aa05f2690a3f833
2021-03-23 19:50:20 +00:00
Zongheng Wang
ab2c1e5777 Merge "Replace createSmsSubmitPdu with createFromNativeSmsSubmitPdu" 2021-03-23 18:47:36 +00:00
SongFerng Wang
2c691e8dc2 Merge "Changing DEVICE_NR_CAPABILITY type and renaming getMaxActiveInternetData" into sc-dev 2021-03-23 16:41:55 +00:00
Jack Nudelman
74230cc4a0 Merge "Require calling package to be allowlisted for thermal mitigation." am: fdad0e26a7 am: d3b14cf1fe am: 6176649cce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634481

Change-Id: I6a3a3d4ebd19e8a2de8fcd3ed054600210e1aa31
2021-03-23 14:10:49 +00:00
Jack Nudelman
6176649cce Merge "Require calling package to be allowlisted for thermal mitigation." am: fdad0e26a7 am: d3b14cf1fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634481

Change-Id: I11c8750cc9c8cb4c13370f0b30ed087c84629fa5
2021-03-23 13:29:37 +00:00
Zongheng Wang
7b8f79b641 Replace createSmsSubmitPdu with createFromNativeSmsSubmitPdu
Test: atest bluetooth_test_common
Test: atest CtsTelephonyTestCases
Bug: 183051612
Change-Id: If15d31eb699e2c5d3e371628dba8adbaa9bbebfa
2021-03-22 21:31:58 -07:00
Jack Nudelman
a963612854 Require calling package to be allowlisted for thermal mitigation.
Test: make, manual verification
Bug: 180015298
Change-Id: I1884facf5d37e4caa82697dab7e2a30d735f214e
2021-03-22 16:33:56 -07:00
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
SongFerng Wang
3daf8b8947 Merge "KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray" am: b24ba9d52f am: 2d45d999be
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1645304

Change-Id: I47ca8a9d0adcdc97e0ea6522028fa257ef081891
2021-03-22 19:34:16 +00:00
SongFerngWang
833271753e Changing DEVICE_NR_CAPABILITY type and renaming getMaxActiveInternetData
DEVICE_NR_CAPABILITY_*: Using int array instead of bitmask
Rename getMaxActiveInternetData and remove SystemAPI
Rename getMaxActivePacketSwitchedVoiceCalls

Bug: 180419672
Test: atest CtsTelephonyTestCases:android.telephony.cts.TelephonyManagerTest#testGetPhoneCapabilityAndVerify
atest CellularNetworkValidatorTest
atest PhoneCapabilityTest
atest PhoneSwitcherTest
atest TelephonyRegistryTest

Change-Id: Ia394537ec57900a410b283ddffdcead017e6d9c6
2021-03-23 03:28:53 +08:00
SongFerng Wang
b24ba9d52f Merge "KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray" 2021-03-22 19:06:48 +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
Hongbo Zeng
7da537a641 add capability for TelephonyManager.getNetworkSlicingConfiguration()
- create CAPABILITY_SLICING_CONFIG_SUPPORTED in TelephonyManager
- mark up getNetworkSlicingConfiguration() with
  CAPABILITY_SLICING_CONFIG_SUPPORTED

Bug: 181713905
Test: atest RadioConfigResponseTest
Change-Id: I68399eee66e43a719598961cb1a0d00db6b4e25a
2021-03-22 22:14:12 +08: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
SongFerngWang
98edbb0bbc KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray
Bug: 179814490
Test: build pass
Change-Id: Ica29b8aee243168bb7719f01972075d54ff763e9
Merged-In: Ica29b8aee243168bb7719f01972075d54ff763e9
2021-03-22 07:16:59 +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