Home
last modified time | relevance | path

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

123456

/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsUtilsTest.java270 QnsUtils.getConfig( in testGetConfig()
275 QnsUtils.getConfig( in testGetConfig()
281 QnsUtils.getConfig( in testGetConfig()
287 QnsUtils.getConfig( in testGetConfig()
293 QnsUtils.getConfig( in testGetConfig()
298 QnsUtils.getConfig( in testGetConfig()
303 QnsUtils.getConfig( in testGetConfig()
309 QnsUtils.getConfig( in testGetConfig()
315 QnsUtils.getConfig( in testGetConfig()
321 QnsUtils.getConfig( in testGetConfig()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsCarrierConfigManager.java1286 getConfig( in loadQnsAneSupportConfigurations()
1289 getConfig( in loadQnsAneSupportConfigurations()
1294 getConfig(bundleCarrier, bundleAsset, KEY_QNS_HO_GUARDING_BY_PREFERENCE_BOOL); in loadQnsAneSupportConfigurations()
1296 getConfig(bundleCarrier, bundleAsset, KEY_QNS_SUPPORT_SERVICE_BARRING_CHECK_BOOL); in loadQnsAneSupportConfigurations()
1298 getConfig( in loadQnsAneSupportConfigurations()
1303 getConfig( in loadQnsAneSupportConfigurations()
1308 getConfig( in loadQnsAneSupportConfigurations()
1313 getConfig( in loadQnsAneSupportConfigurations()
1317 mIsBlockIpv6OnlyWifi = getConfig(bundleCarrier, bundleAsset, KEY_BLOCK_IPV6_ONLY_WIFI_BOOL); in loadQnsAneSupportConfigurations()
1320 getConfig( in loadQnsAneSupportConfigurations()
[all …]
DQnsCarrierAnspSupportConfig.java1021 int[] anspThresholdArray = QnsUtils.getConfig(bundleCarrier, bundleAsset, key); in updateAnspThresholdArrayList()
1035 return QnsUtils.getConfig(null, null, thresholdKey); in validateAndAdjustThresholdArray()
1146 String[] anspPolicyArray = QnsUtils.getConfig(bundleCarrier, bundleAsset, key); in updateAnspPolicyArrayList()
1176 int[] anspThresholdArray = QnsUtils.getConfig(configChangeBundle, assetBundle, key); in isThresholdConfigChanged()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanCarrierConfig.java253 private static PersistableBundle getConfig(Context context, int slotId, String key) { in getConfig() method in IwlanCarrierConfig
291 return getConfig(context, slotId, key).getInt(key); in getConfigInt()
303 return getConfig(context, slotId, key).getLong(key); in getConfigLong()
315 return getConfig(context, slotId, key).getDouble(key); in getConfigDouble()
327 return getConfig(context, slotId, key).getBoolean(key); in getConfigBoolean()
339 return getConfig(context, slotId, key).getString(key); in getConfigString()
351 return getConfig(context, slotId, key).getIntArray(key); in getConfigIntArray()
363 return getConfig(context, slotId, key).getLongArray(key); in getConfigLongArray()
375 return getConfig(context, slotId, key).getDoubleArray(key); in getConfigDoubleArray()
387 return getConfig(context, slotId, key).getBooleanArray(key); in getConfigBooleanArray()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAppManifestConfig.java98 return getConfig( in getAttributionConfig()
121 return getConfig( in getCustomAudiencesConfig()
144 return getConfig( in getProtectedSignalsConfig()
167 return getConfig( in getAdSelectionConfig()
191 return getConfig( in getTopicsConfig()
212 return getConfig(TAG_ADID, mAdIdConfig, AppManifestAdIdConfig::getEnabledByDefaultInstance); in getAdIdConfig()
231 return getConfig( in getAppSetIdConfig()
246 private <T extends AppManifestApiConfig> T getConfig( in getConfig() method in AppManifestConfig
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigParserTest.java49 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml()
217 XmlParseException.class, () -> AppManifestConfigParser.getConfig(parser)); in testInvalidXml_missingSdkLibrary()
232 XmlParseException.class, () -> AppManifestConfigParser.getConfig(parser)); in testInvalidXml_incorrectValues()
244 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingAllTags()
272 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingAttribution()
294 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingCustomAudiences()
316 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingProtectedSignals()
338 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingAdSelection()
360 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingTopics()
382 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingAdId()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParserUnitTest.java153 .get(123).getConfig().prop; in testParsePropertyIdWithIntValue()
198 .get(VehicleProperty.INFO_FUEL_CAPACITY).getConfig().prop; in testParsePropertyIdWithStringValue()
285 int propId = mFakeVhalConfigParser.parseJsonConfig(tempFile).get(DOOR_1_LEFT).getConfig() in testParsePropertyIdFromConstantsMap()
334 float minSampleRate = mFakeVhalConfigParser.parseJsonConfig(tempFile).get(123).getConfig() in testParseFloatValueIsString()
360 float minSampleRate = mFakeVhalConfigParser.parseJsonConfig(tempFile).get(123).getConfig() in testParseFloatValueIsInt()
373 .getConfig().access; in testParseAccessFieldOverride()
386 .getConfig().access; in testParseAccessFieldNotSpecifiedDefaultAccessValueExist()
411 .get(VehicleProperty.PERF_VEHICLE_SPEED_DISPLAY).getConfig().changeMode; in testParseChangeModeFieldOverride()
425 .get(VehicleProperty.PERF_VEHICLE_SPEED_DISPLAY).getConfig().changeMode; in testParseChangeModeFieldNotSpecifiedDefaultChangeModeValueExist()
790 assertThat(expectConfigDeclaration.getConfig().changeMode).isEqualTo(0); in testParseJsonConfig()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java355 lenient().when(provider.getConfig()).thenReturn(config); in createMockProvider()
658 assertEquals(config, providers.get(0).getConfig()); in addRemoveSavedProviderWithValidUserCredential()
725 assertTrue(mManager.enableAutojoin(null, provider.getConfig().getHomeSp().getFqdn(), in verifyEnableAutojoin()
728 assertTrue(mManager.enableAutojoin(null, provider.getConfig().getHomeSp().getFqdn(), in verifyEnableAutojoin()
731 assertFalse(mManager.enableAutojoin(null, provider.getConfig().getHomeSp() in verifyEnableAutojoin()
734 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
737 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
741 mManager.enableAutojoin(provider.getConfig().getHomeSp().getFqdn() + "-XXXX", in verifyEnableAutojoin()
756 assertTrue(mManager.enableMacRandomization(provider.getConfig().getHomeSp().getFqdn(), in verifyEnableMacRandomization()
761 assertTrue(mManager.enableMacRandomization(provider.getConfig().getHomeSp().getFqdn(), in verifyEnableMacRandomization()
[all …]
/packages/apps/Settings/src/com/android/settings/security/
DLockscreenDashboardFragment.java112 use(AmbientDisplayAlwaysOnPreferenceController.class).setConfig(getConfig(context)); in onAttach()
113 use(AmbientDisplayNotificationsPreferenceController.class).setConfig(getConfig(context)); in onAttach()
114 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
115 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
163 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in LockscreenDashboardFragment
/packages/apps/Settings/src/com/android/settings/gestures/
DGestureSettings.java56 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
57 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
60 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in GestureSettings
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java194 WifiConfiguration wifiConfig = ap.getConfig(); in getWifiMacAddress()
222 if (ap == null || ap.getConfig() == null) { in getWifiMacRandomizationSetting()
225 return ap.getConfig().macRandomizationSetting; in getWifiMacRandomizationSetting()
239 if (ap != null && ap.getConfig() != null) { in applyMacRandomizationSetting()
240 ap.getConfig().macRandomizationSetting = enable in applyMacRandomizationSetting()
243 mWifiManager.updateNetwork(ap.getConfig()); in applyMacRandomizationSetting()
247 if (wifiInfo != null && wifiInfo.getNetworkId() == ap.getConfig().networkId) { in applyMacRandomizationSetting()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DConnectivityListener.java237 WifiConfiguration wifiConfig = ap.getConfig(); in getWifiMacAddress()
262 if (ap == null || ap.getConfig() == null) { in getWifiMacRandomizationSetting()
265 return ap.getConfig().macRandomizationSetting; in getWifiMacRandomizationSetting()
270 if (ap != null && ap.getConfig() != null) { in applyMacRandomizationSetting()
271 ap.getConfig().macRandomizationSetting = enable in applyMacRandomizationSetting()
274 mWifiManager.updateNetwork(ap.getConfig()); in applyMacRandomizationSetting()
278 if (wifiInfo != null && wifiInfo.getNetworkId() == ap.getConfig().networkId) { in applyMacRandomizationSetting()
DWifiDetailsState.java134 wifiManager.forget(mAccessPoint.getConfig().networkId, null); in onActivityResult()
234 if (mAccessPoint == null || mAccessPoint.getConfig() == null) { in updateMacAddressPref()
244 (mAccessPoint.getConfig().macRandomizationSetting in updateMacAddressPref()
284 WifiConfiguration wifiConfiguration = accessPoint.getConfig(); in updateRestrictedPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigController2Test.java499 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_noChanged_shouldPersistentAsDefault()
513 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_ChangedToNone_shouldGetNone()
549 WifiConfiguration config = mController.getConfig(); in saveDhcpValue_changedToFalse()
641 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
650 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
682 WifiConfiguration wifiConfiguration = mController.getConfig(); in getWepConfig_withNumberAndCharacterKey_shouldContainTheSameKey()
694 WifiConfiguration wifiConfiguration = mController.getConfig(); in getWepConfig_withPartialNumberAndCharacterKey_shouldContainDifferentKey()
706 WifiConfiguration wifiConfiguration = mController.getConfig(); in getPskConfig_withValidHexKey_shouldContainTheSameKey()
718 WifiConfiguration wifiConfiguration = mController.getConfig(); in getPskConfig_withInvalidHexKey_shouldContainDifferentKey()
736 WifiConfiguration wifiConfiguration = mController.getConfig(); in getEapConfig_withPhase2Gtc_shouldContainGtcMethod()
[all …]
DWifiConfigControllerTest.java427 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in checkSavedMacRandomizedValue()
441 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_noChanged_shouldPersistentAsDefault()
451 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_ChangedToDeviceMac_shouldGetNone()
470 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in checkSavedDhcpValue()
486 WifiConfiguration config = mController.getConfig(); in saveDhcpValue_changedToFalse()
575 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
585 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
594 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
640 final WifiConfiguration wifiConfiguration = mController.getConfig(); in loadSims_noSim_simSpinnerDefaultNoSim()
664 final WifiConfiguration wifiConfiguration = mController.getConfig(); in loadSims_oneSim_simSpinnerDefaultSubscription()
/packages/apps/Settings/src/com/android/settings/display/
DAmbientDisplayAlwaysOnPreferenceController.java49 return isAvailable(getConfig()) in getAvailabilityStatus()
77 return getConfig().alwaysOnEnabled(MY_USER); in isChecked()
105 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/services/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java323 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i))); in testInitWithSavedConfig()
346 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i))); in testSubInfoChanged()
356 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i)); in testSubInfoChanged()
368 byte[] configCached = mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE); in testDefaultMessagingApplicationChangedWithAcs()
386 byte[] configCached = mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE); in testDefaultMessagingApplicationChangedWithoutAcs()
696 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE)); in testTestModeEnabledAndDisabled()
704 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE))); in testTestModeEnabledAndDisabled()
711 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE)); in testTestModeEnabledAndDisabled()
717 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE))); in testTestModeEnabledAndDisabled()
849 when(mFeatureManager.getConfig()).thenReturn(mIImsConfig); in createMonitor()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialogActivity.java269 Log.e(TAG, "Failed to forget invalid network " + accessPoint.getConfig()); in onForget()
272 mWifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget()
290 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
308 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
314 mWifiManager.connect(accessPoint.getConfig(), null /* listener */); in onSubmit()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DConfigDeclaration.java61 return mConfig.equals(other.getConfig()) in equals()
74 public VehiclePropConfig getConfig() { in getConfig() method in ConfigDeclaration
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DTelephonyRcsService.java361 boolean supportsUce = getConfig(subId, in doesSubscriptionSupportPresence()
363 supportsUce |= getConfig(subId, in doesSubscriptionSupportPresence()
370 return getConfig(subId, CarrierConfigManager.Ims.KEY_IMS_SINGLE_REGISTRATION_REQUIRED_BOOL, in doesSubscriptionSupportSingleRegistration()
381 private boolean getConfig(int subId, String key, boolean defaultValue) { in getConfig() method in TelephonyRcsService
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java220 mProviders.put(provider.getConfig().getUniqueId(), provider); in setProviders()
337 provider.getConfig().getUniqueId(), null); in removePasspointProviderWithPackage()
630 String uniqueId = provider.getConfig().getUniqueId(); in removeProviderInternal()
681 if (!TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in removeProvider()
740 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in enableAutojoin()
772 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in enableMacRandomization()
803 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in setMeteredOverride()
836 configs.add(provider.getConfig()); in getProviderConfigs()
876 allMatches.removeIf(a -> isExpired(a.first.getConfig())); in matchProvider()
944 Log.d(TAG, "Matching provider " + provider.getConfig().getHomeSp().getFqdn() in getAllMatchedProviders()
[all …]
/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/sim/
DSimActivationNotifier.java233 if (configManager != null && configManager.getConfig() != null) { in getActiveCarrierName()
236 .getConfig() in getActiveCarrierName()
240 .getConfig() in getActiveCarrierName()

123456