summaryrefslogtreecommitdiff
path: root/aidl/osense-client/OsenseAidlHalReporter.cpp
blob: 1501b1f9538dcd2ce613afca2910243cfcbed463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * Copyright (C) 2024 The LineageOS Project
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include "OsenseAidlHalReporter.h"

namespace aidl {
namespace vendor {
namespace oplus {
namespace hardware {
namespace osense {
namespace client {

ndk::ScopedAStatus OsenseAidlHalReporter::checkAccessPermission(const std::string& identity,
                                                                int32_t* _aidl_return) {
    *_aidl_return = 1;
    return ndk::ScopedAStatus::ok();
}

ndk::ScopedAStatus OsenseAidlHalReporter::osenseClrSceneAction(const std::string& identity,
                                                               int64_t request) {
    return ndk::ScopedAStatus::ok();
}

ndk::ScopedAStatus OsenseAidlHalReporter::osenseSetNotification(
        const std::string& identity, const OsenseAidlHalNotifyRequest& osenseHalNotifyRequest) {
    return ndk::ScopedAStatus::ok();
}

ndk::ScopedAStatus OsenseAidlHalReporter::osenseSetSceneAction(
        const std::string& identity, const OsenseAidlHalSaRequest& osenseHalSaRequest) {
    return ndk::ScopedAStatus::ok();
}

ndk::ScopedAStatus OsenseAidlHalReporter::osenseResetCtrlData(const std::string& identity) {
    return ndk::ScopedAStatus::ok();
}

ndk::ScopedAStatus OsenseAidlHalReporter::osenseSetCtrlData(const std::string& identity,
                                                            const OsenseControlInfo& ctrldata) {
    return ndk::ScopedAStatus::ok();
}

}  // namespace client
}  // namespace osense
}  // namespace hardware
}  // namespace oplus
}  // namespace vendor
}  // namespace aidl