blob: fbcdc12c5a7130a5b0999e37579d2d20c9327e23 [file] [log] [blame]
Yu-Han Yang9c6c20b2018-11-06 14:12:49 -08001/*
2 * Copyright (C) 2018 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#include "GnssMeasurement.h"
18
19namespace android {
20namespace hardware {
21namespace gnss {
22namespace V2_0 {
23namespace implementation {
24
25// Methods from V1_0::IGnssMeasurement follow.
26Return<V1_0::IGnssMeasurement::GnssMeasurementStatus> GnssMeasurement::setCallback(
27 const sp<V1_0::IGnssMeasurementCallback>&) {
28 // TODO implement
29 return V1_0::IGnssMeasurement::GnssMeasurementStatus{};
30}
31
32Return<void> GnssMeasurement::close() {
33 // TODO implement
34 return Void();
35}
36
37// Methods from V1_1::IGnssMeasurement follow.
38Return<V1_0::IGnssMeasurement::GnssMeasurementStatus> GnssMeasurement::setCallback_1_1(
39 const sp<V1_1::IGnssMeasurementCallback>&, bool) {
40 // TODO implement
41 return V1_0::IGnssMeasurement::GnssMeasurementStatus{};
42}
43
44// Methods from V2_0::IGnssMeasurement follow.
45Return<V1_0::IGnssMeasurement::GnssMeasurementStatus> GnssMeasurement::setCallback_2_0(
46 const sp<V2_0::IGnssMeasurementCallback>&, bool) {
47 // TODO implement
48 return V1_0::IGnssMeasurement::GnssMeasurementStatus{};
49}
50
51// Methods from ::android::hidl::base::V1_0::IBase follow.
52
53// IGnssMeasurement* HIDL_FETCH_IGnssMeasurement(const char* /* name */) {
54// return new GnssMeasurement();
55//}
56//
57} // namespace implementation
58} // namespace V2_0
59} // namespace gnss
60} // namespace hardware
61} // namespace android