OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Next MinVersion: 6 | 5 // Next MinVersion: 6 |
6 | 6 |
7 module arc.mojom; | 7 module arc.mojom; |
8 | 8 |
9 // Describes the current process state, as defined by AOSP in | 9 // Describes the current process state, as defined by AOSP in |
10 // android.app.ActivityManager. | 10 // android.app.ActivityManager. |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 interface ProcessInstance { | 99 interface ProcessInstance { |
100 // Requests ARC instance to return the current process list. | 100 // Requests ARC instance to return the current process list. |
101 RequestProcessList@0() => (array<RunningAppProcessInfo> processes); | 101 RequestProcessList@0() => (array<RunningAppProcessInfo> processes); |
102 | 102 |
103 // Requests ARC instance to kill a process. | 103 // Requests ARC instance to kill a process. |
104 [MinVersion=1] | 104 [MinVersion=1] |
105 KillProcess@1(uint32 pid, string reason); | 105 KillProcess@1(uint32 pid, string reason); |
106 | 106 |
107 // Sets oom_score_adj of a process. | 107 // Sets oom_score_adj of a process. |
108 [MinVersion=2] | 108 [MinVersion=2] |
109 SetOomScoreAdj@2(uint32 pid, int32 score); | 109 DeprecatedSetOomScoreAdj@2(uint32 pid, int32 score); |
110 | 110 |
111 // Disables Android built-in oom_adj adjustment. | 111 // Disables Android built-in oom_adj adjustment. |
112 [MinVersion=2] | 112 [MinVersion=2] |
113 DisableBuiltinOomAdjustment@3(); | 113 DeprecatedDisableBuiltinOomAdjustment@3(); |
114 | 114 |
115 // Disables Android lowmemorykiller. | 115 // Disables Android lowmemorykiller. |
116 [MinVersion=3] | 116 [MinVersion=3] |
117 DisableLowMemoryKiller@4(); | 117 DeprecatedDisableLowMemoryKiller@4(); |
118 }; | 118 }; |
OLD | NEW |