am 3adf7678: Merge change 4184 into donut

Merge commit '3adf7678cdf8fa955627e096bb5c27b94adc3079'

* commit '3adf7678cdf8fa955627e096bb5c27b94adc3079':
  Add permission test structure for private framework permissions.
  Add <keygen> support for VPN.
This commit is contained in:
Android (Google) Code Review
2009-06-15 11:39:39 -07:00
committed by The Android Open Source Project
4 changed files with 75 additions and 0 deletions

View File

@@ -222,6 +222,21 @@ final class JWebCoreJavaBridge extends Handler {
mHasDeferredTimers = false;
}
private String[] getKeyStrengthList() {
// FIXME: fake the list for now
String[] list = new String[2];
list[0] = "1024";
list[1] = "512";
return list;
}
private String getSignedPublicKey(int index, String challenge, String url) {
// FIXME: do nothing for now
Log.w(LOGTAG, "getSignedPublicKey for " + index + " and challenge="
+ challenge + " and url=" + url);
return "";
}
private native void nativeConstructor();
private native void nativeFinalize();
private native void sharedTimerFired();