Home
last modified time | relevance | path

Searched refs:operatingChannel (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pShellCommand.java322 int listeningChannel, operatingChannel; in handleCommand() local
325 operatingChannel = Integer.parseInt(getNextArgRequired()); in handleCommand()
332 if (listeningChannel < 0 || operatingChannel < 0) { in handleCommand()
338 listeningChannel, operatingChannel, actionListener); in handleCommand()
DISupplicantP2pIfaceHal.java362 boolean setOperatingChannel(int operatingChannel, in setOperatingChannel() argument
DSupplicantP2pIfaceHal.java663 public boolean setOperatingChannel(int operatingChannel, in setOperatingChannel() argument
670 return mP2pIfaceHal.setOperatingChannel(operatingChannel, unsafeChannels); in setOperatingChannel()
DSupplicantP2pIfaceHalAidlImpl.java1447 public boolean setOperatingChannel(int operatingChannel, in setOperatingChannel() argument
1459 if (operatingChannel >= 1 && operatingChannel <= 165) { in setOperatingChannel()
1460 int freq = (operatingChannel <= 14 ? 2407 : 5000) + operatingChannel * 5; in setOperatingChannel()
DSupplicantP2pIfaceHalHidlImpl.java1559 public boolean setOperatingChannel(int operatingChannel, in setOperatingChannel() argument
1566 if (operatingChannel >= 1 && operatingChannel <= 165) { in setOperatingChannel()
1567 int freq = (operatingChannel <= 14 ? 2407 : 5000) + operatingChannel * 5; in setOperatingChannel()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pShellCommandTest.java281 final int listeningChannel = 6, operatingChannel = 149; in testP2pSetChannels() local
284 Integer.toString(operatingChannel)); in testP2pSetChannels()
286 eq(listeningChannel), eq(operatingChannel), any()); in testP2pSetChannels()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java2558 int operatingChannel, @Nullable ActionListener listener) { in setWifiP2pChannels() argument
2562 p2pChannels.putInt("oc", operatingChannel); in setWifiP2pChannels()