Home
last modified time | relevance | path

Searched refs:wifiManager (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiSavedConfigUtils.java38 public static List<AccessPoint> getAllConfigs(Context context, WifiManager wifiManager) { in getAllConfigs() argument
40 List<WifiConfiguration> savedNetworks = wifiManager.getConfiguredNetworks(); in getAllConfigs()
57 wifiManager.getPasspointConfigurations(); in getAllConfigs()
77 public static int getAllConfigsCount(Context context, WifiManager wifiManager) { in getAllConfigsCount() argument
78 return getAllConfigs(context, wifiManager).size(); in getAllConfigsCount()
DAccessPoint.java479 WifiManager wifiManager = getWifiManager(); in compareTo() local
481 int difference = wifiManager.calculateSignalLevel(other.mRssi) in compareTo()
482 - wifiManager.calculateSignalLevel(mRssi); in compareTo()
1683 WifiManager wifiManager = context.getSystemService(WifiManager.class); in getSummary() local
1684 NetworkCapabilities nc = cm.getNetworkCapabilities(wifiManager.getCurrentNetwork()); in getSummary()
1764 final WifiManager wifiManager = (WifiManager) in getSecurity() local
1766 return wifiManager.isWpa3SaeSupported() ? SECURITY_SAE : SECURITY_PSK; in getSecurity()
1769 final WifiManager wifiManager = (WifiManager) in getSecurity() local
1771 return wifiManager.isEnhancedOpenSupported() ? SECURITY_OWE : SECURITY_NONE; in getSecurity()
1975 WifiManager wifiManager = getWifiManager(); in onProvisioningComplete() local
[all …]
DTestAccessPointBuilder.java130 WifiManager wifiManager = mContext.getSystemService(WifiManager.class); in setLevel() local
131 int maxSignalLevel = wifiManager.getMaxSignalLevel(); in setLevel()
DWifiStatusTracker.java173 public WifiStatusTracker(Context context, WifiManager wifiManager, in WifiStatusTracker() argument
176 this(context, wifiManager, networkScoreManager, connectivityManager, callback, null, null); in WifiStatusTracker()
179 public WifiStatusTracker(Context context, WifiManager wifiManager, in WifiStatusTracker() argument
183 mWifiManager = wifiManager; in WifiStatusTracker()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DNetworkDetailsTracker.java65 @NonNull WifiManager wifiManager, in createNetworkDetailsTracker() argument
77 wifiManager, in createNetworkDetailsTracker()
92 @NonNull WifiManager wifiManager, in createNetworkDetailsTracker() argument
101 return new StandardNetworkDetailsTracker(injector, lifecycle, context, wifiManager, in createNetworkDetailsTracker()
105 return new PasspointNetworkDetailsTracker(injector, lifecycle, context, wifiManager, in createNetworkDetailsTracker()
109 return new HotspotNetworkDetailsTracker(injector, lifecycle, context, wifiManager, in createNetworkDetailsTracker()
126 @NonNull WifiManager wifiManager, in NetworkDetailsTracker() argument
134 super(injector, lifecycle, context, wifiManager, connectivityManager, in NetworkDetailsTracker()
DKnownNetworkEntry.java69 @NonNull WifiManager wifiManager, in KnownNetworkEntry() argument
72 super(injector, callbackHandler, key, wifiManager, in KnownNetworkEntry()
82 @NonNull WifiManager wifiManager, in KnownNetworkEntry() argument
85 super(injector, callbackHandler, key, configs, scanResults, wifiManager, in KnownNetworkEntry()
DHotspotNetworkDetailsTracker.java57 @NonNull WifiManager wifiManager, in HotspotNetworkDetailsTracker() argument
65 this(new WifiTrackerInjector(context), lifecycle, context, wifiManager, connectivityManager, in HotspotNetworkDetailsTracker()
74 @NonNull WifiManager wifiManager, in HotspotNetworkDetailsTracker() argument
82 super(injector, lifecycle, context, wifiManager, connectivityManager, in HotspotNetworkDetailsTracker()
DStandardNetworkDetailsTracker.java57 @NonNull WifiManager wifiManager, in StandardNetworkDetailsTracker() argument
65 this(new WifiTrackerInjector(context), lifecycle, context, wifiManager, connectivityManager, in StandardNetworkDetailsTracker()
74 @NonNull WifiManager wifiManager, in StandardNetworkDetailsTracker() argument
82 super(injector, lifecycle, context, wifiManager, connectivityManager, in StandardNetworkDetailsTracker()
DNetworkRequestEntry.java41 @NonNull StandardWifiEntryKey key, @NonNull WifiManager wifiManager, in NetworkRequestEntry() argument
43 super(injector, callbackHandler, key, wifiManager, forSavedNetworksPage); in NetworkRequestEntry()
DPasspointNetworkDetailsTracker.java62 @NonNull WifiManager wifiManager, in PasspointNetworkDetailsTracker() argument
70 this(new WifiTrackerInjector(context), lifecycle, context, wifiManager, connectivityManager, in PasspointNetworkDetailsTracker()
79 @NonNull WifiManager wifiManager, in PasspointNetworkDetailsTracker() argument
87 super(injector, lifecycle, context, wifiManager, connectivityManager, in PasspointNetworkDetailsTracker()
DMergedCarrierEntry.java49 @NonNull WifiManager wifiManager, in MergedCarrierEntry() argument
52 super(injector, callbackHandler, wifiManager, forSavedNetworksPage); in MergedCarrierEntry()
DHotspotNetworkEntry.java139 @NonNull WifiManager wifiManager, in HotspotNetworkEntry() argument
142 super(injector, callbackHandler, wifiManager, false /*forSavedNetworksPage*/); in HotspotNetworkEntry()
156 @NonNull WifiManager wifiManager, in HotspotNetworkEntry() argument
159 super(injector, callbackHandler, wifiManager, false /*forSavedNetworksPage*/); in HotspotNetworkEntry()
DPasspointWifiEntry.java101 @NonNull WifiManager wifiManager, in PasspointWifiEntry() argument
103 super(injector, callbackHandler, wifiManager, forSavedNetworksPage); in PasspointWifiEntry()
126 @NonNull WifiManager wifiManager, in PasspointWifiEntry() argument
128 super(injector, callbackHandler, wifiManager, forSavedNetworksPage); in PasspointWifiEntry()
DSavedNetworkTracker.java92 @NonNull WifiManager wifiManager, in SavedNetworkTracker() argument
100 this(new WifiTrackerInjector(context), lifecycle, context, wifiManager, connectivityManager, in SavedNetworkTracker()
109 @NonNull WifiManager wifiManager, in SavedNetworkTracker() argument
117 super(injector, lifecycle, context, wifiManager, connectivityManager, in SavedNetworkTracker()
DStandardWifiEntry.java138 @NonNull WifiManager wifiManager, in StandardWifiEntry() argument
140 super(injector, callbackHandler, wifiManager, forSavedNetworksPage); in StandardWifiEntry()
142 mIsWpa3SaeSupported = wifiManager.isWpa3SaeSupported(); in StandardWifiEntry()
143 mIsWpa3SuiteBSupported = wifiManager.isWpa3SuiteBSupported(); in StandardWifiEntry()
144 mIsEnhancedOpenSupported = wifiManager.isEnhancedOpenSupported(); in StandardWifiEntry()
157 @NonNull WifiManager wifiManager, in StandardWifiEntry() argument
159 this(injector, callbackHandler, key, wifiManager, in StandardWifiEntry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DWifiPickerTrackerFactory.kt45 private val wifiManager: WifiManager?, constant in com.android.systemui.statusbar.connectivity.WifiPickerTrackerFactory
58 get() = wifiManager != null
71 return if (wifiManager == null) { in create()
77 wifiManager, in create()
DWifiSignalController.java58 WifiManager wifiManager, in WifiSignalController() argument
68 mWifiManager = wifiManager; in WifiSignalController()
72 if (wifiManager != null) { in WifiSignalController()
73 wifiManager.registerTrafficStateCallback(context.getMainExecutor(), in WifiSignalController()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/dpp/
DWifiDppIntentHelper.java59 public static void setConfiguratorIntentExtra(Intent intent, WifiManager wifiManager, in setConfiguratorIntentExtra() argument
66 String preSharedKey = removeFirstAndLastDoubleQuotes(getPresharedKey(wifiManager, in setConfiguratorIntentExtra()
111 private static String getPresharedKey(WifiManager wifiManager, in getPresharedKey() argument
114 wifiManager.getPrivilegedConfiguredNetworks(); in getPresharedKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImpl.kt83 private val wifiManager: WifiManager, in <lambda>() constant
267 numberOfLevels = wifiManager.maxSignalLevel + 1, in <lambda>()
322 wifiManager.registerTrafficStateCallback(mainExecutor, callback) in <lambda>()
323 awaitClose { wifiManager.unregisterTrafficStateCallback(callback) } in <lambda>()
338 trySend(wifiManager.scanResults.toModel()) in <lambda>()
342 wifiManager.registerScanResultsCallback(bgDispatcher.asExecutor(), callback) in <lambda>()
344 awaitClose { wifiManager.unregisterScanResultsCallback(callback) } in <lambda>()
419 fun create(wifiManager: WifiManager): WifiRepositoryImpl { in <lambda>()
426 wifiManager, in <lambda>()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/
DRecommendationServiceImpl.java55 WifiManager wifiManager = getSystemService(WifiManager.class); in onConnected() local
56 if (wifiManager != null) { in onConnected()
58 mMultiCastLock = wifiManager.createMulticastLock(LOG_TAG); in onConnected()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DEnterpriseSpecificIdCalculator.java79 WifiManager wifiManager = context.getSystemService(WifiManager.class); in EnterpriseSpecificIdCalculator() local
80 Preconditions.checkState(wifiManager != null, "Unable to access WiFi service"); in EnterpriseSpecificIdCalculator()
81 final String[] macAddresses = wifiManager.getFactoryMacAddresses(); in EnterpriseSpecificIdCalculator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DWifiStateWorker.java60 @Nullable WifiManager wifiManager) { in WifiStateWorker() argument
61 mWifiManager = wifiManager; in WifiStateWorker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/dagger/
DStatusBarPipelineModule.kt148 wifiManager: WifiManager?, in airplaneModeRepository()
154 return if (wifiManager == null) { in airplaneModeRepository()
157 wifiRepositoryImplFactory.create(wifiManager) in airplaneModeRepository()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/
DWifiRepositorySwitcherTest.kt67 @Mock private lateinit var wifiManager: WifiManager variable in com.android.systemui.statusbar.pipeline.wifi.data.repository.WifiRepositorySwitcherTest
101 wifiManager, in setUp()
/frameworks/base/wifi/java/src/android/net/wifi/
DWifiNetworkScoreCache.java260 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in dump() local
261 for (ScanResult scanResult : wifiManager.getScanResults()) { in dump()

12