Commit graph

47 commits

Author SHA1 Message Date
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
932926691a Merge changes from topic "usage-setting-hal"
* changes:
  UsageSetting Compat Stubs
  Add UsageSetting to IRadioNetwork
2022-01-05 20:06:19 +00: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
Nathan Harold
ead01a029d Add UsageSetting to IRadioNetwork
Add usage setting to IRadioNetwork(Response) and the associated
enum.

Expose the cellular usage setting to Android to be able to query and
set the modem to operate in a data-centric mode or a voice-centric
mode.
This facilitates "companion" subscriptions that might be data-only and
allows voice-centric devices to operate in data-centric mode on networks
that do not support voice service.

Bug: 210023167
Test: compilation
Merged-In: I61b559589a51d139374dc52599201b6412d93da5
Change-Id: I61b559589a51d139374dc52599201b6412d93da5
(cherry picked from commit 3e777942d8)
2021-12-29 09:43:02 -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
0595b36095 Merge "Add TrafficDescriptor to DataProfileInfo" 2021-12-16 21:31:57 +00:00
Nathan Harold
d394ed451c Merge changes from topic "usage-setting-hal"
* changes:
  UsageSetting Compat Stubs
  Add UsageSetting to IRadioNetwork
2021-12-14 00:29:04 +00:00
Nathan Harold
3e777942d8 Add UsageSetting to IRadioNetwork
Add usage setting to IRadioNetwork(Response) and the associated
enum.

Expose the cellular usage setting to Android to be able to query and
set the modem to operate in a data-centric mode or a voice-centric
mode.
This facilitates "companion" subscriptions that might be data-only and
allows voice-centric devices to operate in data-centric mode on networks
that do not support voice service.

Bug: 210023167
Test: compilation
Change-Id: I61b559589a51d139374dc52599201b6412d93da5
2021-12-13 14:15:05 -08:00
Treehugger Robot
ee18fa3bad Merge "Improve getModemActivityInfo API" am: aa8c59bea2 am: b60680edf3 am: 0331c954fc am: ab61ace977
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895248

Change-Id: Ie15c0b7648f8414d3ca95d9f52f6e08bf7669dec
2021-12-13 04:46:41 +00:00
Gary Jian
2ea9241a0e Improve getModemActivityInfo API
Add optional fields to allow modem to report activity information
of different technologies

Bug: 202413770
Test: m android.hardware.radio.modem-update-api

Change-Id: I3bb76c030222868ce881487fb17692a476c5f846
2021-12-10 12:16:45 +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
5d29ada486 Merge "Add new fields to DataProfile" 2021-12-02 05:40:42 +00:00
Serik Beketayev
23692c7e20 [IRadioConfig] Removing SimSlotStatus.cardActive
Cleaning this up, since structure was changed for AIDL.

Bug: 205585789
Test: m
Change-Id: Ia59a1f1e3b66cd45f8ad9d1f4c2fb3af5fb09dc0
Merged-In: Ia59a1f1e3b66cd45f8ad9d1f4c2fb3af5fb09dc0
2021-11-19 16:06:12 -08:00
Serik Beketayev
c3e4e2c054 [IRadioConfig] Removing SimSlotStatus.cardActive
Cleaning this up, since structure was changed for AIDL.

Bug: 205585789
Test: m
Change-Id: Ia59a1f1e3b66cd45f8ad9d1f4c2fb3af5fb09dc0
2021-11-17 17:18:29 -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
Gary Jian
0955e0154c Add new VoNR api into IRadioVoice module
-isVoNrEnabled
-setVoNrEnabled

Bug: 203162440
Test: make
Change-Id: Iae3e17c8ff5aa25ca0398bd179879c49deca71f5
2021-11-15 16:25:04 +08:00
Sarah Chin
2d1a006ae4 Merge "Remove deprecated/unused APIs from IRadio AIDL" 2021-11-12 23:53:09 +00:00
Treehugger Robot
6c6116a542 Merge "Support multiple RANs in one request for setSignalStrengthReportingCriteria" 2021-11-11 21:58:00 +00:00
Rambo Wang
59de6eb636 Support multiple RANs in one request for setSignalStrengthReportingCriteria
- Move AccessNetwork (RAN) into SignalThresholdInfo to be better organized
- Support specifying multiple RANs and measurement types in one request

