/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | InterfaceConflictManagerTest.java | 22 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P; 250 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_P2P; in testUserApproved() 290 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_P2P; in testUserRejected() 330 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_P2P; in testUserApprovedWithDeferredMessages() 408 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_P2P; in testUserRejectedWithDeferredMessages() 493 Arrays.asList(Pair.create(HalDeviceManager.HDM_CREATE_IFACE_P2P, EXISTING_WS))); in testP2pInterfaceRemovalIsAutoApprovedWhenP2pIsDisconnected() 532 Arrays.asList(Pair.create(HalDeviceManager.HDM_CREATE_IFACE_P2P, EXISTING_WS))); in testP2pInterfaceRemovalNeedUserApprovalWhenP2pIsConnected() 554 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_P2P; in testReset() 610 HDM_CREATE_IFACE_P2P, mWsHelper, in testCanDeleteWithUserApproval() 621 HDM_CREATE_IFACE_P2P, mWsHelper, in testCanDeleteWithUserApproval() [all …]
|
D | HalDeviceManagerTest.java | 24 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P; 693 HDM_CREATE_IFACE_P2P, in testReplaceRequestorWs() 761 HDM_CREATE_IFACE_P2P, in testInterfaceCreationFlowIfCanDeleteWithUserApproval() 918 HDM_CREATE_IFACE_P2P, in testDisconnectedP2pTreatedAsOpportunisticAfterTimeout() 1053 runCreateSingleXxxInterfaceNoInitMode(new TestChipV1(), HDM_CREATE_IFACE_P2P, "p2p0", in testCreateP2pInterfaceNoInitModeTestChipV1() 1082 runCreateSingleXxxInterfaceNoInitMode(new TestChipV2(), HDM_CREATE_IFACE_P2P, "p2p0", in testCreateP2pInterfaceNoInitModeTestChipV2() 1110 runCreateSingleXxxInterfaceNoInitMode(new TestChipV3(), HDM_CREATE_IFACE_P2P, "p2p0", in testCreateP2pInterfaceNoInitModeTestChipV3() 1148 runCreateSingleXxxInterfaceNoInitMode(new TestChipV4(), HDM_CREATE_IFACE_P2P, "p2p0", in testCreateP2pInterfaceNoInitModeTestChipV4() 1881 assertTrue(mDut.isItPossibleToCreateIface(HDM_CREATE_IFACE_P2P, TEST_WORKSOURCE_1)); in testIsItPossibleToCreateIfaceTestChipV1() 1917 assertTrue(mDut.isItPossibleToCreateIface(HDM_CREATE_IFACE_P2P, TEST_WORKSOURCE_1)); in testIsItPossibleToCreateIfaceTestChipV1ForR() [all …]
|
D | WifiServiceImplTest.java | 11470 .thenReturn(List.of(Pair.create(HalDeviceManager.HDM_CREATE_IFACE_P2P, wsOther))) in testIsItPossibleToCreateInterface()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | InterfaceConflictManager.java | 22 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P; 178 if (existingCreateType == HDM_CREATE_IFACE_P2P in needsUserApprovalToDelete() 182 } else if (requestedCreateType == HDM_CREATE_IFACE_P2P) { in needsUserApprovalToDelete() 191 || existingCreateType == HDM_CREATE_IFACE_P2P) { in needsUserApprovalToDelete() 339 && impact.size() == 1 && impact.get(0).first == HDM_CREATE_IFACE_P2P) { in manageInterfaceConflictForStateMachine() 477 case HDM_CREATE_IFACE_P2P:
|
D | HalDeviceManager.java | 122 public static final int HDM_CREATE_IFACE_P2P = 3; field in HalDeviceManager 129 HDM_CREATE_IFACE_P2P, 138 put(HDM_CREATE_IFACE_P2P, WifiChip.IFACE_TYPE_P2P); 146 put(WifiChip.IFACE_CONCURRENCY_TYPE_P2P, HDM_CREATE_IFACE_P2P); 393 WifiP2pIface iface = (WifiP2pIface) createIface(HDM_CREATE_IFACE_P2P, in createP2pIface() 998 HDM_CREATE_IFACE_P2P, HDM_CREATE_IFACE_NAN}; 1100 case HDM_CREATE_IFACE_P2P: in getIfaceTypeToString() 1281 ifaceInfo.createType = HDM_CREATE_IFACE_P2P; in getAllChipInfo() 1326 chipInfo.ifaces[HDM_CREATE_IFACE_P2P] = p2pIfaces; in getAllChipInfo() 2091 if (requestedCreateType == HDM_CREATE_IFACE_P2P) { in allowedToDelete() [all …]
|
D | WifiShellCommand.java | 36 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P; 1710 interfaceType = HDM_CREATE_IFACE_P2P; in onCommand() 1734 put(HDM_CREATE_IFACE_P2P, "DIRECT"); in onCommand()
|
D | WifiNative.java | 25 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P; 3815 put(HDM_CREATE_IFACE_P2P, 1);
|
D | WifiServiceImpl.java | 56 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P; 7891 put(HDM_CREATE_IFACE_P2P, WIFI_INTERFACE_TYPE_DIRECT); 7898 put(WIFI_INTERFACE_TYPE_DIRECT, HDM_CREATE_IFACE_P2P);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 19 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P; 246 if (mHalDeviceManager.isItPossibleToCreateIface(HDM_CREATE_IFACE_P2P, in setupInterface()
|
D | WifiP2pServiceImpl.java | 2903 HalDeviceManager.HDM_CREATE_IFACE_P2P, requestorWs)) { in setupInterface() 2956 mP2pDisabledState, HalDeviceManager.HDM_CREATE_IFACE_P2P, in processMessageImpl() 3032 mP2pDisabledState, HalDeviceManager.HDM_CREATE_IFACE_P2P, in processMessageImpl()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pNativeTest.java | 235 eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), eq(mWorkSourceMock))).thenReturn(true); in testSetupInterfaceFailureInCreatingP2pIfaceByWifiNative() 255 eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), eq(mWorkSourceMock))).thenReturn(false); in testSetupInterfaceFailureInCreatingP2pByWifiNativeAndHalDevMgrNotPossiblyCreate()
|
D | WifiP2pServiceImplTest.java | 1463 any(), any(), eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), any(), anyBoolean())) in setUpWifiP2pServiceImpl() 2917 any(), any(), eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), any(), anyBoolean())) in testStartListenAndSetChannelFailureWithDefaultStateHandling() 7344 any(), any(), eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), any(), anyBoolean())) in runTestP2pWithUserApproval() 7360 eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), any(), anyBoolean()); in runTestP2pWithUserApproval() 7364 any(), any(), eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), any(), anyBoolean())) in runTestP2pWithUserApproval() 7426 any(), any(), eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), any(), anyBoolean())) in testInterfaceConflictManagerResetIfWifiTurnedOff() 7443 eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), any(), anyBoolean()); in testInterfaceConflictManagerResetIfWifiTurnedOff() 7450 any(), any(), eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), any(), anyBoolean())) in testInterfaceConflictManagerResetIfWifiTurnedOff()
|