Home
last modified time | relevance | path

Searched refs:getConfig (Results 1 – 25 of 128) sorted by relevance

123456

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java321 lenient().when(provider.getConfig()).thenReturn(config); in createMockProvider()
617 assertEquals(config, providers.get(0).getConfig()); in addRemoveSavedProviderWithValidUserCredential()
684 assertTrue(mManager.enableAutojoin(null, provider.getConfig().getHomeSp().getFqdn(), in verifyEnableAutojoin()
687 assertTrue(mManager.enableAutojoin(null, provider.getConfig().getHomeSp().getFqdn(), in verifyEnableAutojoin()
690 assertFalse(mManager.enableAutojoin(null, provider.getConfig().getHomeSp() in verifyEnableAutojoin()
693 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
696 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
700 mManager.enableAutojoin(provider.getConfig().getHomeSp().getFqdn() + "-XXXX", in verifyEnableAutojoin()
715 assertTrue(mManager.enableMacRandomization(provider.getConfig().getHomeSp().getFqdn(), in verifyEnableMacRandomization()
720 assertTrue(mManager.enableMacRandomization(provider.getConfig().getHomeSp().getFqdn(), in verifyEnableMacRandomization()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java155 public synchronized Config getConfig() { in getConfig() method in QsbApplication
175 return new SearchSettingsImpl(getContext(), getConfig()); in createSettings()
220 int priority = getConfig().getQueryThreadPriority();
241 return new SuggestionsProviderImpl(getConfig(),
277 getIconLoaderExecutor(), getConfig());
308 return new EventLogLogger(getContext(), getConfig());
343 getConfig().getUserAgent());
362 return new Help(getContext(), getConfig());
DSearchActivity.java114 if (getConfig().showScrollingResults()) { in onCreate()
115 mSearchActivityView.setMaxPromotedResults(getConfig().getMaxPromotedResults()); in onCreate()
229 private Config getConfig() { in getConfig() method in SearchActivity
230 return getQsbApplication().getConfig(); in getConfig()
458 long delay = getConfig().getTypingUpdateSuggestionsDelayMillis(); in updateSuggestionsBuffered()
DSearchSettingsImpl.java86 protected Config getConfig() { in getConfig() method in SearchSettingsImpl
162 if (currentTime - firstHintTime > getConfig().getVoiceSearchHintActivePeriod()) { in haveVoiceSearchHintsExpired()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigController2Test.java479 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_noChanged_shouldPersistentAsDefault()
492 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_ChangedToNone_shouldGetNone()
582 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
591 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
622 WifiConfiguration wifiConfiguration = mController.getConfig(); in getWepConfig_withNumberAndCharacterKey_shouldContainTheSameKey()
633 WifiConfiguration wifiConfiguration = mController.getConfig(); in getWepConfig_withPartialNumberAndCharacterKey_shouldContainDifferentKey()
644 WifiConfiguration wifiConfiguration = mController.getConfig(); in getPskConfig_withValidHexKey_shouldContainTheSameKey()
655 WifiConfiguration wifiConfiguration = mController.getConfig(); in getPskConfig_withInvalidHexKey_shouldContainDifferentKey()
672 WifiConfiguration wifiConfiguration = mController.getConfig(); in getEapConfig_withPhase2Gtc_shouldContainGtcMethod()
689 WifiConfiguration wifiConfiguration = mController.getConfig(); in getEapConfig_withPhase2Sim_shouldContainSimMethod()
[all …]
DWifiConfigControllerTest.java419 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in checkSavedMacRandomizedValue()
433 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_noChanged_shouldPersistentAsDefault()
443 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_ChangedToDeviceMac_shouldGetNone()
532 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
542 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
551 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
597 final WifiConfiguration wifiConfiguration = mController.getConfig(); in loadSims_noSim_simSpinnerDefaultNoSim()
621 final WifiConfiguration wifiConfiguration = mController.getConfig(); in loadSims_oneSim_simSpinnerDefaultSubscription()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java780 (int) getConfig(CarrierConfigManager.Iwlan.KEY_CHILD_SA_REKEY_HARD_TIMER_SEC_INT); in buildChildSessionParams()
782 (int) getConfig(CarrierConfigManager.Iwlan.KEY_CHILD_SA_REKEY_SOFT_TIMER_SEC_INT); in buildChildSessionParams()
878 (int) getConfig(CarrierConfigManager.Iwlan.KEY_IKE_REKEY_HARD_TIMER_SEC_INT); in buildIkeSessionParams()
880 (int) getConfig(CarrierConfigManager.Iwlan.KEY_IKE_REKEY_SOFT_TIMER_SEC_INT); in buildIkeSessionParams()
924 if ((int) getConfig(CarrierConfigManager.Iwlan.KEY_EPDG_AUTHENTICATION_METHOD_INT) in buildIkeSessionParams()
950 (int) getConfig(CarrierConfigManager.Iwlan.KEY_NATT_KEEP_ALIVE_TIMER_SEC_INT); in buildIkeSessionParams()
984 private <T> T getConfig(String configKey) { in getConfig() method in EpdgTunnelManager
985 return IwlanHelper.getConfig(configKey, mContext, mSlotId); in getConfig()
991 int[] dhGroups = getConfig(CarrierConfigManager.Iwlan.KEY_DIFFIE_HELLMAN_GROUPS_INT_ARRAY); in buildIkeSaProposal()
999 getConfig( in buildIkeSaProposal()
[all …]
DEpdgSelector.java103 IwlanHelper.getConfig( in setPcoData()
106 IwlanHelper.getConfig( in setPcoData()
183 IwlanHelper.getConfig( in getPlmnList()
315 String configValue = (String) IwlanHelper.getConfig(key, mContext, mSlotId); in getDomainNames()
537 IwlanHelper.getConfig( in resolutionMethodPco()
540 IwlanHelper.getConfig( in resolutionMethodPco()
601 IwlanHelper.getConfig( in getValidatedServerList()
/packages/apps/Settings/src/com/android/settings/security/
DLockscreenDashboardFragment.java91 use(AmbientDisplayAlwaysOnPreferenceController.class).setConfig(getConfig(context)); in onAttach()
92 use(AmbientDisplayNotificationsPreferenceController.class).setConfig(getConfig(context)); in onAttach()
93 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
94 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
121 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in LockscreenDashboardFragment
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java215 WifiConfiguration wifiConfig = ap.getConfig(); in getWifiMacAddress()
240 if (ap == null || ap.getConfig() == null) { in getWifiMacRandomizationSetting()
243 return ap.getConfig().macRandomizationSetting; in getWifiMacRandomizationSetting()
248 if (ap != null && ap.getConfig() != null) { in applyMacRandomizationSetting()
249 ap.getConfig().macRandomizationSetting = enable in applyMacRandomizationSetting()
252 mWifiManager.updateNetwork(ap.getConfig()); in applyMacRandomizationSetting()
256 if (wifiInfo != null && wifiInfo.getNetworkId() == ap.getConfig().networkId) { in applyMacRandomizationSetting()
DWifiDetailsFragment.java171 WifiConfiguration wifiConfiguration = mAccessPoint.getConfig(); in update()
239 if (mAccessPoint == null || mAccessPoint.getConfig() == null) { in updateMacAddressPref()
249 (mAccessPoint.getConfig().macRandomizationSetting in updateMacAddressPref()
329 wifiManager.forget(mAccessPoint.getConfig().networkId, null); in onGuidedActionClicked()
DWifiUtils.java89 config.networkId = accessPoint.getConfig().networkId; in getWifiConfig()
90 config.hiddenSSID = accessPoint.getConfig().hiddenSSID; in getWifiConfig()
/packages/services/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java313 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i))); in testInitWithSavedConfig()
347 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i))); in testSubInfoChanged()
360 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i)); in testSubInfoChanged()
372 byte[] configCached = mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE); in testDefaultMessagingApplicationChangedWithAcs()
390 byte[] configCached = mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE); in testDefaultMessagingApplicationChangedWithoutAcs()
664 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE)); in testTestModeEnabledAndDisabled()
672 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE))); in testTestModeEnabledAndDisabled()
679 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE)); in testTestModeEnabledAndDisabled()
685 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE))); in testTestModeEnabledAndDisabled()
756 when(mFeatureManager.getConfig()).thenReturn(mIImsConfig); in createMonitor()
/packages/apps/Settings/src/com/android/settings/gestures/
DGestureSettings.java54 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
55 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
58 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in GestureSettings
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialogActivity.java238 Log.e(TAG, "Failed to forget invalid network " + accessPoint.getConfig()); in onForget()
241 wifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget()
258 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
275 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
282 wifiManager.connect(accessPoint.getConfig(), null /* listener */); in onSubmit()
/packages/apps/Settings/src/com/android/settings/display/
DAmbientDisplayAlwaysOnPreferenceController.java49 return isAvailable(getConfig()) in getAvailabilityStatus()
72 return getConfig().alwaysOnEnabled(MY_USER); in isChecked()
100 private AmbientDisplayConfiguration getConfig() { in getConfig() method in AmbientDisplayAlwaysOnPreferenceController
/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/ui/main/
DCarrierConfigFragment.java69 getConfig(false); in onCreateView()
90 getConfig(true); in onCreateView()
97 private void getConfig(boolean isDefault) { in getConfig() method in CarrierConfigFragment
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); in resizeBitmapByScale()
130 private static Bitmap.Config getConfig(Bitmap bitmap) { in getConfig() method in BitmapUtils
131 Bitmap.Config config = bitmap.getConfig(); in getConfig()
157 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap)); in resizeAndCropCenter()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java211 mProviders.put(provider.getConfig().getUniqueId(), provider); in setProviders()
319 String uniqueId = entry.getValue().getConfig().getUniqueId(); in removePasspointProviderWithPackage()
577 String uniqueId = provider.getConfig().getUniqueId(); in removeProviderInternal()
625 if (!TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in removeProvider()
684 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in enableAutojoin()
716 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in enableMacRandomization()
747 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in setMeteredOverride()
780 configs.add(provider.getConfig()); in getProviderConfigs()
826 if (isExpired(match.first.getConfig())) { in matchProvider()
909 Log.d(TAG, "Matching provider " + provider.getConfig().getHomeSp().getFqdn() in getAllMatchedProviders()
[all …]
/packages/services/Telephony/src/com/android/phone/
DRcsProvisioningMonitor.java241 byte[] getConfig() { in getConfig() method in RcsProvisioningMonitor.RcsProvisioningInfo
418 : mRcsFeatureManager.getConfig()); in addRcsProvisioningInfo()
429 mRcsProvisioningInfos.forEach(v -> v.onRcsStatusChanged(manager.getConfig())); in connectionReady()
529 public byte[] getConfig(int subId) { in getConfig() method in RcsProvisioningMonitor
531 return mRcsProvisioningInfos.get(subId).getConfig(); in getConfig()
680 byte[] cachedConfig = v.getConfig(); in onDefaultMessagingApplicationChanged()
/packages/apps/Settings/src/com/android/settings/sim/
DSimActivationNotifier.java233 if (configManager != null && configManager.getConfig() != null) { in getActiveCarrierName()
236 .getConfig() in getActiveCarrierName()
240 .getConfig() in getActiveCarrierName()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/network/
DWifiDetailsState.java216 WifiConfiguration wifiConfiguration = mAccessPoint.getConfig(); in update()
259 if (mAccessPoint == null || mAccessPoint.getConfig() == null) { in updateMacAddressPref()
269 (mAccessPoint.getConfig().macRandomizationSetting in updateMacAddressPref()
/packages/services/Car/tools/emulator/
Ddiagnostic_injector.py55 lambda hal: hal.getConfig(c.VEHICLEPROPERTY_OBD2_LIVE_FRAME))
57 lambda hal: hal.getConfig(c.VEHICLEPROPERTY_OBD2_FREEZE_FRAME))
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkProviderWorker.java106 mConfig = getConfig(mContext); in NetworkProviderWorker()
176 mConfig = getConfig(mContext); in updateListener()
303 Config getConfig(Context context) { in getConfig() method in NetworkProviderWorker
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanBroadcastReceiver.java105 IwlanHelper.getConfig( in processCarrierSignalPcoValue()
110 IwlanHelper.getConfig( in processCarrierSignalPcoValue()

123456