Home
last modified time | relevance | path

Searched refs:Properties (Results 1 – 25 of 61) sorted by relevance

123

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DServerSideMigrationConstantsTest.java56 @Mock DeviceConfig.Properties mProperties;
83 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_HEALTH_FITNESS, keyValueMap); in testCountMigrationStateInProgress_changeValueInDeviceConfig_onPropertiesChanged()
96 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_HEALTH_FITNESS, keyValueMap); in testCountMigrationStateAllowed_changeValueInDeviceConfig_onPropertiesChanged()
109 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_HEALTH_FITNESS, keyValueMap); in testMaxStartMigrationCallsAllowed_changeValueInDeviceConfig_onPropertiesChanged()
122 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_HEALTH_FITNESS, keyValueMap); in testIdleStateTimeoutPeriod_changeValueInDeviceConfig_onPropertiesChanged()
135 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_HEALTH_FITNESS, keyValueMap); in testNonIdleStateTimeoutPeriod_changeValueInDeviceConfig_onPropertiesChanged()
148 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_HEALTH_FITNESS, keyValueMap); in testInProgressStateTimeoutPeriod_changeValueInDeviceConfig_onPropertiesChanged()
161 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_HEALTH_FITNESS, keyValueMap); in testExecutionTimeBuffer_changeValueInDeviceConfig_onPropertiesChanged()
176 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_HEALTH_FITNESS, keyValueMap); in testMigrationCompletionJobRunInterval_changeValueInDeviceConfig_onPropertiesChanged()
190 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_HEALTH_FITNESS, keyValueMap); in testMigrationPauseJobRunInterval_changeValueInDeviceConfig_onPropertiesChanged()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/velocity/
DVelocityEngineFactory.java28 import java.util.Properties;
49 Properties props = getProperties(context); in getVelocityEngine()
84 private static Properties getProperties(Context context) { in getProperties()
85 Properties props = new Properties(); in getProperties()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/
DDeviceConfigFlagsManager.java21 import android.provider.DeviceConfig.Properties;
45 private final @Nullable Properties mInitialProperties;
77 Properties.Builder builder = new Properties.Builder(mNamespace); in setFlags()
135 private void setProperties(Properties properties) { in setProperties()
144 private static String toString(@Nullable Properties properties) { in toString()
/packages/modules/ConfigInfrastructure/service/javatests/src/com/android/server/deviceconfig/
DBootNotificationCreatorTest.java23 import android.provider.DeviceConfig.Properties;
79 Properties properties = new Properties("staged", flags); in testNotificationScheduledWhenAconfigFlagStaged()
90 Properties properties = new Properties("staged", flags); in testNotificationNotScheduledForNonAconfigFlag()
/packages/modules/ConfigInfrastructure/framework/api/
Dsystem-current.txt11 …method @NonNull public static java.util.Set<android.provider.DeviceConfig.Properties> getAllProper…
16 …ission.READ_DEVICE_CONFIG) public static android.provider.DeviceConfig.Properties getProperties(@N…
26 …ic static boolean setProperties(@NonNull android.provider.DeviceConfig.Properties) throws android.…
121 method public void onPropertiesChanged(@NonNull android.provider.DeviceConfig.Properties);
124 public static class DeviceConfig.Properties {
134 public static final class DeviceConfig.Properties.Builder {
135 ctor public DeviceConfig.Properties.Builder(@NonNull String);
136 method @NonNull public android.provider.DeviceConfig.Properties build();
137 …method @NonNull public android.provider.DeviceConfig.Properties.Builder setBoolean(@NonNull String…
138 …method @NonNull public android.provider.DeviceConfig.Properties.Builder setFloat(@NonNull String, …
[all …]
Dmodule-lib-current.txt38 public static class DeviceConfig.Properties {
39 …ctor public DeviceConfig.Properties(@NonNull String, @Nullable java.util.Map<java.lang.String,java…
/packages/modules/Profiling/service/java/com/android/os/profiling/
DDeviceConfigHelper.java175 public static DeviceConfig.Properties getAllJavaHeapDumpProperties() { in getAllJavaHeapDumpProperties()
186 public static DeviceConfig.Properties getAllHeapProfileProperties() { in getAllHeapProfileProperties()
203 public static DeviceConfig.Properties getAllStackSamplingProperties() { in getAllStackSamplingProperties()
219 public static DeviceConfig.Properties getAllSystemTraceProperties() { in getAllSystemTraceProperties()
231 public static DeviceConfig.Properties getAllRateLimiterProperties() { in getAllRateLimiterProperties()
DConfigs.java93 DeviceConfig.Properties properties = DeviceConfigHelper.getAllSystemTraceProperties(); in initializeSystemTraceConfigsIfNecessary()
119 DeviceConfig.Properties properties = DeviceConfigHelper.getAllJavaHeapDumpProperties(); in initializeJavaHeapDumpConfigsIfNecessary()
143 DeviceConfig.Properties properties = DeviceConfigHelper.getAllHeapProfileProperties(); in initializeHeapProfileConfigsIfNecessary()
179 DeviceConfig.Properties properties = DeviceConfigHelper.getAllStackSamplingProperties(); in initializeStackSamplingConfigsIfNecessary()
214 public static void maybeUpdateConfigs(DeviceConfig.Properties properties) { in maybeUpdateConfigs()
/packages/modules/ConfigInfrastructure/framework/java/android/provider/
DDeviceConfig.java1114 public static Properties getProperties(@NonNull String namespace, @NonNull String... names) { in getProperties()
1115 Properties properties = getPropertiesWithoutOverrides(namespace, names); in getProperties()
1123 private static Properties getPropertiesWithoutOverrides(@NonNull String namespace, in getPropertiesWithoutOverrides()
1128 private static void applyOverrides(@NonNull Properties properties) { in applyOverrides()
1129 Properties overrides = in applyOverrides()
1153 public static Set<Properties> getAllProperties() { in getAllProperties()
1171 HashSet<Properties> result = new HashSet<>(); in getAllProperties()
1173 result.add(new Properties(entry.getKey(), entry.getValue())); in getAllProperties()
1315 Properties overrides = getProperties(DEVICE_CONFIG_OVERRIDES_NAMESPACE); in clearAllLocalOverrides()
1345 Properties overrides = getProperties(DEVICE_CONFIG_OVERRIDES_NAMESPACE); in getUnderlyingValuesForOverriddenFlags()
[all …]
DSettingsConfigDataStore.java45 public @NonNull DeviceConfig.Properties getProperties(@NonNull String namespace, in getProperties()
47 return new DeviceConfig.Properties(namespace, in getProperties()
52 public boolean setProperties(@NonNull DeviceConfig.Properties properties) in setProperties()
DDeviceConfigServiceDataStore.java76 public DeviceConfig.Properties getProperties(@NonNull String namespace, in getProperties()
85 return new DeviceConfig.Properties(namespace, new HashMap<>()); in getProperties()
91 public boolean setProperties(@NonNull DeviceConfig.Properties properties) in setProperties()
DDeviceConfigDataStore.java35 …@NonNull DeviceConfig.Properties getProperties(@NonNull String namespace, @NonNull String ... name… in getProperties()
37 boolean setProperties(@NonNull DeviceConfig.Properties properties) throws in setProperties()
DDeviceConfigManager.java42 public DeviceConfig.Properties getProperties(@NonNull String namespace, in getProperties()
46 return new DeviceConfig.Properties(namespace, map); in getProperties()
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/
DEnvironmentImpl.java54 import java.util.Properties;
158 Properties configProperties = loadConfigProperties(classLoader); in EnvironmentImpl()
187 @NonNull Properties configProperties) { in createGeoDataFileManager()
204 @NonNull ClassLoader classLoader, @NonNull Properties configProperties) { in createMetricsReporter()
214 private static Properties loadConfigProperties(ClassLoader classLoader) { in loadConfigProperties()
215 Properties configProperties = new Properties(); in loadConfigProperties()
230 private void handleDeviceConfigChanged(@NonNull DeviceConfig.Properties properties) { in handleDeviceConfigChanged()
DGeoDataFileManager.java24 import java.util.Properties;
33 void init(@NonNull Context context, @NonNull Properties configProperties) throws IOException; in init()
/packages/apps/Contacts/src/com/android/contacts/extensions/
DExtensionsFactory.java25 import java.util.Properties;
43 private static Properties sProperties = null;
52 sProperties = new Properties(); in init()
/packages/modules/Bluetooth/pandora/server/bumble_experimental/
Ddck.py52 Characteristic.Properties.READ,
58 Characteristic.Properties.READ,
64 Characteristic.Properties.WRITE,
/packages/modules/AdServices/sdksandbox/tests/testutils/src/com/android/server/sdksandbox/
DDeviceConfigUtil.java40 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_ADSERVICES, properties)); in setDeviceConfigProperty()
43 new DeviceConfig.Properties( in setDeviceConfigProperty()
/packages/modules/GeoTZ/apex/com.android.geotz/src/main/java/com/android/geotz/apex/
DGeoDataFileManagerImpl.java27 import java.util.Properties;
43 public void init(@NonNull Context context, @NonNull Properties configProperties) in init()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterFlags.kt27 import android.provider.DeviceConfig.Properties in <lambda>()
398 @Volatile lateinit var snapshot: Properties in <lambda>()
400 private val lazySnapshot: Properties by lazy { in <lambda>()
444 fun Properties.isSafetyCenterEnabled() = in <lambda>() method
/packages/modules/GeoTZ/app/src/main/java/com/android/geotz/app/
DGeoDataFileManagerImpl.java31 import java.util.Properties;
54 public void init(@NonNull Context context, @NonNull Properties configProperties) in init()
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/
DBootNotificationCreator.java20 import android.provider.DeviceConfig.Properties;
91 public void onPropertiesChanged(Properties properties) { in onPropertiesChanged()
126 private boolean containsAconfigChanges(Properties properties) { in containsAconfigChanges()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DDeviceConfigHelper.kt25 import android.provider.DeviceConfig.Properties in <lambda>()
75 private fun onDevicePropsChanges(properties: Properties) { in <lambda>()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxSettingsListenerUnitTest.java193 new DeviceConfig.Properties(DeviceConfig.NAMESPACE_ADSERVICES, properties)); in setDeviceConfigProperty()
196 new DeviceConfig.Properties( in setDeviceConfigProperty()
/packages/services/Car/cpp/watchdog/sepolicy/private/
Dproperty.te1 # Properties used only in /system

123