blob: d88120de7010fda4144b2fd4b74f8926f727410a [file] [log] [blame]
Pomai Ahlo25fb3aa2022-12-12 13:58:55 -08001/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, eithe r express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16#pragma once
17
18#include <aidl/android/hardware/radio/sap/ISap.h>
19#include <android/hardware/radio/1.0/types.h>
20
21namespace android::hardware::radio::compat {
22
23V1_0::SapApduType toHidl(aidl::android::hardware::radio::sap::SapApduType sapAdpuType);
24V1_0::SapTransferProtocol toHidl(
25 aidl::android::hardware::radio::sap::SapTransferProtocol sapTransferProtocol);
26
27aidl::android::hardware::radio::sap::SapResultCode toAidl(V1_0::SapResultCode sapResultCode);
28aidl::android::hardware::radio::sap::SapConnectRsp toAidl(V1_0::SapConnectRsp sapConnectRsp);
29aidl::android::hardware::radio::sap::SapDisconnectType toAidl(
30 V1_0::SapDisconnectType sapDisconnectType);
31aidl::android::hardware::radio::sap::SapStatus toAidl(V1_0::SapStatus sapStatus);
32
33} // namespace android::hardware::radio::compat