Lines Matching refs:iface

66     private native boolean connectToSupplicant(String iface);
68 private native void closeSupplicantConnection(String iface);
74 private native String waitForEvent(String iface);
76 private native boolean doBooleanCommand(String iface, String command);
78 private native int doIntCommand(String iface, String command);
80 private native String doStringCommand(String iface, String command);
82 public WifiNative(String iface) {
83 mInterface = iface;
84 mTAG = "WifiNative-" + iface;
404 public boolean startWpsPbc(String iface, String bssid) {
406 return doBooleanCommand("WPS_PBC interface=" + iface);
408 return doBooleanCommand("WPS_PBC interface=" + iface + " " + bssid);
417 public boolean startWpsPinKeypad(String iface, String pin) {
419 return doBooleanCommand("WPS_PIN interface=" + iface + " any " + pin);
431 public String startWpsPinDisplay(String iface, String bssid) {
433 return doStringCommand("WPS_PIN interface=" + iface + " any");
435 return doStringCommand("WPS_PIN interface=" + iface + " " + bssid);
486 public boolean setP2pGroupIdle(String iface, int time) {
487 return doBooleanCommand("SET interface=" + iface + " p2p_group_idle " + time);
498 public boolean setP2pPowerSave(String iface, boolean enabled) {
500 return doBooleanCommand("P2P_SET interface=" + iface + " ps 1");
502 return doBooleanCommand("P2P_SET interface=" + iface + " ps 0");
638 public boolean p2pGroupRemove(String iface) {
639 if (TextUtils.isEmpty(iface)) return false;
640 return doBooleanCommand("P2P_GROUP_REMOVE " + iface);