Home
last modified time | relevance | path

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

/packages/modules/Profiling/service/java/com/android/os/profiling/
DConfigs.java93 DeviceConfig.Properties properties = DeviceConfigHelper.getAllSystemTraceProperties(); in initializeSystemTraceConfigsIfNecessary()
96 DeviceConfigHelper.KILLSWITCH_SYSTEM_TRACE, false); in initializeSystemTraceConfigsIfNecessary()
98 DeviceConfigHelper.SYSTEM_TRACE_DURATION_MS_DEFAULT, 300000); in initializeSystemTraceConfigsIfNecessary()
100 DeviceConfigHelper.SYSTEM_TRACE_DURATION_MS_MIN, 1000); in initializeSystemTraceConfigsIfNecessary()
102 DeviceConfigHelper.SYSTEM_TRACE_DURATION_MS_MAX, 600000); in initializeSystemTraceConfigsIfNecessary()
104 DeviceConfigHelper.SYSTEM_TRACE_SIZE_KB_DEFAULT, 32768); in initializeSystemTraceConfigsIfNecessary()
106 DeviceConfigHelper.SYSTEM_TRACE_SIZE_KB_MIN, 4); in initializeSystemTraceConfigsIfNecessary()
108 DeviceConfigHelper.SYSTEM_TRACE_SIZE_KB_MAX, 32768); in initializeSystemTraceConfigsIfNecessary()
119 DeviceConfig.Properties properties = DeviceConfigHelper.getAllJavaHeapDumpProperties(); in initializeJavaHeapDumpConfigsIfNecessary()
122 DeviceConfigHelper.KILLSWITCH_JAVA_HEAP_DUMP, false); in initializeJavaHeapDumpConfigsIfNecessary()
[all …]
DRateLimiter.java128 DeviceConfig.Properties properties = DeviceConfigHelper.getAllRateLimiterProperties(); in RateLimiter()
131 properties.getInt(DeviceConfigHelper.MAX_COST_SYSTEM_1_HOUR, in RateLimiter()
133 properties.getInt(DeviceConfigHelper.MAX_COST_PROCESS_1_HOUR, in RateLimiter()
137 properties.getInt(DeviceConfigHelper.MAX_COST_SYSTEM_24_HOUR, in RateLimiter()
139 properties.getInt(DeviceConfigHelper.MAX_COST_PROCESS_24_HOUR, in RateLimiter()
143 properties.getInt(DeviceConfigHelper.MAX_COST_SYSTEM_7_DAY, in RateLimiter()
145 properties.getInt(DeviceConfigHelper.MAX_COST_PROCESS_7_DAY, in RateLimiter()
149 mCostJavaHeapDump = properties.getInt(DeviceConfigHelper.COST_JAVA_HEAP_DUMP, in RateLimiter()
151 mCostHeapProfile = properties.getInt(DeviceConfigHelper.COST_HEAP_PROFILE, in RateLimiter()
153 mCostStackSampling = properties.getInt(DeviceConfigHelper.COST_STACK_SAMPLING, in RateLimiter()
[all …]
DProfilingService.java143 mPerfettoDestroyTimeoutMs = DeviceConfigHelper.getInt( in ProfilingService()
144 DeviceConfigHelper.PERFETTO_DESTROY_TIMEOUT_MS, in ProfilingService()
147 mMaxResultRedeliveryCount = DeviceConfigHelper.getInt( in ProfilingService()
148 DeviceConfigHelper.MAX_RESULT_REDELIVERY_COUNT, in ProfilingService()
151 mProfilingRecheckDelayMs = DeviceConfigHelper.getInt( in ProfilingService()
152 DeviceConfigHelper.PROFILING_RECHECK_DELAY_MS, in ProfilingService()
155 mClearTemporaryDirectoryFrequencyMs = DeviceConfigHelper.getInt( in ProfilingService()
156 DeviceConfigHelper.CLEAR_TEMPORARY_DIRECTORY_FREQUENCY_MS, in ProfilingService()
159 mClearTemporaryDirectoryBootDelayMs = DeviceConfigHelper.getInt( in ProfilingService()
160 DeviceConfigHelper.CLEAR_TEMPORARY_DIRECTORY_BOOT_DELAY_MS, in ProfilingService()
[all …]
DDeviceConfigHelper.java24 public final class DeviceConfigHelper { class
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/
DProfilingFrameworkTests.java37 import android.os.profiling.DeviceConfigHelper;
936 executeShellCmd(COMMAND_OVERRIDE_DEVICE_CONFIG_BOOL, DeviceConfigHelper.NAMESPACE, in overrideJavaHeapDumpDeviceConfigValues()
937 DeviceConfigHelper.KILLSWITCH_JAVA_HEAP_DUMP, killswitchEnabled); in overrideJavaHeapDumpDeviceConfigValues()
938 executeShellCmd(COMMAND_OVERRIDE_DEVICE_CONFIG_INT, DeviceConfigHelper.NAMESPACE, in overrideJavaHeapDumpDeviceConfigValues()
939 DeviceConfigHelper.JAVA_HEAP_DUMP_DURATION_MS_DEFAULT, durationMs); in overrideJavaHeapDumpDeviceConfigValues()
940 executeShellCmd(COMMAND_OVERRIDE_DEVICE_CONFIG_INT, DeviceConfigHelper.NAMESPACE, in overrideJavaHeapDumpDeviceConfigValues()
941 DeviceConfigHelper.JAVA_HEAP_DUMP_DATA_SOURCE_STOP_TIMEOUT_MS_DEFAULT, in overrideJavaHeapDumpDeviceConfigValues()
947 executeShellCmd(COMMAND_OVERRIDE_DEVICE_CONFIG_BOOL, DeviceConfigHelper.NAMESPACE, in overrideHeapProfileDeviceConfigValues()
948 DeviceConfigHelper.KILLSWITCH_HEAP_PROFILE, killswitchEnabled); in overrideHeapProfileDeviceConfigValues()
949 executeShellCmd(COMMAND_OVERRIDE_DEVICE_CONFIG_INT, DeviceConfigHelper.NAMESPACE, in overrideHeapProfileDeviceConfigValues()
[all …]
DProfilingServiceTests.java41 import android.os.profiling.DeviceConfigHelper;
715 executeShellCmd(OVERRIDE_DEVICE_CONFIG_INT, DeviceConfigHelper.NAMESPACE, in testQueuedResult_OverMaxRetries()
716 DeviceConfigHelper.MAX_RESULT_REDELIVERY_COUNT, 3); in testQueuedResult_OverMaxRetries()
1114 executeShellCmd(OVERRIDE_DEVICE_CONFIG_INT, DeviceConfigHelper.NAMESPACE, in overrideRateLimiterDefaults()
1115 DeviceConfigHelper.MAX_COST_SYSTEM_1_HOUR, systemHour); in overrideRateLimiterDefaults()
1116 executeShellCmd(OVERRIDE_DEVICE_CONFIG_INT, DeviceConfigHelper.NAMESPACE, in overrideRateLimiterDefaults()
1117 DeviceConfigHelper.MAX_COST_PROCESS_1_HOUR, processHour); in overrideRateLimiterDefaults()
1118 executeShellCmd(OVERRIDE_DEVICE_CONFIG_INT, DeviceConfigHelper.NAMESPACE, in overrideRateLimiterDefaults()
1119 DeviceConfigHelper.MAX_COST_SYSTEM_24_HOUR, systemDay); in overrideRateLimiterDefaults()
1120 executeShellCmd(OVERRIDE_DEVICE_CONFIG_INT, DeviceConfigHelper.NAMESPACE, in overrideRateLimiterDefaults()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DDeviceConfigWrapper.kt19 import com.android.quickstep.util.DeviceConfigHelper
20 import com.android.quickstep.util.DeviceConfigHelper.PropReader
164 @JvmStatic val configHelper by lazy { DeviceConfigHelper(::DeviceConfigWrapper) } in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DDevOptionsUiHelper.kt85 import com.android.quickstep.util.DeviceConfigHelper in <lambda>()
86 import com.android.quickstep.util.DeviceConfigHelper.Companion.NAMESPACE_LAUNCHER in <lambda>()
87 import com.android.quickstep.util.DeviceConfigHelper.DebugInfo in <lambda>()
155 val prefs = DeviceConfigHelper.prefs in <lambda>()
158 DeviceConfigHelper.allProps.values in <lambda>()
235 (if (DeviceConfigHelper.prefs.contains(this.key)) in <lambda>()
241 DeviceConfigHelper.prefs.getBoolean( in <lambda>()
247 DeviceConfigHelper.prefs in <lambda>()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DDeviceSideDeviceConfigHelper.java26 import com.android.adservices.shared.testing.DeviceConfigHelper;
37 final class DeviceSideDeviceConfigHelper extends DeviceConfigHelper.Interface {
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DDeviceConfigHelper.java44 public final class DeviceConfigHelper { class
53 DeviceConfigHelper(InterfaceFactory interfaceFactory, String namespace, RealLogger logger) { in DeviceConfigHelper() method in DeviceConfigHelper
175 mLog = new Logger(Objects.requireNonNull(logger), DeviceConfigHelper.class); in Interface()
DAbstractFlagsSetterRule.java20 import com.android.adservices.shared.testing.DeviceConfigHelper.SyncDisabledModeForTest;
79 private final DeviceConfigHelper mDeviceConfig;
109 DeviceConfigHelper.InterfaceFactory deviceConfigInterfaceFactory, in AbstractFlagsSetterRule()
129 DeviceConfigHelper.InterfaceFactory deviceConfigInterfaceFactory, in AbstractFlagsSetterRule()
138 new DeviceConfigHelper(deviceConfigInterfaceFactory, deviceConfigNamespace, logger); in AbstractFlagsSetterRule()
DSystemPropertiesHelper.java120 mLog = new Logger(Objects.requireNonNull(logger), DeviceConfigHelper.class); in Interface()
/packages/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/testing/
DHostSideDeviceConfigHelper.java24 public final class HostSideDeviceConfigHelper extends DeviceConfigHelper.Interface {
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractAdServicesFlagsSetterRule.java37 import com.android.adservices.shared.testing.DeviceConfigHelper;
89 DeviceConfigHelper.InterfaceFactory deviceConfigInterfaceFactory, in AbstractAdServicesFlagsSetterRule()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DDeviceConfigHelper.kt31 class DeviceConfigHelper<ConfigType>(private val factory: (PropReader) -> ConfigType) { in <lambda>() class