Home
last modified time | relevance | path

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

12345

/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/src/com/android/settings/security/
DLockscreenDashboardFragment.java94 .setConfig(getConfig(context)) in onAttach()
96 use(AmbientDisplayNotificationsPreferenceController.class).setConfig(getConfig(context)); in onAttach()
97 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
98 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
126 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in LockscreenDashboardFragment
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DLockscreenDashboardFragment.java94 .setConfig(getConfig(context)) in onAttach()
96 use(AmbientDisplayNotificationsPreferenceController.class).setConfig(getConfig(context)); in onAttach()
97 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
98 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
126 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in LockscreenDashboardFragment
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiSettings.java465 WifiConfiguration config = mSelectedAccessPoint.getConfig(); in onCreateContextMenu()
492 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
497 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
543 connect(mSelectedAccessPoint.getConfig(), mSelectedAccessPoint.isSaved()); in onPreferenceTreeClick()
547 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in onPreferenceTreeClick()
564 WifiConfiguration config = accessPoint.getConfig(); in showDialog()
696 WifiConfiguration config = accessPoint.getConfig(); in isDisabledByWrongPassword()
1043 final WifiConfiguration config = configController.getConfig(); in submit()
1048 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in submit()
1072 Log.e(TAG, "Failed to forget invalid network " + mSelectedAccessPoint.getConfig()); in forget()
[all …]
DWifiDialogActivity.java111 Log.e(TAG, "Failed to forget invalid network " + accessPoint.getConfig()); in onForget()
114 wifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget()
130 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
137 wifiManager.connect(accessPoint.getConfig(), null /* listener */); in onSubmit()
DWifiUtils.java152 config.networkId = accessPoint.getConfig().networkId; in getWifiConfig()
153 config.hiddenSSID = accessPoint.getConfig().hiddenSSID; in getWifiConfig()
267 final WifiConfiguration config = accessPoint.getConfig(); in getConnectingType()
DWifiConfigController.java280 WifiConfiguration config = mAccessPoint.getConfig(); in initWifiConfigController()
359 WifiConfiguration config = mAccessPoint.getConfig(); in initWifiConfigController()
584 public WifiConfiguration getConfig() { in getConfig() method in WifiConfigController
600 config.networkId = mAccessPoint.getConfig().networkId; in getConfig()
601 config.hiddenSSID = mAccessPoint.getConfig().hiddenSSID; in getConfig()
709 .getConfig() in getConfig()
999 WifiEnterpriseConfig enterpriseConfig = mAccessPoint.getConfig().enterpriseConfig; in showSecurityFields()
1229 config = mAccessPoint.getConfig(); in showIpConfigFields()
1281 config = mAccessPoint.getConfig(); in showProxyFields()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java466 WifiConfiguration config = mSelectedAccessPoint.getConfig(); in onCreateContextMenu()
495 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
500 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
546 connect(mSelectedAccessPoint.getConfig(), mSelectedAccessPoint.isSaved()); in onPreferenceTreeClick()
550 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in onPreferenceTreeClick()
567 WifiConfiguration config = accessPoint.getConfig(); in showDialog()
699 WifiConfiguration config = accessPoint.getConfig(); in isDisabledByWrongPassword()
1074 final WifiConfiguration config = configController.getConfig(); in submit()
1079 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in submit()
1103 Log.e(TAG, "Failed to forget invalid network " + mSelectedAccessPoint.getConfig()); in forget()
[all …]
DWifiDialogActivity.java119 Log.e(TAG, "Failed to forget invalid network " + accessPoint.getConfig()); in onForget()
122 wifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget()
138 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
145 wifiManager.connect(accessPoint.getConfig(), null /* listener */); in onSubmit()
DWifiUtils.java152 config.networkId = accessPoint.getConfig().networkId; in getWifiConfig()
153 config.hiddenSSID = accessPoint.getConfig().hiddenSSID; in getWifiConfig()
267 final WifiConfiguration config = accessPoint.getConfig(); in getConnectingType()
DWifiConfigController.java295 WifiConfiguration config = mAccessPoint.getConfig(); in initWifiConfigController()
374 WifiConfiguration config = mAccessPoint.getConfig(); in initWifiConfigController()
599 public WifiConfiguration getConfig() { in getConfig() method in WifiConfigController
615 config.networkId = mAccessPoint.getConfig().networkId; in getConfig()
616 config.hiddenSSID = mAccessPoint.getConfig().hiddenSSID; in getConfig()
739 .getConfig() in getConfig()
1047 final WifiEnterpriseConfig enterpriseConfig = mAccessPoint.getConfig().enterpriseConfig; in showSecurityFields()
1286 config = mAccessPoint.getConfig(); in showIpConfigFields()
1338 config = mAccessPoint.getConfig(); in showProxyFields()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DAmbientDisplayAlwaysOnPreferenceController.java46 return isAvailable(getConfig()) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
56 return getConfig().alwaysOnEnabled(MY_USER); in isChecked()
86 private AmbientDisplayConfiguration getConfig() { in getConfig() method in AmbientDisplayAlwaysOnPreferenceController
/packages/apps/Settings/src/com/android/settings/gestures/
DGestureSettings.java58 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
59 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
62 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in GestureSettings
/packages/apps/Settings/src/com/android/settings/display/
DAmbientDisplayAlwaysOnPreferenceController.java48 return isAvailable(getConfig()) in getAvailabilityStatus()
60 return getConfig().alwaysOnEnabled(MY_USER); in isChecked()
90 private AmbientDisplayConfiguration getConfig() { in getConfig() method in AmbientDisplayAlwaysOnPreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DGestureSettings.java58 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
59 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
62 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in GestureSettings
/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/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java433 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in checkSavedMacRandomizedValue()
449 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_noChanged_shouldPersistentAsDefault()
462 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_ChangedToNone_shouldGetNone()
498 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
508 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
517 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/
DMainActivity.java148 Method getConfig = canaryClass.getMethod("getConfig"); in initLeakCanary() local
149 Class<?> configClass = getConfig.getReturnType(); in initLeakCanary()
157 Object currentConfig = getConfig.invoke(canary); in initLeakCanary()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java219 LOG.e("Failed to forget invalid network " + accessPoint.getConfig()); in forget()
223 wifiManager.forget(accessPoint.getConfig().networkId, in forget()
230 WifiConfiguration config = accessPoint.getConfig(); in isAccessPointDisabledByWrongPassword()
DCarWifiManager.java223 mWifiManager.connect(accessPoint.getConfig(), listener); in connectToPublicWifi()
229 mWifiManager.connect(accessPoint.getConfig(), listener); in connectToSavedWifi()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java341 mWifiConfig = accessPoint.getConfig(); in WifiDetailPreferenceController()
569 if (mAccessPoint.getConfig() == null) { in updateAccessPointFromScannedList()
574 if (ap.getConfig() != null in updateAccessPointFromScannedList()
575 && mAccessPoint.matches(ap.getConfig())) { in updateAccessPointFromScannedList()
857 return mAccessPoint.getConfig() != null; in canShareNetwork()
933 mWifiManager.save(dialog.getController().getConfig(), new WifiManager.ActionListener() { in onSubmit()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DAccessPointPreferenceTest.java81 when(mAccessPoint.getConfig()).thenReturn(config); in onClick_hasSecurity_isSaved_correctPassword_doesntOpenDialog()
98 when(mAccessPoint.getConfig()).thenReturn(config); in onClick_hasSecurity_isSaved_incorrectPassword_opensDialog()

12345