1 /*
2 * Copyright (C) 2019 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, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 #define LOG_TAG "android.hardware.tv.tuner@1.0-Lnb"
18
19 #include "Lnb.h"
20 #include <utils/Log.h>
21
22 namespace android {
23 namespace hardware {
24 namespace tv {
25 namespace tuner {
26 namespace V1_0 {
27 namespace implementation {
28
Lnb()29 Lnb::Lnb() {}
30
~Lnb()31 Lnb::~Lnb() {}
32
setCallback(const sp<ILnbCallback> &)33 Return<Result> Lnb::setCallback(const sp<ILnbCallback>& /* callback */) {
34 ALOGV("%s", __FUNCTION__);
35
36 return Result::SUCCESS;
37 }
38
setVoltage(LnbVoltage)39 Return<Result> Lnb::setVoltage(LnbVoltage /* voltage */) {
40 ALOGV("%s", __FUNCTION__);
41
42 return Result::SUCCESS;
43 }
44
setTone(LnbTone)45 Return<Result> Lnb::setTone(LnbTone /* tone */) {
46 ALOGV("%s", __FUNCTION__);
47
48 return Result::SUCCESS;
49 }
50
setSatellitePosition(LnbPosition)51 Return<Result> Lnb::setSatellitePosition(LnbPosition /* position */) {
52 ALOGV("%s", __FUNCTION__);
53
54 return Result::SUCCESS;
55 }
56
sendDiseqcMessage(const hidl_vec<uint8_t> &)57 Return<Result> Lnb::sendDiseqcMessage(const hidl_vec<uint8_t>& /* diseqcMessage */) {
58 ALOGV("%s", __FUNCTION__);
59
60 return Result::SUCCESS;
61 }
62
close()63 Return<Result> Lnb::close() {
64 ALOGV("%s", __FUNCTION__);
65
66 return Result::SUCCESS;
67 }
68
69 } // namespace implementation
70 } // namespace V1_0
71 } // namespace tuner
72 } // namespace tv
73 } // namespace hardware
74 } // namespace android