From 360e1f92989ef01042019b5fc055f7d06c200a00 Mon Sep 17 00:00:00 2001 From: Malcolm Chen Date: Wed, 2 Oct 2019 11:38:13 -0700 Subject: [PATCH] Create IRadio 1.5 folder and empty files. So that later people can add APIs and type definitions as needed. Bug: 141995149 Test: build Change-Id: Ib18f75fd391b94ffbd65d7feb4589ff82b3ac1d4 Merged-In: Ib18f75fd391b94ffbd65d7feb4589ff82b3ac1d4 --- current.txt | 5 +++++ radio/1.5/Android.bp | 25 +++++++++++++++++++++++++ radio/1.5/IRadio.hal | 30 ++++++++++++++++++++++++++++++ radio/1.5/IRadioIndication.hal | 26 ++++++++++++++++++++++++++ radio/1.5/IRadioResponse.hal | 26 ++++++++++++++++++++++++++ radio/1.5/types.hal | 17 +++++++++++++++++ 6 files changed, 129 insertions(+) create mode 100644 radio/1.5/Android.bp create mode 100644 radio/1.5/IRadio.hal create mode 100644 radio/1.5/IRadioIndication.hal create mode 100644 radio/1.5/IRadioResponse.hal create mode 100644 radio/1.5/types.hal diff --git a/current.txt b/current.txt index ef1228fc00..877bcb4c53 100644 --- a/current.txt +++ b/current.txt @@ -591,3 +591,8 @@ b74fe72cfe438f50e772e6a307657ff449d5bde83c15dd1f140ff2edbe73499c android.hardwar 544049dcda3f943ad67d83d5277f06681a3782982a9af5a78b5d4e8d295d061a android.hardware.vibrator@1.4::IVibrator 5e1c12efbbba89c9143d10b1b90eceff8bc79aa079f5106215b528e104fef101 android.hardware.vibrator@1.4::IVibratorCallback 033eae03c09ebc75e82db37bc39995dfaa9086745577b44d9e14e9ccb48bd8cc android.hardware.vibrator@1.4::types +41c602462ccd1b19cfd645994be4de4c07fc197ff58a54e84476b31908e61e21 android.hardware.radio@1.5::types +a8691c71747c3f14f7a043598e856425077f755e55990507a9132ad62f8ab3f7 android.hardware.radio@1.5::IRadio +a62a93faf173b14a6175b683ebf61ffa568dc61f81e369d2dce7b1265e86cf2f android.hardware.radio@1.5::IRadioIndication +15daf260aaf6781b911450bc94e1a164901f9c0fe0bda68f8434f0a903f66e05 android.hardware.radio@1.5::IRadioResponse + diff --git a/radio/1.5/Android.bp b/radio/1.5/Android.bp new file mode 100644 index 0000000000..06a2a6ecf3 --- /dev/null +++ b/radio/1.5/Android.bp @@ -0,0 +1,25 @@ +// This file is autogenerated by hidl-gen -Landroidbp. + +hidl_interface { + name: "android.hardware.radio@1.5", + root: "android.hardware", + vndk: { + enabled: true, + }, + srcs: [ + "types.hal", + "IRadio.hal", + "IRadioIndication.hal", + "IRadioResponse.hal", + ], + interfaces: [ + "android.hardware.radio@1.0", + "android.hardware.radio@1.1", + "android.hardware.radio@1.2", + "android.hardware.radio@1.3", + "android.hardware.radio@1.4", + "android.hidl.base@1.0", + "android.hidl.safe_union@1.0", + ], + gen_java: true, +} diff --git a/radio/1.5/IRadio.hal b/radio/1.5/IRadio.hal new file mode 100644 index 0000000000..de20dd08fd --- /dev/null +++ b/radio/1.5/IRadio.hal @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.hardware.radio@1.5; + +import @1.4::IRadio; + +/** + * This interface is used by telephony and telecom to talk to cellular radio. + * All the functions have minimum one parameter: + * serial: which corresponds to serial no. of request. Serial numbers must only be memorized for the + * duration of a method call. If clients provide colliding serials (including passing the same + * serial to different methods), multiple responses (one for each method call) must still be served. + * setResponseFunctions must work with @1.5::IRadioResponse and @1.5::IRadioIndication. + */ +interface IRadio extends @1.4::IRadio { +}; diff --git a/radio/1.5/IRadioIndication.hal b/radio/1.5/IRadioIndication.hal new file mode 100644 index 0000000000..d4884041c5 --- /dev/null +++ b/radio/1.5/IRadioIndication.hal @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.hardware.radio@1.5; + +import @1.0::RadioIndicationType; +import @1.4::IRadioIndication; + +/** + * Interface declaring unsolicited radio indications. + */ +interface IRadioIndication extends @1.4::IRadioIndication { +}; diff --git a/radio/1.5/IRadioResponse.hal b/radio/1.5/IRadioResponse.hal new file mode 100644 index 0000000000..d4c4f766af --- /dev/null +++ b/radio/1.5/IRadioResponse.hal @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.hardware.radio@1.5; + +import @1.0::RadioResponseInfo; +import @1.4::IRadioResponse; + +/** + * Interface declaring response functions to solicited radio requests. + */ +interface IRadioResponse extends @1.4::IRadioResponse { +}; diff --git a/radio/1.5/types.hal b/radio/1.5/types.hal new file mode 100644 index 0000000000..a639a8d1d9 --- /dev/null +++ b/radio/1.5/types.hal @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.hardware.radio@1.5;