hardware_xiaomi/aidl/light/Lights.cpp
Sebastiano Barezzi 5b0631944d
aidl: light: Initial stub service
* Made with aidl-gen

Change-Id: I517ddd2222cb937c02298d0972b8abf0ffc24fd6
2022-02-07 15:47:57 +01:00

26 lines
607 B
C++

/*
* Copyright (C) 2021 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "Lights.h"
namespace aidl {
namespace android {
namespace hardware {
namespace light {
ndk::ScopedAStatus Lights::setLightState(int32_t /*id*/, const HwLightState& /*state*/) {
return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION);
}
ndk::ScopedAStatus Lights::getLights(std::vector<HwLight> */*_aidl_return*/) {
return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION);
}
} // namespace light
} // namespace hardware
} // namespace android
} // namespace aidl