blob: a7116cbc2700e90282bd6b36199da9a077b98497 [file] [log] [blame]
Michael Bestas3a0209e2023-05-04 01:15:47 +03001/*
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
17#ifndef ANDROID_HARDWARE_GNSS_V1_0_GNSSDEBUG_H
18#define ANDROID_HARDWARE_GNSS_V1_0_GNSSDEBUG_H
19
20
21#include <android/hardware/gnss/1.0/IGnssDebug.h>
22#include <hidl/Status.h>
23
24namespace android {
25namespace hardware {
26namespace gnss {
27namespace V1_0 {
28namespace implementation {
29
30using ::android::hardware::gnss::V1_0::IGnssDebug;
31using ::android::hardware::Return;
32using ::android::hardware::Void;
33using ::android::hardware::hidl_vec;
34using ::android::hardware::hidl_string;
35using ::android::sp;
36
37/* Interface for GNSS Debug support. */
38struct Gnss;
39struct GnssDebug : public IGnssDebug {
40 GnssDebug(Gnss* gnss);
41 ~GnssDebug() {};
42
43 /*
44 * Methods from ::android::hardware::gnss::V1_0::IGnssDebug follow.
45 * These declarations were generated from IGnssDebug.hal.
46 */
47 Return<void> getDebugData(getDebugData_cb _hidl_cb) override;
48
49private:
50 Gnss* mGnss = nullptr;
51};
52
53} // namespace implementation
54} // namespace V1_0
55} // namespace gnss
56} // namespace hardware
57} // namespace android
58
59#endif // ANDROID_HARDWARE_GNSS_V1_0_GNSSDEBUG_H