/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 40 val currentConfig = context.resources.configuration constant 42 fontScale = currentConfig.fontScale 43 density = currentConfig.densityDpi 44 inCarMode = currentConfig.uiMode and Configuration.UI_MODE_TYPE_MASK == 46 uiMode = currentConfig.uiMode and Configuration.UI_MODE_NIGHT_MASK 47 localeList = currentConfig.locales
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsMessage.java | 952 for (NoEmsSupportConfig currentConfig : mNoEmsSupportConfigList) { in hasEmsSupport() 953 if (simOperator.startsWith(currentConfig.mOperatorNumber) && in hasEmsSupport() 954 (TextUtils.isEmpty(currentConfig.mGid1) || in hasEmsSupport() 955 (!TextUtils.isEmpty(currentConfig.mGid1) && in hasEmsSupport() 956 currentConfig.mGid1.equalsIgnoreCase(gid)))) { in hasEmsSupport() 983 for (NoEmsSupportConfig currentConfig : mNoEmsSupportConfigList) { in shouldAppendPageNumberAsPrefix() 984 if (simOperator.startsWith(currentConfig.mOperatorNumber) && in shouldAppendPageNumberAsPrefix() 985 (TextUtils.isEmpty(currentConfig.mGid1) || in shouldAppendPageNumberAsPrefix() 986 (!TextUtils.isEmpty(currentConfig.mGid1) in shouldAppendPageNumberAsPrefix() 987 && currentConfig.mGid1.equalsIgnoreCase(gid)))) { in shouldAppendPageNumberAsPrefix() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | PersistentDataStore.java | 592 BrightnessConfiguration currentConfig = mConfigurations.get(userSerial); in setBrightnessConfigurationForUser() local 593 if (currentConfig != c && (currentConfig == null || !currentConfig.equals(c))) { in setBrightnessConfigurationForUser()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 283 final Configuration currentConfig = defaultDisplay.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() local 286 final Configuration newOverrideConfig = new Configuration(currentConfig); in testDefaultDisplayOverrideConfigUpdate() 298 mWm.setNewDisplayOverrideConfiguration(currentConfig, defaultDisplay); in testDefaultDisplayOverrideConfigUpdate() 300 assertEquals(currentConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate() 301 assertEquals(currentConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 5300 final WifiConfiguration currentConfig = getCurrentWifiConfiguration(); in enter() local 5302 (currentConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC); in enter() 5304 final String key = currentConfig.configKey(); in enter() 5332 mIpClient.setHttpProxy(currentConfig.getHttpProxy()); in enter() 5343 .withDisplayName(currentConfig.SSID) in enter() 5347 StaticIpConfiguration staticIpConfig = currentConfig.getStaticIpConfiguration(); in enter() 5352 .withDisplayName(currentConfig.SSID) in enter() 5405 public boolean shouldEvaluateWhetherToSendExplicitlySelected(WifiConfiguration currentConfig) { in shouldEvaluateWhetherToSendExplicitlySelected() argument 5406 if (currentConfig == null) { in shouldEvaluateWhetherToSendExplicitlySelected() 5411 return (mWifiConfigManager.getLastSelectedNetwork() == currentConfig.networkId in shouldEvaluateWhetherToSendExplicitlySelected() [all …]
|
D | SupplicantStaIfaceHal.java | 306 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in getCurrentNetworkId() local 307 if (currentConfig == null) { in getCurrentNetworkId() 310 return currentConfig.networkId; in getCurrentNetworkId() 829 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in connectToNetwork() local 830 if (WifiConfigurationUtil.isSameNetwork(config, currentConfig)) { in connectToNetwork() 834 currentConfig.getNetworkSelectionStatus().getNetworkSelectionBSSID(); in connectToNetwork()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 2269 WifiConfiguration currentConfig = new WifiConfiguration(); in makeLastSelectedWifiConfiguration() local 2270 currentConfig.networkId = lastSelectedNetworkId; in makeLastSelectedWifiConfiguration() 2271 return currentConfig; in makeLastSelectedWifiConfiguration() 2282 WifiConfiguration currentConfig = makeLastSelectedWifiConfiguration(5, in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkNotExpired() local 2284 assertTrue(mCmi.shouldEvaluateWhetherToSendExplicitlySelected(currentConfig)); in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkNotExpired() 2295 WifiConfiguration currentConfig = makeLastSelectedWifiConfiguration(5, in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkExpired() local 2297 assertFalse(mCmi.shouldEvaluateWhetherToSendExplicitlySelected(currentConfig)); in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkExpired() 2307 WifiConfiguration currentConfig = makeLastSelectedWifiConfiguration(5, in testShouldEvaluateWhetherToSendExplicitlySelected_DifferentNetwork() local 2309 currentConfig.networkId = 4; in testShouldEvaluateWhetherToSendExplicitlySelected_DifferentNetwork() 2310 assertFalse(mCmi.shouldEvaluateWhetherToSendExplicitlySelected(currentConfig)); in testShouldEvaluateWhetherToSendExplicitlySelected_DifferentNetwork()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 3385 final Configuration currentConfig = getConfiguration(); in onlyVrUiModeChanged() local 3386 return changes == CONFIG_UI_MODE && (isInVrUiMode(currentConfig) in onlyVrUiModeChanged() 3394 final Configuration currentConfig = getConfiguration(); in getConfigurationChanges() local 3395 int changes = lastReportedConfig.diff(currentConfig); in getConfigurationChanges() 3400 currentConfig.screenWidthDp) in getConfigurationChanges() 3402 currentConfig.screenHeightDp); in getConfigurationChanges() 3409 final int newSmallest = currentConfig.smallestScreenWidthDp; in getConfigurationChanges()
|
D | RootWindowContainer.java | 382 final Configuration currentConfig = displayContent.getRequestedOverrideConfiguration(); in setDisplayOverrideConfigurationIfNeeded() local 383 final boolean configChanged = currentConfig.diff(newConfiguration) != 0; in setDisplayOverrideConfigurationIfNeeded()
|
D | DisplayContent.java | 1276 Configuration updateOrientationFromAppTokens(Configuration currentConfig, in updateOrientationFromAppTokens() argument 1294 } else if (currentConfig != null) { in updateOrientationFromAppTokens() 1301 mTmpConfiguration.updateFrom(currentConfig); in updateOrientationFromAppTokens() 1303 if (currentConfig.diff(mTmpConfiguration) != 0) { in updateOrientationFromAppTokens()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaPhone.java | 3920 int currentConfig = super.getLteOnCdmaMode(); in getLteOnCdmaMode() local 3921 int lteOnCdmaModeDynamicValue = currentConfig; in getLteOnCdmaMode() 3930 if (currentConfig == RILConstants.LTE_ON_CDMA_TRUE) { in getLteOnCdmaMode() 3934 return currentConfig; in getLteOnCdmaMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 1303 Configuration currentConfig = getResources().getConfiguration(); 1304 boolean nightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK)
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 3454 Configuration currentConfig = res.getConfiguration(); in Builder() local 3455 mInNightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in Builder() 8174 Configuration currentConfig = resources.getConfiguration(); in bindMediaActionButton() local 8175 boolean inNightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in bindMediaActionButton()
|