Home
last modified time | relevance | path

Searched refs:currentConfig (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h78 int currentConfig = mCurrentConfig; in getCurrentRefreshRate() local
81 if (refresh.configId == currentConfig) { in getCurrentRefreshRate()
87 return {RefreshRateType::DEFAULT, mRefreshRates[currentConfig]}; in getCurrentRefreshRate()
118 int currentConfig) { in RefreshRateConfigs() argument
119 init(refreshRateSwitching, configs, currentConfig); in RefreshRateConfigs()
124 int currentConfig) { in RefreshRateConfigs() argument
129 init(refreshRateSwitching, inputConfigs, currentConfig); in RefreshRateConfigs()
134 int currentConfig) { in init() argument
137 LOG_ALWAYS_FATAL_IF(currentConfig >= configs.size()); in init()
138 mCurrentConfig = currentConfig; in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt37 val currentConfig = context.resources.configuration constant
39 fontScale = currentConfig.fontScale
40 density = currentConfig.densityDpi
41 inCarMode = currentConfig.uiMode and Configuration.UI_MODE_TYPE_MASK ==
43 uiMode = currentConfig.uiMode and Configuration.UI_MODE_NIGHT_MASK
44 localeList = currentConfig.locales
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java1090 for (NoEmsSupportConfig currentConfig : mNoEmsSupportConfigList) { in hasEmsSupport()
1091 if (simOperator.startsWith(currentConfig.mOperatorNumber) && in hasEmsSupport()
1092 (TextUtils.isEmpty(currentConfig.mGid1) || in hasEmsSupport()
1093 (!TextUtils.isEmpty(currentConfig.mGid1) && in hasEmsSupport()
1094 currentConfig.mGid1.equalsIgnoreCase(gid)))) { in hasEmsSupport()
1121 for (NoEmsSupportConfig currentConfig : mNoEmsSupportConfigList) { in shouldAppendPageNumberAsPrefix()
1122 if (simOperator.startsWith(currentConfig.mOperatorNumber) && in shouldAppendPageNumberAsPrefix()
1123 (TextUtils.isEmpty(currentConfig.mGid1) || in shouldAppendPageNumberAsPrefix()
1124 (!TextUtils.isEmpty(currentConfig.mGid1) in shouldAppendPageNumberAsPrefix()
1125 && currentConfig.mGid1.equalsIgnoreCase(gid)))) { in shouldAppendPageNumberAsPrefix()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java592 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/
DDisplayContentTests.java283 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/
DClientModeImpl.java5372 final WifiConfiguration currentConfig = getCurrentWifiConfiguration(); in enter() local
5374 (currentConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC); in enter()
5376 final String key = currentConfig.configKey(); in enter()
5403 mIpClient.setHttpProxy(currentConfig.getHttpProxy()); in enter()
5462 .withDisplayName(currentConfig.SSID) in enter()
5465 StaticIpConfiguration staticIpConfig = currentConfig.getStaticIpConfiguration(); in enter()
5471 .withDisplayName(currentConfig.SSID) in enter()
5524 public boolean shouldEvaluateWhetherToSendExplicitlySelected(WifiConfiguration currentConfig) { in shouldEvaluateWhetherToSendExplicitlySelected() argument
5525 if (currentConfig == null) { in shouldEvaluateWhetherToSendExplicitlySelected()
5530 return (mWifiConfigManager.getLastSelectedNetwork() == currentConfig.networkId in shouldEvaluateWhetherToSendExplicitlySelected()
[all …]
DSupplicantStaIfaceHal.java312 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in getCurrentNetworkId() local
313 if (currentConfig == null) { in getCurrentNetworkId()
316 return currentConfig.networkId; in getCurrentNetworkId()
853 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in connectToNetwork() local
854 if (WifiConfigurationUtil.isSameNetwork(config, currentConfig)) { in connectToNetwork()
858 currentConfig.getNetworkSelectionStatus().getNetworkSelectionBSSID(); in connectToNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java2392 WifiConfiguration currentConfig = new WifiConfiguration(); in makeLastSelectedWifiConfiguration() local
2393 currentConfig.networkId = lastSelectedNetworkId; in makeLastSelectedWifiConfiguration()
2394 return currentConfig; in makeLastSelectedWifiConfiguration()
2405 WifiConfiguration currentConfig = makeLastSelectedWifiConfiguration(5, in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkNotExpired() local
2407 assertTrue(mCmi.shouldEvaluateWhetherToSendExplicitlySelected(currentConfig)); in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkNotExpired()
2418 WifiConfiguration currentConfig = makeLastSelectedWifiConfiguration(5, in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkExpired() local
2420 assertFalse(mCmi.shouldEvaluateWhetherToSendExplicitlySelected(currentConfig)); in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkExpired()
2430 WifiConfiguration currentConfig = makeLastSelectedWifiConfiguration(5, in testShouldEvaluateWhetherToSendExplicitlySelected_DifferentNetwork() local
2432 currentConfig.networkId = 4; in testShouldEvaluateWhetherToSendExplicitlySelected_DifferentNetwork()
2433 assertFalse(mCmi.shouldEvaluateWhetherToSendExplicitlySelected(currentConfig)); in testShouldEvaluateWhetherToSendExplicitlySelected_DifferentNetwork()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java3377 final Configuration currentConfig = getConfiguration(); in onlyVrUiModeChanged() local
3378 return changes == CONFIG_UI_MODE && (isInVrUiMode(currentConfig) in onlyVrUiModeChanged()
3386 final Configuration currentConfig = getConfiguration(); in getConfigurationChanges() local
3387 int changes = lastReportedConfig.diff(currentConfig); in getConfigurationChanges()
3392 currentConfig.screenWidthDp) in getConfigurationChanges()
3394 currentConfig.screenHeightDp); in getConfigurationChanges()
3401 final int newSmallest = currentConfig.smallestScreenWidthDp; in getConfigurationChanges()
DRootWindowContainer.java382 final Configuration currentConfig = displayContent.getRequestedOverrideConfiguration(); in setDisplayOverrideConfigurationIfNeeded() local
383 final boolean configChanged = currentConfig.diff(newConfiguration) != 0; in setDisplayOverrideConfigurationIfNeeded()
DDisplayContent.java1282 Configuration updateOrientationFromAppTokens(Configuration currentConfig, in updateOrientationFromAppTokens() argument
1300 } else if (currentConfig != null) { in updateOrientationFromAppTokens()
1307 mTmpConfiguration.updateFrom(currentConfig); in updateOrientationFromAppTokens()
1309 if (currentConfig.diff(mTmpConfiguration) != 0) { in updateOrientationFromAppTokens()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java4352 int currentConfig = TelephonyProperties.lte_on_cdma_device() in getLteOnCdmaMode() local
4354 int lteOnCdmaModeDynamicValue = currentConfig; in getLteOnCdmaMode()
4363 if (currentConfig == RILConstants.LTE_ON_CDMA_TRUE) { in getLteOnCdmaMode()
4367 return currentConfig; in getLteOnCdmaMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java1286 Configuration currentConfig = getResources().getConfiguration();
1287 boolean nightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK)
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp3022 int currentConfig = getHwComposer().getActiveConfigIndex(primaryDisplayId); in initScheduler() local
3027 currentConfig); in initScheduler()
3030 currentConfig, HWC_POWER_MODE_OFF); in initScheduler()
3031 mRefreshRateStats->setConfigMode(currentConfig); in initScheduler()
/frameworks/base/core/java/android/app/
DNotification.java3457 Configuration currentConfig = res.getConfiguration(); in Builder() local
3458 mInNightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in Builder()
8173 Configuration currentConfig = resources.getConfiguration(); in bindMediaActionButton() local
8174 boolean inNightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in bindMediaActionButton()