Commit Graph

35 Commits

Author SHA1 Message Date
Jack Yu
7e31be1c00 Added Satellite messaging data support
1. Added RCS APN type which maps to RCS network capability. Note
   This APN type is not specific for satellite uses only. This
   can be used for regular single registration RCS.
2. Added a new tri-state field "infrastructure" in APN entry. The
   infrastructure type can be terrestrial only, non-terrestrial only, or
   both. This is for some APNs can be used when the device is attached
   to satellite.

Fix: 294065845
Test: atest ApnSettingTest DataNetworkControllerTest DataProfileManagerTest
      DataProfileTest TelephonyNetworkRequestTest
Test: Basic phone functionality tests
Change-Id: I15741cbefdb459155e278ef3d197d50c747405f0
2023-10-19 17:19:51 -07:00
Aishwarya Mallampati
7ee5f52f28 Revert "Block data call"
This reverts commit e94dd21fdc.

Reason for revert: Replace SATELLITE_ENABLED with SERVICE_OPTION_NOT_SUPPORTED

Change-Id: Icda920e607cf4bf0517fbf97547d86144c0051f1
2023-07-18 02:33:02 +00:00
Aishwarya Mallamapti
e94dd21fdc Block data call
If network is a non-terrestrial network, block data requests with
NET_CAPABILITY_INTERNET.

Bug: 287114765
Test: Flashed build on raven-userdebug and performed basic functionality
tests,
atest DataNetworkControllerTest#testNonTerrestrialNetworkChanged

Change-Id: Ie21183b093d006f2d9b0bb00845d06965a52f812
2023-07-11 21:44:50 +00:00
Sarah Chin
dc67668dcb Add @hide and @JavaDerive(toString) for IRadio AIDL
Add @hide for all classes
Add @JavaDerive(toString=true) for classes that are missing it
Fix AIDL formatting issues

Bug: 280900995
Test: build
Change-Id: I812fbadd9da272b604ff3dcd6828952bc55239e9
2023-05-06 10:16:16 +00:00
Alex Buynytskyy
ec1198d941 UpsideDownCake is now 34
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
Sarah Chin
f233448ee9 Fix enum typo in DataCallFailCause
Test: build
Change-Id: I19b96ad9c18445837a1b89e2d202235cc72416aa
2023-01-25 03:56:46 -08:00
Sarah Chin
4fbd80770f Change averagingWindowMs to int
Revert changes for qfi and apply them to averagingWindowMs instead
This is functionally the same change as ag/20886209

Test: build
Bug: 264261216
Change-Id: I053c3d6b8ca1464156bd5e65fe0316f27e962beb
2023-01-18 10:32:53 -08:00
Sarah Chin
509d0ffbe5 Run update-api on IRadio services
Update the API surface for all IRadio services.
There is no functional change.

Test: build
Change-Id: Ie80cfc891dd88fa6eb0280ed555ac7ab7f7a2606
2023-01-17 23:24:11 +00:00
Andrew Chant
50c06a5f2b Revert "Change averagingWindowMs to int"
Revert submission 20886209-qfi

Reason for revert: Build Break.
Bug: 265823012
Reverted changes: /q/submissionid:20886209-qfi

Change-Id: I950e86978d618143ec54812ac9236e4a18fd1ca4
2023-01-17 20:08:08 +00:00
Sarah Chin
c9d15a6bc2 Change averagingWindowMs to int
Revert changes for qfi and apply them to averagingWindowMs instead

Test: build
Bug: 264261216
Change-Id: I841694283d92a6b5925aabba687e978f7ce33dc9
2023-01-13 09:42:46 -08:00
Sarah Chin
5d404b4c52 Change NrQos qfi from byte to int
Deprecate byte qfi and replace with int qosFlowIdentifier

Test: build
Bug: 247072632
Change-Id: I38cb276c7d0f0d4fd90d393351e44e4fcf162ae6
2022-11-22 23:30:45 +00:00
Sewook Seo
f8b2031064 Revert "Radio HAL : Support N3IWF"
Revert "Update IRadioNetworkImpl of MockModem"

