/packages/modules/Profiling/service/java/com/android/os/profiling/ |
D | Configs.java | 93 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 …]
|
D | RateLimiter.java | 128 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 …]
|
D | ProfilingService.java | 143 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 …]
|
D | DeviceConfigHelper.java | 24 public final class DeviceConfigHelper { class
|
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/ |
D | ProfilingFrameworkTests.java | 37 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 …]
|
D | ProfilingServiceTests.java | 41 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/ |
D | DeviceConfigWrapper.kt | 19 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/ |
D | DevOptionsUiHelper.kt | 85 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/ |
D | DeviceSideDeviceConfigHelper.java | 26 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/ |
D | DeviceConfigHelper.java | 44 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()
|
D | AbstractFlagsSetterRule.java | 20 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()
|
D | SystemPropertiesHelper.java | 120 mLog = new Logger(Objects.requireNonNull(logger), DeviceConfigHelper.class); in Interface()
|
/packages/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/testing/ |
D | HostSideDeviceConfigHelper.java | 24 public final class HostSideDeviceConfigHelper extends DeviceConfigHelper.Interface {
|
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/ |
D | AbstractAdServicesFlagsSetterRule.java | 37 import com.android.adservices.shared.testing.DeviceConfigHelper; 89 DeviceConfigHelper.InterfaceFactory deviceConfigInterfaceFactory, in AbstractAdServicesFlagsSetterRule()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | DeviceConfigHelper.kt | 31 class DeviceConfigHelper<ConfigType>(private val factory: (PropReader) -> ConfigType) { in <lambda>() class
|