summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebView.java
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2011-07-21 11:52:19 -0700
committerChris Craik <ccraik@google.com>2011-07-21 14:22:55 -0700
commit21555abad7ba5f5377052e2644974d3ce8c37869 (patch)
treea19eedb1b8880e2f747f1adcc525c7fe03ff31f3 /core/java/android/webkit/WebView.java
parentd2ceb321ea38fb5df3a14746cf52c181f9679a45 (diff)
downloadframeworks_base-21555abad7ba5f5377052e2644974d3ce8c37869.zip
frameworks_base-21555abad7ba5f5377052e2644974d3ce8c37869.tar.gz
frameworks_base-21555abad7ba5f5377052e2644974d3ce8c37869.tar.bz2
New log format, Manual log generation, plus logging of invalidates
bug:5062896 Added features to TileProfiler, updated jni interface to allow querying of arbitrary log data via strings. Depends on the following webkit change: https://android-git.corp.google.com/g/#change,122779 For new logging jni interface, and logging of invalidates. Change-Id: I80ba6702b87e86ec76e5b0eafde45f4ef3a80ad3
Diffstat (limited to 'core/java/android/webkit/WebView.java')
-rw-r--r--core/java/android/webkit/WebView.java22
1 files changed, 6 insertions, 16 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index b22c57b..8cd93de 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -9119,20 +9119,12 @@ public class WebView extends AbsoluteLayout
return nativeTileProfilingNumTilesInFrame(frame);
}
/** @hide only used by profiling tests */
- public int tileProfilingGetX(int frame, int tile) {
- return nativeTileProfilingGetX(frame, tile);
+ public int tileProfilingGetInt(int frame, int tile, String key) {
+ return nativeTileProfilingGetInt(frame, tile, key);
}
/** @hide only used by profiling tests */
- public int tileProfilingGetY(int frame, int tile) {
- return nativeTileProfilingGetY(frame, tile);
- }
- /** @hide only used by profiling tests */
- public boolean tileProfilingGetReady(int frame, int tile) {
- return nativeTileProfilingGetReady(frame, tile);
- }
- /** @hide only used by profiling tests */
- public int tileProfilingGetLevel(int frame, int tile) {
- return nativeTileProfilingGetLevel(frame, tile);
+ public float tileProfilingGetFloat(int frame, int tile, String key) {
+ return nativeTileProfilingGetFloat(frame, tile, key);
}
private native int nativeCacheHitFramePointer();
@@ -9262,10 +9254,8 @@ public class WebView extends AbsoluteLayout
private native void nativeTileProfilingClear();
private native int nativeTileProfilingNumFrames();
private native int nativeTileProfilingNumTilesInFrame(int frame);
- private native int nativeTileProfilingGetX(int frame, int tile);
- private native int nativeTileProfilingGetY(int frame, int tile);
- private native boolean nativeTileProfilingGetReady(int frame, int tile);
- private native int nativeTileProfilingGetLevel(int frame, int tile);
+ private native int nativeTileProfilingGetInt(int frame, int tile, String key);
+ private native float nativeTileProfilingGetFloat(int frame, int tile, String key);
// Never call this version except by updateCachedTextfield(String) -
// we always want to pass in our generation number.
private native void nativeUpdateCachedTextfield(String updatedText,