Commit Graph

11315 Commits

Author SHA1 Message Date
TreeHugger Robot
0dafa763ec Merge "Refer to IKE-defined API constants" into sc-dev 2021-03-12 04:13:33 +00:00
Treehugger Robot
b19e28697c Merge "Removed EpsQosSessionAttributes#onCreate" am: 5967b657ef am: 0dd1a463f0 am: 8de105cc8b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1626282

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia8f5c4b1cbbc629233acb2728b470e53b775f6bd
2021-03-12 00:50:00 +00:00
Treehugger Robot
8de105cc8b Merge "Removed EpsQosSessionAttributes#onCreate" am: 5967b657ef am: 0dd1a463f0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1626282

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5324674f92f5229affc6af4735da73826c6572bc
2021-03-12 00:05:08 +00:00
Sooraj Sasindran
b8812e9243 Merge "update isCrossSimCallingEnabledByUser name" into sc-dev 2021-03-11 23:55:50 +00:00
Treehugger Robot
5967b657ef Merge "Removed EpsQosSessionAttributes#onCreate" 2021-03-11 22:37:36 +00:00
Tyler Gunn
a61de11564 Merge "Add Device to Device communication carrier configs." into sc-dev 2021-03-11 21:26:51 +00:00
Daniel Bright
73664efd4d Merge "Update comments on onApnUnthrottled" am: 1bec754c8b am: bb58b8a819 am: 27a0642a9b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1626323

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5e82b82be6bcc201829b6dbb17186b98f7862a77
2021-03-11 19:54:07 +00:00
Daniel Bright
27a0642a9b Merge "Update comments on onApnUnthrottled" am: 1bec754c8b am: bb58b8a819
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1626323

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iafbd99a78e3cf47d5a265a88978e2a1a9e25cb70
2021-03-11 19:07:29 +00:00
Daniel Bright
1bec754c8b Merge "Update comments on onApnUnthrottled" 2021-03-11 18:02:36 +00:00
James Lin
77a4cfb81a Merge "Update the RCS UCE APIs." am: 6c165b2da9 am: 98eb9af014
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1620862

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I87c782e01b8f283a21da330fa9e81e1cfc62c34b
2021-03-11 07:31:49 +00:00
James Lin
6c165b2da9 Merge "Update the RCS UCE APIs." 2021-03-11 06:28:00 +00:00
Sooraj Sasindran
c43493039f Merge "Update documentation according API review" am: 2f85c69c74 am: 2cb338dbc0 am: b679d8bbcd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1619810

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idc3da07dd593b63a10b45fccbe8731c16ef7183d
2021-03-11 03:05:07 +00:00
Sooraj Sasindran
b679d8bbcd Merge "Update documentation according API review" am: 2f85c69c74 am: 2cb338dbc0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1619810

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5a0aa4be487da19ef08f07f2613a15addacd2cdd
2021-03-11 02:18:50 +00:00
Sooraj Sasindran
1bf22699d0 update isCrossSimCallingEnabledByUser name
update isCrossSimCallingEnabledByUser name to
isCrossSimCallingEnabled

Bug: 179143945
Test: build
Change-Id: I6cdfa47a031b31653a176a3ca5a1de01c8682cc2
2021-03-10 16:45:27 -08:00
Daniel Bright
58100f4d4c Removed EpsQosSessionAttributes#onCreate
* The method EpsQosSessionAttributes#onCreate was not being used

Bug: 181562173
Test: m
Change-Id: I4321961f41c18f0abe6c5e837fe3c4a41beb63b7
2021-03-10 11:39:59 -08:00
Sooraj Sasindran
127659140c Fix documentation error in cross sim config
Fix documentation error in cross sim config

