Nazanin Bakhshi
1d1c733350
Merge "Security fix: enforce read privilege permission to check package privileges in TelephonyManager" into sc-dev
2021-04-21 22:04:04 +00:00
Nazanin
46160dc2c6
Security fix: enforce read privilege permission to check package
...
privileges in TelephonyManager
Bug: 180938364
Test: cts
Change-Id: I08c346c46b9e87dceaa1faf35fa36b954d88f9b0
2021-04-20 14:27:20 -07:00
Jack Yu
c8cf1b02a3
Unthrottle data retry in some conditions
...
1. Moved the APM unthrottle logic to DataThrottler.
2. Added conditional unthrottle when TAC changes.
Fix: 169648447
Test: Manual
Change-Id: I1a7e413015ccdff3d9358cc85605325a4bff3b33
2021-04-20 13:31:51 -07:00
Kai Shi
c9f96b6ea7
Merge "Add a new constant for the NR SA MMWAVE case." into sc-dev
2021-04-03 00:59:51 +00:00
Brad Ebinger
a8366aeae4
Enforce READ_PHONE_STATE for APIs involving call state
...
For API version 31+, ensure that READ_PHONE_STATE is checked on
APIs that retrieve/notify the call state of the device.
Bug: 157233955
Test: atest CtsTelecomTestCases2 CtsTelephony2TestCases
Change-Id: I9f8674a3075d3e0f75ee4f41eefce328c0fa6b91
2021-03-25 15:11:00 -07:00
Hui Wang
aa6bb33b8e
Merge "Integrate RCS provisioning updates into SipTransport" into sc-dev
2021-03-23 22:45:49 +00:00
Grace Jia
2bd23cfbcc
Add support for selected contacts device to device sharing.
...
Bug: 163085177
Test: CTS tests
Change-Id: I4f6da463a29ba9cf067d36941a9b4e584012c817
Merged-In: I4f6da463a29ba9cf067d36941a9b4e584012c817
2021-03-23 15:51:24 +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
Kai Shi
e06cd0c34b
Add a new constant for the NR SA MMWAVE case.
...
Test: manual
Test: FrameworksTelephonyTests:com.android.internal.telephony
Bug: 176814680
Change-Id: I340c3a5d48c2ed870bfeb2bd5e80f7da1915a008
2021-03-22 18:42:26 -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
Hui Wang
840afdd0bd
Integrate RCS provisioning updates into SipTransport
...
Bug: 173828167
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Change-Id: Ifabbe6a4c4cccef85c5c1b43fcb7876bad33e226
2021-03-19 07:49:58 -07: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
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
Kai Shi
26ba4d0d09
Merge "Add the LCE system API"
2021-03-18 21:23:34 +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
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
Brad Ebinger
3dbd2a0063
Create new UCE shell commands for modifying PUBLISH for testing
...
Bug: 180033898
Test: Test commands using "adb shell cmd phone uce"
Merged-In: I6cda05b0540144e6d9199055fdca187f831c1479
Change-Id: I6cda05b0540144e6d9199055fdca187f831c1479
2021-03-17 21:39:40 +00:00
Brad Ebinger
a481a433d7
Merge "Create new UCE shell commands for modifying PUBLISH for testing" into sc-dev
2021-03-17 19:38:30 +00:00
Kai Shi
5d530fab23
Revert "Revert "Add the LCE system API""
...
This reverts commit 8d60c5ceb4 .
Reason for revert: <this CL doesn't break error prone build. Will redo the CTS one which does break the build>
Change-Id: I5899acf02006a164e31f9b82aeaa7974dd6d2869
Bug: 182869926
2021-03-16 20:38:38 +00:00
Martijn Coenen
8d60c5ceb4
Revert "Add the LCE system API"
...
Revert "Add CTS test for onLinkCapacityEstimateChanged"
Revert "[Telephony] Notify onLinkCapacityEstimateChanged"
Revert "Remove the system API of getCarrierBandwidth()"
Revert submission 13662828-LceApi
Reason for revert: b/182869926, breaks errorprone
Reverted Changes:
I1998c7e49:Add CTS test for onLinkCapacityEstimateChanged
Id69fa8b7a:Integrate New LCE Api
I0cc020ba3:Remove the system API of getCarrierBandwidth()
Id613dc152:Add the LCE system API
If7cede0f4:[Telephony] Notify onLinkCapacityEstimateChanged
Change-Id: I30813c321509ac44fa0119b0ce905fd28b0f139c
2021-03-16 09:45:23 +00:00
Kai Shi
df3e93af96
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
Change-Id: Id613dc152e524045a89295e5dd03171b22377e16
2021-03-15 15:00:01 -07:00
Brad Ebinger
84484268e9
Create new UCE shell commands for modifying PUBLISH for testing
...
Bug: 180033898
Test: Test commands using "adb shell cmd phone uce"
Change-Id: I6cda05b0540144e6d9199055fdca187f831c1479
2021-03-15 12:47:48 -07:00
Grace Jia
b53cb66e5f
Add D2D sharing level setting APIs.
...
Test: unit test, cts test
Bug: 163085177
Change-Id: I86f88d68c8629a0329dcde7b2d17928cacec37e7
Merged-In: I86f88d68c8629a0329dcde7b2d17928cacec37e7
2021-03-11 22:20:16 +00:00
SongFerng Wang
4c8d91f2c8
Merge "Rename AllowedNetworkType to AllowedNetworkTypes" am: dfbd3a4072 am: 4bf02f2282
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1614991
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I952841fe940d2224b9e78dd19d295866a7f7eb54
2021-03-09 13:25:55 +00:00
SongFerng Wang
dfbd3a4072
Merge "Rename AllowedNetworkType to AllowedNetworkTypes"
2021-03-09 12:44:22 +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
543116fc71
Merge "[Telephony] Remove the dead code setRadioCapability in ITelephony" am: d22eced34b am: 18451a325d am: 83228fef36
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618843
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0a64f7a0db225906e05821b79c3da4d592cb9ea1
2021-03-05 13:52:06 +00:00
Zoey Chen
83228fef36
Merge "[Telephony] Remove the dead code setRadioCapability in ITelephony" am: d22eced34b am: 18451a325d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618843
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I93967747b496f35815aeb0af0b3cc19ffebb92a4
2021-03-05 13:47:27 +00:00
SongFerngWang
0691445e92
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
Merged-In: I48d36d73d016f7aa7fabec25a725abe03b1dee8d
2021-03-05 13:06:04 +00:00
Zoey Chen
d22eced34b
Merge "[Telephony] Remove the dead code setRadioCapability in ITelephony"
2021-03-05 12:35:39 +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
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
Zoey Chen
02271f9d02
[Telephony] Remove the dead code setRadioCapability in ITelephony
...
Bug: 181156124
Test: make
Change-Id: I5b8ebcdcc60815de93420c742740032a0d21f028
2021-03-04 18:05:27 +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
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
Sarah Chin
e97855c10f
APIs for 5G slicing
...
Create TrafficDescriptor class
Create new APN ENTERPRISE
Update setupDataCall and DataCallResponse to take TrafficDescriptor and
matchAllRuleAllowed
Move ApnTypes from Annotation to ApnSetting
Bug: 179312227
Test: atest FrameworksTelephonyTests
Change-Id: I7433976bfe25bcb2af85ffb9338959cbcc9f42f3
Merged-In: I7433976bfe25bcb2af85ffb9338959cbcc9f42f3
2021-03-03 14:16:21 +09:00
Hall Liu
4a264df43b
Merge "Expose the carrier signaling broadcasts" am: b8cc532986 am: 05bc834ddc
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1613539
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If0dac083de7bd88455e5090d85b3761b1952aa0c
2021-03-02 23:52:41 +00:00
Daniel Bright
781d41ad21
Unthrottle all APNs on APM
...
Test: Toggle APM and check for unthrottle with logs
Bug: 176440863
Change-Id: I8ecc7a61a181df46f7283196cfaf2d28bbddb50f
2021-03-02 14:30:27 -08:00
Hall Liu
39087a439e
Expose the carrier signaling broadcasts
...
Expose broadcasts for communicating certain changes in state between
Telephony and carrier apps.
Implement a backward-compatibility layer to support carrier apps
targeting <=R that are listening to the old hidden broadcasts.
Fixes: 173050428
Test: atest CarrierSignalTest CarrierSignalAgentTest
Change-Id: I15d032ee1e31d9be847c2f084161f8555c8172c1
Merged-In: I15d032ee1e31d9be847c2f084161f8555c8172c1
2021-03-02 13:38:53 -08:00
Hui Wang
30ec6207cf
Merge "Support telephoy command to set test mode for RCS single registration" am: 3727cc1834 am: aa4c7d0fe5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1612065
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifcfba0585ecdf76f99946b86b6b5b96ecae82456
2021-03-02 21:30:54 +00:00
Hui Wang
a1b42da63d
Support telephoy command to set test mode for RCS single registration
...
Bug: 181054754
Test: Manual
Merged-In: Id34c212e536b47c61bc1939ef056905fc26b4df2
Change-Id: Id34c212e536b47c61bc1939ef056905fc26b4df2
2021-03-01 21:37:01 +00:00
Hui Wang
043304fc1d
Merge "Support telephoy command to set test mode for RCS single registration" into sc-dev
2021-02-27 00:04:51 +00:00
Hui Wang
f4e393fbdc
Support telephoy command to set test mode for RCS single registration
...
Bug: 181054754
Test: Manual
Change-Id: Id34c212e536b47c61bc1939ef056905fc26b4df2
2021-02-25 21:47:25 -08:00
Shuo Qian
b201f9b1e6
Add Emergency callback mode shell command
...
Test: manual
Bug: 178821491
Change-Id: If6ca01283a02a4c1f762eaa0f4cd798d48781761
Merged-In: If6ca01283a02a4c1f762eaa0f4cd798d48781761
2021-02-24 23:21:55 +00:00
Shuo Qian
4fe89b2230
Merge "Add Emergency callback mode shell command" into sc-dev
2021-02-24 21:07:53 +00:00
Sarah Chin
02be60c442
Merge "APIs for 5G slicing" into sc-dev
2021-02-24 17:36:45 +00:00