From 74678f3b29ff2018b45a05e7c047088067179ea6 Mon Sep 17 00:00:00 2001 From: Stephen Date: Wed, 4 Apr 2018 08:30:02 -0700 Subject: [PATCH] Adding more APIs to greylist Test: None bug: 74066078 Change-Id: I029754dba43f83d6aff941c02ba1caa7fdd1e18c --- config/hiddenapi-light-greylist.txt | 5 +++++ config/hiddenapi-vendor-list.txt | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/hiddenapi-light-greylist.txt b/config/hiddenapi-light-greylist.txt index ee75edeaa116f..36cb49c94fd51 100644 --- a/config/hiddenapi-light-greylist.txt +++ b/config/hiddenapi-light-greylist.txt @@ -1183,6 +1183,9 @@ Landroid/net/NetworkTemplate;->buildTemplateWifi()Landroid/net/NetworkTemplate; Landroid/net/Proxy;->getProxy(Landroid/content/Context;Ljava/lang/String;)Ljava/net/Proxy; Landroid/net/ProxyInfo;->(Ljava/lang/String;ILjava/lang/String;)V Landroid/net/SntpClient;->()V +Landroid/net/StaticIpConfiguration;->gateway:Ljava/net/InetAddress; +Landroid/net/StaticIpConfiguration;->ipAddress:Landroid/net/LinkAddress; +Landroid/net/StaticIpConfiguration;->()V Landroid/net/SSLCertificateSocketFactory;->castToOpenSSLSocket(Ljava/net/Socket;)Lcom/android/org/conscrypt/OpenSSLSocketImpl; Landroid/net/SSLCertificateSocketFactory;->getAlpnSelectedProtocol(Ljava/net/Socket;)[B Landroid/net/SSLCertificateSocketFactory;->getDelegate()Ljavax/net/ssl/SSLSocketFactory; @@ -1255,6 +1258,8 @@ Landroid/net/wifi/WifiConfiguration;->apChannel:I Landroid/net/wifi/WifiConfiguration;->defaultGwMacAddress:Ljava/lang/String; Landroid/net/wifi/WifiConfiguration;->lastConnectUid:I Landroid/net/wifi/WifiConfiguration;->mIpConfiguration:Landroid/net/IpConfiguration; +Landroid/net/wifi/WifiConfiguration;->setIpAssignment(Landroid/net/IpConfiguration$IpAssignment;)V +Landroid/net/wifi/WifiConfiguration;->setStaticIpConfiguration(Landroid/net/StaticIpConfiguration;)V Landroid/net/wifi/WifiConfiguration;->validatedInternetAccess:Z Landroid/net/wifi/WifiEnterpriseConfig;->getCaCertificateAlias()Ljava/lang/String; Landroid/net/wifi/WifiEnterpriseConfig;->getClientCertificateAlias()Ljava/lang/String; diff --git a/config/hiddenapi-vendor-list.txt b/config/hiddenapi-vendor-list.txt index f3bc206090c99..51d7dee3664d4 100644 --- a/config/hiddenapi-vendor-list.txt +++ b/config/hiddenapi-vendor-list.txt @@ -312,9 +312,7 @@ Landroid/net/SntpClient;->getRoundTripTime()J Landroid/net/SntpClient;->requestTime(Ljava/lang/String;I)Z Landroid/net/StaticIpConfiguration;->dnsServers:Ljava/util/ArrayList; Landroid/net/StaticIpConfiguration;->domains:Ljava/lang/String; -Landroid/net/StaticIpConfiguration;->gateway:Ljava/net/InetAddress; Landroid/net/StaticIpConfiguration;->getRoutes(Ljava/lang/String;)Ljava/util/List; -Landroid/net/StaticIpConfiguration;->ipAddress:Landroid/net/LinkAddress; Landroid/net/StringNetworkSpecifier;->specifier:Ljava/lang/String; Landroid/net/TrafficStats;->getMobileTcpRxPackets()J Landroid/net/TrafficStats;->getMobileTcpTxPackets()J