Home
last modified time | relevance | path

Searched refs:mFrameworkFacade (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java85 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 …]
DConnectionFailureNotificationBuilder.java51 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()
DWakeupNotificationFactory.java45 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()
DWrongPasswordNotifier.java47 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()
DConnectionFailureNotifier.java45 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()
DConnectToNetworkNotificationBuilder.java57 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()
DLinkProbeManager.java72 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()
DWakeupOnboarding.java61 private final FrameworkFacade mFrameworkFacade; field in WakeupOnboarding
73 mFrameworkFacade.setIntegerSetting(mContext,
102 mFrameworkFacade = frameworkFacade; in WakeupOnboarding()
DWakeupController.java58 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()
DAvailableNetworkNotifier.java124 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()
DScanRequestProxy.java87 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()
DSoftApManager.java73 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/
DScoringParamsTest.java317 @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))
DWifiApConfigStoreTest.java86 @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 …]
DWrongPasswordNotifierTest.java50 @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()
DConnectionFailureNotifierTest.java57 @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()
DSoftApManagerTest.java115 @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 …]
DWifiLockManagerTest.java69 @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 …]
DCarrierNetworkConfigTest.java71 @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()
DLinkProbeManagerTest.java66 @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()
DWakeupOnboardingTest.java57 @Mock private FrameworkFacade mFrameworkFacade; field in WakeupOnboardingTest
82 mFrameworkFacade, mWakeupNotificationFactory); in setUp()
160 verify(mFrameworkFacade).setIntegerSetting(mContext, in turnOffWifiWakeAction_setsOnboardedAndTurnsOffWifiWake()
DCarrierNetworkNotifierTest.java80 @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()
DOpenNetworkNotifierTest.java80 @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()
DWifiServiceImplTest.java231 @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 …]
DScoredNetworkEvaluatorTest.java72 @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()

12