Hall Liu
4edcb5272a
Merge "Rename setMobileDataPolicyEnabledStatus" into sc-dev
2021-02-03 19:54:14 +00:00
Hall Liu
7da0b797ed
Rename setMobileDataPolicyEnabledStatus
...
Rename to setMobileDataPolicyEnabled per API council comments
Fixes: 171804465
Test: atest TelephonyManagerTest
Change-Id: Idff480ce21d1591057c26e6e5474c6ff2ee5297a
2021-02-02 12:34:57 -08:00
James Lin
1658de5dba
Merge "[RCS UCE] Add the APIs to access the device config of RCS User Capability Exchange enabled" am: 02bf7d1288 am: 3640adadee am: df25462ffe
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1566998
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib1a6ee00506a5b570adc2f4c4545af1f9f279336
2021-02-02 06:41:23 +00:00
James.cf Lin
1d44f9e09e
[RCS UCE] Add the APIs to access the device config of RCS User Capability Exchange enabled
...
Bug: 178239287
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest
Change-Id: I1bd2d0e0dc88dcd72e7c2682483c8039f4aa8927
2021-02-02 06:30:49 +08:00
Calvin Pan
eee6428b80
Merge "Add TelephonyShellCommand to get EAB contact" am: d2d77dba7d am: e532d3be62 am: a0927df3f1
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1559096
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If4e6ae901154e6d57117ff61095639e09bd29b7c
2021-02-01 09:19:44 +00:00
calvinpan
c20a67c5c5
Add TelephonyShellCommand to get EAB contact
...
Bug: 174166728
Test: atest
Change-Id: I102f67d7747c1bdd905a23d5deca6fbbd91ad890
2021-01-29 01:41:33 +00:00
James Lin
a8053430ae
Merge "Expose the RCS UCE APIs for capabilities request with presence mechanism." am: 4548fab7d6 am: 795855ec7b am: 108a1933ca
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1550598
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6be307948ed6bc4600294ec628585018be3cccde
2021-01-28 21:14:08 +00:00
James.cf Lin
daaf205e18
Expose the RCS UCE APIs for capabilities request with presence mechanism.
...
The contact's capabilities request APIs are exposed to be the SystemAPI and add the CTS for these APIs.
Build: 174656329
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest
Change-Id: Id8a3be587f200dfee8f7c6343ed771e7ac738568
2021-01-28 02:59:30 +08:00
SongFerng Wang
816ef2dde1
Merge "Add getPhoneCapability function in TelephonyManager"
2021-01-26 07:46:55 +00:00
SongFerng Wang
a0373dd123
Merge "Rename AllowedNetworkType to AllowedNetworkTypes"
2021-01-26 07:22:07 +00:00
SongFerngWang
13d5297155
Add getPhoneCapability function in TelephonyManager
...
- Add a resource for Device's Nr information.
- Expose below as systemApi
- getDeviceNrCapabilityBitmask()
- getMaxActiveInternetData()
- getMaxActivePacketSwitchedVoiceCalls()
Bug: 175711587
Test: atest TelephonyManager#testGetPhoneCapability
atest PhoneCapabilityTest
atest PhoneConfigurationManagerTest
atest CellularNetworkValidatorTest
atest PhoneSwitcherTest
atest TelephonyRegistryTest
atest PhoneCapabilityTest
Change-Id: Ide25344787c15b3a57a9e6621766ad02a906f12e
2021-01-26 09:24:28 +08:00
Tyler Gunn
d66d10525c
Merge "Add support for sending d2d messages through adb shell command." am: 7a58ad001b am: 0b333f92c1 am: 511997baab
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1555546
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I339559c8e459e644f24f041361b8798cbcbc4a7d
2021-01-26 00:22:16 +00:00
SongFerngWang
ed6078c020
Rename AllowedNetworkType to AllowedNetworkTypes
...
Reference the ag/q/topic:%22b_171791177%22+(status:open%20OR%20status:merged)
and ag/q/topic:"getAllowedNetworkTypeBitmap"+(status:open%20OR%20status:merged)
Bug: 161434786
Test: build pass
Change-Id: I48d36d73d016f7aa7fabec25a725abe03b1dee8d
2021-01-26 03:12:56 +08:00
SongFerngWang
7d95185d46
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
2021-01-23 06:51:05 +08:00
Tyler Gunn
b6110a2158
Add support for sending d2d messages through adb shell command.
...
Adding in AIDL definition for sending test messages.
Test: Verified operation of the adb shell command which lets test message
be sent.
Bug: 163085177
Change-Id: I7b1c5398e2117077482a02ea4fec6c5d773ca3f5
2021-01-22 13:39:38 -08:00
Daniel Bright
fa862bc4aa
Add Radio Interface Capabilities
...
* Introduces a set of capabilities specific for the radio interface
that are determined by the vendor and are then surfaced through
TelephonyManager.
* There are no capabilities yet defined and will come later in S
Test: Added cts, ran cts, and telephony tests
Bug: 163085807
Merged-In: I56713e05cbd5200baa2a3bc79f7f4b0d580ad2a1
Change-Id: Icbbfa056dc5280acdf53c142742f4e4b8d60229e
2021-01-21 14:35:44 -08:00
Rambo Wang
46043a617c
Merge "Support new APIs in TelephonyManager to set/clear signal update request" am: 32c30af109 am: da259eccfa am: 52c1eb1ace
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1532512
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7a066aecce6445f3ea5b9dda58b70a7467562919
2021-01-21 20:11:49 +00:00
Rambo Wang
e86cb24b57
Support new APIs in TelephonyManager to set/clear signal update request
...
Introduce set/clearSignalStrengthUpdateRequest in TelephonyManager
and ITelephony to support customized signal request from applications.
Bug: 164432835
Test: atest android.telephony.cts.TelephonyManagerTest
Change-Id: I749376872915a91b9514884547140eaf969dba0e
2021-01-20 21:14:41 -08:00
Hall Liu
2a9bf57176
Add content type to the picture upload method
...
To avoid Telephony parsing the picture in order to determine its content
type, request it from the sending app so we can include it in the HTTP
request to the carrier.
Bug: 175435766
Test: CTS
Change-Id: Iaa8697df5797e5e0c0ce9fb2f3253d7fd8af8bf4
2021-01-14 13:41:23 -08:00
Mathew Inwood
f3793ebcc9
Merge "Derestrict some non-SDK APIs." am: 29bf6e8443 am: 9e27f89092 am: 982e50f2c6
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1541669
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iab20c244c8ff5b04f3236cfccb453a4fbe5a8705
2021-01-13 10:34:26 +00:00
Mathew Inwood
29bf6e8443
Merge "Derestrict some non-SDK APIs."
2021-01-13 09:38:35 +00:00
Hall Liu
6b4ce33480
Merge "Add API for uploading call composer pictures"
2021-01-13 02:31:34 +00:00
Sooraj Sasindran
d16108783c
Cross SIM configuration API
...
Provide Cross SIM calling configuration API
Bug: 173250451
Test: CTS
Change-Id: Ib97b6026604ae9203bae76f8d72caeae487ec99d
2021-01-12 04:50:03 +00:00
Hall Liu
9df4a2db81
Add API for uploading call composer pictures
...
Bug: 175435766
Test: atest CallComposerTest
Change-Id: Ieff0e87ca22162aac42f8ebe705ef6167b1edb33
2021-01-11 16:48:35 -08:00
Shuo Qian
077cefb9a9
Merge "Add Setting API to set/get enriched calling with call composer user option"
2021-01-07 18:32:44 +00:00
Mathew Inwood
95709ba69f
Derestrict some non-SDK APIs.
...
Per request from a partner, these APIs will not be restricted as they
are in use. This is conceptually a partial revert of change 5d123b6775 .
NoNonSdkCheck: b/170729553
Bug: 171933273
Test: Treehugger
Change-Id: Ibb525e9a9e2fc90248b74f45f3cdcb0be7487c3a
2021-01-07 09:53:09 +00:00
Daniel Bright
f2f714a0dc
Add apn throttle status notifications to QNS
...
* Added wiring for the apn unthrottled indication
* Added method to QNS that is notified when there is a change to
the way an APN is throttled.
Test: Ran telephony tests
Test: Booted up device
Test: Checked for log message in
NetworkAvailabilityProvider#onReportApnThrottleStatusChanged
Bug: 167434852
Bug: 174850845
Merged-In: Ia4dd3036f583a97e42b6054019005df1b33dc33c
Change-Id: Ia4dd3036f583a97e42b6054019005df1b33dc33c
2021-01-05 11:36:34 -08:00
Chiachang Wang
15449e9675
Merge "Create getMobileProvisioningUrl in telephony" am: cdf7105f72 am: 650317e419 am: 3eab903e26
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1532907
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I36823fd39cda558ee5c3eef9d7ef55d44a3c466c
2020-12-29 01:23:42 +00:00
Shuo Qian
631df95517
Add Setting API to set/get enriched calling with call composer user option
...
Test: cts
Bug: 173437870
Change-Id: Iaf2cb72864dca992249395103aedee93ff8d3ac0
Merged-In: Iaf2cb72864dca992249395103aedee93ff8d3ac0
(cherry picked from commit ccc5af201a )
2020-12-22 23:56:08 +00:00
Chiachang Wang
228306b008
Create getMobileProvisioningUrl in telephony
...
ConnectivityService is going to become mainline and can not
access hidden APIs. Telephony and Settings were both accessing
the hidden API ConnectivityManager#getMobileProvisioningUrl.
Moving #getMobileProvisioningUrl method into telephony means
that there is one less access to a hidden API within the
overall framework since the connectivity stack never needed
this value. Thus, add getMobileProvisioningUrl() to telephony
surface to replace the one in connectivity stack.
Bug: 175177794
Test: atest FrameworksTelephonyTests
Change-Id: Icff8bf39b168b28f972b6737e4e7be8fc86b3dee
2020-12-22 11:22:58 +08:00
TreeHugger Robot
f1f7f8a0d6
Merge "Add Setting API to set/get enriched calling with call composer user option"
2020-12-22 00:32:52 +00:00
Hui Wang
e92ddfef4f
RCS Provisioning APIs for Single Registration
...
Bug: 154864150
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Merged-In: Ie9445dd450d175e0dc94b63b487dda5cde729123
Change-Id: Ie9445dd450d175e0dc94b63b487dda5cde729123
2020-12-17 17:13:24 +00:00
Shuo Qian
ccc5af201a
Add Setting API to set/get enriched calling with call composer user option
...
Test: cts
Bug: 173437870
Change-Id: Iaf2cb72864dca992249395103aedee93ff8d3ac0
2020-12-16 17:57:31 -08:00
Hui Wang
0b54fc0d49
Merge "RCS Provisioning APIs for Single Registration"
2020-12-16 22:32:08 +00:00
Hui Wang
b8ea95e289
RCS Provisioning APIs for Single Registration
...
Bug: 154864150
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Change-Id: Ie9445dd450d175e0dc94b63b487dda5cde729123
2020-12-16 17:10:26 +00:00
Thiébaud Weksteen
2d0c5b8abe
Merge "Add constants for AllowedNetworkTypeBitmap" am: 7dabd13456 am: 4f00a18d09 am: 93d59f1f5d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1525998
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If1d8c9ac7ab4758a152e5002d7cc681764ad5d05
2020-12-16 14:06:18 +00:00
Thiébaud Weksteen
7e242b5bba
Add constants for AllowedNetworkTypeBitmap
...
Bug: 163168917
Test: atest TeleServiceTests
Change-Id: Iae64e9118cb4f69f180517b7aadb9ace9b8ef98b
2020-12-15 13:48:51 +01:00
Hui Wang
4c9e7a8d0c
Merge "Support Gba Api"
2020-12-10 22:40:07 +00:00
Jordan Liu
beb163c655
Merge "Add API for setting SIM power "synchronously""
2020-12-10 21:46:30 +00:00
Hui Wang
bfc6cd7483
Support Gba Api
...
Added api to support generic authentication architecture.
Bug: 154865133
Test: atest cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
Test: manual by GbaTestApp
Merged-In: I9aea4c8bc2123b6d00c4a8ddf9901c885d2742d2
Change-Id: I9aea4c8bc2123b6d00c4a8ddf9901c885d2742d2
2020-12-10 18:02:19 +00:00
Hui Wang
42991d36ca
Merge "Support Gba Api"
2020-12-10 02:02:24 +00:00
Meng Wang
2b6ef05476
Merge "Introduce new App Ops permission USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER"
2020-12-10 00:59:08 +00:00
Jordan Liu
a10b782505
Add API for setting SIM power "synchronously"
...
Bug: 171433370
Test: manual
Change-Id: I958d6c3a46cc6e99e8addf2628361e37bc178464
Merged-In: I958d6c3a46cc6e99e8addf2628361e37bc178464
2020-12-09 13:34:58 -08:00
Meng Wang
dae8db3eb2
Introduce new App Ops permission USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER
...
Bug: 174263375
Test: `atest android.telephony.cts.TelephonyManagerTest#testTelephonyManager` pass on crosshatch
Change-Id: Ic0e919d953be0422bf78477b8de13691b25b6cc3
2020-12-08 15:33:12 -08:00
Hui Wang
b23fb332fc
Support Gba Api
...
Added api to support generic authentication architecture.
Bug: 154865133
Test: atest cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
Test: manual by GbaTestApp
Change-Id: I9aea4c8bc2123b6d00c4a8ddf9901c885d2742d2
2020-12-04 17:47:53 -08:00
Jordan Liu
9a081450c2
Add API for setting SIM power "synchronously"
...
Bug: 171433370
Test: manual
Change-Id: I958d6c3a46cc6e99e8addf2628361e37bc178464
2020-12-04 13:44:20 -08:00
Jack Nudelman
d64c58744a
Add ThermalMitigation API to Telephony.
...
go/telephony-thermal-mitigation
Test: make, cts
Bug: 158872959
Change-Id: Ib4be5edf063e4c54e9238b0403f59e1621df671e
Merged-In: Ib4be5edf063e4c54e9238b0403f59e1621df671e
2020-12-03 19:41:31 +00:00
Sarah Chin
138e2db12a
Merge "Create getSystemSelectionChannel API"
2020-12-01 20:08:10 +00:00
Brad Ebinger
e7657016d2
Merge "Add SIP Transport create/destroy API defs" am: af18d59494 am: 6e2a13e7b6 am: b014d8bcc6
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511770
Change-Id: I7dd17015053893d9b168380c5c8c1e137515e961
2020-12-01 02:42:58 +00:00
Brad Ebinger
af18d59494
Merge "Add SIP Transport create/destroy API defs"
2020-12-01 01:20:12 +00:00