Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 11729002: Set Realtime Audio Thread priority on Android (Closed)

Created:
7 years, 11 months ago by Wei James(wistoch)
Modified:
7 years, 10 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, sail+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Set Realtime Audio Thread priority on Android BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179545

Patch Set 1 #

Total comments: 2

Patch Set 2 : refactor code #

Total comments: 14

Patch Set 3 : address bulach's comments #

Total comments: 2

Patch Set 4 : address mark's comments #

Patch Set 5 : rebase #

Patch Set 6 : rebase and seperate .h file #

Patch Set 7 : rebase to land #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -11 lines) Patch
M base/android/base_jni_registrar.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M base/android/java/src/org/chromium/base/ThreadUtils.java View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
A + base/android/thread_utils.h View 1 2 3 4 5 1 chunk +6 lines, -7 lines 0 comments Download
M base/base.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M base/threading/platform_thread_posix.cc View 1 2 3 4 5 2 chunks +20 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Wei James(wistoch)
use Android SDK APIs to set audio thread to THREAD_PRIORITY_AUDIO.
7 years, 11 months ago (2012-12-31 08:30:54 UTC) #1
dgreid
Looks like it should work to me. +qinmin as he might be better suited to ...
7 years, 11 months ago (2013-01-07 19:02:40 UTC) #2
qinmin
https://codereview.chromium.org/11729002/diff/1/base/threading/platform_thread_posix.cc File base/threading/platform_thread_posix.cc (right): https://codereview.chromium.org/11729002/diff/1/base/threading/platform_thread_posix.cc#newcode298 base/threading/platform_thread_posix.cc:298: const int kThreadPriorityAudio = -16; There is no need ...
7 years, 11 months ago (2013-01-07 19:16:34 UTC) #3
qinmin
7 years, 11 months ago (2013-01-07 19:16:35 UTC) #4
Wei James(wistoch)
dgreid, qinmin, thanks for reviewing. all issues addressed. thanks https://codereview.chromium.org/11729002/diff/1/base/threading/platform_thread_posix.cc File base/threading/platform_thread_posix.cc (right): https://codereview.chromium.org/11729002/diff/1/base/threading/platform_thread_posix.cc#newcode298 base/threading/platform_thread_posix.cc:298: ...
7 years, 11 months ago (2013-01-08 02:42:37 UTC) #5
qinmin
lgtm
7 years, 11 months ago (2013-01-08 03:25:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/james.wei@intel.com/11729002/5002
7 years, 11 months ago (2013-01-08 13:54:37 UTC) #7
commit-bot: I haz the power
Presubmit check for 11729002-5002 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-08 13:54:45 UTC) #8
Wei James(wistoch)
+bulach as base/android OWNER +mark as base OWNER
7 years, 11 months ago (2013-01-08 14:01:31 UTC) #9
bulach
thanks! android lgtm, just some nits. https://chromiumcodereview.appspot.com/11729002/diff/5002/base/android/java/src/org/chromium/base/ThreadUtils.java File base/android/java/src/org/chromium/base/ThreadUtils.java (right): https://chromiumcodereview.appspot.com/11729002/diff/5002/base/android/java/src/org/chromium/base/ThreadUtils.java#newcode151 base/android/java/src/org/chromium/base/ThreadUtils.java:151: * Set the ...
7 years, 11 months ago (2013-01-09 12:57:57 UTC) #10
Wei James(wistoch)
bulach, thanks for the comments. all addressed except the #elif issue. thanks https://chromiumcodereview.appspot.com/11729002/diff/5002/base/android/java/src/org/chromium/base/ThreadUtils.java File base/android/java/src/org/chromium/base/ThreadUtils.java ...
7 years, 11 months ago (2013-01-10 08:30:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/james.wei@intel.com/11729002/15001
7 years, 11 months ago (2013-01-10 08:31:26 UTC) #12
commit-bot: I haz the power
Presubmit check for 11729002-15001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-10 08:31:29 UTC) #13
Wei James(wistoch)
jar or mark, could you help to review this patch as base/ OWNER? thanks
7 years, 11 months ago (2013-01-10 08:33:52 UTC) #14
Wei James(wistoch)
no base/OWNER response. +willchan willchan, could you kindly review this patch as base OWNER? thanks
7 years, 11 months ago (2013-01-23 05:07:51 UTC) #15
Mark Mentovai
LGTM with this change. https://chromiumcodereview.appspot.com/11729002/diff/15001/base/threading/platform_thread_posix.cc File base/threading/platform_thread_posix.cc (right): https://chromiumcodereview.appspot.com/11729002/diff/15001/base/threading/platform_thread_posix.cc#newcode300 base/threading/platform_thread_posix.cc:300: #endif // defined(OS_ANDROID) Nit: this ...
7 years, 11 months ago (2013-01-23 13:59:19 UTC) #16
Wei James(wistoch)
mark, thanks for your kind review. https://chromiumcodereview.appspot.com/11729002/diff/15001/base/threading/platform_thread_posix.cc File base/threading/platform_thread_posix.cc (right): https://chromiumcodereview.appspot.com/11729002/diff/15001/base/threading/platform_thread_posix.cc#newcode300 base/threading/platform_thread_posix.cc:300: #endif // defined(OS_ANDROID) ...
7 years, 11 months ago (2013-01-24 00:41:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/james.wei@intel.com/11729002/22001
7 years, 11 months ago (2013-01-24 00:43:25 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-24 01:09:49 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/james.wei@intel.com/11729002/25003
7 years, 11 months ago (2013-01-24 03:00:22 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-24 03:25:09 UTC) #21
Wei James(wistoch)
bulach, I found the debug build always failed due to the jni definition while release ...
7 years, 10 months ago (2013-01-29 07:42:41 UTC) #22
Wei James(wistoch)
it is not a big change to seperate the definition to a seperated file(the same ...
7 years, 10 months ago (2013-01-30 01:48:10 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/james.wei@intel.com/11729002/35002
7 years, 10 months ago (2013-01-30 03:30:46 UTC) #24
commit-bot: I haz the power
7 years, 10 months ago (2013-01-30 06:24:51 UTC) #25
Message was sent while issue was closed.
Change committed as 179545

Powered by Google App Engine
This is Rietveld 408576698