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 "GnssGeofence.h"
18 
19 namespace aidl {
20 namespace android {
21 namespace hardware {
22 namespace gnss {
23 namespace implementation {
24 
setCallback(const std::shared_ptr<IGnssGeofenceCallback> &)25 ndk::ScopedAStatus GnssGeofence::setCallback(
26         const std::shared_ptr<IGnssGeofenceCallback>& /*callback*/) {
27     return ndk::ScopedAStatus::ok();
28 }
29 
addGeofence(int,double,double,double,int,int,int,int)30 ndk::ScopedAStatus GnssGeofence::addGeofence(int /*geofenceId*/,
31                                              double /*latitudeDegrees*/,
32                                              double /*longitudeDegrees*/,
33                                              double /*radiusMeters*/,
34                                              int /*lastTransition*/,
35                                              int /*monitorTransitions*/,
36                                              int /*notificationResponsivenessMs*/,
37                                              int /*unknownTimerMs*/) {
38     return ndk::ScopedAStatus::ok();
39 }
40 
pauseGeofence(int)41 ndk::ScopedAStatus GnssGeofence::pauseGeofence(int /*geofenceId*/) {
42     return ndk::ScopedAStatus::ok();
43 }
44 
resumeGeofence(int,int)45 ndk::ScopedAStatus GnssGeofence::resumeGeofence(int /*geofenceId*/, int /*monitorTransitions*/) {
46     return ndk::ScopedAStatus::ok();
47 }
48 
removeGeofence(int)49 ndk::ScopedAStatus GnssGeofence::removeGeofence(int /*geofenceId*/) {
50     return ndk::ScopedAStatus::ok();
51 }
52 
53 }  // namespace implementation
54 }  // namespace gnss
55 }  // namespace hardware
56 }  // namespace android
57 }  // namespace aidl
58