Lines Matching refs:config
849 public String p2pConnect(WifiP2pConfig config, boolean joinExistingGroup) {
850 if (config == null) return null;
852 WpsInfo wps = config.wps;
853 args.add(config.deviceAddress);
878 if (config.netId == WifiP2pGroup.PERSISTENT_NET_ID) {
887 int groupOwnerIntent = config.groupOwnerIntent;
904 public boolean p2pProvisionDiscovery(WifiP2pConfig config) {
905 if (config == null) return false;
907 switch (config.wps.setup) {
909 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " pbc");
912 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " keypad");
915 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " display");