power: clang-format
* Using AOSP interface .clang-format * Clean Android.mk while we are at it Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada Signed-off-by: Arian <arian.kulmer@web.de>
This commit is contained in:
24
Power.h
24
Power.h
@@ -40,19 +40,17 @@ namespace power {
|
||||
namespace impl {
|
||||
|
||||
class Power : public BnPower {
|
||||
public:
|
||||
Power() : BnPower(){
|
||||
power_init();
|
||||
}
|
||||
ndk::ScopedAStatus setMode(Mode type, bool enabled) override;
|
||||
ndk::ScopedAStatus isModeSupported(Mode type, bool* _aidl_return) override;
|
||||
ndk::ScopedAStatus setBoost(Boost type, int32_t durationMs) override;
|
||||
ndk::ScopedAStatus isBoostSupported(Boost type, bool* _aidl_return) override;
|
||||
ndk::ScopedAStatus createHintSession(int32_t tgid, int32_t uid,
|
||||
const std::vector<int32_t>& threadIds,
|
||||
int64_t durationNanos,
|
||||
std::shared_ptr<IPowerHintSession>* _aidl_return) override;
|
||||
ndk::ScopedAStatus getHintSessionPreferredRate(int64_t* outNanoseconds) override;
|
||||
public:
|
||||
Power() : BnPower() { power_init(); }
|
||||
ndk::ScopedAStatus setMode(Mode type, bool enabled) override;
|
||||
ndk::ScopedAStatus isModeSupported(Mode type, bool* _aidl_return) override;
|
||||
ndk::ScopedAStatus setBoost(Boost type, int32_t durationMs) override;
|
||||
ndk::ScopedAStatus isBoostSupported(Boost type, bool* _aidl_return) override;
|
||||
ndk::ScopedAStatus createHintSession(int32_t tgid, int32_t uid,
|
||||
const std::vector<int32_t>& threadIds,
|
||||
int64_t durationNanos,
|
||||
std::shared_ptr<IPowerHintSession>* _aidl_return) override;
|
||||
ndk::ScopedAStatus getHintSessionPreferredRate(int64_t* outNanoseconds) override;
|
||||
};
|
||||
|
||||
} // namespace impl
|
||||
|
||||
Reference in New Issue
Block a user