blob: fc2f5473bcdbae96466ba853802818a2bde80445 [file] [log] [blame]
Hridya Valsaraju29dc1e02016-10-21 14:41:12 -07001/*
2 * Copyright (C) 2016 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#ifndef android_hardware_gnss_V1_0_GnssUtil_H_
17#define android_hardware_gnss_V1_0_GnssUtil_H_
18
19#include <hardware/gps.h>
20#include <android/hardware/gnss/1.0/types.h>
21
22namespace android {
23namespace hardware {
24namespace gnss {
25namespace V1_0 {
26namespace implementation {
27
28/*
29 * This method converts a GpsLocation struct to a GnssLocation
30 * struct.
31 */
32GnssLocation convertToGnssLocation(GpsLocation* location);
33
34} // namespace implementation
35} // namespace V1_0
36} // namespace gnss
37} // namespace hardware
38} // namespace android
39
40#endif