/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/ |
D | PhFlagsTestHelper.java | 58 String flagName, in testGuardedFeatureFlag() argument 71 flagName) in testGuardedFeatureFlag() 76 verifyGetBooleanDeviceConfigFlagNotCalled(flagName); in testGuardedFeatureFlag() 83 mExpect.withMessage("getter of %s by default when guarding kill switches are off", flagName) in testGuardedFeatureFlag() 90 setAdservicesFlag(flagName, deviceConfigValue); in testGuardedFeatureFlag() 92 mExpect.withMessage("getter of %s when overridden by device config value", flagName) in testGuardedFeatureFlag() 98 String flagName, in testGuardedFeatureFlagBackedBySystemProperty() argument 120 + flagName in testGuardedFeatureFlagBackedBySystemProperty() 140 verifyGetBooleanSystemPropertyNotCalled(flagName); in testGuardedFeatureFlagBackedBySystemProperty() 141 verifyGetBooleanDeviceConfigFlagNotCalled(flagName); in testGuardedFeatureFlagBackedBySystemProperty() [all …]
|
D | CommonDebugFlagsTest.java | 50 String flagName, in testDebugFlag() argument 57 setSystemProperty(flagName, String.valueOf(phOverridingValue)); in testDebugFlag()
|
D | DebugFlagsTest.java | 166 String flagName, Boolean defaultValue, Flaginator<DebugFlags, Boolean> flaginator) { in testDebugFlag() argument 171 setSystemProperty(flagName, String.valueOf(phOverridingValue)); in testDebugFlag()
|
/packages/modules/StatsD/statsd/src/flags/ |
D | FlagProvider.cpp | 36 string FlagProvider::getFlagString(const string& flagName, const string& defaultValue) const { in getFlagString() argument 37 return getFlagStringInternal(flagName, defaultValue, /* isBootFlag= */ false); in getFlagString() 40 bool FlagProvider::getFlagBool(const string& flagName, const string& defaultValue) const { in getFlagBool() argument 41 return getFlagStringInternal(flagName, defaultValue, /* isBootFlag= */ false) == FLAG_TRUE; in getFlagBool() 44 string FlagProvider::getBootFlagString(const string& flagName, const string& defaultValue) const { in getBootFlagString() argument 45 return getFlagStringInternal(flagName, defaultValue, /* isBootFlag= */ true); in getBootFlagString() 48 bool FlagProvider::getBootFlagBool(const string& flagName, const string& defaultValue) const { in getBootFlagBool() argument 49 return getFlagStringInternal(flagName, defaultValue, /* isBootFlag= */ true) == FLAG_TRUE; in getBootFlagBool() 55 for (const string& flagName : flags) { in initBootFlags() local 56 string flagVal = mGetServerFlagFunc(STATSD_NATIVE_BOOT_NAMESPACE, flagName, FLAG_EMPTY); in initBootFlags() [all …]
|
D | FlagProvider.h | 49 std::string getFlagString(const std::string& flagName, const std::string& defaultValue) const; 52 bool getFlagBool(const std::string& flagName, const std::string& defaultValue) const; 54 std::string getBootFlagString(const std::string& flagName, 58 bool getBootFlagBool(const std::string& flagName, const std::string& defaultValue) const; 81 void overrideFlag(const std::string& flagName, const std::string& flagValue, 84 std::string getFlagStringInternal(const std::string& flagName, const std::string& flagValue, 87 std::string getLocalFlagKey(const std::string& flagName, const bool isBootFlag = false) const;
|
/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/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/apps/Launcher3/src/com/android/launcher3/util/ |
D | FlagDebugUtils.kt | 11 fun appendFlag(str: StringJoiner, flags: Int, flag: Int, flagName: String) { in appendFlag() 13 str.add(flagName) in appendFlag() 18 fun appendFlag(str: StringJoiner, flags: Long, flag: Long, flagName: String) { in appendFlag() 20 str.add(flagName) in appendFlag()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/rule/ |
D | SetFlagsRuleExt.kt | 21 fun SetFlagsRule.setFlags(enabled: Boolean, vararg flagName: String) { in SetFlagsRule() 22 if (enabled) enableFlags(*flagName) else disableFlags(*flagName) in SetFlagsRule()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/ |
D | PhFlags.java | 148 public Object getStableFlag(String flagName) { in getStableFlag() argument 149 if (!mStableFlags.containsKey(flagName)) { in getStableFlag() 150 throw new IllegalArgumentException("Flag " + flagName + " is not stable."); in getStableFlag() 152 return mStableFlags.get(flagName); in getStableFlag()
|
D | Flags.java | 247 default Object getStableFlag(String flagName) { in getStableFlag() argument
|
/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 | 35 int getExperimentFlagInt(const std::string& flagName, int defaultValue);
|
/packages/modules/AdServices/adservices/tests/cts/ui/libs/src/com/android/adservices/tests/ui/libs/ |
D | UiUtils.java | 71 private static void forceSetFlag(String flagName, boolean newFlagValue) throws Exception { in forceSetFlag() argument 74 if (flagName.endsWith("debug_mode")) { in forceSetFlag() 81 String currentFlagValue = ShellUtils.runShellCommand(shellCmdGetTemplate, flagName); in forceSetFlag() 88 ShellUtils.runShellCommand(shellCmdSetTemplate, flagName, newFlagValue); in forceSetFlag() 92 currentFlagValue = ShellUtils.runShellCommand(shellCmdGetTemplate, flagName); in forceSetFlag()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ |
D | PhFlags.java | 1533 String flagName = in getMeasurementJobAggregateFallbackReportingKillSwitch() local 1538 getSystemPropertyName(flagName), in getMeasurementJobAggregateFallbackReportingKillSwitch() 1539 getDeviceConfigFlag(flagName, defaultValue)); in getMeasurementJobAggregateFallbackReportingKillSwitch() 1598 String flagName = FlagsConstants.KEY_MEASUREMENT_JOB_EVENT_FALLBACK_REPORTING_KILL_SWITCH; in getMeasurementJobEventFallbackReportingKillSwitch() local 1602 getSystemPropertyName(flagName), in getMeasurementJobEventFallbackReportingKillSwitch() 1603 getDeviceConfigFlag(flagName, defaultValue)); in getMeasurementJobEventFallbackReportingKillSwitch() 1619 String flagName = FlagsConstants.KEY_MEASUREMENT_REGISTRATION_JOB_QUEUE_KILL_SWITCH; in getAsyncRegistrationJobQueueKillSwitch() local 1623 getSystemPropertyName(flagName), in getAsyncRegistrationJobQueueKillSwitch() 1624 getDeviceConfigFlag(flagName, defaultValue)); in getAsyncRegistrationJobQueueKillSwitch() 1629 String flagName = FlagsConstants.KEY_MEASUREMENT_REGISTRATION_FALLBACK_JOB_KILL_SWITCH; in getAsyncRegistrationFallbackJobKillSwitch() local [all …]
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.h | 798 const std::string& flagName, in getServerFlagFuncTrue() 804 const std::string& flagName, in getServerFlagFuncFalse() 809 void writeFlag(const std::string& flagName, const std::string& flagValue); 811 void writeBootFlag(const std::string& flagName, const std::string& flagValue);
|
D | statsd_test_util.cpp | 2180 void writeFlag(const string& flagName, const string& flagValue) { in writeFlag() argument 2182 flagName.c_str()), in writeFlag() 2186 void writeBootFlag(const string& flagName, const string& flagValue) { in writeBootFlag() argument 2188 flagName.c_str()), in writeBootFlag()
|
/packages/modules/ConfigInfrastructure/framework/java/android/provider/ |
D | DeviceConfig.java | 1159 String flagName = namespaceAndFlag[1]; in getAllProperties() local 1161 getProperty(DEVICE_CONFIG_OVERRIDES_NAMESPACE, namespace + ":" + flagName); in getAllProperties() 1168 propertyMaps.get(namespace).put(flagName, value); in getAllProperties()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/ |
D | MeasurementManagerCtsTest.java | 1240 private float getRequestPerSecond(String flagName) { 1242 String permitString = SystemProperties.get("debug.adservices." + flagName); 1247 permitString = ShellUtils.runShellCommand("device_config get adservices " + flagName);
|
/packages/apps/TV/libs/m2/ |
D | javac-shaded-9-dev-r4023-3.jar | org/openjdk/tools/sjavac/server/log/LoggingOutputStream.class
LoggingOutputStream.java
package ... |
/packages/apps/TV/libs/ |
D | google-java-format-1.7-all-deps.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |