Roman Kiryanov | ba02f72 | 2020-03-30 12:26:49 -0700 | [diff] [blame] | 1 | /* |
| 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 | |
| 17 | #include "agnss.h" |
| 18 | |
| 19 | namespace goldfish { |
| 20 | |
| 21 | Return<void> AGnss20::setCallback(const sp<ahg20::IAGnssCallback>& callback) { |
| 22 | (void)callback; |
| 23 | return {}; |
| 24 | } |
| 25 | |
| 26 | Return<bool> AGnss20::dataConnClosed() { |
| 27 | return false; |
| 28 | } |
| 29 | |
| 30 | Return<bool> AGnss20::dataConnFailed() { |
| 31 | return false; |
| 32 | } |
| 33 | |
| 34 | Return<bool> AGnss20::setServer(ahg20::IAGnssCallback::AGnssType type, |
| 35 | const hidl_string& hostname, |
| 36 | int32_t port) { |
| 37 | (void)type; |
| 38 | (void)hostname; |
| 39 | (void)port; |
| 40 | return true; |
| 41 | } |
| 42 | |
| 43 | Return<bool> AGnss20::dataConnOpen(uint64_t networkHandle, |
| 44 | const hidl_string& apn, |
| 45 | ahg20::IAGnss::ApnIpType apnIpType) { |
| 46 | (void)networkHandle; |
| 47 | (void)apn; |
| 48 | (void)apnIpType; |
| 49 | return false; |
| 50 | } |
| 51 | |
| 52 | } // namespace goldfish |