Searched refs:WebMessagePortCompat (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/ |
D | PostMessageTest.java | 28 import androidx.webkit.WebMessagePortCompat.WebMessageCallbackCompat; 156 final WebMessagePortCompat[] channel = mOnUiThread.createWebMessageChannelCompat(); in testMessageChannel() 158 new WebMessageCompat(WEBVIEW_MESSAGE, new WebMessagePortCompat[]{channel[1]}); in testMessageChannel() 170 public void onMessage(WebMessagePortCompat port, WebMessageCompat message) { in testMessageChannel() 189 final WebMessagePortCompat[] channel = mOnUiThread.createWebMessageChannelCompat(); in testClose() 191 new WebMessageCompat(WEBVIEW_MESSAGE, new WebMessagePortCompat[]{channel[1]}); in testClose() 234 final WebMessagePortCompat[] channel = mOnUiThread.createWebMessageChannelCompat(); in testReceiveMessagePort() 236 new WebMessageCompat(WEBVIEW_MESSAGE, new WebMessagePortCompat[]{channel[1]}); in testReceiveMessagePort() 243 public void onMessage(WebMessagePortCompat port, WebMessageCompat message) { in testReceiveMessagePort()
|
D | WebViewOnUiThread.java | 121 public WebMessagePortCompat[] createWebMessageChannelCompat() { in createWebMessageChannelCompat() 122 return getValue(new ValueGetter<WebMessagePortCompat[]>() { in createWebMessageChannelCompat() 124 public WebMessagePortCompat[] capture() { in createWebMessageChannelCompat()
|
/frameworks/support/webkit/src/main/java/androidx/webkit/internal/ |
D | WebMessagePortImpl.java | 27 import androidx.webkit.WebMessagePortCompat; 34 public class WebMessagePortImpl extends WebMessagePortCompat { 103 public static WebMessagePortCompat[] portsToCompat(WebMessagePort[] ports) { in portsToCompat() 105 WebMessagePortCompat[] compatPorts = new WebMessagePortCompat[ports.length]; in portsToCompat() 116 public static WebMessagePort[] compatToPorts(WebMessagePortCompat[] compatPorts) { in compatToPorts()
|
/frameworks/support/webkit/src/main/java/androidx/webkit/ |
D | WebMessageCompat.java | 29 private WebMessagePortCompat[] mPorts; 44 public WebMessageCompat(@Nullable String data, @Nullable WebMessagePortCompat[] ports) { in WebMessageCompat() 61 public WebMessagePortCompat[] getPorts() { in getPorts()
|
D | WebMessagePortCompat.java | 54 public abstract class WebMessagePortCompat { class 71 public void onMessage(@NonNull WebMessagePortCompat port, in onMessage() 79 public WebMessagePortCompat() { } in WebMessagePortCompat() method in WebMessagePortCompat
|
D | WebViewCompat.java | 347 public static @NonNull WebMessagePortCompat[] createWebMessageChannel( in createWebMessageChannel()
|
/frameworks/support/webkit/api/ |
D | current.txt | 33 ctor public WebMessageCompat(java.lang.String, androidx.webkit.WebMessagePortCompat[]); 35 method public androidx.webkit.WebMessagePortCompat[] getPorts(); 38 public abstract class WebMessagePortCompat { 41 …method public abstract void setWebMessageCallback(androidx.webkit.WebMessagePortCompat.WebMessageC… 42 …ct void setWebMessageCallback(android.os.Handler, androidx.webkit.WebMessagePortCompat.WebMessageC… 45 public static abstract class WebMessagePortCompat.WebMessageCallbackCompat { 46 ctor public WebMessagePortCompat.WebMessageCallbackCompat(); 47 …method public void onMessage(androidx.webkit.WebMessagePortCompat, androidx.webkit.WebMessageCompa… 77 …method public static androidx.webkit.WebMessagePortCompat[] createWebMessageChannel(android.webkit…
|