/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 84 private final FrameworkFacade mFrameworkFacade = new FrameworkFacade(); field in WifiInjector 182 mBatteryStats = IBatteryStats.Stub.asInterface(mFrameworkFacade.getService( in WifiInjector() 194 clientModeImplLooper, mFrameworkFacade); in WifiInjector() 200 mWifiMetrics = new WifiMetrics(mContext, mFrameworkFacade, mClock, clientModeImplLooper, in WifiInjector() 235 mFrameworkFacade); in WifiInjector() 252 mFrameworkFacade, mWifiCoreHandlerThread.getLooper()); in WifiInjector() 256 mScoringParams = new ScoringParams(mContext, mFrameworkFacade, in WifiInjector() 277 mFrameworkFacade, mNetworkScoreManager, mWifiConfigManager, mConnectivityLocalLog, in WifiInjector() 294 mWifiPermissionsUtil, mWifiMetrics, mClock, mFrameworkFacade, in WifiInjector() 302 mWifiDataStall = new WifiDataStall(mContext, mFrameworkFacade, mWifiMetrics); in WifiInjector() [all …]
|
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 | 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 | WakeupOnboarding.java | 61 private final FrameworkFacade mFrameworkFacade; field in WakeupOnboarding 73 mFrameworkFacade.setIntegerSetting(mContext, 102 mFrameworkFacade = frameworkFacade; in WakeupOnboarding()
|
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 | 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 | 68 private final FrameworkFacade mFrameworkFacade; field in SoftApManager 132 mFrameworkFacade = framework; in SoftApManager() 415 mFrameworkFacade.registerContentObserver(mContext, in register() 422 mFrameworkFacade.unregisterContentObserver(mContext, this); in unregister() 433 boolean enabled = mFrameworkFacade.getIntegerSetting(mContext, in getValue()
|
D | WifiApConfigStore.java | 91 private final FrameworkFacade mFrameworkFacade; field in WifiApConfigStore 107 mFrameworkFacade = frameworkFacade; in WifiApConfigStore() 500 return mFrameworkFacade.getBroadcast( in getPrivateBroadcast()
|
D | WifiLockManager.java | 58 private final FrameworkFacade mFrameworkFacade; field in WifiLockManager 89 mFrameworkFacade = frameworkFacade; in WifiLockManager() 407 if (mFrameworkFacade.isAppForeground(uid)) { in addUidToLlWatchList()
|
/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 | 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 | 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 | SoftApManagerTest.java | 88 @Mock FrameworkFacade mFrameworkFacade; field in SoftApManagerTest 107 when(mFrameworkFacade.getIntegerSetting( in setUp() 132 mFrameworkFacade, in createSoftApManager() 205 mFrameworkFacade, in startSoftApDefaultConfigFailedToLoad() 248 mFrameworkFacade, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() 290 mFrameworkFacade, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() 331 mFrameworkFacade, in startSoftApOn5GhzFailGeneralErrorForNoCountryCode() 377 mFrameworkFacade, in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure() 493 mFrameworkFacade, in startSoftApFailNoChannel() 531 mFrameworkFacade, in startSoftApApInterfaceFailedToStart() [all …]
|
D | WifiLockManagerTest.java | 69 @Mock FrameworkFacade mFrameworkFacade; field in WifiLockManagerTest 95 mClientModeImpl, mFrameworkFacade, mHandler, mWifiNative, mClock, mWifiMetrics); in setUp() 672 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testForegroundAppAcquireLowLatencyScreenOn() 690 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testForegroundAppAcquireLowLatencyScreenOff() 706 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(false); in testBackgroundAppAcquireLowLatencyScreenOn() 722 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockAcquireCauseLlEnableNew() 742 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockAcquireCauseLL_enableLegacy() 761 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockReleaseCauseLlDisable() 795 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockReleaseFailure() 824 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 | 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 | 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 | 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()
|
D | WifiServiceImplTest.java | 225 @Mock FrameworkFacade mFrameworkFacade; field in WifiServiceImplTest 354 doNothing().when(mFrameworkFacade).registerContentObserver(eq(mContext), any(), in setUp() 364 when(mFrameworkFacade.makeWifiAsyncChannel(anyString())).thenReturn(wifiAsyncChannel); in setUp() 367 when(mWifiInjector.getFrameworkFacade()).thenReturn(mFrameworkFacade); in setUp() 950 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(false); in testGetWifiApConfigurationSuccess() 976 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(false); in testGetWifiApEnabled() 1017 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(true); in testWifiControllerDoesNotStartWhenDeviceTriggerResetMainAtBoot() 1028 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(false); in testWifiControllerStartsWhenDeviceIsDecryptedAtBootWithWifiDisabled() 1040 when(mFrameworkFacade.inStorageManagerCryptKeeperBounce()).thenReturn(false); in testWifiFullyStartsWhenDeviceIsDecryptedAtBootWithWifiEnabled() 1399 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in registerLOHSRequestFull() [all …]
|
D | WakeupControllerTest.java | 77 @Mock private FrameworkFacade mFrameworkFacade; field in WakeupControllerTest 125 when(mFrameworkFacade.getIntegerSetting(mContext, in initializeWakeupController() 138 mFrameworkFacade, in initializeWakeupController() 686 verify(mFrameworkFacade).registerContentObserver(any(), any(), eq(true), in userIsOnboardedBySettingChange()
|