You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
699 B
25 lines
699 B
|
|
#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
|
|
|