Amit Mahajan
23ac92cb39
Re-expose TrafficDescriptor.Builder for testing.
...
Based on API council feedback.
Test: atest TrafficDescriptorTest
Bug: 185782182
Change-Id: Idb467d37728b062fa29f6bd284bd3144522d701e
2021-04-19 21:24:10 +00:00
TreeHugger Robot
9ad39e2bf5
Merge "Set CDMA roaming/subscription mode throws ISE if not CDMA" into sc-dev
2021-04-19 20:17:34 +00:00
Jack Yu
b7d886709b
Merge "Disallow data when QNS switched the preference" into sc-dev
2021-04-19 17:39:22 +00:00
Jack Yu
50a8fccec7
Disallow data when QNS switched the preference
...
When the preference has switched to another transport, do
not allow data setup. This avoid the case that data service
keeps asking telephony to retry while QNS already switched
the preference to another transport.
Test: Manual
Fix: 182899920
Fix: 175399007
Change-Id: I1a0c86a978756d5b05851d939e011010f8f1afc2
2021-04-19 17:25:11 +00:00
TreeHugger Robot
20ea7bab39
Merge "[ANAPIC Review] Change the type of List by ANAPIC review" into sc-dev
2021-04-19 17:19:50 +00:00
Amit Mahajan
a5f3d1398c
Merge "Change osAppId from String to byte[] to match specs." into sc-dev
2021-04-19 05:23:25 +00:00
Zoey Chen
33ee73cd9e
[ANAPIC Review] Change the type of List by ANAPIC review
...
- Use List<Byte> since using uint8_t in radio
Bug: 183738486
Test: make
Change-Id: I5a52bc20ebd9c5ce000abd8588f2969d84c6bcd0
2021-04-19 11:00:03 +08:00
Sarah Chin
a3c90ed855
Merge "Remove checks for system_process in TelephonyManager" into sc-dev
2021-04-18 22:46:36 +00:00
Sarah Chin
5df9a0575a
Merge "Add URSP matching failures as permanent failures" into sc-dev
2021-04-18 02:46:29 +00:00
TreeHugger Robot
caff843199
Merge "Fix API review issues for 5G Slicing feature" into sc-dev
2021-04-17 00:16:14 +00:00
Sarah Chin
7fa5d35a45
Merge "Update documentation for setSubscriptionOverride" into sc-dev
2021-04-16 23:58:42 +00:00
Sarah Chin
d86b2e7c6d
Add URSP matching failures as permanent failures
...
Prevent retry and continuous set up/fail loop.
Test: build
Fix: 185609488
Change-Id: I641ff0a9f6d96ba2bcc07cfebf54205d46e0e5ef
2021-04-16 15:59:50 -07:00
Jack Yu
98f5053d03
Merge "Revert "[ANAPIC Review] Change the type of List by ANAPIC review"" into sc-dev
2021-04-16 21:06:05 +00:00
Jack Yu
c94f691019
Revert "[ANAPIC Review] Change the type of List by ANAPIC review"
...
Revert "[ANAPIC Review] Modify radio 1.6 based on ANAPIC comment..."
Revert "[ANAPIC Review] Modify radio 1.6 in telephony side"
Revert submission 14098561-ANAPIC_1_6
Reason for revert: broke the builds
Reverted Changes:
Ibcbdc0cac:[ANAPIC Review] Change the type of List by ANAPIC ...
Ie8d40439e:[ANAPIC Review] Modify radio 1.6 in telephony side...
I24106cba4:[ANAPIC Review] Modify radio 1.6 based on ANAPIC c...
I71b0d0014:[ANAPIC Review] Modify radio 1.6 based on ANAPIC c...
Change-Id: I33ee563f99b56ed478656474dc24c030f35ebf44
2021-04-16 21:00:36 +00:00
Sarah Chin
d1430abd06
Set CDMA roaming/subscription mode throws ISE if not CDMA
...
Since the phone can switch to/from CDMA, returning when not CDMA could
cause issues later on. This essentially reverts ag/13862397 and updates
the documentation to call out more clearly when ISE is thrown.
Test: make
Fix: 175665470
Change-Id: Ie6ab0fd4b317d66a74a7c667a0ed6a54ee56c150
2021-04-16 12:10:06 -07:00
Sarah Chin
eecdf254e9
Remove checks for system_process in TelephonyManager
...
Instead of throwing exceptions, return the default null/empty/void
behavior.
Test: atest TelephonyManagerTest
Fix: 175881713
Change-Id: Ia15c8183212bc67e74b45fc119b5ef9d4c295c94
2021-04-16 11:44:49 -07:00
Zoey Chen
6670d2d5d0
Merge "[ANAPIC Review] Change the type of List by ANAPIC review" into sc-dev
2021-04-16 16:50:15 +00:00
TreeHugger Robot
bb98628e59
Merge "[Telephony] Describe the failure case in doc" into sc-dev
2021-04-16 06:42:41 +00:00
Zoey Chen
a2fee1cbcb
[Telephony] Describe the failure case in doc
...
Bug: 167347923
Test: make
Change-Id: Ifd7f234b358ba400ee67500567cacd3da3916646
2021-04-16 04:20:35 +00:00
Sarah Chin
f7e9c836c4
Update documentation for setSubscriptionOverride
...
Test: build
Fix: 180496714
Change-Id: Iebfcd0ece1891c1b77d132b92e93d8c1eea3aa6e
2021-04-15 19:53:14 -07:00
Hongbo Zeng
09c58000d4
Fix API review issues for 5G Slicing feature
...
- Rename SlicingConfig and SlicingException to
NetworkSlicingConfig and NetworkSlicingException
- Rename SlicingError to NetworkSlicingError
- add subclasses for NetworkSlicingException and remove getErrorCode()
- make isRadioInterfaceCapabilitySupported() public
Bug: 183714964
Bug: 183937956
Test: full build pass
- make -j200 doc-comment-check-docs
- atest TelephonyManagerTest#testGetNetworkSlicingConfiguration
- atest RadioConfigResponseTest
Change-Id: I4326b230c09adcf732f4271f3044d69c1ae5958c
2021-04-16 07:44:36 +08:00
Amit Mahajan
a6cb2f1e85
Change osAppId from String to byte[] to match specs.
...
OSAppId as defined in the specs is a concatenation of a UUID
(representing OSId) converted to byte[], and a byte[] representing
the app id. As such it is better to have that as a byte[] in the
public APIs instead of String.
Made the Builder @hide as well since it is not supposed to be
built by any external code.
Test: atest DataConnectionTest
Test: atest DcTrackerTest
Test: atest TrafficDescriptorTest
Bug: 185497057
Change-Id: I3d327097397bcfaaca2e6b7c342fb440fd546318
2021-04-15 15:46:25 -07:00
Sarah Chin
af7af06b80
Merge "Add new data fail causes for ENTERPRISE failures" into sc-dev
2021-04-15 19:57:49 +00:00
Zoey Chen
f9d768410b
[ANAPIC Review] Change the type of List by ANAPIC review
...
- Use List<Byte> since using uint8_t in radio
Bug: 183738486
Test: make
Change-Id: Ibcbdc0cacfbb714d2b4449791344d73c1d42152c
2021-04-15 12:41:45 +08:00
Sarah Chin
a19a392f98
Add new data fail causes for ENTERPRISE failures
...
Test: atest DataConnectionTest, DcTrackerTest
Bug: 183979790
Bug: 183739359
Change-Id: I71d30dd27430721f2d9c8b9e488d1e50e65992bb
2021-04-14 19:55:15 -07:00
Zoey Chen
d2c9a5497c
Merge "[PhysicalChannelConfig] Add more useful logs when calculate actual frequency" am: 7ffe1efa71 am: 5d8dc1e08c am: 8851487412
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1671793
Change-Id: I31e7aa4316a9e854ac8066f0dfb7d51d0584e090
2021-04-14 18:33:02 +00:00
Zoey Chen
8851487412
Merge "[PhysicalChannelConfig] Add more useful logs when calculate actual frequency" am: 7ffe1efa71 am: 5d8dc1e08c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1671793
Change-Id: I36d9a3cf4e25808b87d3b4f50bf3259bce5755ea
2021-04-14 18:04:07 +00:00
Zoey Chen
7ffe1efa71
Merge "[PhysicalChannelConfig] Add more useful logs when calculate actual frequency"
2021-04-14 16:32:35 +00:00
Allen Su
11d3489ba1
Merge "[RCS]Migrate from getEncodedMessage() to toEncodedMessage()" am: 23bbd41fde am: bf7c109ed6 am: 85f4d04ef2
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1671789
Change-Id: Iea60a39cb6fc3b2d5ed5732111b18fb64bf0bcdf
2021-04-14 03:01:13 +00:00
Allen Su
85f4d04ef2
Merge "[RCS]Migrate from getEncodedMessage() to toEncodedMessage()" am: 23bbd41fde am: bf7c109ed6
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1671789
Change-Id: I02897bc33c500660aadf20a1aa198a9db10643b8
2021-04-14 02:33:21 +00:00
Hui Wang
96ed04207d
Merge "Update the format of RCS provisioning config XML" into sc-dev
2021-04-13 17:29:48 +00:00
Zoey Chen
8e6497f7c7
[PhysicalChannelConfig] Add more useful logs when calculate actual frequency
...
Bug: 185102722
Test: make
Change-Id: I832e6240866ec95f407608dc67bcd4e95b78acee
2021-04-13 14:50:25 +08:00
Zoey Chen
e2f123e1a4
Merge "[Telephony] API Review: getMergedImsisFromGroup" into sc-dev
2021-04-13 02:50:51 +00:00
Hui Wang
e5017913a4
Update the format of RCS provisioning config XML
...
Bug: 184275686
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Change-Id: I7df3c660326c6bee3db4a4d3a032ce8f1941b15b
2021-04-12 17:24:03 -07:00
Zoey Chen
5cdff411ce
[Telephony] API Review: getMergedImsisFromGroup
...
- Add more description in getMergedImsisFromGroup
- Remove NPE
Bug: 167347923
Test: make
Change-Id: I66fccc73f4bc184b36e58149b643ea37853595b3
2021-04-12 19:53:54 +08:00
SongFerng Wang
c85f675035
Merge "Call waiting support USSD function" am: 7d07fce12b am: cf85599687
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1667001
Change-Id: If75cc1d84d69e7cf3c38fe0fcbfa1e2d21a1661d
2021-04-12 04:18:12 +00:00
allenwtsu
839387b75d
[RCS]Migrate from getEncodedMessage() to toEncodedMessage()
...
Bug: 184018068
Test: build pass
Change-Id: I14c0d2c8ce55599abcad06e2d0d2e630b02ab3b0
2021-04-12 11:20:47 +08:00
SongFerng Wang
7d07fce12b
Merge "Call waiting support USSD function"
2021-04-12 02:45:10 +00:00
Brad Ebinger
5d26ce4360
Merge "Rename closeDialog to cleanupSession" am: 0a99b6c48b am: 0eaa96b4e7 am: 6523cf73cb
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1670485
Change-Id: Ibf58445e83e76ee13980ecd89d7919de676fd710
2021-04-10 00:06:27 +00:00
Brad Ebinger
6523cf73cb
Merge "Rename closeDialog to cleanupSession" am: 0a99b6c48b am: 0eaa96b4e7
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1670485
Change-Id: I4d864c07103fccbe0f30035daafe8e14278576ac
2021-04-09 23:00:28 +00:00
Brad Ebinger
0a99b6c48b
Merge "Rename closeDialog to cleanupSession"
2021-04-09 21:54:45 +00:00
Brad Ebinger
913b325c8b
Rename closeDialog to cleanupSession
...
The current name of SipDelegate[Connection]#closeDialog assumes
there will only be one SIP dialog per SIP session and does not
adequately cover the case where a SIP INVITE has forked and
generated multiple dialogs for the same call-id.
Instead, rename closeDialog to cleanupSession, which is more
accurate and should be called after all SIP dialogs associated
with the SIP session represented by the call-id have closed.
Bug: 184858064
Test: atest CtsTelephonyTestCases
Change-Id: I438dbc45dffbaf33e0cf36ddc61008fd8c18209c
2021-04-09 19:28:10 +00:00
SongFerngWang
ea06cecc66
Create config KEY_ADDITIONAL_NR_ADVANCED_BAND_INT_ARRAY
...
A list of additional NR advanced band is used to determine which
particular band has high data rate capability. The data rate is
higher than the generic 5G data rate.
Bug: 183652287
Test: build pass
Change-Id: I45551902c7f1f4cfdc575b6a6c65351bce85d638
2021-04-09 02:38:37 +08:00
SongFerngWang
b863fa6531
Call waiting support USSD function
...
-Add new carrier config KEY_USE_CALL_WAITING_USSD_BOOL
Bug: 180540626
Test: build pass. Manual test: set/get call waiting.
Change-Id: I607da1f7c4748303c848f755e668854307c53d15
Merged-In: I607da1f7c4748303c848f755e668854307c53d15
2021-04-07 14:26:25 +08:00
Allen Su
56d89a5fa7
Merge "Change SipMessage API name" am: bb05a11104 am: 823b97e3d1 am: a3cc0640c3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1657802
Change-Id: I8e9738263d1c79e9e9237d767f7ae12b522ef7ee
2021-04-07 04:43:59 +00:00
Allen Su
a3cc0640c3
Merge "Change SipMessage API name" am: bb05a11104 am: 823b97e3d1
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1657802
Change-Id: Ide4f9f8a50ed9ade9171f7729bac6bb8f1817f9c
2021-04-07 04:16:52 +00:00
SongFerng Wang
245ce41e59
Merge "Call waiting support USSD function" into sc-dev
2021-04-07 03:55:10 +00:00
Hui Wang
9afeed433d
Merge "isRcsVolteSingleRegistrationCapable need check provisioning status." am: e92c4e2d6f am: f473395dd1 am: a5d2fa58a8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665801
Change-Id: If2c4c9f550af1ac3ca3631a12eaa6e9ddfc4390f
2021-04-07 02:48:41 +00:00
Allen Su
bb05a11104
Merge "Change SipMessage API name"
2021-04-07 02:41:42 +00:00
Hui Wang
a5d2fa58a8
Merge "isRcsVolteSingleRegistrationCapable need check provisioning status." am: e92c4e2d6f am: f473395dd1
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665801
Change-Id: I498df9e6564902a759733dc3c1df81df7c496eed
2021-04-07 02:21:36 +00:00