Home
last modified time | relevance | path

Searched refs:ActiveModeManager (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java60 private final ArraySet<ActiveModeManager> mActiveModeManagers;
255 private boolean hasAnyModeManagerInRole(@ActiveModeManager.Role int role) { in hasAnyModeManagerInRole()
256 for (ActiveModeManager manager : mActiveModeManagers) { in hasAnyModeManagerInRole()
266 for (ActiveModeManager manager : mActiveModeManagers) { in hasAnyModeManagerInOneOfRoles()
273 return hasAnyModeManagerInOneOfRoles(ActiveModeManager.CLIENT_ROLES); in hasAnyClientModeManager()
277 return hasAnyModeManagerInOneOfRoles(ActiveModeManager.CLIENT_CONNECTIVITY_ROLES); in hasAnyClientModeManagerInConnectivityRole()
281 return hasAnyModeManagerInOneOfRoles(ActiveModeManager.SOFTAP_ROLES); in hasAnySoftApManager()
288 for (ActiveModeManager manager : mActiveModeManagers) { in hasAnyModeManagerStopping()
301 for (ActiveModeManager manager : mActiveModeManagers) { in areAllClientModeManagersInScanOnlyRole()
302 if (ActiveModeManager.CLIENT_ROLES.contains(manager.getRole())) { in areAllClientModeManagersInScanOnlyRole()
[all …]
DDefaultModeManager.java30 public class DefaultModeManager implements ActiveModeManager {
DActiveModeManager.java33 public interface ActiveModeManager { interface
DClientModeManager.java62 public class ClientModeManager implements ActiveModeManager {
DWifiInjector.java558 public SoftApManager makeSoftApManager(@NonNull ActiveModeManager.Listener listener, in makeSoftApManager()
DSoftApManager.java71 public class SoftApManager implements ActiveModeManager {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeManagerTest.java271 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in startClientInConnectModeAndVerifyEnabled()
361 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in switchFromScanOnlyModeToConnectMode()
395 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchFromConnectModeToScanOnlyMode()
430 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in detectAndReportErrorWhenSetupForClientInConnectivityModeWifiNativeFailure()
870 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in clientModeNotStopWithWifiOffDeferringTimeAndWifiCallingTimedOut()
875 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in clientModeNotStopWithWifiOffDeferringTimeAndWifiCallingTimedOut()
912 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeNoWifiCalling()
936 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeAndImsOnWwan()
967 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingOnImsUnregistered()
1011 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingOnImsRegistered()
[all …]
DActiveModeWardenTest.java19 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_PRIMARY;
20 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY;
21 import static com.android.server.wifi.ActiveModeManager.ROLE_SOFTAP_LOCAL_ONLY;
22 import static com.android.server.wifi.ActiveModeManager.ROLE_SOFTAP_TETHERED;
118 ActiveModeManager.Listener mClientListener;
119 ActiveModeManager.Listener mSoftApListener;
168 }).when(mWifiInjector).makeClientModeManager(any(ActiveModeManager.Listener.class)); in setUp()
172 mSoftApListener = (ActiveModeManager.Listener) args[0]; in setUp()
177 }).when(mWifiInjector).makeSoftApManager(any(ActiveModeManager.Listener.class), in setUp()
381 Collection<ActiveModeManager> activeModeManagers = in assertWifiShutDown()
[all …]
DSoftApManagerTest.java127 @Mock ActiveModeManager.Listener mListener;
1947 mSoftApManager.setRole(ActiveModeManager.ROLE_SOFTAP_TETHERED); in startSoftApAndVerifyEnabled()
/frameworks/opt/net/wifi/tests/wifitests/
DAndroid.bp90 "com.android.server.wifi.ActiveModeManager",
91 "com.android.server.wifi.ActiveModeManager$*",
92 "com.android.server.wifi.ActiveModeManager.**",