diff options
author | kholoud mohamed <kholoudm@google.com> | 2021-02-05 14:29:57 +0000 |
---|---|---|
committer | kholoud mohamed <kholoudm@google.com> | 2021-02-11 13:58:31 +0000 |
commit | c5616b51d1cdbfa6059144aa183b4cb0e1f306ca (patch) | |
tree | 06dd5eed0d14202fbebfce7c9261cd7d29f8edeb /core/api/test-current.txt | |
parent | 4512e77b7c2abd979822c7da0eb0bc3e26be8ede (diff) |
Exposed some testAPIs in NetworkPolicyManager
Exposed setRestrictBackground, getRestrictBackground,
and resolveNetworkId as testAPIs.
Bug: 179476736
Test: Verified that CTS tests can access the APIs.
Change-Id: Ida4603d55a30187c03e23c7af6ff229065597bab
Diffstat (limited to 'core/api/test-current.txt')
-rw-r--r-- | core/api/test-current.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/api/test-current.txt b/core/api/test-current.txt index 668b5883cbfb..bd41a184f808 100644 --- a/core/api/test-current.txt +++ b/core/api/test-current.txt @@ -989,6 +989,12 @@ package android.net { field public static final int INVALID_SECURITY_PARAMETER_INDEX = 0; // 0x0 } + public class NetworkPolicyManager { + method public boolean getRestrictBackground(); + method @NonNull public static String resolveNetworkId(@NonNull android.net.wifi.WifiConfiguration); + method public void setRestrictBackground(boolean); + } + public class NetworkStack { method public static void setServiceForTest(@Nullable android.os.IBinder); } |