Revert "N3IWF HAL support: update NetworkResponse"

Revert submission 20057104-hal_support_n3iwf

Reason for revert: <N3IWF development will be done in private branch>
Reverted Changes:
Ie7784ffa3:Update IRadioNetworkImpl of MockModem
Iad6a6cc2e:N3IWF HAL support: update NetworkResponse
I2b5506d84:Radio HAL : Support N3IWF cuttlefish work
I8b4b055be:Radio HAL : Support N3IWF

Change-Id: I767ed13a8cd63bcbb28d4804e72cf3f01cd3584b
2022-10-21 00:43:46 +00:00
Sewook Seo
0e966f3ef3 Radio HAL : Support N3IWF
Introduce a new RadioTechnologyFamily type (NON_3GPP)
Include Radio tech family in RegStateResult to differentiate NR & N3IWF.
Add getRegistrationState to differentiate response between NR &
N3IWF.
Add unthrottleDataProfile to differentiate unthrottle event between NR & N3IWF

Bug: 249129495
Test: update-api, Android build, atest VtsHalRadioTargetTest
Change-Id: I8b4b055be140afd26b453fa8d50c999ad4c19bec
2022-10-06 22:28:00 +00:00
Devin Moore
317f1117f8 Add changes to Radio V1 AIDL interfaces
During the API freeze some of the sub-interfaces of radio were frozen
without the latest change adding "@Javaderive(toString=true)".
Instead of creating V2 with these changes, we are updating V1 to include
these changes instead. The change will not break anyone downstream, and
any devices built with the previous V1 will continue to work. The hashes
of the original V1 interfaces are still included in the .hash files, so
VTS will allow both.

