Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java84 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 …]
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()
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()
DWakeupOnboarding.java61 private final FrameworkFacade mFrameworkFacade; field in WakeupOnboarding
73 mFrameworkFacade.setIntegerSetting(mContext,
102 mFrameworkFacade = frameworkFacade; in WakeupOnboarding()
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()
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.java68 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()
DWifiApConfigStore.java91 private final FrameworkFacade mFrameworkFacade; field in WifiApConfigStore
107 mFrameworkFacade = frameworkFacade; in WifiApConfigStore()
500 return mFrameworkFacade.getBroadcast( in getPrivateBroadcast()
DWifiLockManager.java58 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/
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))
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()
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 …]
DSoftApManagerTest.java88 @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 …]
DWifiLockManagerTest.java69 @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 …]
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()
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()
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()
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()
DWifiServiceImplTest.java225 @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 …]
DWakeupControllerTest.java77 @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()

12