MCPcopy Create free account
hub / github.com/cSploit/android / getTargetByAddress

Method getTargetByAddress

cSploit/src/org/csploit/android/core/System.java:1062–1069  ·  view source on GitHub ↗
(String address)

Source from the content-addressed store, hash-verified

1060 }
1061
1062 public static Target getTargetByAddress(String address){
1063 try {
1064 return getTargetByAddress(InetAddress.getByName(address));
1065 } catch ( UnknownHostException e) {
1066 Logger.error("cannot convert '" + address + "' to InetAddress: " + e.getMessage());
1067 }
1068 return null;
1069 }
1070
1071 public static Target getTargetByAddress(InetAddress address) {
1072 int i, size;

Callers 5

onHostFoundMethod · 0.95
onHostLostMethod · 0.95
SessionMethod · 0.95
getViewMethod · 0.95
onItemClickMethod · 0.95

Calls 4

errorMethod · 0.95
getAddressMethod · 0.95
getMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected