vts files for radio hal

Test: mma
Change-Id: I8bce0b3ce4874442638e4967b4b88fcd60497729
This commit is contained in:
Yuexi Ma 2017-01-06 13:52:46 -08:00 committed by Keun Soo Yim
parent b5dad57d72
commit 689c6fb1b5
8 changed files with 9537 additions and 0 deletions

View file

@ -86,3 +86,302 @@ cc_library_shared {
"android.hidl.base@1.0",
],
}
genrule {
name: "android.hardware.radio.vts.driver@1.0_genc++",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"types.hal",
"IRadio.hal",
"IRadioIndication.hal",
"IRadioResponse.hal",
"ISap.hal",
"ISapCallback.hal",
],
out: [
"android/hardware/radio/1.0/types.vts.cpp",
"android/hardware/radio/1.0/Radio.vts.cpp",
"android/hardware/radio/1.0/RadioIndication.vts.cpp",
"android/hardware/radio/1.0/RadioResponse.vts.cpp",
"android/hardware/radio/1.0/Sap.vts.cpp",
"android/hardware/radio/1.0/SapCallback.vts.cpp",
],
}
genrule {
name: "android.hardware.radio.vts.driver@1.0_genc++_headers",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"types.hal",
"IRadio.hal",
"IRadioIndication.hal",
"IRadioResponse.hal",
"ISap.hal",
"ISapCallback.hal",
],
out: [
"android/hardware/radio/1.0/types.vts.h",
"android/hardware/radio/1.0/Radio.vts.h",
"android/hardware/radio/1.0/RadioIndication.vts.h",
"android/hardware/radio/1.0/RadioResponse.vts.h",
"android/hardware/radio/1.0/Sap.vts.h",
"android/hardware/radio/1.0/SapCallback.vts.h",
],
}
cc_library_shared {
name: "android.hardware.radio.vts.driver@1.0",
generated_sources: ["android.hardware.radio.vts.driver@1.0_genc++"],
generated_headers: ["android.hardware.radio.vts.driver@1.0_genc++_headers"],
export_generated_headers: ["android.hardware.radio.vts.driver@1.0_genc++_headers"],
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"libvts_common",
"libvts_datatype",
"libvts_measurement",
"libvts_multidevice_proto",
"libcamera_metadata",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.radio@1.0",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"android.hidl.base@1.0",
],
}
genrule {
name: "android.hardware.radio@1.0-IRadio-vts.profiler_genc++",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"IRadio.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/Radio.vts.cpp",
"android/hardware/radio/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.radio@1.0-IRadio-vts.profiler_genc++_headers",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"IRadio.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/Radio.vts.h",
"android/hardware/radio/1.0/types.vts.h",
],
}
cc_library_shared {
name: "android.hardware.radio@1.0-IRadio-vts.profiler",
generated_sources: ["android.hardware.radio@1.0-IRadio-vts.profiler_genc++"],
generated_headers: ["android.hardware.radio@1.0-IRadio-vts.profiler_genc++_headers"],
export_generated_headers: ["android.hardware.radio@1.0-IRadio-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.radio@1.0",
],
}
genrule {
name: "android.hardware.radio@1.0-IRadioIndication-vts.profiler_genc++",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"IRadioIndication.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/RadioIndication.vts.cpp",
"android/hardware/radio/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.radio@1.0-IRadioIndication-vts.profiler_genc++_headers",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"IRadioIndication.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/RadioIndication.vts.h",
"android/hardware/radio/1.0/types.vts.h",
],
}
cc_library_shared {
name: "android.hardware.radio@1.0-IRadioIndication-vts.profiler",
generated_sources: ["android.hardware.radio@1.0-IRadioIndication-vts.profiler_genc++"],
generated_headers: ["android.hardware.radio@1.0-IRadioIndication-vts.profiler_genc++_headers"],
export_generated_headers: ["android.hardware.radio@1.0-IRadioIndication-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.radio@1.0",
],
}
genrule {
name: "android.hardware.radio@1.0-IRadioResponse-vts.profiler_genc++",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"IRadioResponse.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/RadioResponse.vts.cpp",
"android/hardware/radio/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.radio@1.0-IRadioResponse-vts.profiler_genc++_headers",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"IRadioResponse.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/RadioResponse.vts.h",
"android/hardware/radio/1.0/types.vts.h",
],
}
cc_library_shared {
name: "android.hardware.radio@1.0-IRadioResponse-vts.profiler",
generated_sources: ["android.hardware.radio@1.0-IRadioResponse-vts.profiler_genc++"],
generated_headers: ["android.hardware.radio@1.0-IRadioResponse-vts.profiler_genc++_headers"],
export_generated_headers: ["android.hardware.radio@1.0-IRadioResponse-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.radio@1.0",
],
}
genrule {
name: "android.hardware.radio@1.0-ISap-vts.profiler_genc++",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"ISap.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/Sap.vts.cpp",
"android/hardware/radio/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.radio@1.0-ISap-vts.profiler_genc++_headers",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"ISap.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/Sap.vts.h",
"android/hardware/radio/1.0/types.vts.h",
],
}
cc_library_shared {
name: "android.hardware.radio@1.0-ISap-vts.profiler",
generated_sources: ["android.hardware.radio@1.0-ISap-vts.profiler_genc++"],
generated_headers: ["android.hardware.radio@1.0-ISap-vts.profiler_genc++_headers"],
export_generated_headers: ["android.hardware.radio@1.0-ISap-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.radio@1.0",
],
}
genrule {
name: "android.hardware.radio@1.0-ISapCallback-vts.profiler_genc++",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"ISapCallback.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/SapCallback.vts.cpp",
"android/hardware/radio/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.radio@1.0-ISapCallback-vts.profiler_genc++_headers",
tools: ["hidl-gen", "vtsc"],
cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.radio@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
srcs: [
"ISapCallback.hal",
"types.hal",
],
out: [
"android/hardware/radio/1.0/SapCallback.vts.h",
"android/hardware/radio/1.0/types.vts.h",
],
}
cc_library_shared {
name: "android.hardware.radio@1.0-ISapCallback-vts.profiler",
generated_sources: ["android.hardware.radio@1.0-ISapCallback-vts.profiler_genc++"],
generated_headers: ["android.hardware.radio@1.0-ISapCallback-vts.profiler_genc++_headers"],
export_generated_headers: ["android.hardware.radio@1.0-ISapCallback-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libhidlbase",
"libhidltransport",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hidl.base@1.0",
"android.hardware.radio@1.0",
],
}

19
radio/1.0/vts/Android.mk Normal file
View file

@ -0,0 +1,19 @@
#
# Copyright (C) 2016 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.
#
LOCAL_PATH := $(call my-dir)
include $(call all-subdir-makefiles)

1497
radio/1.0/vts/Radio.vts Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,545 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IRadioIndication"
package: "android.hardware.radio"
import: "android.hardware.radio@1.0::types"
interface: {
api: {
name: "radioStateChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioState"
}
}
api: {
name: "callStateChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "voiceNetworkStateChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "newSms"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "newSmsStatusReport"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "newSmsOnSim"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "onUssd"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::UssdModeType"
}
arg: {
type: TYPE_STRING
}
}
api: {
name: "nitzTimeReceived"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRING
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
}
api: {
name: "currentSignalStrength"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::SignalStrength"
}
}
api: {
name: "dataCallListChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::SetupDataCallResult"
}
}
}
api: {
name: "suppSvcNotify"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::SuppSvcNotification"
}
}
api: {
name: "stkSessionEnd"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "stkProactiveCommand"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRING
}
}
api: {
name: "stkEventNotify"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRING
}
}
api: {
name: "stkCallSetup"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int64_t"
}
}
api: {
name: "simSmsStorageFull"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "simRefresh"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::SimRefreshResult"
}
}
api: {
name: "callRing"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::CdmaSignalInfoRecord"
}
}
api: {
name: "simStatusChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "cdmaNewSms"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::CdmaSmsMessage"
}
}
api: {
name: "newBroadcastSms"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "cdmaRuimSmsStorageFull"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "restrictedStateChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::PhoneRestrictedState"
}
}
api: {
name: "enterEmergencyCallbackMode"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "cdmaCallWaiting"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::CdmaCallWaiting"
}
}
api: {
name: "cdmaOtaProvisionStatus"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::CdmaOtaProvisionStatus"
}
}
api: {
name: "cdmaInfoRec"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::CdmaInformationRecords"
}
}
api: {
name: "oemHookRaw"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "indicateRingbackTone"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
}
api: {
name: "resendIncallMute"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "cdmaSubscriptionSourceChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::CdmaSubscriptionSource"
}
}
api: {
name: "cdmaPrlChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "exitEmergencyCallbackMode"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "rilConnected"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "voiceRadioTechChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioTechnology"
}
}
api: {
name: "cellInfoList"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::CellInfo"
}
}
}
api: {
name: "imsNetworkStateChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
}
api: {
name: "subscriptionStatusChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
}
api: {
name: "srvccStateNotify"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SrvccState"
}
}
api: {
name: "hardwareConfigChanged"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::HardwareConfig"
}
}
}
api: {
name: "radioCapabilityIndication"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::RadioCapability"
}
}
api: {
name: "onSupplementaryServiceIndication"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::StkCcUnsolSsResult"
}
}
api: {
name: "stkCallControlAlphaNotify"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRING
}
}
api: {
name: "lceData"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::LceDataInfo"
}
}
api: {
name: "pcoData"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::radio::V1_0::PcoDataInfo"
}
}
api: {
name: "modemReset"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::RadioIndicationType"
}
arg: {
type: TYPE_STRING
}
}
}

File diff suppressed because it is too large Load diff

107
radio/1.0/vts/Sap.vts Normal file
View file

@ -0,0 +1,107 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "ISap"
package: "android.hardware.radio"
import: "android.hardware.radio@1.0::ISapCallback"
import: "android.hardware.radio@1.0::types"
interface: {
api: {
name: "setCallback"
arg: {
type: TYPE_HIDL_CALLBACK
predefined_type: "ISapCallback"
is_callback: true
}
}
api: {
name: "connectReq"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "disconnectReq"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "apduReq"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapApduType"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "transferAtrReq"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "powerReq"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
}
api: {
name: "resetSimReq"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "transferCardReaderStatusReq"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "setTransferProtocolReq"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapTransferProtocol"
}
}
}

View file

@ -0,0 +1,156 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "ISapCallback"
package: "android.hardware.radio"
import: "android.hardware.radio@1.0::types"
interface: {
api: {
name: "connectResponse"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapConnectRsp"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "disconnectResponse"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "disconnectIndication"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapDisconnectType"
}
}
api: {
name: "apduResponse"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapResultCode"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "transferAtrResponse"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapResultCode"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "powerResponse"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapResultCode"
}
}
api: {
name: "resetSimResponse"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapResultCode"
}
}
api: {
name: "statusIndication"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapStatus"
}
}
api: {
name: "transferCardReaderStatusResponse"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapResultCode"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "errorResponse"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "transferProtocolResponse"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::radio::V1_0::SapResultCode"
}
}
}

5532
radio/1.0/vts/types.vts Normal file

File diff suppressed because it is too large Load diff