Home
last modified time | relevance | path

Searched refs:flagName (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Contacts/src-bind/com/android/contactsbind/experiments/
DFlags.java42 public boolean getBoolean(String flagName) { in getBoolean() argument
43 return mMap.containsKey(flagName) ? (boolean) mMap.get(flagName) : false; in getBoolean()
46 public int getInteger(String flagName) { in getInteger() argument
47 return mMap.containsKey(flagName) ? ((Integer) mMap.get(flagName)).intValue() : 0; in getInteger()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/featureflags/
DFeatureFlagPersistentTest.java70 private void cleanup(String flagName) { in cleanup() argument
71 Settings.Global.putString(mContext.getContentResolver(), flagName, ""); in cleanup() local
72 SystemProperties.set(FeatureFlagUtils.FFLAG_PREFIX + flagName, ""); in cleanup()
73 SystemProperties.set(FeatureFlagUtils.FFLAG_OVERRIDE_PREFIX + flagName, ""); in cleanup()
74 SystemProperties.set(FeatureFlagUtils.PERSIST_PREFIX + flagName, ""); in cleanup()
/packages/modules/DnsResolver/
Dutil.cpp43 int getExperimentFlagInt(const std::string& flagName, int defaultValue) { in getExperimentFlagInt() argument
45 ParseInt(GetServerConfigurableFlag("netd_native", flagName, ""), &val); in getExperimentFlagInt()
DPrivateDnsConfiguration.cpp43 milliseconds getExperimentTimeout(const std::string& flagName, const milliseconds defaultValue) { in getExperimentTimeout() argument
44 int val = getExperimentFlagInt(flagName, defaultValue.count()); in getExperimentTimeout()
Dutil.h29 int getExperimentFlagInt(const std::string& flagName, int defaultValue);