History log of /frameworks/base/core/jni/android_util_Process.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
41c4bea27c7dca0223a418296182f46a82e5a050 04-Dec-2009 Christopher Tate <ctate@android.com> Don't accidentally signal multiple exceptions in setThreadPriority()

After signalling an exception due to set_sched_policy() failing (probably
because the thread in question had exited before this function was called), we
proceeded to call setpriority() anyway, and raised *another* exception when it
also failed. We don't do this any more; we just bail after signalling the first
exception.

Change-Id: I397b6a93c73d3f0870176e26759f2bec33e56205
/frameworks/base/core/jni/android_util_Process.cpp
0a42b811aea490a9a605b75f0320101f6eafd283 03-Dec-2009 San Mehat <san@google.com> base: process: Abort setting the process group if one of the threads fails to switch

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
957e58670baad8c5995f1368e3b5280f0dbd891f 29-Oct-2009 San Mehat <san@google.com> process: Disable debugging

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
a5109a878eeff22e32ee5ce1b1cd15e8daad5234 29-Oct-2009 San Mehat <san@google.com> process: Add debug code to log process group transitions

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
242d65bf9faf1d2bc3468490e510551140e23462 12-Sep-2009 San Mehat <san@google.com> process: Switch to common cutils sched_policy api

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
181b31a0d87d525ea64102a965210331e0c6885b 09-Sep-2009 San Mehat <san@google.com> Process: Add support for using scheduler policies instead of cgroups.
Preference is given to cgroups if available.

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
d87c19f7d7d7c25638e21d3b8a176b0573369493 06-Aug-2009 San Mehat <san@google.com> am 7e63789a: android: cgroups: Don\'t switch threads >= nice 10 when moving all threads to default

Merge commit '7e63789a0e0689d940609b1daceebc1bc08dcbef'

* commit '7e63789a0e0689d940609b1daceebc1bc08dcbef':
android: cgroups: Don't switch threads >= nice 10 when moving all threads to default
7e63789a0e0689d940609b1daceebc1bc08dcbef 06-Aug-2009 San Mehat <san@google.com> android: cgroups: Don't switch threads >= nice 10 when moving all threads to default

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
0bca96bcbfe559f9330a01f723c5c9cba51ec05a 17-Jul-2009 Marco Nelissen <marcone@google.com> Make Process.getFreeMemory() return a long instead of an int, to better
work on the simulator now, and phones 2 years from now.
/frameworks/base/core/jni/android_util_Process.cpp
485f971e9d83509197d2e0bc2381c5f34b165626 26-Jun-2009 San Mehat <san@google.com> am 7d619f18: framework: process: Set the control group of a thread to the background group if the priority is logically-lower than ANDROID_PRIORITY_BACKGROUND

Merge commit '7d619f18a277ee3114624df7301db94db83936b9'

* commit '7d619f18a277ee3114624df7301db94db83936b9':
framework: process: Set the control group of a thread to the background group
7d619f18a277ee3114624df7301db94db83936b9 26-Jun-2009 San Mehat <san@google.com> framework: process: Set the control group of a thread to the background group
if the priority is logically-lower than ANDROID_PRIORITY_BACKGROUND

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
cf946df3f7a351d03407eaca81ac3dc22f26a8ca 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 35a47a6e: Merge change 5389 into donut

Merge commit '35a47a6eebae21738bcf9b481e0bb606328cbd1a'

* commit '35a47a6eebae21738bcf9b481e0bb606328cbd1a':
Skip spaces and tabs in readProcLines()
add868cebaf62cffe96e79764ea0b7f2320a03eb 25-Jun-2009 Amith Yamasani <yamasani@google.com> Skip spaces and tabs in readProcLines()

This is to fix a problem in the parsing of /proc/pid/status file.
/frameworks/base/core/jni/android_util_Process.cpp
3c3d3081aad5d3a0cadd18c7764974060c1a5274 16-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 727f36c6: Merge change 4265 into donut

Merge commit '727f36c6a1c70ba5519ec9ce2da9ab1cf303a2ef'

* commit '727f36c6a1c70ba5519ec9ce2da9ab1cf303a2ef':
process: Fix bug where if a thread exited while we were changing its control
Fix the build: Remove ADD_SYSTEM_SERVICE, which I had accidentally
1fd0ec738b0a2b97cc28701aa37b1a9869afc684 16-Jun-2009 San Mehat <san@google.com> process: Fix bug where if a thread exited while we were changing its control
group, we'd bail out and report an exception. This situation is *not*
an error.

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
1371310b8ab0e8aa458a84cd8615f4b26a48d708 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 0e7cf636: Merge change 3725 into donut

Merge commit '0e7cf6366b657498e51b7c7a433b80cfb83152cb'

* commit '0e7cf6366b657498e51b7c7a433b80cfb83152cb':
process: Clean up cgroup management
0cb53209c32457540a0fabe5567f68606c158963 10-Jun-2009 San Mehat <san@google.com> process: Clean up cgroup management

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
0795272aa226f4e965968a03daddc53ce30b7cda 20-May-2009 Mathias Agopian <mathias@google.com> move libbinder's header files under includes/binder
/frameworks/base/core/jni/android_util_Process.cpp
3e458241d9930465a20a861ecb42744355d48e48 19-May-2009 San Mehat <san@google.com> process: Add setProcessGroup() hidden API call to set the cgroup of
a process and all its child threads.

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
e9d376b801b7890b1ef5006ed55de4208e64bb63 21-Apr-2009 San Mehat <san@google.com> Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/jni/android_util_Process.cpp
c64edde69d18498fb2954f71a546357b07ab996a 18-Apr-2009 Evan Millar <> AI 146853: Add kernel wakelock data to batteryinfo dump.
BUG=1755458

Automated import of CL 146853
/frameworks/base/core/jni/android_util_Process.cpp
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_util_Process.cpp
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_util_Process.cpp
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/jni/android_util_Process.cpp
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/jni/android_util_Process.cpp