Home | History | Annotate | Download | only in default
      1 /*
      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 
     18 namespace android {
     19 namespace hardware {
     20 namespace radio {
     21 namespace V1_2 {
     22 namespace implementation {
     23 
     24 // Methods from ::android::hardware::radio::V1_0::ISap follow.
     25 Return<void> Sap::setCallback(
     26     const sp<::android::hardware::radio::V1_0::ISapCallback>& sapCallback) {
     27     mSapCallback = sapCallback;
     28     return Void();
     29 }
     30 
     31 Return<void> Sap::connectReq(int32_t /* token */, int32_t /* maxMsgSize */) {
     32     // TODO implement
     33     return Void();
     34 }
     35 
     36 Return<void> Sap::disconnectReq(int32_t /* token */) {
     37     // TODO implement
     38     return Void();
     39 }
     40 
     41 Return<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 
     48 Return<void> Sap::transferAtrReq(int32_t /* token */) {
     49     // TODO implement
     50     return Void();
     51 }
     52 
     53 Return<void> Sap::powerReq(int32_t /* token */, bool /* state */) {
     54     // TODO implement
     55     return Void();
     56 }
     57 
     58 Return<void> Sap::resetSimReq(int32_t /* token */) {
     59     // TODO implement
     60     return Void();
     61 }
     62 
     63 Return<void> Sap::transferCardReaderStatusReq(int32_t /* token */) {
     64     // TODO implement
     65     return Void();
     66 }
     67 
     68 Return<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
     80