Home
last modified time | relevance | path

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

12345678910>>...14

/aosp12/hardware/interfaces/weaver/aidl/vts/
H A DVtsHalWeaverTargetTest.cpp54 auto ret = weaver->getConfig(&config); in TEST_P()
70 auto ret = weaver->getConfig(&config1); in TEST_P()
73 ret = weaver->getConfig(&config2); in TEST_P()
84 const auto configRet = weaver->getConfig(&config); in TEST_P()
168 const auto configRet = weaver->getConfig(&config); in TEST_P()
185 const auto configRet = weaver->getConfig(&config); in TEST_P()
214 const auto configRet = weaver->getConfig(&config); in TEST_P()
229 const auto configRet = weaver->getConfig(&config); in TEST_P()
244 const auto configRet = weaver->getConfig(&config); in TEST_P()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A 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());
H A 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()
/aosp12/frameworks/av/services/audiopolicy/tests/
H A Daudio_health_tests.cpp71 ASSERT_NE("AudioPolicyConfig::setDefault", manager.getConfig().getSource()); in TEST()
73 for (auto desc : manager.getConfig().getInputDevices()) { in TEST()
80 for (auto desc : manager.getConfig().getOutputDevices()) { in TEST()
93 ASSERT_NE("AudioPolicyConfig::setDefault", manager.getConfig().getSource()); in TEST()
96 for (const auto& hwModule : manager.getConfig().getHwModules()) { in TEST()
H A Daudiopolicymanager_tests.cpp48 manager.getConfig().setDefault(); in TEST()
57 manager.getConfig().setDefault(); in TEST()
72 ASSERT_TRUE(manager.getConfig().getHwModules().isEmpty()); in TEST()
73 ASSERT_TRUE(manager.getConfig().getInputDevices().isEmpty()); in TEST()
78 &manager.getConfig()); in TEST()
80 EXPECT_TRUE(manager.getConfig().getHwModules().isEmpty()); in TEST()
81 EXPECT_TRUE(manager.getConfig().getInputDevices().isEmpty()); in TEST()
85 &manager.getConfig()); in TEST()
87 EXPECT_FALSE(manager.getConfig().getHwModules().isEmpty()); in TEST()
165 mManager->getConfig().setDefault(); in SetUpManagerConfig()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/security/
H A 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
/aosp12/hardware/interfaces/weaver/1.0/vts/functional/
H A DVtsHalWeaverV1_0TargetTest.cpp56 auto ret = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P()
79 auto ret = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P()
89 ret = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P()
107 const auto configRet = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P()
210 const auto configRet = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P()
233 const auto configRet = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P()
269 const auto configRet = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P()
290 const auto configRet = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P()
311 const auto configRet = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointManagerTest.java321 lenient().when(provider.getConfig()).thenReturn(config); in createMockProvider()
617 assertEquals(config, providers.get(0).getConfig()); in addRemoveSavedProviderWithValidUserCredential()
773 assertEquals(config, providers.get(0).getConfig()); in addRemoveSavedProviderWithValidSimCredential()
863 assertEquals(origConfig, origProviders.get(0).getConfig()); in addSavedProviderWithExistingConfig()
920 assertTrue(newConfig.equals(newProviders.get(0).getConfig()) in addSavedProviderWithExistingConfig()
1308 List.of(provider1.getConfig().getUniqueId(), provider2.getConfig().getUniqueId(), in getWifiConfigsForPasspointProfiles()
1309 provider3.getConfig().getUniqueId(), provider4.getConfig().getUniqueId(), in getWifiConfigsForPasspointProfiles()
1338 eq(provider.getConfig().getUniqueId()), any()); in getWifiConfigsForPasspointProfilesWithoutEnhancedMacRandomization()
1575 assertThat(Arrays.asList(provider1.getConfig(), provider2.getConfig()), in getMatchingPasspointConfigsForOsuProvidersWithMatch()
2078 assertEquals(config, providers.get(0).getConfig()); in addRemoveSuggestionProvider()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/gestures/
H A DGestureSettings.java57 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
58 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
61 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in GestureSettings
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
H A 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 …]
H A 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()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A 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()
H A 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()
/aosp12/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
H A DEpdgTunnelManager.java924 if ((int) getConfig(CarrierConfigManager.Iwlan.KEY_EPDG_AUTHENTICATION_METHOD_INT) in buildIkeSessionParams()
984 private <T> T getConfig(String configKey) { in getConfig() method in EpdgTunnelManager
985 return IwlanHelper.getConfig(configKey, mContext, mSlotId); in getConfig()
999 getConfig( in buildIkeSaProposal()
1007 getConfig( in buildIkeSaProposal()
1019 getConfig( in buildIkeSaProposal()
1074 getConfig( in buildChildSaProposal()
1082 getConfig( in buildChildSaProposal()
1096 getConfig( in buildChildSaProposal()
1144 int idType = getConfig(idTypeConfig); in getId()
[all …]
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DListGridLayout.java181 private int[] getConfig() { in getConfig() method in ListGridLayout
193 return getConfig()[0]; in getRowCount()
200 return getConfig()[1]; in getColumnCount()
/aosp12/packages/apps/Settings/src/com/android/settings/display/
H A DAmbientDisplayAlwaysOnPreferenceController.java49 return isAvailable(getConfig()) in getAvailabilityStatus()
77 return getConfig().alwaysOnEnabled(MY_USER); in isChecked()
105 private AmbientDisplayConfiguration getConfig() { in getConfig() method in AmbientDisplayAlwaysOnPreferenceController
/aosp12/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/ui/main/
H A DCarrierConfigFragment.java69 getConfig(false); in onCreateView()
90 getConfig(true); in onCreateView()
97 private void getConfig(boolean isDefault) { in getConfig() method in CarrierConfigFragment
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiDialogActivity.java229 Log.e(TAG, "Failed to forget invalid network " + accessPoint.getConfig()); in onForget()
232 wifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget()
249 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
269 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
276 wifiManager.connect(accessPoint.getConfig(), null /* listener */); in onSubmit()
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
H A DBitmapUtil.java49 if (bitmap.getConfig() != Bitmap.Config.HARDWARE) { in hardwareBitmapToBundle()
51 "Passed bitmap must have hardware config, found: " + bitmap.getConfig()); in hardwareBitmapToBundle()
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A 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()
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A 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()
/aosp12/packages/services/Telephony/tests/src/com/android/phone/
H A DRcsProvisioningMonitorTest.java321 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i))); in testInitWithSavedConfig()
344 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i))); in testSubInfoChanged()
354 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i)); in testSubInfoChanged()
366 byte[] configCached = mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE); in testDefaultMessagingApplicationChangedWithAcs()
384 byte[] configCached = mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE); in testDefaultMessagingApplicationChangedWithoutAcs()
694 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE)); in testTestModeEnabledAndDisabled()
702 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE))); in testTestModeEnabledAndDisabled()
709 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE)); in testTestModeEnabledAndDisabled()
715 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE))); in testTestModeEnabledAndDisabled()
847 when(mFeatureManager.getConfig()).thenReturn(mIImsConfig); in createMonitor()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
H A DPrivacyUtilsTests.java93 encoder.getConfig().toString()); in testPrivacyUtils_createInsecureDPEncoderForTest()
103 encoder.getConfig().toString()); in testPrivacyUtils_createSecureDPEncoderTest()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotNotificationSmartActionsTest.java84 when(bitmap.getConfig()).thenReturn(Bitmap.Config.HARDWARE); in testExceptionHandlingInGetSmartActionsFuture()
129 when(bitmap.getConfig()).thenReturn(Bitmap.Config.RGB_565); in testUnsupportedBitmapConfiguration()
145 when(bitmap.getConfig()).thenReturn(Bitmap.Config.HARDWARE); in testScreenshotNotificationSmartActionsProviderInvokedOnce()
159 when(bitmap.getConfig()).thenReturn(Bitmap.Config.HARDWARE); in testSupportedBitmapConfiguration()

12345678910>>...14