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

Issue 2078473002: Android: Camera2 implementation and tests for it. (Closed)

Created:
4 years, 6 months ago by sakal
Modified:
4 years, 5 months ago
Reviewers:
magjed_webrtc
CC:
tterriberry_mozilla.com, webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@enumerator_change
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Android: Camera2 implementation and tests for it. BUG=webrtc:5519 R=magjed@webrtc.org Committed: https://crrev.com/8cf2a3a3ad2fc635d20a9912ad8a7a80e4c0c523 Cr-Commit-Position: refs/heads/master@{#13320}

Patch Set 1 : WIP #

Patch Set 2 : Remove useless imports. #

Patch Set 3 : Camera2Enumerator constructor should be public. #

Patch Set 4 : Longer delimeter. #

Total comments: 44

Patch Set 5 : Changes according to magjed's comments #1 #

Total comments: 4

Patch Set 6 : Remove exception capturing in switchCamera. #

Patch Set 7 : Add override annotations in Camera2Enumerator. #

Patch Set 8 : Make stopCapture non-blocking. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1184 lines, -31 lines) Patch
A + webrtc/api/androidtests/src/org/webrtc/Camera2CapturerTest.java View 1 2 chunks +129 lines, -5 lines 0 comments Download
M webrtc/api/java/android/org/webrtc/Camera1Enumerator.java View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
A webrtc/api/java/android/org/webrtc/Camera2Capturer.java View 1 2 3 4 5 6 7 1 chunk +926 lines, -0 lines 1 comment Download
M webrtc/api/java/android/org/webrtc/Camera2Enumerator.java View 1 2 3 4 5 6 5 chunks +127 lines, -24 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 46 (22 generated)
sakal
PTAL
4 years, 6 months ago (2016-06-17 08:08:53 UTC) #3
sakal
nisse, PTAL
4 years, 6 months ago (2016-06-20 08:38:01 UTC) #5
nisse-webrtc
I don't think I can't review this properly. I was a bit confused by the ...
4 years, 6 months ago (2016-06-20 09:18:39 UTC) #6
sakal
On 2016/06/20 09:18:39, nisse-webrtc wrote: > I don't think I can't review this properly. > ...
4 years, 6 months ago (2016-06-20 09:23:45 UTC) #7
nisse-webrtc
On 2016/06/20 09:23:45, sakal wrote: > On 2016/06/20 09:18:39, nisse-webrtc wrote: > > I don't ...
4 years, 6 months ago (2016-06-20 09:49:52 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/2078473002/diff/60001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java File webrtc/api/java/android/org/webrtc/Camera2Capturer.java (right): https://codereview.webrtc.org/2078473002/diff/60001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java#newcode50 webrtc/api/java/android/org/webrtc/Camera2Capturer.java:50: private final static Object STOP_TIMEOUT_RUNNABLE_TOKEN = "STOP_TIMEOUT_RUNNABLE_TOKEN"; What's the ...
4 years, 5 months ago (2016-06-27 10:33:24 UTC) #10
sakal
https://codereview.webrtc.org/2078473002/diff/60001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java File webrtc/api/java/android/org/webrtc/Camera2Capturer.java (right): https://codereview.webrtc.org/2078473002/diff/60001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java#newcode50 webrtc/api/java/android/org/webrtc/Camera2Capturer.java:50: private final static Object STOP_TIMEOUT_RUNNABLE_TOKEN = "STOP_TIMEOUT_RUNNABLE_TOKEN"; On 2016/06/27 ...
4 years, 5 months ago (2016-06-27 12:08:28 UTC) #14
magjed_webrtc
https://codereview.webrtc.org/2078473002/diff/60001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java File webrtc/api/java/android/org/webrtc/Camera2Capturer.java (right): https://codereview.webrtc.org/2078473002/diff/60001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java#newcode528 webrtc/api/java/android/org/webrtc/Camera2Capturer.java:528: consecutiveCameraOpenFailures++; On 2016/06/27 12:08:27, sakal wrote: > On 2016/06/27 ...
4 years, 5 months ago (2016-06-27 13:18:38 UTC) #15
sakal
https://codereview.webrtc.org/2078473002/diff/140001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java File webrtc/api/java/android/org/webrtc/Camera2Capturer.java (right): https://codereview.webrtc.org/2078473002/diff/140001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java#newcode677 webrtc/api/java/android/org/webrtc/Camera2Capturer.java:677: public void switchCamera(final CameraSwitchHandler switchEventsHandler) { On 2016/06/27 13:18:38, ...
4 years, 5 months ago (2016-06-27 13:54:09 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2078473002/160001
4 years, 5 months ago (2016-06-27 13:54:40 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14494)
4 years, 5 months ago (2016-06-27 14:02:04 UTC) #20
magjed_webrtc
lgtm. Ship it!
4 years, 5 months ago (2016-06-27 14:46:16 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2078473002/160001
4 years, 5 months ago (2016-06-28 07:07:44 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14543) presubmit on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 5 months ago (2016-06-28 07:16:55 UTC) #25
sakal
Tommi, can you take a look please? I think your approval is needed because of ...
4 years, 5 months ago (2016-06-28 11:24:45 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2078473002/180001
4 years, 5 months ago (2016-06-28 15:03:05 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_gn_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_gn_rel/builds/10484)
4 years, 5 months ago (2016-06-28 15:05:24 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2078473002/200001
4 years, 5 months ago (2016-06-28 15:07:01 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14560)
4 years, 5 months ago (2016-06-28 15:16:56 UTC) #36
sakal
I made the stopCapture non-blocking. PTAL
4 years, 5 months ago (2016-06-29 09:13:10 UTC) #38
magjed_webrtc
lgtm https://codereview.webrtc.org/2078473002/diff/220001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java File webrtc/api/java/android/org/webrtc/Camera2Capturer.java (right): https://codereview.webrtc.org/2078473002/diff/220001/webrtc/api/java/android/org/webrtc/Camera2Capturer.java#newcode678 webrtc/api/java/android/org/webrtc/Camera2Capturer.java:678: public void switchCamera(final CameraSwitchHandler switchEventsHandler) { I think ...
4 years, 5 months ago (2016-06-29 09:48:21 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2078473002/220001
4 years, 5 months ago (2016-06-29 09:49:33 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14586)
4 years, 5 months ago (2016-06-29 09:58:48 UTC) #43
sakal
4 years, 5 months ago (2016-06-29 11:27:56 UTC) #45
Message was sent while issue was closed.
Committed patchset #8 (id:220001) manually as
8cf2a3a3ad2fc635d20a9912ad8a7a80e4c0c523 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698