Bug: 179307576
Test: build
Change-Id: Ia7bb077e518f5c247df2878885ed90899fcac9b1
2021-03-10 11:19:56 -08:00
Daniel Bright
6401192d92 Update comments on onApnUnthrottled
Bug: 175092152
Test: N/A
Change-Id: Ibe4ca4d9881f933affee4b138b980ca49deff15d
2021-03-10 11:02:23 -08:00
Sooraj Sasindran
60310d719e Update documentation according API review
Bug: 174580495, 174580077
Change-Id: I2791eb1351057a55caa99e9e1b95d26a31d708f2
Test: build
2021-03-10 15:15:19 +00:00
Naina Nalluri
d50baf116b Refer to IKE-defined API constants
Refer to IKE defined api constants
and remove the extra ones.

Bug: 181813589
Test: make build.
Change-Id: I87b1e07daf7c0526c2e92946aa174d2212b08079
2021-03-10 00:06:17 +00:00
Tyler Gunn
0ba7907d4a Add Device to Device communication carrier configs.
Key configurations required:
- Whether carrier supports using DTMF A-D digit D2D comms.
- Whether carrier supports using RTP header extensions for D2D.
 - If using RTP header extensions, whether SDP negotiation of the
   RTP header extensions is supported or not.

Test: Add unit tests for new carrier config functionality.
Test: Manual test using telephony cmds to enable/disable the various
config options.
Bug: 163085177

Change-Id: I7422b90e655ef190d474cc12d1becee3074f657b
2021-03-09 17:56:31 +00:00
Zoey Chen
a22d9d466d [PhoneStateListener] Redesign PhoneStateListener: Use TelephonyCallback am: 4fff45499f am: a4a9372351
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1614979

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ice7b09b8bb7456015e4508732b88dcf729fe1049
2021-03-09 11:51:04 +00:00
Zoey Chen
a4a9372351 [PhoneStateListener] Redesign PhoneStateListener: Use TelephonyCallback am: 4fff45499f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1614979

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4aeb97cc5964a09178be43511c45910442a096b9
2021-03-09 11:21:50 +00:00
Zoey Chen
456069019e Merge changes from topic "PSL_TelephonyCallback"
* changes:
  [Telephony] Use TelephonyCallback instead of PhoneStateListener part1
  [PhoneStateListener] Redesign PhoneStateListener: Use TelephonyCallback
2021-03-09 10:36:03 +00:00
Zoey Chen
7de753143d Merge "[Telephony] Fix the unknown value of ARFCN from -1 to INT.MAX" am: 761614c85f am: 7d90db3c30 am: 8a7ec68660
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618841

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I55946ad20d50360f3d7df8d2f09bfc6636c753bd
2021-03-09 08:51:19 +00:00
Zoey Chen
8a7ec68660 Merge "[Telephony] Fix the unknown value of ARFCN from -1 to INT.MAX" am: 761614c85f am: 7d90db3c30
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618841

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie5ea2c7ab65cbab16b0a117537e4c7b505458344
2021-03-09 08:07:41 +00:00
Zoey Chen
761614c85f Merge "[Telephony] Fix the unknown value of ARFCN from -1 to INT.MAX" 2021-03-09 07:06:06 +00:00
Hui Wang
4e50cf240d Merge "Update Provisioning API name and doc per API review" am: 629a24b258 am: f622e0e38e am: c4cac7bb2d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1562933

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I18889597b789affb869ea0cc1a78366e681e6e70
2021-03-08 23:24:27 +00:00
Hui Wang
c4cac7bb2d Merge "Update Provisioning API name and doc per API review" am: 629a24b258 am: f622e0e38e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1562933

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I91fbcc91ae746b4008c5028a4ce40d65236300cd
2021-03-08 22:59:09 +00:00
Hui Wang
629a24b258 Merge "Update Provisioning API name and doc per API review" 2021-03-08 22:02:20 +00:00
Zoey Chen
4fff45499f [PhoneStateListener] Redesign PhoneStateListener: Use TelephonyCallback
To avoid the IDE does not have the warn if developers implement callback:

1. Revert PhoneStateListener to Android 11 version.
2. New TelephonyCallback
3. Deprecate the old PhoneStateListener.onXx() callbacks

