blob: eae21698052bea2865b1fccd8aa11a27fda5bd87 [file] [log] [blame]
Anil Admalb02bcc12018-11-14 10:23:45 -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#define LOG_TAG "AGnssRil"
18
19#include "AGnssRil.h"
20#include <log/log.h>
21
22namespace android {
23namespace hardware {
24namespace gnss {
25namespace V2_0 {
26namespace implementation {
27
28// Methods from V1_0::IAGnssRil follow.
29Return<void> AGnssRil::setCallback(const sp<V1_0::IAGnssRilCallback>&) {
30 // TODO implement
31 return Void();
32}
33
34Return<void> AGnssRil::setRefLocation(const V1_0::IAGnssRil::AGnssRefLocation&) {
35 // TODO implement
36 return Void();
37}
38
39Return<bool> AGnssRil::setSetId(V1_0::IAGnssRil::SetIDType, const hidl_string&) {
40 // TODO implement
41 return bool{};
42}
43
44Return<bool> AGnssRil::updateNetworkState(bool, V1_0::IAGnssRil::NetworkType, bool) {
45 // TODO implement
46 return bool{};
47}
48
49Return<bool> AGnssRil::updateNetworkAvailability(bool, const hidl_string&) {
50 // TODO implement
51 return bool{};
52}
53
54// Methods from ::android::hardware::gnss::V2_0::IAGnssRil follow.
55Return<bool> AGnssRil::updateNetworkState_2_0(
56 const V2_0::IAGnssRil::NetworkAttributes& attributes) {
57 ALOGD("updateNetworkState_2_0 networkAttributes: %s", toString(attributes).c_str());
58 return true;
59}
60
61} // namespace implementation
62} // namespace V2_0
63} // namespace gnss
64} // namespace hardware
65} // namespace android