Home
last modified time | relevance | path

Searched refs:HalDeviceManager (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DInterfaceConflictManagerTest.java19 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP;
20 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE;
21 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_NAN;
22 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P;
81 @Mock HalDeviceManager mHdm;
156 HalDeviceManager.HDM_CREATE_IFACE_NAN, TEST_WS, false)); in testUserApprovalDisabled()
179 HalDeviceManager.HDM_CREATE_IFACE_NAN, TEST_WS, false)); in testUserApprovalDisabledForSpecificPackage()
197 HalDeviceManager.HDM_CREATE_IFACE_NAN, TEST_WS, true)); in testBypassDialog()
213 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_NAN; in testUserApprovalNeededButCommandCanProceed()
250 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_P2P; in testUserApproved()
[all …]
DHalDeviceManagerTest.java19 import static com.android.server.wifi.HalDeviceManager.CHIP_CAPABILITY_ANY;
20 import static com.android.server.wifi.HalDeviceManager.HAL_IFACE_MAP;
21 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP;
22 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE;
23 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_NAN;
24 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P;
25 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_STA;
77 import com.android.server.wifi.HalDeviceManager.InterfaceDestroyedListener;
125 private HalDeviceManager mDut;
128 @Mock HalDeviceManager.ManagerStatusListener mManagerStatusListenerMock;
[all …]
DSelfRecoveryTest.java63 final ArgumentCaptor<HalDeviceManager.SubsystemRestartListener> mRestartListenerCaptor =
64 ArgumentCaptor.forClass(HalDeviceManager.SubsystemRestartListener.class);
DWifiNativeInterfaceManagementTest.java57 import com.android.server.wifi.HalDeviceManager.InterfaceDestroyedListener;
113 @Mock private HalDeviceManager mHalDeviceManager;
120 @Mock private HalDeviceManager.InterfaceDestroyedListener mTestInterfaceDestroyedListener;
1491 HalDeviceManager.InterfaceDestroyedListener p2pInterfaceDestroyedListener, in testCreateP2pIfaceAndTeardownClientIface()
1556 HalDeviceManager.InterfaceDestroyedListener interfaceDestroyedListener, in testCreateNanIfaceAndTeardownClientIface()
DWifiVendorHalTest.java19 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP;
20 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_STA;
71 import com.android.server.wifi.HalDeviceManager.InterfaceDestroyedListener;
116 private HalDeviceManager mHalDeviceManager;
DWifiApConfigStoreTest.java24 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE;
115 @Mock private HalDeviceManager mHalDeviceManager;
/packages/modules/Wifi/service/java/com/android/server/wifi/
DInterfaceConflictManager.java19 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP;
20 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE;
21 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_NAN;
22 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P;
23 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_STA;
72 private final HalDeviceManager mHdm;
96 FrameworkFacade frameworkFacade, HalDeviceManager hdm, WifiThreadRunner threadRunner, in InterfaceConflictManager()
287 @HalDeviceManager.HdmIfaceTypeForCreation int createIfaceType, WorkSource requestorWs, in manageInterfaceConflictForStateMachine()
404 @HalDeviceManager.HdmIfaceTypeForCreation int createIfaceType, in createUserApprovalDialog()
467 private String getInterfaceName(@HalDeviceManager.HdmIfaceTypeForCreation int createIfaceType) {
DWifiVendorHal.java18 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP;
19 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE;
20 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_STA;
47 import com.android.server.wifi.HalDeviceManager.InterfaceDestroyedListener;
116 private final HalDeviceManager mHalDeviceManager;
144 public WifiVendorHal(Context context, HalDeviceManager halDeviceManager, Handler handler, in WifiVendorHal()
197 HalDeviceManager.SubsystemRestartListener listener) { in registerSubsystemRestartListener()
382 long caps = HalDeviceManager.CHIP_CAPABILITY_ANY; in getNecessaryCapabilitiesForSoftApMode()
1581 @HalDeviceManager.HdmIfaceTypeForCreation int createIfaceType, in canDeviceSupportAdditionalIface()
1980 public class HalDeviceManagerStatusListener implements HalDeviceManager.ManagerStatusListener {
DWifiNative.java21 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP;
22 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE;
23 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_NAN;
24 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_STA;
25 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P;
889 implements HalDeviceManager.InterfaceDestroyedListener {
1234 HalDeviceManager.InterfaceDestroyedListener p2pInterfaceDestroyedListener, in createP2pIfaceFromHalOrGetNameFromProperty()
1253 HalDeviceManager.InterfaceDestroyedListener p2pInterfaceDestroyedListener, in createP2pIface()
1299 HalDeviceManager.InterfaceDestroyedListener nanInterfaceDestroyedListener, in createNanIface()
1420 HalDeviceManager.SubsystemRestartListener listener) { in registerSubsystemRestartListener()
DSelfRecovery.java140 implements HalDeviceManager.SubsystemRestartListener{
DWifiInjector.java209 private final HalDeviceManager mHalDeviceManager;
340 mHalDeviceManager = new HalDeviceManager(mContext, mClock, this, wifiHandler); in WifiInjector()
1010 public HalDeviceManager getHalDeviceManager() { in getHalDeviceManager()
DWifiShellCommand.java33 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP;
34 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE;
35 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_NAN;
36 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P;
37 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_STA;
214 private final HalDeviceManager mHalDeviceManager;
DWifiApConfigStore.java90 private final HalDeviceManager mHalDeviceManager;
DSoftApManager.java1303 ? HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE in processMessageImpl()
1304 : HalDeviceManager.HDM_CREATE_IFACE_AP, in processMessageImpl()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeManager.java25 import com.android.server.wifi.HalDeviceManager;
44 private HalDeviceManager mHalDeviceManager;
55 HalDeviceManager halDeviceManager, in WifiAwareNativeManager()
85 new HalDeviceManager.ManagerStatusListener() { in start()
237 HalDeviceManager.InterfaceDestroyedListener {
DWifiAwareService.java25 import com.android.server.wifi.HalDeviceManager;
58 HalDeviceManager halDeviceManager = wifiInjector.getHalDeviceManager(); in onBootPhase()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeManagerTest.java37 import com.android.server.wifi.HalDeviceManager;
61 @Mock private HalDeviceManager mHalDeviceManager;
68 private ArgumentCaptor<HalDeviceManager.ManagerStatusListener> mManagerStatusListenerCaptor =
69 ArgumentCaptor.forClass(HalDeviceManager.ManagerStatusListener.class);
70 private ArgumentCaptor<HalDeviceManager.InterfaceDestroyedListener>
72 HalDeviceManager.InterfaceDestroyedListener.class);
DWifiAwareServiceImplTest.java72 import com.android.server.wifi.HalDeviceManager;
189 any(), any(), eq(HalDeviceManager.HDM_CREATE_IFACE_NAN), any(), anyBoolean())) in setup()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java19 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_P2P;
38 import com.android.server.wifi.HalDeviceManager;
61 private final HalDeviceManager mHalDeviceManager;
87 HalDeviceManager.InterfaceDestroyedListener {
88 private final HalDeviceManager.InterfaceDestroyedListener mExternalListener;
92 HalDeviceManager.InterfaceDestroyedListener externalListener) { in InterfaceDestroyedListenerInternal()
135 HalDeviceManager halDeviceManager, in WifiP2pNative()
231 @Nullable HalDeviceManager.InterfaceDestroyedListener destroyedListener, in setupInterface()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeInterfaceManagementTest.java39 import com.android.server.wifi.HalDeviceManager;
40 import com.android.server.wifi.HalDeviceManager.InterfaceDestroyedListener;
41 import com.android.server.wifi.HalDeviceManager.ManagerStatusListener;
67 @Mock private HalDeviceManager mHalDeviceManager;
DWifiP2pNativeTest.java50 import com.android.server.wifi.HalDeviceManager;
104 @Mock private HalDeviceManager mHalDeviceManagerMock;
105 @Mock private HalDeviceManager.InterfaceDestroyedListener mDestroyedListenerMock;
136 .mockStatic(HalDeviceManager.class, withSettings().lenient()) in setUp()
161 when(mWifiNative.createP2pIface(any(HalDeviceManager.InterfaceDestroyedListener.class), in setUp()
232 any(HalDeviceManager.InterfaceDestroyedListener.class), in testSetupInterfaceFailureInCreatingP2pIfaceByWifiNative()
235 eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), eq(mWorkSourceMock))).thenReturn(true); in testSetupInterfaceFailureInCreatingP2pIfaceByWifiNative()
252 any(HalDeviceManager.InterfaceDestroyedListener.class), in testSetupInterfaceFailureInCreatingP2pByWifiNativeAndHalDevMgrNotPossiblyCreate()
255 eq(HalDeviceManager.HDM_CREATE_IFACE_P2P), eq(mWorkSourceMock))).thenReturn(false); in testSetupInterfaceFailureInCreatingP2pByWifiNativeAndHalDevMgrNotPossiblyCreate()
1026 any(HalDeviceManager.InterfaceDestroyedListener.class), in prepareDbsMock()
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java72 import com.android.server.wifi.HalDeviceManager;
107 private HalDeviceManager mHalDeviceManager;
140 private final HalDeviceManager.InterfaceRttControllerLifecycleCallback mRttLifecycleCb =
141 new HalDeviceManager.InterfaceRttControllerLifecycleCallback() {
311 WifiSettingsConfigStore settingsConfigStore, HalDeviceManager halDeviceManager) { in start()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java85 import com.android.server.wifi.HalDeviceManager;
136 private ArgumentCaptor<HalDeviceManager.InterfaceRttControllerLifecycleCallback>
138 HalDeviceManager.InterfaceRttControllerLifecycleCallback.class);
162 public HalDeviceManager mockHalDeviceManager;
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java32 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE;
33 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_STA;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java27 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_AP_BRIDGE;
28 import static com.android.server.wifi.HalDeviceManager.HDM_CREATE_IFACE_STA;

12