MCPcopy Index your code
hub / github.com/cSploit/android / isRouter

Method isRouter

cSploit/src/org/csploit/android/net/Target.java:553–562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

551 }
552
553 public boolean isRouter(){
554 try{
555 return (mType == Type.ENDPOINT && mEndpoint.getAddress().equals(System.getNetwork().getGatewayAddress()));
556 }
557 catch(Exception e){
558 System.errorLogging(e);
559 }
560
561 return false;
562 }
563
564 public int getDrawableResourceId(){
565 try{

Callers 2

getDrawableResourceIdMethod · 0.95
isAllowedTargetMethod · 0.80

Calls 5

getNetworkMethod · 0.95
errorLoggingMethod · 0.95
equalsMethod · 0.45
getAddressMethod · 0.45
getGatewayAddressMethod · 0.45

Tested by

no test coverage detected