Home
last modified time | relevance | path

Searched refs:setNetworkId (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pMetricsTest.java245 group1.setNetworkId(1); in updatePersistentGroup()
247 group2.setNetworkId(2); in updatePersistentGroup()
249 group3.setNetworkId(4); in updatePersistentGroup()
267 group.setNetworkId(1); in updateGroupEvent()
304 group.setNetworkId(1); in updateGroupEventWithNoCurrentGroup()
334 group.setNetworkId(1); in updateGroupEventWithDifferentGroup()
336 group.setNetworkId(2); in updateGroupEventWithDifferentGroup()
DWifiP2pServiceImplTest.java335 mTestWifiP2pNewPersistentGoGroup.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in generatorTestData()
343 group1.setNetworkId(0); in generatorTestData()
350 group2.setNetworkId(1); in generatorTestData()
357 group3.setNetworkId(2); in generatorTestData()
1634 group.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in mockEnterGroupCreatedState()
3452 group.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in testEndConnectionEventWhenGroupFormed()
3484 group.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in testOnClientsChangedOnApStaConnection()
3541 group.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in testApStaConnectedDisconnectedEventWithEapolIPAddress()
3758 group.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in testFrequencyConflictDialogDismissedOnStateExit()
6515 group.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in testGroupCreatingFailureDueToTethering()
[all …]
DWifiP2pNativeTest.java123 group.setNetworkId(networkId); in createP2pGroup()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java150 info.setNetworkId(TEST_NETWORK_ID); in makeWifiInfoForRedactionTest()
610 .setNetworkId(TEST_NETWORK_ID); in testWifiInfoBuilder()
620 .setNetworkId(TEST_NETWORK_ID2) in testWifiInfoBuilder()
666 .setNetworkId(TEST_NETWORK_ID); in testWifiInfoEquals()
706 .setNetworkId(TEST_NETWORK_ID); in testWifiInfoEqualsWithInfoElements()
734 .setNetworkId(TEST_NETWORK_ID); in testWifiInfoHashcode()
774 .setNetworkId(TEST_NETWORK_ID) in testWifiInfoCurrentSecurityType()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlImpl.java295 group.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in onGroupStarted()
297 group.setNetworkId(WifiP2pGroup.NETWORK_ID_TEMPORARY); in onGroupStarted()
346 group.setNetworkId(persistentNetworkId); in onInvitationReceived()
DSupplicantP2pIfaceCallbackAidlImpl.java328 group.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in onGroupStarted()
330 group.setNetworkId(WifiP2pGroup.NETWORK_ID_TEMPORARY); in onGroupStarted()
433 group.setNetworkId(persistentNetworkId); in handleInvitationReceivedEvent()
DSupplicantP2pIfaceHalAidlImpl.java2083 group.setNetworkId(networkId); in loadGroups()
DSupplicantP2pIfaceHalHidlImpl.java2194 group.setNetworkId(networkId); in loadGroups()
DWifiP2pServiceImpl.java4618 mGroup.setNetworkId(mGroups.getNetworkId(devAddr, in processMessageImpl()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pGroup.java384 public void setNetworkId(int netId) { in setNetworkId() method in WifiP2pGroup
505 group.setNetworkId(in.readInt());
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java526 setNetworkId(-1); in reset()
730 public Builder setNetworkId(int networkId) { in setNetworkId() method in WifiInfo.Builder
731 mWifiInfo.setNetworkId(networkId); in setNetworkId()
1418 public void setNetworkId(int id) { in setNetworkId() method in WifiInfo
1683 info.setNetworkId(in.readInt());
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pGroupTest.java69 group.setNetworkId(NETWORK_ID); in testSetterGetter()
DWifiP2pGroupListTest.java52 group.setNetworkId(networkId); in createGroup()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java80 shadowWifiInfo.setNetworkId(wifiConfiguration.networkId); in connect()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMultiInternetManagerTest.java151 mPrimaryInfo.setNetworkId(TEST_NETWORK_ID1); in setUp()
157 mSecondaryInfo.setNetworkId(TEST_NETWORK_ID2); in setUp()
DWifiScoreCardTest.java147 mWifiInfo.setNetworkId(TEST_NETWORK_CONFIG_ID); in setUp()
DWifiServiceImplTest.java2998 wifiInfo.setNetworkId(TEST_NETWORK_ID); in setupForGetConnectionInfo()
8103 wifiInfo.setNetworkId(captivePortalConfig.networkId); in addOrUpdatePasspointConfigDisconnectsCaptivePortal()
10345 wifiInfo.setNetworkId(testConfig.networkId); in testGetPrivilegedConnectedNetworkSuccess()
11284 wifiInfo.setNetworkId(TEST_NETWORK_ID); in testNotifyWifiSsidPolicyChangedWithAllowlistRestriction()
11312 wifiInfo.setNetworkId(TEST_NETWORK_ID); in testNotifyWifiSsidPolicyChangedWithDenylistRestriction()
11365 wifiInfo.setNetworkId(TEST_NETWORK_ID); in testNotifyWifiSsidPolicyChangedWithSsidRestrictionForOsu()
DWifiConnectivityManagerTest.java600 wifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in getWifiInfo()
1496 wifiInfo.setNetworkId(configuration.networkId); in mockClientManagerInfo()
DClientModeImplTest.java945 mWifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in canSaveAdminRestrictedNetworkWithoutConnecting()
965 mWifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in canSaveDeprecatedSecurityTypeNetworkWithoutConnecting()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3225 mWifiInfo.setNetworkId(stateChangeResult.networkId); in handleSupplicantStateChange()
3245 mWifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in handleSupplicantStateChange()
3290 mWifiInfo.setNetworkId(connectionInfo.networkId); in handleNetworkConnectionEventInfo()
DWifiMetrics.java941 public void setNetworkId(int networkId) { in setNetworkId() method in WifiMetrics.WifiStatusBuilder
3306 mWifiStatusBuilder.setNetworkId(wifiInfo.getNetworkId()); in handlePollResult()
/packages/modules/Wifi/framework/api/
Dcurrent.txt431 method @NonNull public android.net.wifi.WifiInfo.Builder setNetworkId(int);