Home
last modified time | relevance | path

Searched refs:configuration (Results 1 – 25 of 184) sorted by relevance

12345678

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java433 XmlSerializer out, WifiConfiguration configuration) in writeSecurityParamsListToXml() argument
436 for (SecurityParams params: configuration.getSecurityParamsList()) { in writeSecurityParamsListToXml()
466 XmlSerializer out, WifiConfiguration configuration, in writeCommonElementsToXml() argument
469 XmlUtil.writeNextValue(out, XML_TAG_CONFIG_KEY, configuration.getKey()); in writeCommonElementsToXml()
470 XmlUtil.writeNextValue(out, XML_TAG_SSID, configuration.SSID); in writeCommonElementsToXml()
471 writePreSharedKeyToXml(out, configuration.preSharedKey, encryptionUtil); in writeCommonElementsToXml()
472 writeWepKeysToXml(out, configuration.wepKeys); in writeCommonElementsToXml()
473 XmlUtil.writeNextValue(out, XML_TAG_WEP_TX_KEY_INDEX, configuration.wepTxKeyIndex); in writeCommonElementsToXml()
474 XmlUtil.writeNextValue(out, XML_TAG_HIDDEN_SSID, configuration.hiddenSSID); in writeCommonElementsToXml()
475 XmlUtil.writeNextValue(out, XML_TAG_REQUIRE_PMF, configuration.requirePmf); in writeCommonElementsToXml()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java321 WifiConfiguration configuration = createOpenNetwork(); in createEphemeralNetwork() local
322 configuration.ephemeral = true; in createEphemeralNetwork()
323 return configuration; in createEphemeralNetwork()
327 WifiConfiguration configuration = createOpenNetwork(); in createOpenHiddenNetwork() local
328 configuration.hiddenSSID = true; in createOpenHiddenNetwork()
329 return configuration; in createOpenHiddenNetwork()
341 WifiConfiguration configuration = in createPskNetwork() local
344 configuration.preSharedKey = TEST_PSK; in createPskNetwork()
345 return configuration; in createPskNetwork()
353 WifiConfiguration configuration = in createPskSaeNetwork() local
[all …]
DNetworkSuggestionNominatorTest.java125 (ScanDetail scanDetail, WifiConfiguration configuration) -> { in testSelectNetworkSuggestionForNoMatch()
126 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForNoMatch()
168 (ScanDetail scanDetail, WifiConfiguration configuration) -> { in testSelectNetworkSuggestionForOneMatch()
169 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForOneMatch()
210 (ScanDetail scanDetail, WifiConfiguration configuration) -> { in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
211 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
255 (ScanDetail scanDetail, WifiConfiguration configuration) -> { in testSelectNetworkSuggestionForMultipleMatch()
256 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForMultipleMatch()
300 (ScanDetail scanDetail, WifiConfiguration configuration) -> { in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
301 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
[all …]
DWifiBackupRestoreTest.java1169 for (WifiConfiguration configuration : configurations) { in createWpaSupplicantConfBackupData()
1170 writeConfigurationToWpaSupplicantConf(out, configuration); in createWpaSupplicantConfBackupData()
1185 OutputStreamWriter out, WifiConfiguration configuration) in writeConfigurationToWpaSupplicantConf() argument
1188 out.write(" " + "ssid=" + configuration.SSID + "\n"); in writeConfigurationToWpaSupplicantConf()
1189 if (configuration.hiddenSSID) { in writeConfigurationToWpaSupplicantConf()
1193 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)) { in writeConfigurationToWpaSupplicantConf()
1196 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in writeConfigurationToWpaSupplicantConf()
1199 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)) { in writeConfigurationToWpaSupplicantConf()
1202 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) { in writeConfigurationToWpaSupplicantConf()
1207 if (configuration.allowedAuthAlgorithms.get(WifiConfiguration.AuthAlgorithm.OPEN)) { in writeConfigurationToWpaSupplicantConf()
[all …]
DWifiConfigManagerTest.java5340 private void setDefaults(WifiConfiguration configuration) { in setDefaults() argument
5341 if (configuration.getIpAssignment() == IpConfiguration.IpAssignment.UNASSIGNED) { in setDefaults()
5342 configuration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in setDefaults()
5344 if (configuration.getProxySettings() == IpConfiguration.ProxySettings.UNASSIGNED) { in setDefaults()
5345 configuration.setProxySettings(IpConfiguration.ProxySettings.NONE); in setDefaults()
5347 configuration.status = WifiConfiguration.Status.DISABLED; in setDefaults()
5348 configuration.getNetworkSelectionStatus().setNetworkSelectionStatus( in setDefaults()
5350 configuration.getNetworkSelectionStatus().setNetworkSelectionDisableReason( in setDefaults()
5357 private void setCreationDebugParams(WifiConfiguration configuration, int uid, in setCreationDebugParams() argument
5359 configuration.creatorUid = configuration.lastUpdateUid = uid; in setCreationDebugParams()
[all …]
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sip/
DSipUtils.java109 SipSessionConfiguration configuration, in buildInvite() argument
114 String address = configuration.getLocalIpAddress(); in buildInvite()
115 int port = configuration.getLocalPort(); in buildInvite()
116 String transport = configuration.getSipTransport(); in buildInvite()
117 List<String> associatedUris = configuration.getAssociatedUris(); in buildInvite()
119 configuration.getPublicUserIdentity()); in buildInvite()
151 request.setHeader(generateContactHeader(configuration)); in buildInvite()
154 if (configuration.getPaniHeader() != null) { in buildInvite()
157 configuration.getPaniHeader())); in buildInvite()
159 if (configuration.getPlaniHeader() != null) { in buildInvite()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java227 WifiConfiguration configuration = WifiConfigurationTestUtil.createEapNetwork(); in testEapWifiConfigurationSerializeDeserializeForConfigStore() local
228 configuration.status = WifiConfiguration.Status.DISABLED; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
229 configuration.linkedConfigurations = new HashMap<>(); in testEapWifiConfigurationSerializeDeserializeForConfigStore()
230 configuration.linkedConfigurations.put(TEST_PLACEHOLDER_CONFIG_KEY, Integer.valueOf(1)); in testEapWifiConfigurationSerializeDeserializeForConfigStore()
231 configuration.defaultGwMacAddress = TEST_STATIC_IP_GATEWAY_ADDRESS; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
232 configuration.validatedInternetAccess = true; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
233 configuration.noInternetAccessExpected = true; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
234 configuration.meteredHint = true; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
235 configuration.useExternalScores = true; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
236 configuration.numAssociation = 5; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java174 WifiConfiguration configuration = in parseNetworkConfigurationsFromXml() local
176 if (configuration != null) { in parseNetworkConfigurationsFromXml()
177 Log.v(TAG, "Parsed Configuration: " + configuration.getKey()); in parseNetworkConfigurationsFromXml()
178 configurations.add(configuration); in parseNetworkConfigurationsFromXml()
199 WifiConfiguration configuration = null; in parseNetworkConfigurationFromXml() local
206 configuration = parseWifiConfigurationFromXml(in, configTagDepth, minorVersion); in parseNetworkConfigurationFromXml()
207 if (configuration == null) { in parseNetworkConfigurationFromXml()
215 configuration.setIpConfiguration(ipConfiguration); in parseNetworkConfigurationFromXml()
216 return configuration; in parseNetworkConfigurationFromXml()
230 WifiConfiguration configuration = parsedConfig.second; in parseWifiConfigurationFromXml() local
[all …]
DWifiBackupRestore.java211 for (WifiConfiguration configuration : configurations) { in writeNetworkConfigurationsToXml()
213 if (configuration.isEnterprise() || configuration.isPasspoint()) { in writeNetworkConfigurationsToXml()
216 if (!mWifiPermissionsUtil.checkConfigOverridePermission(configuration.creatorUid)) { in writeNetworkConfigurationsToXml()
218 + configuration.getKey()); in writeNetworkConfigurationsToXml()
223 writeNetworkConfigurationToXml(out, configuration); in writeNetworkConfigurationsToXml()
233 private void writeNetworkConfigurationToXml(XmlSerializer out, WifiConfiguration configuration) in writeNetworkConfigurationToXml() argument
236 WifiConfigurationXmlUtil.writeToXmlForBackup(out, configuration); in writeNetworkConfigurationToXml()
239 IpConfigurationXmlUtil.writeToXml(out, configuration.getIpConfiguration()); in writeNetworkConfigurationToXml()
397 for (WifiConfiguration configuration : configurations) { in retrieveConfigurationsFromSupplicantBackupData()
399 if (configuration.getKey().hashCode() == id) { in retrieveConfigurationsFromSupplicantBackupData()
[all …]
DNetworkListStoreData.java286 WifiConfiguration configuration = parsedConfig.second; in parseNetwork() local
288 configuration.convertLegacyFieldsToSecurityParamsIfNeeded(); in parseNetwork()
291 if (configuration.preSharedKey != null && !configuration.needsPreSharedKey()) { in parseNetwork()
293 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_PSK); in parseNetwork()
295 configKeyParsed = configuration.getKey(); in parseNetwork()
298 String configKeyCalculated = configuration.getKey(); in parseNetwork()
305 String creatorName = mContext.getPackageManager().getNameForUid(configuration.creatorUid); in parseNetwork()
307 Log.e(TAG, "Invalid creatorUid for saved network " + configuration.getKey() in parseNetwork()
308 + ", creatorUid=" + configuration.creatorUid); in parseNetwork()
309 configuration.creatorUid = Process.SYSTEM_UID; in parseNetwork()
[all …]
DWifiConfigManager.java622 private void maskPasswordsInWifiConfiguration(WifiConfiguration configuration) { in maskPasswordsInWifiConfiguration() argument
623 if (!TextUtils.isEmpty(configuration.preSharedKey)) { in maskPasswordsInWifiConfiguration()
624 configuration.preSharedKey = PASSWORD_MASK; in maskPasswordsInWifiConfiguration()
626 if (configuration.wepKeys != null) { in maskPasswordsInWifiConfiguration()
627 for (int i = 0; i < configuration.wepKeys.length; i++) { in maskPasswordsInWifiConfiguration()
628 if (!TextUtils.isEmpty(configuration.wepKeys[i])) { in maskPasswordsInWifiConfiguration()
629 configuration.wepKeys[i] = PASSWORD_MASK; in maskPasswordsInWifiConfiguration()
633 if (configuration.enterpriseConfig != null && !TextUtils.isEmpty( in maskPasswordsInWifiConfiguration()
634 configuration.enterpriseConfig.getPassword())) { in maskPasswordsInWifiConfiguration()
635 configuration.enterpriseConfig.setPassword(PASSWORD_MASK); in maskPasswordsInWifiConfiguration()
[all …]
DWifiShellCommand.java1027 WifiConfiguration configuration = new WifiConfiguration(); in buildWifiConfiguration() local
1028 configuration.SSID = "\"" + ssid + "\""; in buildWifiConfiguration()
1030 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_SAE); in buildWifiConfiguration()
1031 configuration.preSharedKey = "\"" + getNextArgRequired() + "\""; in buildWifiConfiguration()
1033 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_PSK); in buildWifiConfiguration()
1034 configuration.preSharedKey = "\"" + getNextArgRequired() + "\""; in buildWifiConfiguration()
1036 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_OWE); in buildWifiConfiguration()
1038 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_OPEN); in buildWifiConfiguration()
1045 configuration.meteredOverride = METERED_OVERRIDE_METERED; in buildWifiConfiguration()
1047 configuration.allowAutojoin = false; in buildWifiConfiguration()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java675 WifiConfiguration configuration = new WifiConfiguration(); in testNeedsPreSharedKey() local
677 configuration.setSecurityParams(SECURITY_TYPE_PSK); in testNeedsPreSharedKey()
678 assertTrue(configuration.needsPreSharedKey()); in testNeedsPreSharedKey()
680 configuration.setSecurityParams(SECURITY_TYPE_SAE); in testNeedsPreSharedKey()
681 assertTrue(configuration.needsPreSharedKey()); in testNeedsPreSharedKey()
683 configuration.setSecurityParams(SECURITY_TYPE_WAPI_PSK); in testNeedsPreSharedKey()
684 assertTrue(configuration.needsPreSharedKey()); in testNeedsPreSharedKey()
686 configuration.setSecurityParams(SECURITY_TYPE_OPEN); in testNeedsPreSharedKey()
687 assertFalse(configuration.needsPreSharedKey()); in testNeedsPreSharedKey()
689 configuration.setSecurityParams(SECURITY_TYPE_OWE); in testNeedsPreSharedKey()
[all …]
DWifiNetworkSuggestionTest.java1033 WifiConfiguration configuration = new WifiConfiguration(); in testWifiNetworkSuggestionParcel() local
1034 configuration.SSID = TEST_SSID; in testWifiNetworkSuggestionParcel()
1035 configuration.BSSID = TEST_BSSID; in testWifiNetworkSuggestionParcel()
1036 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testWifiNetworkSuggestionParcel()
1038 configuration, null, false, true, true, true, TEST_PRIORITY_GROUP); in testWifiNetworkSuggestionParcel()
1104 WifiConfiguration configuration = new WifiConfiguration(); in testWifiNetworkSuggestionEqualsSame() local
1105 configuration.SSID = TEST_SSID; in testWifiNetworkSuggestionEqualsSame()
1106 configuration.BSSID = TEST_BSSID; in testWifiNetworkSuggestionEqualsSame()
1107 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSuggestionEqualsSame()
1109 new WifiNetworkSuggestion(configuration, null, true, false, true, true, in testWifiNetworkSuggestionEqualsSame()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DOveruseConfigurationXmlHelper.cpp413 IoOveruseConfiguration configuration; in readIoOveruseConfiguration() local
416 configuration.componentLevelThresholds = *result; in readIoOveruseConfiguration()
421 configuration.packageSpecificThresholds = *result; in readIoOveruseConfiguration()
426 configuration.categorySpecificThresholds = *result; in readIoOveruseConfiguration()
431 configuration.systemWideThresholds = *result; in readIoOveruseConfiguration()
435 return configuration; in readIoOveruseConfiguration()
650 Result<void> writeIoOveruseConfiguration(const IoOveruseConfiguration& configuration, in writeIoOveruseConfiguration() argument
658 writeComponentLevelThresholds(configuration.componentLevelThresholds, childElement); in writeIoOveruseConfiguration()
662 if (const auto result = writePackageSpecificThresholds(configuration.packageSpecificThresholds, in writeIoOveruseConfiguration()
668 writeAppCategorySpecificThresholds(configuration.categorySpecificThresholds, in writeIoOveruseConfiguration()
[all …]
/packages/apps/Camera2/src_pd/com/android/camera/one/v2/
DOneCameraCreator.java71 PictureSizeCalculator.Configuration configuration = null; in create() local
88 configuration = pictureSizeCalculator.computeConfiguration( in create()
92 imageBackend, configuration.getPostCaptureCrop()); in create()
99 configuration = pictureSizeCalculator.computeConfiguration( in create()
104 configuration.getPostCaptureCrop()); in create()
110 configuration = pictureSizeCalculator.computeConfiguration( in create()
114 imageBackend, configuration.getPostCaptureCrop()); in create()
118 Log.i(TAG, "Picture Size Configuration: " + configuration); in create()
124 configuration.getNativeOutputSize(), in create()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSuggestion.java905 @NonNull WifiConfiguration configuration) { in setSecurityParamsInWifiConfiguration()
907 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_PSK); in setSecurityParamsInWifiConfiguration()
909 configuration.preSharedKey = "\"" + mWpa2PskPassphrase + "\""; in setSecurityParamsInWifiConfiguration()
911 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_SAE); in setSecurityParamsInWifiConfiguration()
913 configuration.preSharedKey = "\"" + mWpa3SaePassphrase + "\""; in setSecurityParamsInWifiConfiguration()
914 if (mSaeH2eOnlyMode) configuration.enableSaeH2eOnlyMode(mSaeH2eOnlyMode); in setSecurityParamsInWifiConfiguration()
916 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_EAP); in setSecurityParamsInWifiConfiguration()
917 configuration.enterpriseConfig = mWpa2EnterpriseConfig; in setSecurityParamsInWifiConfiguration()
926 configuration.setSecurityParams( in setSecurityParamsInWifiConfiguration()
930 configuration.setSecurityParams( in setSecurityParamsInWifiConfiguration()
[all …]
DWifiNetworkSpecifier.java430 @NonNull WifiConfiguration configuration) { in setSecurityParamsInWifiConfiguration()
432 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_PSK); in setSecurityParamsInWifiConfiguration()
434 configuration.preSharedKey = "\"" + mWpa2PskPassphrase + "\""; in setSecurityParamsInWifiConfiguration()
436 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_SAE); in setSecurityParamsInWifiConfiguration()
438 configuration.preSharedKey = "\"" + mWpa3SaePassphrase + "\""; in setSecurityParamsInWifiConfiguration()
440 configuration.setSecurityParams(WifiConfiguration.SECURITY_TYPE_EAP); in setSecurityParamsInWifiConfiguration()
441 configuration.enterpriseConfig = mWpa2EnterpriseConfig; in setSecurityParamsInWifiConfiguration()
450 configuration.setSecurityParams( in setSecurityParamsInWifiConfiguration()
454 configuration.setSecurityParams( in setSecurityParamsInWifiConfiguration()
458 configuration.setSecurityParams( in setSecurityParamsInWifiConfiguration()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DLocationTimeZoneDetectionPreferenceControllerTest.java121 TimeZoneConfiguration configuration = createTimeZoneConfig(/* geoDetectionEnabled= */ true); in testLocationTimeZoneDetection_supported_shouldBeShown() local
123 new TimeZoneCapabilitiesAndConfig(capabilities, configuration); in testLocationTimeZoneDetection_supported_shouldBeShown()
133 TimeZoneConfiguration configuration = createTimeZoneConfig(/* geoDetectionEnabled= */ true); in testLocationTimeZoneDetection_unsupported_shouldNotBeShown() local
135 new TimeZoneCapabilitiesAndConfig(capabilities, configuration); in testLocationTimeZoneDetection_unsupported_shouldNotBeShown()
148 TimeZoneConfiguration configuration = createTimeZoneConfig(/* geoDetectionEnabled= */ true); in testLocationTimeZoneDetection_summary_geoDetectionEnabled() local
150 new TimeZoneCapabilitiesAndConfig(capabilities, configuration); in testLocationTimeZoneDetection_summary_geoDetectionEnabled()
160 TimeZoneConfiguration configuration = createTimeZoneConfig(/* geoDetectionEnabled= */ true); in testLocationTimeZoneDetection_toggleIsOn_whenGeoDetectionEnabledAnsMlsIsOff() local
162 new TimeZoneCapabilitiesAndConfig(capabilities, configuration); in testLocationTimeZoneDetection_toggleIsOn_whenGeoDetectionEnabledAnsMlsIsOff()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java92 final Configuration configuration = new Configuration(); in main() local
96 if (!testDrive.processArgs(configuration, args, in main()
102 configuration.createConfig(), configuration.hasPulledAtoms(), in main()
103 configuration.hasPushedAtoms()); in main()
105 configuration.dumpMetrics(reports, testDrive.mDumper); in main()
109 boolean processArgs(Configuration configuration, String[] args, List<String> connectedDevices, in processArgs() argument
126 configuration.mOnePushedAtomEvent = true; in processArgs()
131 configuration.mAdditionalAllowedPackage = args[++first_arg]; in processArgs()
149 configuration.addAtom(Integer.valueOf(atom)); in processArgs()
155 return configuration.hasPulledAtoms() || configuration.hasPushedAtoms(); in processArgs()
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/
DSpeedDialFavoritesViewHolderOnTouchListener.java31 private final ViewConfiguration configuration; field in SpeedDialFavoritesViewHolderOnTouchListener
41 ViewConfiguration configuration, in SpeedDialFavoritesViewHolderOnTouchListener() argument
45 this.configuration = configuration; in SpeedDialFavoritesViewHolderOnTouchListener()
92 return Math.abs(startX - event.getX()) > configuration.getScaledTouchSlop() in moveEventExceedsTouchSlop()
93 || Math.abs(startY - event.getY()) > configuration.getScaledTouchSlop(); in moveEventExceedsTouchSlop()
/packages/apps/Settings/src/com/android/settings/datetime/
DLocationTimeZoneDetectionPreferenceController.java72 TimeZoneConfiguration configuration = capabilitiesAndConfig.getConfiguration(); in isChecked() local
73 return configuration.isGeoDetectionEnabled(); in isChecked()
84 TimeZoneConfiguration configuration = new TimeZoneConfiguration.Builder() in setChecked() local
87 return mTimeManager.updateTimeZoneConfiguration(configuration); in setChecked()
144 TimeZoneConfiguration configuration = timeZoneCapabilitiesAndConfig.getConfiguration(); in getSummary() local
160 } else if (!configuration.isAutoDetectionEnabled()) { in getSummary()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/
DEmergencyActionFragment.java78 Configuration configuration = getResources().getConfiguration(); in onCreateView() local
79 if (configuration.fontScale > 1) { in onCreateView()
80 configuration.fontScale = (float) 1; in onCreateView()
83 metrics.scaledDensity = configuration.fontScale * metrics.density; in onCreateView()
84 configuration.densityDpi = (int) getResources().getDisplayMetrics().xdpi; in onCreateView()
87 View view = inflater.cloneInContext(getContext().createConfigurationContext(configuration)) in onCreateView()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java42 Configuration configuration = getContext().getResources().getConfiguration(); in onFinishInflate() local
43 checkOrientation(configuration.orientation); in onFinishInflate()
47 public void onConfigurationChanged(Configuration configuration) { in onConfigurationChanged() argument
48 super.onConfigurationChanged(configuration); in onConfigurationChanged()
49 checkOrientation(configuration.orientation); in onConfigurationChanged()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioPlaybackCallback.java111 AudioPlaybackConfiguration configuration = configurations.get(index); in filterNewActiveConfiguration() local
112 if (!configuration.isActive()) { in filterNewActiveConfiguration()
116 .isAudioDeviceInfoValidForZone(configuration.getAudioDeviceInfo())) { in filterNewActiveConfiguration()
118 configuration.getAudioDeviceInfo().getAddress(), configuration); in filterNewActiveConfiguration() local

12345678