Bug: 200055871
Test: m -j
Merged-In: Ic6762e8ca488a119b1103319e7443c4342530f8c
Change-Id: Ic6762e8ca488a119b1103319e7443c4342530f8c
(cherry picked from commit 9073f55722)
2021-11-11 12:43:19 -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
1ffcc2f351 Merge "Remove deprecated/unused APIs from IRadio AIDL" 2021-11-11 10:08:50 +00: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
Chen Xu
e5fa861264 Merge "Replacing SimPortInfo.portState enum with portActive flag" am: 4c718b3da6 am: e2b1c7c0c3 am: 9059a92d16 am: 91eb3c269b am: 9a48be209f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875273

Change-Id: I2bec327f5f5d15a711baf69c88be87421ce51b2e
2021-11-10 21:50:21 +00:00
sandeepjs
34a675a1fd Replacing SimPortInfo.portState enum with portActive flag
Test: build
Bug: 205666689
Change-Id: I81a880f6e4f5646faaeb76b48c746c3cbdb2ce27
2021-11-09 07:57:58 +00:00
Sooraj Sasindran
69dd544797 Merge "NITZ API improvement" am: bb347323d0 am: 4d791aef1b am: 66b9465fc8 am: 1050f3afcc am: 379cc3cb78
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839798

Change-Id: I33edb19d4b6145f39e1ea43499d98fedfb0f1548
2021-10-27 21:32:35 +00:00
Aaron Tsai
5b5514b12d NITZ API improvement
- change the parameter description of "receivedTime"
 - add a parameter "ageMs" to represent the caching time in RIL and modem

Bug: 195418175
Test: build pass
Change-Id: I0fabbfabc18aa6acc0285527e254290d8291d9c8
2021-10-26 09:45:39 +00:00
Sandeep Jawalkar
0e19d16d29 Merge "[Android T][MEP]: HAL changes for MEP feature" am: d45fd704fe am: 7ab5066b55 am: 8dd67c7184 am: c09b62b380 am: 1cef1a3aee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839796

Change-Id: I804c3a9226885af7f8fbdb270cbc4979f1466d57
2021-10-07 17:46:08 +00:00
sandeepjs
e4bee9de18 [Android T][MEP]: HAL changes for MEP feature
Test: build
Bug: 199559065
Change-Id: I533c73bed0235fe58a583f04ca66d4bc9e08ced0
2021-10-05 02:57:17 +00:00
Rambo Wang
f533a4cf0a Merge "Support multiple RANs in one request for setSignalStrengthReportingCriteria" 2021-09-28 23:05:09 +00:00
Rambo Wang
9073f55722 Support multiple RANs in one request for setSignalStrengthReportingCriteria
- Move AccessNetwork (RAN) into SignalThresholdInfo to be better organized
- Support specifying multiple RANs and measurement types in one request

Bug: 200055871
Test: m -j
Change-Id: Ic6762e8ca488a119b1103319e7443c4342530f8c
2021-09-27 17:59:40 -07:00
Sarah Chin
719715821d Move IRadioConfig into IRadio
Test: build
Bug: 198331451
Change-Id: I884aab7c6d76ef9610e3d239e9fbfe9e6568bfff
2021-09-23 23:18:15 -07: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
Sarah Chin
e267570c60 API changes for IRadio AIDL conversion
Consider feedback from aosp/1740274 and API changes mentioned in the
design document.

Bug: 198331182
Test: build
Change-Id: I27da6dbec5f2d65873cbb84d363eebc8d57b116d
Merged-In: I27da6dbec5f2d65873cbb84d363eebc8d57b116d
2021-09-13 18:38:22 +00:00
Sarah Chin
9cdc2a6c1a Create IRadio AIDL
Create IRadio AIDL from HIDL versions 1.0-1.6 using the hidl2aidl tool.
This is just a skeleton implementation to allow 1.7 APIs to be added to
the AIDL interface. Changes to the API surface and modularization to
come after this change is merged.

Test: build
Bug: 198331182
Change-Id: Ice71b7c159b98de8b36124f379167fb579a4ea2f
Merged-In: Ice71b7c159b98de8b36124f379167fb579a4ea2f
2021-09-08 10:32:27 -07:00