summaryrefslogtreecommitdiff
path: root/core/api/module-lib-current.txt
diff options
context:
space:
mode:
authorAaron Huang <huangaaron@google.com>2021-03-15 11:49:45 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-03-15 11:49:45 +0000
commit16f50075b18ed0884cdc151face8754a43c6f363 (patch)
tree85e746f82fd8cfafe1a07882f1f10c203315dad5 /core/api/module-lib-current.txt
parent4a6c12e650a5e042d2e2f3dd062d143410f7aa8f (diff)
parent5d31a15d84de61d7059b5a1211b5c7dda4d5b612 (diff)
Merge changes from topic "pacproxy-service"
* changes: Make PacProxyService be a system service Revert^2 "Refactor setCurrentProxyScriptUrl to a void method"
Diffstat (limited to 'core/api/module-lib-current.txt')
-rw-r--r--core/api/module-lib-current.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/api/module-lib-current.txt b/core/api/module-lib-current.txt
index 7c6ff8ede3cc..992b57f356c5 100644
--- a/core/api/module-lib-current.txt
+++ b/core/api/module-lib-current.txt
@@ -58,6 +58,16 @@ package android.net {
method @Nullable public byte[] getWatchlistConfigHash();
}
+ public class PacProxyManager {
+ method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void addPacProxyInstalledListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.PacProxyManager.PacProxyInstalledListener);
+ method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void removePacProxyInstalledListener(@NonNull android.net.PacProxyManager.PacProxyInstalledListener);
+ method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setCurrentProxyScriptUrl(@Nullable android.net.ProxyInfo);
+ }
+
+ public static interface PacProxyManager.PacProxyInstalledListener {
+ method public void onPacProxyInstalled(@Nullable android.net.Network, @NonNull android.net.ProxyInfo);
+ }
+
public final class Proxy {
method public static void setHttpProxyConfiguration(@Nullable android.net.ProxyInfo);
}