Home
last modified time | relevance | path

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

1234567

/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.java1277 getConfig( in loadQnsAneSupportConfigurations()
1280 getConfig( in loadQnsAneSupportConfigurations()
1285 getConfig(bundleCarrier, bundleAsset, KEY_QNS_HO_GUARDING_BY_PREFERENCE_BOOL); in loadQnsAneSupportConfigurations()
1287 getConfig(bundleCarrier, bundleAsset, KEY_QNS_SUPPORT_SERVICE_BARRING_CHECK_BOOL); in loadQnsAneSupportConfigurations()
1289 getConfig( in loadQnsAneSupportConfigurations()
1294 getConfig( in loadQnsAneSupportConfigurations()
1299 getConfig( in loadQnsAneSupportConfigurations()
1304 getConfig( in loadQnsAneSupportConfigurations()
1308 mIsBlockIpv6OnlyWifi = getConfig(bundleCarrier, bundleAsset, KEY_BLOCK_IPV6_ONLY_WIFI_BOOL); in loadQnsAneSupportConfigurations()
1311 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/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/services/Iwlan/src/com/google/android/iwlan/
DIwlanCarrierConfig.java294 private static PersistableBundle getConfig(Context context, int slotId, String key) { in getConfig() method in IwlanCarrierConfig
373 return getConfig(context, slotId, key).getInt(key); in getConfigInt()
385 return getConfig(context, slotId, key).getLong(key); in getConfigLong()
397 return getConfig(context, slotId, key).getDouble(key); in getConfigDouble()
409 return getConfig(context, slotId, key).getBoolean(key); in getConfigBoolean()
421 return getConfig(context, slotId, key).getString(key); in getConfigString()
433 return getConfig(context, slotId, key).getIntArray(key); in getConfigIntArray()
445 return getConfig(context, slotId, key).getLongArray(key); in getConfigLongArray()
457 return getConfig(context, slotId, key).getDoubleArray(key); in getConfigDoubleArray()
469 return getConfig(context, slotId, key).getBooleanArray(key); in getConfigBooleanArray()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigParserTest.java53 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml()
221 XmlParseException.class, () -> AppManifestConfigParser.getConfig(parser)); in testInvalidXml_missingSdkLibrary()
236 XmlParseException.class, () -> AppManifestConfigParser.getConfig(parser)); in testInvalidXml_incorrectValues()
248 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingAllTags()
276 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingAttribution()
298 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingCustomAudiences()
320 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingProtectedSignals()
342 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingAdSelection()
364 AppManifestConfig appManifestConfig = AppManifestConfigParser.getConfig(parser); in testValidXml_missingTopics()
386 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.java113 use(AmbientDisplayAlwaysOnPreferenceController.class).setConfig(getConfig(context)); in onAttach()
115 use(AmbientDisplayNotificationsPreferenceController.class).setConfig(getConfig(context)); in onAttach()
116 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
117 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
170 private AmbientDisplayConfiguration getConfig(Context context) { in getConfig() method in LockscreenDashboardFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigController2Test.java443 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_noChanged_shouldAutoAsDefault()
457 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_ChangedToNone_shouldGetNone()
493 WifiConfiguration config = mController.getConfig(); in saveDhcpValue_changedToFalse()
585 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
594 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
626 WifiConfiguration wifiConfiguration = mController.getConfig(); in getWepConfig_withNumberAndCharacterKey_shouldContainTheSameKey()
638 WifiConfiguration wifiConfiguration = mController.getConfig(); in getWepConfig_withPartialNumberAndCharacterKey_shouldContainDifferentKey()
650 WifiConfiguration wifiConfiguration = mController.getConfig(); in getPskConfig_withValidHexKey_shouldContainTheSameKey()
662 WifiConfiguration wifiConfiguration = mController.getConfig(); in getPskConfig_withInvalidHexKey_shouldContainDifferentKey()
680 WifiConfiguration wifiConfiguration = mController.getConfig(); in getEapConfig_withPhase2Gtc_shouldContainGtcMethod()
[all …]
DWifiConfigControllerTest.java378 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in checkSavedMacRandomizedValue()
392 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_noChanged_shouldPersistentAsDefault()
402 WifiConfiguration config = mController.getConfig(); in saveMacRandomizedValue_ChangedToDeviceMac_shouldGetNone()
421 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in checkSavedDhcpValue()
437 WifiConfiguration config = mController.getConfig(); in saveDhcpValue_changedToFalse()
526 when(mAccessPoint.getConfig()).thenReturn(mockWifiConfig); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
536 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
545 wifiConfiguration = mController.getConfig(); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
591 final WifiConfiguration wifiConfiguration = mController.getConfig(); in loadSims_noSim_simSpinnerDefaultNoSim()
615 final WifiConfiguration wifiConfiguration = mController.getConfig(); in loadSims_oneSim_simSpinnerDefaultSubscription()
/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/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/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/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/Settings/src/com/android/settings/display/
DAmbientDisplayAlwaysOnPreferenceController.java50 return isAvailable(getConfig()) in getAvailabilityStatus()
78 return getConfig().alwaysOnEnabled(MY_USER); in isChecked()
106 private AmbientDisplayConfiguration getConfig() { in getConfig() method in AmbientDisplayAlwaysOnPreferenceController
/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/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/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java328 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i))); in testInitWithSavedConfig()
351 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i))); in testSubInfoChanged()
361 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE + i)); in testSubInfoChanged()
373 byte[] configCached = mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE); in testDefaultMessagingApplicationChangedWithAcs()
391 byte[] configCached = mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE); in testDefaultMessagingApplicationChangedWithoutAcs()
706 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE)); in testTestModeEnabledAndDisabled()
714 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE))); in testTestModeEnabledAndDisabled()
721 assertNull(mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE)); in testTestModeEnabledAndDisabled()
727 mRcsProvisioningMonitor.getConfig(FAKE_SUB_ID_BASE))); in testTestModeEnabledAndDisabled()
859 when(mFeatureManager.getConfig()).thenReturn(mIImsConfig); in createMonitor()
/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()

1234567