1 /*
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 #ifndef android_hardware_gnss_V1_1_GnssDebug_H_
18 #define android_hardware_gnss_V1_1_GnssDebug_H_
19 
20 #include <android/hardware/gnss/1.0/IGnssDebug.h>
21 #include <hidl/Status.h>
22 
23 namespace android {
24 namespace hardware {
25 namespace gnss {
26 namespace V1_1 {
27 namespace implementation {
28 
29 using ::android::sp;
30 using ::android::hardware::hidl_string;
31 using ::android::hardware::hidl_vec;
32 using ::android::hardware::Return;
33 using ::android::hardware::Void;
34 using V1_0::IGnssDebug;
35 
36 /* Interface for GNSS Debug support. */
37 struct GnssDebug : public IGnssDebug {
38     /*
39      * Methods from ::android::hardware::gnss::V1_0::IGnssDebug follow.
40      * These declarations were generated from IGnssDebug.hal.
41      */
42     Return<void> getDebugData(V1_0::IGnssDebug::getDebugData_cb _hidl_cb) override;
43 };
44 
45 }  // namespace implementation
46 }  // namespace V1_1
47 }  // namespace gnss
48 }  // namespace hardware
49 }  // namespace android
50 
51 #endif  // android_hardware_gnss_V1_1_GnssDebug_H_
52