blob: 83efd302b05de576f8419380a1f2e4f23ea7102a [file] [log] [blame]
sqian0de4d312018-04-06 20:50:58 -07001/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.1 (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.1
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, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16#include "Sap.h"
17
18namespace android {
19namespace hardware {
20namespace radio {
21namespace V1_2 {
22namespace implementation {
23
24// Methods from ::android::hardware::radio::V1_0::ISap follow.
25Return<void> Sap::setCallback(
26 const sp<::android::hardware::radio::V1_0::ISapCallback>& sapCallback) {
27 mSapCallback = sapCallback;
28 return Void();
29}
30
31Return<void> Sap::connectReq(int32_t /* token */, int32_t /* maxMsgSize */) {
32 // TODO implement
33 return Void();
34}
35
36Return<void> Sap::disconnectReq(int32_t /* token */) {
37 // TODO implement
38 return Void();
39}
40
41Return<void> Sap::apduReq(int32_t /* token */,
42 ::android::hardware::radio::V1_0::SapApduType /* type */,
43 const hidl_vec<uint8_t>& /* command */) {
44 // TODO implement
45 return Void();
46}
47
48Return<void> Sap::transferAtrReq(int32_t /* token */) {
49 // TODO implement
50 return Void();
51}
52
53Return<void> Sap::powerReq(int32_t /* token */, bool /* state */) {
54 // TODO implement
55 return Void();
56}
57
58Return<void> Sap::resetSimReq(int32_t /* token */) {
59 // TODO implement
60 return Void();
61}
62
63Return<void> Sap::transferCardReaderStatusReq(int32_t /* token */) {
64 // TODO implement
65 return Void();
66}
67
68Return<void> Sap::setTransferProtocolReq(
69 int32_t /* token */,
70 ::android::hardware::radio::V1_0::SapTransferProtocol /* transferProtocol */) {
71 // TODO implement
72 return Void();
73}
74
75} // namespace implementation
76} // namespace V1_2
77} // namespace radio
78} // namespace hardware
79} // namespace android