Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.java45 Configuration currentConfig = context.getResources().getConfiguration(); in ConfigurationControllerImpl() local
46 mFontScale = currentConfig.fontScale; in ConfigurationControllerImpl()
47 mDensity = currentConfig.densityDpi; in ConfigurationControllerImpl()
48 mInCarMode = (currentConfig.uiMode & Configuration.UI_MODE_TYPE_MASK) in ConfigurationControllerImpl()
50 mUiMode = currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK; in ConfigurationControllerImpl()
51 mLocaleList = currentConfig.getLocales(); in ConfigurationControllerImpl()
DStatusBar.java870 final Configuration currentConfig = res.getConfiguration(); in start() local
871 mLocale = currentConfig.locale; in start()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer_hwc1.cpp183 disp.currentConfig = 0; in HWComposer()
373 mDisplayData[disp].currentConfig = 0; in queryDisplayProperties()
438 size_t configId = mDisplayData[id].currentConfig; in setVirtualDisplayProperties()
455 mDisplayData[id].currentConfig = 0; in allocateDisplayId()
478 size_t configId = mDisplayData[disp].currentConfig; in getRefreshTimestamp()
500 size_t currentConfig = mDisplayData[disp].currentConfig; in getWidth() local
501 return mDisplayData[disp].configs[currentConfig].width; in getWidth()
505 size_t currentConfig = mDisplayData[disp].currentConfig; in getHeight() local
506 return mDisplayData[disp].configs[currentConfig].height; in getHeight()
510 size_t currentConfig = mDisplayData[disp].currentConfig; in getDpiX() local
[all …]
DHWComposer_hwc1.h345 size_t currentConfig; member
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java841 for (NoEmsSupportConfig currentConfig : mNoEmsSupportConfigList) { in hasEmsSupport()
842 if (simOperator.startsWith(currentConfig.mOperatorNumber) && in hasEmsSupport()
843 (TextUtils.isEmpty(currentConfig.mGid1) || in hasEmsSupport()
844 (!TextUtils.isEmpty(currentConfig.mGid1) && in hasEmsSupport()
845 currentConfig.mGid1.equalsIgnoreCase(gid)))) { in hasEmsSupport()
872 for (NoEmsSupportConfig currentConfig : mNoEmsSupportConfigList) { in shouldAppendPageNumberAsPrefix()
873 if (simOperator.startsWith(currentConfig.mOperatorNumber) && in shouldAppendPageNumberAsPrefix()
874 (TextUtils.isEmpty(currentConfig.mGid1) || in shouldAppendPageNumberAsPrefix()
875 (!TextUtils.isEmpty(currentConfig.mGid1) in shouldAppendPageNumberAsPrefix()
876 && currentConfig.mGid1.equalsIgnoreCase(gid)))) { in shouldAppendPageNumberAsPrefix()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java198 public boolean canAccessFullConnectionInfo(@Nullable WifiConfiguration currentConfig, in canAccessFullConnectionInfo() argument
213 || isUseOpenWifiPackageWithConnectionInfoAccess(currentConfig, pkgName); in canAccessFullConnectionInfo()
222 @Nullable WifiConfiguration currentConfig, String pkgName) { in isUseOpenWifiPackageWithConnectionInfoAccess()
225 if (currentConfig == null) { in isUseOpenWifiPackageWithConnectionInfoAccess()
231 if (!currentConfig.isOpenNetwork()) { in isUseOpenWifiPackageWithConnectionInfoAccess()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DDisplayContentTests.java228 final Configuration currentConfig = mDisplayContent.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() local
231 final Configuration newOverrideConfig = new Configuration(currentConfig); in testDefaultDisplayOverrideConfigUpdate()
243 sWm.setNewDisplayOverrideConfiguration(currentConfig, DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfigUpdate()
245 assertEquals(currentConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate()
246 assertEquals(currentConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java2238 final Configuration currentConfig = getOverrideConfiguration(); in onOverrideConfigurationChanged() local
2239 if (currentConfig.equals(newConfig)) { in onOverrideConfigurationChanged()
2535 final Configuration currentConfig = getConfiguration(); in onlyVrUiModeChanged() local
2536 return changes == CONFIG_UI_MODE && (isInVrUiMode(currentConfig) in onlyVrUiModeChanged()
2544 final Configuration currentConfig = getConfiguration(); in getConfigurationChanges() local
2545 int changes = lastReportedConfig.diff(currentConfig); in getConfigurationChanges()
2550 currentConfig.screenWidthDp) in getConfigurationChanges()
2552 currentConfig.screenHeightDp); in getConfigurationChanges()
2559 final int newSmallest = currentConfig.smallestScreenWidthDp; in getConfigurationChanges()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateMachineTest.java2729 WifiConfiguration currentConfig = new WifiConfiguration(); in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkNotExpired() local
2730 currentConfig.networkId = lastSelectedNetworkId; in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkNotExpired()
2731 assertTrue(mWsm.shouldEvaluateWhetherToSendExplicitlySelected(currentConfig)); in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkNotExpired()
2751 WifiConfiguration currentConfig = new WifiConfiguration(); in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkExpired() local
2752 currentConfig.networkId = lastSelectedNetworkId; in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkExpired()
2753 assertFalse(mWsm.shouldEvaluateWhetherToSendExplicitlySelected(currentConfig)); in testShouldEvaluateWhetherToSendExplicitlySelected_SameNetworkExpired()
2772 WifiConfiguration currentConfig = new WifiConfiguration(); in testShouldEvaluateWhetherToSendExplicitlySelected_DifferentNetwork() local
2773 currentConfig.networkId = lastSelectedNetworkId - 1; in testShouldEvaluateWhetherToSendExplicitlySelected_DifferentNetwork()
2774 assertFalse(mWsm.shouldEvaluateWhetherToSendExplicitlySelected(currentConfig)); in testShouldEvaluateWhetherToSendExplicitlySelected_DifferentNetwork()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl135 Configuration updateOrientationFromAppTokens(in Configuration currentConfig, in updateOrientationFromAppTokens() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java6028 WifiConfiguration currentConfig = getCurrentWifiConfiguration(); in enter() local
6030 (currentConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC); in enter()
6066 mIpManager.setHttpProxy(currentConfig.getHttpProxy()); in enter()
6077 StaticIpConfiguration staticIpConfig = currentConfig.getStaticIpConfiguration(); in enter()
6129 public boolean shouldEvaluateWhetherToSendExplicitlySelected(WifiConfiguration currentConfig) { in shouldEvaluateWhetherToSendExplicitlySelected() argument
6130 if (currentConfig == null) { in shouldEvaluateWhetherToSendExplicitlySelected()
6135 return (mWifiConfigManager.getLastSelectedNetwork() == currentConfig.networkId in shouldEvaluateWhetherToSendExplicitlySelected()
7279 WifiConfiguration currentConfig = mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in getTargetSsid() local
7280 if (currentConfig != null) { in getTargetSsid()
7281 return currentConfig.SSID; in getTargetSsid()
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java359 final Configuration currentConfig = displayContent.getOverrideConfiguration(); in setDisplayOverrideConfigurationIfNeeded() local
360 final boolean configChanged = currentConfig.diff(newConfiguration) != 0; in setDisplayOverrideConfigurationIfNeeded()
DWindowManagerService.java2511 public Configuration updateOrientationFromAppTokens(Configuration currentConfig, in updateOrientationFromAppTokens() argument
2521 config = updateOrientationFromAppTokensLocked(currentConfig, freezeThisOneIfNeeded, in updateOrientationFromAppTokens()
2531 private Configuration updateOrientationFromAppTokensLocked(Configuration currentConfig, in updateOrientationFromAppTokensLocked() argument
2549 } else if (currentConfig != null) { in updateOrientationFromAppTokensLocked()
2556 mTempConfiguration.updateFrom(currentConfig); in updateOrientationFromAppTokensLocked()
2559 if (currentConfig.diff(mTempConfiguration) != 0) { in updateOrientationFromAppTokensLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java178 final Configuration currentConfig = mContext.getResources().getConfiguration(); in init() local
179 mDensity = currentConfig.densityDpi; in init()
/frameworks/base/core/java/android/app/
DNotification.java2822 Configuration currentConfig = res.getConfiguration(); in Builder() local
2823 mInNightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in Builder()