|
Rewrite the Android implementation of BatteryMonitor directly in Java.
This patch introduces a standalone Android implementation of the BatteryMonitor
service. New implementation is written in Java without any JNI code, and is made
available in the render process host using the Java ServiceRegistry.
BUG= 420623
Committed: https://crrev.com/1dfc74724f2acfefbb4d783c65511d6a3f74cd9f
Cr-Commit-Position: refs/heads/master@{#309029}
Total comments: 5
Total comments: 7
Total comments: 2
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+387 lines, -354 lines) |
Patch |
 |
M |
android_webview/java_library_common.mk
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/libwebviewchromium.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/app/android/library_loader_hooks.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/browser_jni_registrar.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/mojo/mojo_application_host.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/mojo/service_registrar_android.h
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/mojo/service_registrar_android.cc
|
View
|
1
2
3
4
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/mojo/service_registry_android.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_jni.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/DEPS
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/public/android/java/src/org/chromium/content/browser/ServiceRegistrar.java
|
View
|
1
2
3
4
5
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_mojo_test_utils_android.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
device/battery/BUILD.gn
|
View
|
1
2
3
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
device/battery/android/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
D |
device/battery/android/battery_jni_registrar.h
|
View
|
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
D |
device/battery/android/battery_jni_registrar.cc
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
A |
device/battery/android/java/src/org/chromium/device/battery/BatteryMonitorFactory.java
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/battery/android/java/src/org/chromium/device/battery/BatteryMonitorImpl.java
|
View
|
1
2
3
4
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/battery/android/java/src/org/chromium/device/battery/BatteryStatusManager.java
|
View
|
1
2
3
4
5
6
|
4 chunks |
+50 lines, -64 lines |
0 comments
|
Download
|
 |
M |
device/battery/android/javatests/src/org/chromium/device/battery/BatteryStatusManagerTest.java
|
View
|
1
2
3
4
5
6
|
7 chunks |
+44 lines, -82 lines |
0 comments
|
Download
|
 |
M |
device/battery/battery.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
4 chunks |
+31 lines, -23 lines |
0 comments
|
Download
|
 |
D |
device/battery/battery_status_manager_android.h
|
View
|
1
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
 |
D |
device/battery/battery_status_manager_android.cc
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
Total messages: 43 (22 generated)
|