blob: 8bc028eda2b5274958877672d3ab5436d81f9279 [file] [log] [blame]
Arthur Ishiguro46c2bd02020-10-06 11:05:17 -07001/*
2 * Copyright (C) 2020 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#include "Contexthub.h"
17
18#include <vector>
19
Anthony Stange6c77c352020-12-16 12:50:08 -050020using ::android::hardware::contexthub::V1_0::Result;
21
Arthur Ishiguro46c2bd02020-10-06 11:05:17 -070022namespace android {
23namespace hardware {
24namespace contexthub {
25namespace V1_2 {
26namespace implementation {
27
Anthony Stange6c77c352020-12-16 12:50:08 -050028// TODO(b/166846988): Implement new methods.
29Return<Result> Contexthub::registerCallback_1_2(uint32_t /* hubId */,
30 const sp<IContexthubCallback>& /* cb */) {
31 return Result::UNKNOWN_FAILURE;
32}
33
34Return<Result> Contexthub::sendMessageToHub_1_2(uint32_t /* hubId */,
35 const ContextHubMsg& /* msg */) {
36 return Result::UNKNOWN_FAILURE;
37}
38
Arthur Ishiguro46c2bd02020-10-06 11:05:17 -070039Return<void> Contexthub::onSettingChanged(SettingV1_1 /*setting*/, SettingValue /*newValue*/) {
40 return Void();
41}
42
43Return<void> Contexthub::onSettingChanged_1_2(Setting /*setting*/, SettingValue /*newValue*/) {
44 return Void();
45}
46
47} // namespace implementation
48} // namespace V1_2
49} // namespace contexthub
50} // namespace hardware
51} // namespace android