Bug: 167684594
Test: make and PhoneStateListenerTest and TelephonyCallbackTest
Change-Id: I0fdd7fc3c3d67310197862c84d02f30164ec80d1
Merged-In: I0fdd7fc3c3d67310197862c84d02f30164ec80d1
2021-03-08 15:11:32 +08:00
James.cf Lin
b476f89104 Update the RCS UCE APIs.
Add the RCS APIs and keep the original APIs.
The original APIs will be removed when the applications call the new APIs.
1) document the ImsException on the API requestAvailability
2) Use Collection instead of List for the contacts
3) Use Instant object to represent the timestamp information

Bug: 180126217
Test: atest ImsServiceTest RcsUceAdapterTest
Merged-In: I56a54cd07e8f785d7db8094b9b8a0191d6e28282
Change-Id: I56a54cd07e8f785d7db8094b9b8a0191d6e28282
2021-03-08 11:14:25 +08:00
Calvin Pan
ca5181f90a Merge "Add a comment for VoIMS opt-in config" into sc-dev 2021-03-08 01:09:21 +00:00
Daniel Bright
a57b0042fe Merge "Hide start and cancel handover from api surface" am: ee4668c5a5 am: 42b6ecf0fc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1598495

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8a4de2f0aae42da567e997982cc655759f88d0f1
2021-03-06 00:38:56 +00:00
Daniel Bright
e69ec553b4 Hide start and cancel handover from api surface
* Since AOSP is in control of when IWlan allocates and releases the
  pdu session id, it doesn't need to react to start handover and
  cancel handover.
* CellularDataService can still use these methods since it is in
  AOSP.

Bug: 177607048
Test: make
Merged-In: I9e65ad178a843e92a59e5e4f7debd4d7b77a3edb
Change-Id: I9e65ad178a843e92a59e5e4f7debd4d7b77a3edb
2021-03-05 13:41:17 -08:00
Zoey Chen
10f6aef3b5 Merge "[PhoneStateListener] Redesign PhoneStateListener: Use TelephonyCallback" into sc-dev 2021-03-05 14:43:52 +00:00
Brad Ebinger
9c2effce24 Merge "Parse params needed for SipDelegate routing" am: 9a13fb1dbf am: b81ca0dc24 am: 9a0a35f947
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1616689

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idf695e8d9823448900a116a4d72d4162292ab03d
2021-03-05 05:20:28 +00:00
SongFerng Wang
03297aacc6 Merge "Improve AllowedNetworkTypesForReason and refactor PreferredNetworkType" am: b332627a15 am: 6035378f91
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1614985

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia227678f0f38adc05bf6ea39eee0eea8ebfea582
2021-03-05 05:17:43 +00:00
Brad Ebinger
9a0a35f947 Merge "Parse params needed for SipDelegate routing" am: 9a13fb1dbf am: b81ca0dc24
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1616689

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6cb191134894a3b6130dccc7f4b7d3fbcd85c5e3
2021-03-05 05:12:44 +00:00
Brad Ebinger
77e564bfba Merge "Define new permission to perform IMS RCS Reg actions and integrate ACCESS_IMS_SINGLE_REGISTRATION into APIS" am: ca282c8cbf am: a0f85ebf75
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1596514

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I11af5489b456fd6e84586c5f3ae8ee8da0aede11
2021-03-05 05:11:15 +00:00
Hui Wang
944ad68449 Update Provisioning API name and doc per API review
Bug: 178456092
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Change-Id: I2a5c6c9a760479361ce66401f87316dd3c9d909d
2021-03-05 03:16:39 +00:00
SongFerng Wang
b332627a15 Merge "Improve AllowedNetworkTypesForReason and refactor PreferredNetworkType" 2021-03-05 01:59:53 +00:00
Brad Ebinger
9a13fb1dbf Merge "Parse params needed for SipDelegate routing" 2021-03-05 01:11:02 +00:00
Brad Ebinger
ca282c8cbf Merge "Define new permission to perform IMS RCS Reg actions and integrate ACCESS_IMS_SINGLE_REGISTRATION into APIS" 2021-03-04 23:17:13 +00:00
Zoey Chen
0aed75aa77 [Telephony] Fix the unknown value of ARFCN from -1 to INT.MAX
Bug: 181792548
Test: atest CellIdentityTest, atest CtsTelephonyTestCases:android.telephony.cts.PhysicalChannelConfigTest
Change-Id: Idb22afc743e81d2fe38f0be683aeb7ca3398aa50
2021-03-04 16:47:59 +08:00
SongFerngWang
e206456a16 Improve AllowedNetworkTypesForReason and refactor PreferredNetworkType
- Add more reasons of allowed network type
  - ALLOWED_NETWORK_TYPES_REASON_USER
  - ALLOWED_NETWORK_TYPES_REASON_CARRIER
