#pragma once #include <aidl/android/hardware/memtrack/BnMemtrack.h> #include <aidl/android/hardware/memtrack/DeviceInfo.h> #include <aidl/android/hardware/memtrack/MemtrackRecord.h> #include <aidl/android/hardware/memtrack/MemtrackType.h> namespace aidl { namespace android { namespace hardware { namespace memtrack { class Memtrack : public BnMemtrack { public: ndk::ScopedAStatus getMemory(int pid, MemtrackType type, std::vector<MemtrackRecord>* _aidl_return) override; ndk::ScopedAStatus getGpuDeviceInfo(std::vector<DeviceInfo>* _aidl_return) override; }; } // namespace memtrack } // namespace hardware } // namespace android } // namespace aidl