blob: 6025339ba7a66dbfd7dc3fcc4f48457236366017 [file] [log] [blame]
Amy016b7312019-09-16 15:51:28 -07001/*
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
22namespace android {
23namespace hardware {
24namespace tv {
25namespace tuner {
26namespace V1_0 {
27namespace implementation {
28
29Lnb::Lnb() {}
shubangfd882512020-04-22 14:59:03 -070030Lnb::Lnb(int id) {
31 mId = id;
32}
Amy016b7312019-09-16 15:51:28 -070033
34Lnb::~Lnb() {}
35
Amyb4b68012019-10-15 17:38:19 -070036Return<Result> Lnb::setCallback(const sp<ILnbCallback>& /* callback */) {
Amy016b7312019-09-16 15:51:28 -070037 ALOGV("%s", __FUNCTION__);
38
39 return Result::SUCCESS;
40}
41
Amyb4b68012019-10-15 17:38:19 -070042Return<Result> Lnb::setVoltage(LnbVoltage /* voltage */) {
Amy016b7312019-09-16 15:51:28 -070043 ALOGV("%s", __FUNCTION__);
44
45 return Result::SUCCESS;
46}
47
Amyb4b68012019-10-15 17:38:19 -070048Return<Result> Lnb::setTone(LnbTone /* tone */) {
49 ALOGV("%s", __FUNCTION__);
50
51 return Result::SUCCESS;
52}
53
54Return<Result> Lnb::setSatellitePosition(LnbPosition /* position */) {
Amy016b7312019-09-16 15:51:28 -070055 ALOGV("%s", __FUNCTION__);
56
57 return Result::SUCCESS;
58}
59
Amy42a5b4b2019-10-03 16:49:48 -070060Return<Result> Lnb::sendDiseqcMessage(const hidl_vec<uint8_t>& /* diseqcMessage */) {
61 ALOGV("%s", __FUNCTION__);
62
63 return Result::SUCCESS;
64}
65
Amy016b7312019-09-16 15:51:28 -070066Return<Result> Lnb::close() {
67 ALOGV("%s", __FUNCTION__);
68
69 return Result::SUCCESS;
70}
71
shubangfd882512020-04-22 14:59:03 -070072int Lnb::getId() {
73 return mId;
74}
75
Amy016b7312019-09-16 15:51:28 -070076} // namespace implementation
77} // namespace V1_0
78} // namespace tuner
79} // namespace tv
80} // namespace hardware
shubangfd882512020-04-22 14:59:03 -070081} // namespace android