diff options
Diffstat (limited to 'include/binder/IProcessInfoService.h')
-rw-r--r-- | include/binder/IProcessInfoService.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/binder/IProcessInfoService.h b/include/binder/IProcessInfoService.h index dc62f457c7..34ce0f00c2 100644 --- a/include/binder/IProcessInfoService.h +++ b/include/binder/IProcessInfoService.h @@ -31,8 +31,14 @@ public: /*in*/ int32_t* pids, /*out*/ int32_t* states) = 0; + virtual status_t getProcessStatesAndOomScoresFromPids( size_t length, + /*in*/ int32_t* pids, + /*out*/ int32_t* states, + /*out*/ int32_t* scores) = 0; + enum { GET_PROCESS_STATES_FROM_PIDS = IBinder::FIRST_CALL_TRANSACTION, + GET_PROCESS_STATES_AND_OOM_SCORES_FROM_PIDS, }; }; |