- Add @systemApi for below
  - ALLOWED_NETWORK_TYPES_REASON_USER
  - ALLOWED_NETWORK_TYPES_REASON_POWER
  - ALLOWED_NETWORK_TYPES_REASON_CARRIER
  - setAllowedNetworkTypesForReason API
  - getAllowedNetworkTypesForReason API
  - getAllowedNetworkTypesBitmask API
- Add Public for below
  - CARRIER_NR_AVAILABILITY_NONE
  - CARRIER_NR_AVAILABILITY_NSA
  - CARRIER_NR_AVAILABILITY_SA
  - KEY_CARRIER_NR_AVAILABILITY_INT
- @Deprecated API
  - setPreferredNetworkTypeBitmask
  - getPreferredNetworkTypeBitmask
  - setAllowedNetworkType
  - getAllowedNetworkType
- Add a new way to notify allowedNetworkType at PhoneStateListener
- Replace KEY_NR_ENABLED_BOOL with KEY_CARRIER_NR_AVAILABILITY_INT

Bug: 161434786
Test: atest TelephonyManagerTest#testSetAllowedNetworkTypesForReason
(PASS)
atest TelephonyManagerTest#\
testSetAllowedNetworkTypesForReason_moreReason
(PASS)
atest PhoneStateListenerTest#\
testOnAllowedNetworkTypesChangedByRegisterPhoneStateListener
(PASS)

Change-Id: I3d0c119a0c2a30c56b0c127ba6525f8992b4e9dd
Merged-In: I3d0c119a0c2a30c56b0c127ba6525f8992b4e9dd
2021-03-04 14:58:54 +08:00
Calvin Pan
84c144c204 Add a comment for VoIMS opt-in config
Add a comment to know VoIMS opt-in will ignore others VoLTE carrier
config.

Bug: 177010560
Test: Build pass
Change-Id: Ifea59fcbf1db86cb265a35847a7f2e382c01a226
2021-03-04 04:44:45 +00:00
Brad Ebinger
3215beb9e0 Parse params needed for SipDelegate routing
Add getViaBranchParameter and getCallId parameter to SipMessage
API in order to allow the SipDelegate to quickly route SipMessages
without requiring the app to peak into the headers.

Bug: 181591815
Test: atest CtsTelephonyTestCases
Change-Id: Iac94f73335ac5caa634b31c10a675aaf91c13af7
2021-03-04 02:06:28 +00:00
Sarah Chin
770d3084d9 Merge "APIs for 5G slicing" am: 08b9f41364 am: f898afeaf8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1593931

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1232091caedbe49009667c5f34af543bb5c5be07
2021-03-03 19:29:48 +00:00
Brad Ebinger
e6d119c2e1 Merge "Move illegal state detection in stub classes to warning" am: 4d183b882d am: 98e4437b38
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1613919

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I08cda211285f6309569d4ab1b818e3e9d2a3236a
2021-03-03 19:05:00 +00:00
Sarah Chin
08b9f41364 Merge "APIs for 5G slicing" 2021-03-03 18:42:20 +00:00