Steps taken:
m android.hardware.radio.config-freeze-api
rm aidl_api/android.hardware.radio.config/2/.hash
cp -r aidl_api/android.hardware.radio.config/2/*
    aidl_api/android.hardware.radio.config/1/
rm -rf aidl_api/android.hardware.radio.config/2/
vim Android.bp # remove the newly created version 2
system/tools/aidl/build/hash_gen.sh aidl_api/android.hardware.radio.config/1/
    latest-version aidl_api/android.hardware.radio.config/1/.hash

Test: atest hal_implementation_test
Bug: 225941299
Change-Id: Id14cfffd326bd664acb678f15f4129d85ce251b2
2022-05-11 22:16:01 +00:00
Jiyong Park
703e97920e Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-31 12:01:39 +09:00
Sarah Chin
da10904e96 Add JavaDerive toString to AIDL classes
Test: manually verify logcat
Bug: 223230764
Change-Id: If6d459823d3d6ceb0d7c49ba00f01268482128f6
2022-03-24 12:41:42 -07:00
Sarah Chin
56afc52333 Merge "Make TrafficDescriptor nonnull in DataProfileInfo" am: a2932530f3 am: 5488a5343c am: b0c525caac am: 893ba1f650
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965507

Change-Id: Ibb0e6fa80eedc585fdee10a70c532175453ce3f8
2022-01-31 22:19:47 +00:00
Sarah Chin
363bb087bb Make TrafficDescriptor nonnull in DataProfileInfo
Test: build
Bug: 215717256
Change-Id: I02a5d5fbcc0a3ae22431fcc8615ac68d6df7b628
2022-01-31 11:22:38 -08:00
Sarah Chin
02ab7331ac Merge "Allow null DataProfileInfo for IA APN to clear" 2022-01-29 01:46:13 +00:00
Sarah Chin
ca421a6c70 Final API changes for IRadio
Remove CarrierRestrictions#priority
Move USSD from messaging -> voice
Rename DataProfileInfo#TYPE_THREE_GPP/2 -> TYPE_3GPP2
Remove neighboring CID APIs

Test: atest VtsHalRadioTargetTest
Bug: 199433581
Bug: 216688606
Change-Id: I621d99b8024f92709bcb675b667bcba678eede9b
2022-01-28 15:56:10 -08:00
Sarah Chin
4ae4e1723f Allow null DataProfileInfo for IA APN to clear
Test: build
Bug: 216357727
Change-Id: If003316192f579a3970ac48eaf50cb714cf757e6
Merged-In: If003316192f579a3970ac48eaf50cb714cf757e6
2022-01-28 15:15:23 -08:00
Sarah Chin
fbc5d731ca Allow null DataProfileInfo for IA APN to clear
Test: build
Bug: 216357727
Change-Id: If003316192f579a3970ac48eaf50cb714cf757e6
2022-01-28 10:48:10 -08:00
TreeHugger Robot
2513ac7045 Merge "Add ApnType.ENTERPRISE" 2022-01-19 03:24:17 +00:00
Ling Ma
9918ede8ce Add ApnType.ENTERPRISE
Test: build succeed
Bug: 214240937
Change-Id: I718ff225c7fc9b9667f6360ae623e5d8bbf1f03c
2022-01-14 15:08:53 +00:00
Sooraj Sasindran
d561cc3391 add slicingConfigChanged api
add slicing config changed api to be sent
by modem whenever there is a slice config change

Test: build, vts tracked using bug 214043323
Bug: 194332512
Change-Id: I86e8ab8ac5aa782b099434f1a04ce314631b7f4e
2022-01-13 11:40:54 -08:00
Sarah Chin
c9d3b7b9d6 Convert hidl_bitfield and bitfield to int
The previous API surface replaced bitfields of enums with the enum,
which only allows one value at a time. Instead of using the enum,
replace with int instead.

Test: build
Bug: 210712359
Change-Id: I2963200311494718ae89af8deade0b1dd41354f8
Merged-In: I2963200311494718ae89af8deade0b1dd41354f8
2022-01-05 14:28:57 -08:00
Sarah Chin
6d8e49a05e Convert hidl_bitfield and bitfield to int
The previous API surface replaced bitfields of enums with the enum,
which only allows one value at a time. Instead of using the enum,
replace with int instead.

Test: build
Bug: 210712359
Change-Id: I2963200311494718ae89af8deade0b1dd41354f8
2022-01-04 11:32:36 -08:00
Sarah Chin
e98dd0e943 Add TrafficDescriptor to DataProfileInfo
Test: build
Bug: 208651109
Change-Id: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
Merged-In: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
2021-12-23 17:30:36 -08:00
Sarah Chin
c7b6c928a0 Add new fields to DataProfile
Test: build
Bug: 198822816
Change-Id: I6c756d42616149a2eed0ba705ffaaeb17d7a014f
Merged-In: I6c756d42616149a2eed0ba705ffaaeb17d7a014f
2021-12-23 17:30:09 -08:00
Sarah Chin
ba427352e2 Add TrafficDescriptor to DataProfileInfo
Test: build
Bug: 208651109
Change-Id: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
2021-12-09 14:04:24 -08:00
Sarah Chin
1657db8206 Add new fields to DataProfile
Test: build
Bug: 198822816
Change-Id: I6c756d42616149a2eed0ba705ffaaeb17d7a014f
2021-11-17 16:19:39 -08:00
Sarah Chin
e5b79b8e30 Remove deprecated/unused APIs from IRadio AIDL
Test: build
Bug: 199433581
Change-Id: I6cc0e2103803f3d56a9ed451645b6d8bab29e507
Merged-In: I6cc0e2103803f3d56a9ed451645b6d8bab29e507
2021-11-11 02:11:47 -08:00
Sarah Chin
1f6aff847a Remove deprecated/unused APIs from IRadio AIDL
Test: build
Bug: 199433581
Change-Id: I6cc0e2103803f3d56a9ed451645b6d8bab29e507
2021-11-10 16:14:11 -08:00
Sarah Chin
bca4e6c104 Create IRadio modules
Test: build
Bug: 198331451
Change-Id: I6721498d5a0f535fa2fdfac7485765c740e82682
Merged-In: I6721498d5a0f535fa2fdfac7485765c740e82682
2021-09-23 03:54:28 +00:00
Sarah Chin
bd8e476148 Create IRadio modules
Test: build
Bug: 198331451
Change-Id: I6721498d5a0f535fa2fdfac7485765c740e82682
2021-09-22 12:57:43 -07:00