Home
last modified time | relevance | path

Searched refs:flagValue (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DAconfigFlags.java183 boolean flagValue = (flag.state == Aconfig.ENABLED); in loadAconfigDefaultValues()
185 + flagPackageAndName + " = " + flagValue); in loadAconfigDefaultValues()
186 mFlagValues.put(flagPackageAndName, flagValue); in loadAconfigDefaultValues()
221 final Boolean flagValue = getFlagValue(featureFlag); in skipCurrentElement() local
222 if (flagValue == null) { in skipCurrentElement()
228 if (flagValue == negated) { in skipCurrentElement()
230 + " behind feature flag " + featureFlag + " = " + flagValue); in skipCurrentElement()
/frameworks/base/services/core/java/com/android/server/am/
DSettingsToPropertiesMapper.java349 String flagValue = properties.getString(flagName, null); in updatePropertiesFromSettings()
350 if (flagName == null || flagValue == null) { in updatePropertiesFromSettings()
365 setProperty(propertyName, flagValue); in updatePropertiesFromSettings()
441 ProtoOutputStream proto, String packageName, String flagName, String flagValue, in writeFlagOverrideRequest() argument
447 proto.write(StorageRequestMessage.FlagOverrideMessage.FLAG_VALUE, flagValue); in writeFlagOverrideRequest()
497 String flagValue = props.getString(flagName, null); in setLocalOverridesInNewStorage() local
498 if (flagName == null || flagValue == null) { in setLocalOverridesInNewStorage()
516 writeFlagOverrideRequest(requests, packageName, realFlagName, flagValue, true); in setLocalOverridesInNewStorage()
614 String flagValue = props.getString(flagName, null); in stageFlagsInNewStorage() local
615 if (flagName == null || flagValue == null) { in stageFlagsInNewStorage()
[all …]
/frameworks/native/services/surfaceflinger/common/include/common/test/
DFlagUtils.h33 TestFlagSetter(bool (*getter)(), void((*setter)(bool)), bool flagValue) { in TestFlagSetter() argument
37 setter(flagValue); in TestFlagSetter()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigAndOtherStaticMocksTest.java51 String flagValue = "new value"; in testDeviceConfigAndOtherStaticMocks() local
58 DeviceConfig.setProperty(namespace, flag, flagValue, false); in testDeviceConfigAndOtherStaticMocks()
63 Assert.assertEquals(flagValue, DeviceConfig.getProperty(namespace, flag)); in testDeviceConfigAndOtherStaticMocks()
/frameworks/base/core/tests/coretests/src/com/android/internal/config/sysui/
DSystemUiSystemPropertiesFlagsTest.java83 private void assertTeamfoodFlag(Boolean flagValue, Boolean teamfood, boolean expected) { in assertTeamfoodFlag() argument
84 mDebugResolver.set(mTeamfoodFlag, flagValue); in assertTeamfoodFlag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java534 int flagValue = SystemProperties.getInt(FLAG_TABLET_DIALOG_WIDTH, 0); in getDefaultDialogWidth() local
535 if (flagValue == -1) { in getDefaultDialogWidth()
538 } else if (flagValue == -2) { in getDefaultDialogWidth()
541 } else if (flagValue > 0) { in getDefaultDialogWidth()
543 return calculateDialogWidthWithInsets(dialog, flagValue); in getDefaultDialogWidth()
/frameworks/base/services/core/java/com/android/server/display/feature/
DDisplayManagerFlags.java437 boolean flagValue = flagFunction.get(); in flagOrSystemProperty()
441 flagValue); in flagOrSystemProperty()
443 return flagValue; in flagOrSystemProperty()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DServiceConfigAccessorImpl.java386 boolean flagValue = optionalFlagValue.get(); in getAutoDetectionEnabledSetting()
392 if (flagValue != autoDetectionEnabledSetting) { in getAutoDetectionEnabledSetting()
393 Settings.Global.putInt(mCr, Settings.Global.AUTO_TIME_ZONE, flagValue ? 1 : 0); in getAutoDetectionEnabledSetting()
395 autoDetectionEnabledSetting = flagValue; in getAutoDetectionEnabledSetting()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java684 String flagValue = flag.getState() == flag_state.ENABLED ? "true" : "false"; in loadAconfigDefaultValues() local
686 defaultMap.get(flag.getNamespace()).put(flagName, flagValue); in loadAconfigDefaultValues()
693 .setDefaultFlagValue(flagValue) in loadAconfigDefaultValues()