@@ -1451,7 +1451,7 @@ public boolean isFirewallEnabled() {
14511451 }
14521452
14531453 @ Override
1454- public void setInterfaceFirewallRule (String iface , boolean allow ) {
1454+ public void setFirewallInterfaceRule (String iface , boolean allow ) {
14551455 mContext .enforceCallingOrSelfPermission (CONNECTIVITY_INTERNAL , TAG );
14561456 Preconditions .checkState (mFirewallEnabled );
14571457 final String rule = allow ? ALLOW : DENY ;
@@ -1463,7 +1463,7 @@ public void setInterfaceFirewallRule(String iface, boolean allow) {
14631463 }
14641464
14651465 @ Override
1466- public void setEgressSourceFirewallRule (String addr , boolean allow ) {
1466+ public void setFirewallEgressSourceRule (String addr , boolean allow ) {
14671467 mContext .enforceCallingOrSelfPermission (CONNECTIVITY_INTERNAL , TAG );
14681468 Preconditions .checkState (mFirewallEnabled );
14691469 final String rule = allow ? ALLOW : DENY ;
@@ -1475,7 +1475,7 @@ public void setEgressSourceFirewallRule(String addr, boolean allow) {
14751475 }
14761476
14771477 @ Override
1478- public void setEgressDestFirewallRule (String addr , int port , boolean allow ) {
1478+ public void setFirewallEgressDestRule (String addr , int port , boolean allow ) {
14791479 mContext .enforceCallingOrSelfPermission (CONNECTIVITY_INTERNAL , TAG );
14801480 Preconditions .checkState (mFirewallEnabled );
14811481 final String rule = allow ? ALLOW : DENY ;
@@ -1487,7 +1487,7 @@ public void setEgressDestFirewallRule(String addr, int port, boolean allow) {
14871487 }
14881488
14891489 @ Override
1490- public void setUidFirewallRule (int uid , boolean allow ) {
1490+ public void setFirewallUidRule (int uid , boolean allow ) {
14911491 mContext .enforceCallingOrSelfPermission (CONNECTIVITY_INTERNAL , TAG );
14921492 Preconditions .checkState (mFirewallEnabled );
14931493 final String rule = allow ? ALLOW : DENY ;
0 commit comments