Searched refs:flagName (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Contacts/src-bind/com/android/contactsbind/experiments/ |
D | Flags.java | 42 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/modules/StatsD/statsd/src/flags/ |
D | flags.cpp | 29 string getFlagString(const string& flagName, const string& defaultValue) { in getFlagString() argument 33 return GetServerConfigurableFlag(STATSD_NATIVE_NAMESPACE, flagName, defaultValue); in getFlagString() 36 bool getFlagBool(const string& flagName, const string& defaultValue) { in getFlagBool() argument 37 return getFlagString(flagName, defaultValue) == "true"; in getFlagBool()
|
D | flags.h | 29 std::string getFlagString(const std::string& flagName, const std::string& defaultValue); 32 bool getFlagBool(const std::string& flagName, const std::string& defaultValue);
|
/packages/apps/Settings/tests/unit/src/com/android/settings/development/featureflags/ |
D | FeatureFlagPersistentTest.java | 71 private void cleanup(String flagName) { in cleanup() argument 72 Settings.Global.putString(mContext.getContentResolver(), flagName, ""); in cleanup() local 73 SystemProperties.set(FeatureFlagUtils.FFLAG_PREFIX + flagName, ""); in cleanup() 74 SystemProperties.set(FeatureFlagUtils.FFLAG_OVERRIDE_PREFIX + flagName, ""); in cleanup() 75 SystemProperties.set(FeatureFlagUtils.PERSIST_PREFIX + flagName, ""); in cleanup()
|
/packages/modules/DnsResolver/ |
D | util.cpp | 44 int getExperimentFlagInt(const std::string& flagName, int defaultValue) { in getExperimentFlagInt() argument 46 ParseInt(GetServerConfigurableFlag("netd_native", flagName, ""), &val); in getExperimentFlagInt()
|
D | util.h | 32 int getExperimentFlagInt(const std::string& flagName, int defaultValue);
|