blob: 06ba59e5aa417efb978f2e13b9da109c46affab0 [file] [log] [blame]
Devin Moore0b597812022-11-04 20:43:35 +00001/*
2 * Copyright (C) 2022 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#pragma once
17
18#include <aidl/android/hardware/sensors/Event.h>
19#include <sensor/Sensor.h>
20
21namespace android {
22namespace frameworks {
23namespace sensorservice {
24namespace implementation {
25
26::ndk::ScopedAStatus convertResult(status_t status);
27::aidl::android::hardware::sensors::Event convertEvent(const ::ASensorEvent& event);
28
29} // namespace implementation
30} // namespace sensorservice
31} // namespace frameworks
32} // namespace android