• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "gnss_configuration.h"
18 
19 namespace goldfish {
20 
setEsExtensionSec(uint32_t emergencyExtensionSeconds)21 Return<bool> GnssConfiguration20::setEsExtensionSec(uint32_t emergencyExtensionSeconds) {
22     (void)emergencyExtensionSeconds;
23     return false;
24 }
25 
setBlacklist(const hidl_vec<ahg11::IGnssConfiguration::BlacklistedSource> & blacklist)26 Return<bool> GnssConfiguration20::setBlacklist(const hidl_vec<ahg11::IGnssConfiguration::BlacklistedSource>& blacklist) {
27     (void)blacklist;
28     return false;
29 }
30 
setSuplVersion(uint32_t version)31 Return<bool> GnssConfiguration20::setSuplVersion(uint32_t version) {
32     (void)version;
33     return true;
34 }
35 
setSuplMode(hidl_bitfield<SuplMode> mode)36 Return<bool> GnssConfiguration20::setSuplMode(hidl_bitfield<SuplMode> mode) {
37     (void)mode;
38     return true;
39 }
40 
setGpsLock(hidl_bitfield<GpsLock> lock)41 Return<bool> GnssConfiguration20::setGpsLock(hidl_bitfield<GpsLock> lock) {
42     (void)lock;
43     return false;
44 }
45 
setLppProfile(hidl_bitfield<LppProfile> lppProfile)46 Return<bool> GnssConfiguration20::setLppProfile(hidl_bitfield<LppProfile> lppProfile) {
47     (void)lppProfile;
48     return true;
49 }
50 
setGlonassPositioningProtocol(hidl_bitfield<GlonassPosProtocol> protocol)51 Return<bool> GnssConfiguration20::setGlonassPositioningProtocol(hidl_bitfield<GlonassPosProtocol> protocol) {
52     (void)protocol;
53     return true;
54 }
55 
setEmergencySuplPdn(bool enable)56 Return<bool> GnssConfiguration20::setEmergencySuplPdn(bool enable) {
57     (void)enable;
58     return true;
59 }
60 
61 /// old and deprecated /////////////////////////////////////////////////////////
setSuplEs(bool enable)62 Return<bool> GnssConfiguration20::setSuplEs(bool enable) {
63     (void)enable;
64     return false;
65 }
66 
67 }  // namespace goldfish
68