/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 85 private final FrameworkFacade mFrameworkFacade = new FrameworkFacade(); field in WifiInjector 178 mContext, getWifiStackPackageName(), mFrameworkFacade); in WifiInjector() 190 mBatteryStats = IBatteryStats.Stub.asInterface(mFrameworkFacade.getService( in WifiInjector() 202 clientModeImplLooper, mFrameworkFacade); in WifiInjector() 208 mWifiMetrics = new WifiMetrics(mContext, mFrameworkFacade, mClock, clientModeImplLooper, in WifiInjector() 243 mFrameworkFacade); in WifiInjector() 250 WifiConfigStore.createSharedFile(mFrameworkFacade.isNiapModeOn(mContext))); in WifiInjector() 260 mFrameworkFacade, mWifiCoreHandlerThread.getLooper(), mDeviceConfigFacade); in WifiInjector() 264 mScoringParams = new ScoringParams(mContext, mFrameworkFacade, in WifiInjector() 285 mFrameworkFacade, mNetworkScoreManager, mWifiConfigManager, mConnectivityLocalLog, in WifiInjector() [all …]
|
D | ConnectionFailureNotificationBuilder.java | 51 private FrameworkFacade mFrameworkFacade; field in ConnectionFailureNotificationBuilder 61 mFrameworkFacade = framework; in ConnectionFailureNotificationBuilder() 82 PendingIntent pendingShowDetailIntent = mFrameworkFacade.getBroadcast( in buildNoMacRandomizationSupportNotification() 85 return mFrameworkFacade.makeNotificationBuilder(mContext, in buildNoMacRandomizationSupportNotification() 107 AlertDialog.Builder builder = mFrameworkFacade.makeAlertDialogBuilder(mContext) in buildChangeMacRandomizationSettingDialog()
|
D | WakeupNotificationFactory.java | 45 private final FrameworkFacade mFrameworkFacade; field in WakeupNotificationFactory 49 mFrameworkFacade = frameworkFacade; in WakeupNotificationFactory() 66 return mFrameworkFacade.makeNotificationBuilder(mContext, in createOnboardingNotification() 84 return mFrameworkFacade.getBroadcast( in getPrivateBroadcast()
|
D | WrongPasswordNotifier.java | 47 private final FrameworkFacade mFrameworkFacade; field in WrongPasswordNotifier 51 mFrameworkFacade = frameworkFacade; in WrongPasswordNotifier() 84 Notification.Builder builder = mFrameworkFacade.makeNotificationBuilder(mContext, in showNotification() 93 .setContentIntent(mFrameworkFacade.getActivity( in showNotification()
|
D | ConnectionFailureNotifier.java | 45 private FrameworkFacade mFrameworkFacade; field in ConnectionFailureNotifier 59 mFrameworkFacade = framework; in ConnectionFailureNotifier() 124 mFrameworkFacade.showToast(mContext, message); in onClick() 133 mFrameworkFacade.showToast(mContext, message); in onClick() 153 mFrameworkFacade.showToast(mContext, message); in showRandomizationSettingsDialog()
|
D | ConnectToNetworkNotificationBuilder.java | 57 private FrameworkFacade mFrameworkFacade; field in ConnectToNetworkNotificationBuilder 64 mFrameworkFacade = framework; in ConnectToNetworkNotificationBuilder() 164 return mFrameworkFacade.makeNotificationBuilder(mContext, in createNotificationBuilder() 184 return mFrameworkFacade.getBroadcast(mContext, requestCode, intent, in getPrivateBroadcast()
|
D | LinkProbeManager.java | 72 private final FrameworkFacade mFrameworkFacade; field in LinkProbeManager 112 mFrameworkFacade = frameworkFacade; in LinkProbeManager() 119 mFrameworkFacade.registerContentObserver(mContext, Settings.Global.getUriFor( in LinkProbeManager() 137 int flag = mFrameworkFacade.getIntegerSetting(mContext, in updateLinkProbeSetting()
|
D | WakeupOnboarding.java | 61 private final FrameworkFacade mFrameworkFacade; field in WakeupOnboarding 73 mFrameworkFacade.setIntegerSetting(mContext, 102 mFrameworkFacade = frameworkFacade; in WakeupOnboarding()
|
D | WakeupController.java | 58 private final FrameworkFacade mFrameworkFacade; field in WakeupController 150 mFrameworkFacade = frameworkFacade; in WakeupController() 159 mFrameworkFacade.registerContentObserver(mContext, Settings.Global.getUriFor( in WakeupController() 177 mWifiWakeupEnabled = mFrameworkFacade.getIntegerSetting( in readWifiWakeupEnabledFromSettings()
|
D | AvailableNetworkNotifier.java | 124 private final FrameworkFacade mFrameworkFacade; field in AvailableNetworkNotifier 172 mFrameworkFacade = framework; in AvailableNetworkNotifier() 184 mNotificationRepeatDelay = mFrameworkFacade.getIntegerSetting(context, in AvailableNetworkNotifier() 559 mFrameworkFacade.registerContentObserver(mContext, in register() 573 mFrameworkFacade.getIntegerSetting(mContext, mToggleSettingsName, 1) == 1; in getValue()
|
D | ScanRequestProxy.java | 87 private final FrameworkFacade mFrameworkFacade; field in ScanRequestProxy 202 mFrameworkFacade.registerContentObserver(mContext, in initialize() 228 return mFrameworkFacade.getIntegerSetting(mContext, in getValue() 245 mFrameworkFacade = frameworkFacade; in ScanRequestProxy()
|
D | SoftApManager.java | 73 private final FrameworkFacade mFrameworkFacade; field in SoftApManager 140 mFrameworkFacade = framework; in SoftApManager() 426 mFrameworkFacade.registerContentObserver(mContext, in register() 433 mFrameworkFacade.unregisterContentObserver(mContext, this); in unregister() 444 boolean enabled = mFrameworkFacade.getIntegerSetting(mContext, in getValue()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScoringParamsTest.java | 317 @Mock FrameworkFacade mFrameworkFacade; 328 when(mFrameworkFacade.getStringSetting(mContext, Settings.Global.WIFI_SCORE_PARAMS)) 330 mScoringParams = new ScoringParams(mContext, mFrameworkFacade, mHandler); 331 verify(mFrameworkFacade) 338 when(mFrameworkFacade.getStringSetting(mContext, Settings.Global.WIFI_SCORE_PARAMS)) 343 when(mFrameworkFacade.getStringSetting(mContext, Settings.Global.WIFI_SCORE_PARAMS)) 352 when(mFrameworkFacade.getStringSetting(mContext, Settings.Global.WIFI_SCORE_PARAMS)) 354 mScoringParams = new ScoringParams(mContext, mFrameworkFacade, mHandler); 355 verify(mFrameworkFacade) 361 when(mFrameworkFacade.getStringSetting(mContext, Settings.Global.WIFI_SCORE_PARAMS))
|
D | WifiApConfigStoreTest.java | 86 @Mock private FrameworkFacade mFrameworkFacade; field in WifiApConfigStoreTest 142 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in createWifiApConfigStore() 215 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in initWithDefaultConfiguration() 235 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in initWithExistingConfiguration() 257 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in setNullApConfiguration() 273 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in updateApConfiguration() 299 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in convertSingleModeDeviceAnyTo5Ghz() 333 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in singleModeDevice5GhzNotConverted() 360 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in convertDualModeDevice5GhzToAny() 396 mContext, mLooper.getLooper(), mBackupManagerProxy, mFrameworkFacade, in dualModeDeviceAnyNotConverted() [all …]
|
D | WrongPasswordNotifierTest.java | 50 @Mock FrameworkFacade mFrameworkFacade; field in WrongPasswordNotifierTest 64 new WrongPasswordNotifier(mContext, mFrameworkFacade); in setUp() 75 when(mFrameworkFacade.makeNotificationBuilder(any(), in onWrongPasswordError() 80 verify(mFrameworkFacade).getActivity( in onWrongPasswordError()
|
D | ConnectionFailureNotifierTest.java | 57 @Mock private FrameworkFacade mFrameworkFacade; field in ConnectionFailureNotifierTest 85 mFrameworkFacade, mWifiConfigManager, mWifiConnectivityManager, in setUp() 180 verify(mFrameworkFacade, never()).makeAlertDialogBuilder(any()); in testWifiConfigurationMismatch() 182 verify(mFrameworkFacade).showToast(any(), any()); in testWifiConfigurationMismatch()
|
D | SoftApManagerTest.java | 115 @Mock FrameworkFacade mFrameworkFacade; field in SoftApManagerTest 135 when(mFrameworkFacade.getIntegerSetting( in setUp() 160 mFrameworkFacade, in createSoftApManager() 234 mFrameworkFacade, in startSoftApDefaultConfigFailedToLoad() 278 mFrameworkFacade, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() 321 mFrameworkFacade, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() 363 mFrameworkFacade, in startSoftApOn5GhzFailGeneralErrorForNoCountryCode() 410 mFrameworkFacade, in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure() 527 mFrameworkFacade, in startSoftApFailNoChannel() 566 mFrameworkFacade, in startSoftApApInterfaceFailedToStart() [all …]
|
D | WifiLockManagerTest.java | 69 @Mock FrameworkFacade mFrameworkFacade; field in WifiLockManagerTest 95 mClientModeImpl, mFrameworkFacade, mHandler, mWifiNative, mClock, mWifiMetrics); in setUp() 661 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testForegroundAppAcquireLowLatencyScreenOn() 679 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testForegroundAppAcquireLowLatencyScreenOff() 695 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(false); in testBackgroundAppAcquireLowLatencyScreenOn() 711 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockAcquireCauseLlEnableNew() 731 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockAcquireCauseLL_enableLegacy() 750 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockReleaseCauseLlDisable() 784 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockReleaseFailure() 813 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyfail2DisablePowerSave() [all …]
|
D | CarrierNetworkConfigTest.java | 71 @Mock FrameworkFacade mFrameworkFacade; field in CarrierNetworkConfigTest 116 mFrameworkFacade); in setUp() 123 verify(mFrameworkFacade).registerContentObserver(eq(mContext), any(Uri.class), eq(false), in setUp() 157 mFrameworkFacade); in getExistingCarrierNetworkInfo_nullDisplayName_shouldNotThrowNpe()
|
D | LinkProbeManagerTest.java | 66 @Mock private FrameworkFacade mFrameworkFacade; field in LinkProbeManagerTest 90 verify(mFrameworkFacade).registerContentObserver(eq(mContext), in setUp() 94 when(mFrameworkFacade.getIntegerSetting(eq(mContext), in setUp() 101 mFrameworkFacade, mLooper.getLooper(), mContext); in initLinkProbeManager() 296 when(mFrameworkFacade.getIntegerSetting(eq(mContext), in testLinkProbeFeatureDisabled()
|
D | WakeupOnboardingTest.java | 57 @Mock private FrameworkFacade mFrameworkFacade; field in WakeupOnboardingTest 82 mFrameworkFacade, mWakeupNotificationFactory); in setUp() 160 verify(mFrameworkFacade).setIntegerSetting(mContext, in turnOffWifiWakeAction_setsOnboardedAndTurnsOffWifiWake()
|
D | CarrierNetworkNotifierTest.java | 80 @Mock private FrameworkFacade mFrameworkFacade; field in CarrierNetworkNotifierTest 103 when(mFrameworkFacade.getIntegerSetting(mContext, in setUp() 105 when(mFrameworkFacade.getIntegerSetting(mContext, in setUp() 120 mContext, mLooper.getLooper(), mFrameworkFacade, mClock, mWifiMetrics, in setUp() 128 verify(mFrameworkFacade).registerContentObserver(eq(mContext), any(Uri.class), eq(true), in setUp() 150 when(mFrameworkFacade.getIntegerSetting(mContext, in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled() 187 when(mFrameworkFacade.getIntegerSetting(mContext, in handleScanResults_featureDisabled_notificationNotDisplayed()
|
D | OpenNetworkNotifierTest.java | 80 @Mock private FrameworkFacade mFrameworkFacade; field in OpenNetworkNotifierTest 102 when(mFrameworkFacade.getIntegerSetting(mContext, in setUp() 104 when(mFrameworkFacade.getIntegerSetting(mContext, in setUp() 119 mContext, mLooper.getLooper(), mFrameworkFacade, mClock, mWifiMetrics, in setUp() 127 verify(mFrameworkFacade).registerContentObserver(eq(mContext), any(Uri.class), eq(true), in setUp() 149 when(mFrameworkFacade.getIntegerSetting(mContext, in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled() 186 when(mFrameworkFacade.getIntegerSetting(mContext, in handleScanResults_featureDisabled_notificationNotDisplayed()
|
D | WifiServiceImplTest.java | 231 @Mock FrameworkFacade mFrameworkFacade; field in WifiServiceImplTest 361 doNothing().when(mFrameworkFacade).registerContentObserver(eq(mContext), any(), in setUp() 371 when(mFrameworkFacade.makeWifiAsyncChannel(anyString())).thenReturn(wifiAsyncChannel); in setUp() 374 when(mWifiInjector.getFrameworkFacade()).thenReturn(mFrameworkFacade); in setUp() 669 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(true); in testSetWifiEnabledFailureWhenInCryptDebounce() 934 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(true); in testSetWifiDisabledFailureWhenInCryptDebounce() 1062 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(false); in testGetWifiApConfigurationSuccess() 1088 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(false); in testGetWifiApEnabled() 1129 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(true); in testWifiControllerDoesNotStartWhenDeviceTriggerResetMainAtBoot() 1140 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(false); in testWifiControllerStartsWhenDeviceIsDecryptedAtBootWithWifiDisabled() [all …]
|
D | ScoredNetworkEvaluatorTest.java | 72 @Mock private FrameworkFacade mFrameworkFacade; field in ScoredNetworkEvaluatorTest 90 when(mFrameworkFacade.getIntegerSetting(mContext, in setUp() 98 Looper.getMainLooper(), mFrameworkFacade, mNetworkScoreManager, in setUp() 100 verify(mFrameworkFacade).registerContentObserver(eq(mContext), any(Uri.class), eq(false), in setUp() 131 when(mFrameworkFacade.getIntegerSetting(mContext, in testUpdate_recommendationsDisabled() 217 when(mFrameworkFacade.getIntegerSetting(mContext, in testEvaluateNetworks_recommendationsDisabled()
|