Home
last modified time | relevance | path

Searched refs:DeviceConfig (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/packages/modules/Uwb/service/java/com/android/server/uwb/
DDeviceConfigFacade.java21 import android.provider.DeviceConfig;
110 DeviceConfig.addOnPropertiesChangedListener( in DeviceConfigFacade()
111 DeviceConfig.NAMESPACE_UWB, in DeviceConfigFacade()
120 mRangingResultLogIntervalMs = DeviceConfig.getInt(DeviceConfig.NAMESPACE_UWB, in updateDeviceConfigFlags()
122 mDeviceErrorBugreportEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_UWB, in updateDeviceConfigFlags()
124 mSessionInitErrorBugreportEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_UWB, in updateDeviceConfigFlags()
126 mBugReportMinIntervalMs = DeviceConfig.getInt(DeviceConfig.NAMESPACE_UWB, in updateDeviceConfigFlags()
130 mEnableFilters = DeviceConfig.getBoolean( in updateDeviceConfigFlags()
131 DeviceConfig.NAMESPACE_UWB, in updateDeviceConfigFlags()
135 mFilterDistanceInliersPercent = DeviceConfig.getInt( in updateDeviceConfigFlags()
[all …]
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DServiceAppSearchConfigTest.java76 import android.provider.DeviceConfig;
177 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_minTimeIntervalBetweenSamplesMillis()
192 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis()
200 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis()
219 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals()
223 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals()
227 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals()
231 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals()
235 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals()
239 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/
DPhFlagsFixture.java33 import android.provider.DeviceConfig;
64 DeviceConfig.setProperty( in overrideFledgeAdSelectionContextualAdsEnabled()
65 DeviceConfig.NAMESPACE_ADSERVICES, in overrideFledgeAdSelectionContextualAdsEnabled()
76 DeviceConfig.setProperty( in overrideForegroundStatusForFledgeRunAdSelection()
77 DeviceConfig.NAMESPACE_ADSERVICES, in overrideForegroundStatusForFledgeRunAdSelection()
88 DeviceConfig.setProperty( in overrideForegroundStatusForFledgeReportImpression()
89 DeviceConfig.NAMESPACE_ADSERVICES, in overrideForegroundStatusForFledgeReportImpression()
100 DeviceConfig.setProperty( in overrideForegroundStatusForFledgeReportInteraction()
101 DeviceConfig.NAMESPACE_ADSERVICES, in overrideForegroundStatusForFledgeReportInteraction()
112 DeviceConfig.setProperty( in overrideForegroundStatusForFledgeOverrides()
[all …]
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/common/
DPhFlagsTest.java73 import android.provider.DeviceConfig;
94 DeviceConfig.setProperty( in tearDown()
95 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in tearDown()
99 DeviceConfig.setProperty( in tearDown()
100 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in tearDown()
104 DeviceConfig.setProperty( in tearDown()
105 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in tearDown()
109 DeviceConfig.setProperty( in tearDown()
110 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in tearDown()
114 DeviceConfig.setProperty( in tearDown()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/
DPhFlagsTest.java69 import android.provider.DeviceConfig;
108 DeviceConfig.setProperty( in testGetGlobalKillSwitch()
109 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in testGetGlobalKillSwitch()
117 DeviceConfig.setProperty( in testGetGlobalKillSwitch()
118 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in testGetGlobalKillSwitch()
130 DeviceConfig.setProperty( in testIsPersonalizationStatusOverrideEnabled()
131 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in testIsPersonalizationStatusOverrideEnabled()
139 DeviceConfig.setProperty( in testIsPersonalizationStatusOverrideEnabled()
140 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in testIsPersonalizationStatusOverrideEnabled()
152 DeviceConfig.setProperty( in testGetPersonalizationStatusOverrideValue()
[all …]
DPhFlagsTestUtil.java27 import android.provider.DeviceConfig;
52 DeviceConfig.setProperty( in enableGlobalKillSwitch()
53 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in enableGlobalKillSwitch()
61 DeviceConfig.setProperty( in disableGlobalKillSwitch()
62 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in disableGlobalKillSwitch()
72 DeviceConfig.setProperty( in disablePersonalizationStatusOverride()
73 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in disablePersonalizationStatusOverride()
83 DeviceConfig.setProperty( in setCallerAppAllowList()
84 DeviceConfig.NAMESPACE_ON_DEVICE_PERSONALIZATION, in setCallerAppAllowList()
94 DeviceConfig.setProperty( in setIsolatedServiceAllowList()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DDeviceConfigFacade.java23 import android.provider.DeviceConfig;
233 DeviceConfig.addOnPropertiesChangedListener( in DeviceConfigFacade()
242 mIsAbnormalConnectionBugreportEnabled = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
244 mAbnormalConnectionDurationMs = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
248 mDataStallDurationMs = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
250 mDataStallTxTputThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
252 mDataStallRxTputThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
254 mDataStallTxPerThr = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
256 mDataStallCcaLevelThr = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
264 mTxTputSufficientLowThrKbps = DeviceConfig.getInt(NAMESPACE, in updateDeviceConfigFlags()
[all …]
/packages/modules/ExtServices/java/src/android/ext/services/common/
DAdservicesPhFlags.java20 import android.provider.DeviceConfig;
35 return DeviceConfig.getLong( in getAppsearchDeletePeriodicIntervalMillis()
36 DeviceConfig.NAMESPACE_ADSERVICES, in getAppsearchDeletePeriodicIntervalMillis()
49 return DeviceConfig.getLong( in getAppsearchDeleteJobFlexMillis()
50 DeviceConfig.NAMESPACE_ADSERVICES, in getAppsearchDeleteJobFlexMillis()
63 return !DeviceConfig.getBoolean( in isAdServicesEnabled()
64 DeviceConfig.NAMESPACE_ADSERVICES, in isAdServicesEnabled()
67 && DeviceConfig.getBoolean( in isAdServicesEnabled()
68 DeviceConfig.NAMESPACE_ADSERVICES, in isAdServicesEnabled()
80 return DeviceConfig.getBoolean( in isAppsearchDeleteJobEnabled()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DDeviceConfigFacadeTest.java29 import android.provider.DeviceConfig;
30 import android.provider.DeviceConfig.OnPropertiesChangedListener;
74 .mockStatic(DeviceConfig.class, withSettings().lenient()) in setUp()
77 when(DeviceConfig.getBoolean(anyString(), anyString(), anyBoolean())) in setUp()
83 when(DeviceConfig.getInt(anyString(), anyString(), anyInt())) in setUp()
89 when(DeviceConfig.getLong(anyString(), anyString(), anyLong())) in setUp()
95 when(DeviceConfig.getString(anyString(), anyString(), anyString())) in setUp()
104 verify(() -> DeviceConfig.addOnPropertiesChangedListener(anyString(), any(), in setUp()
248 when(DeviceConfig.getBoolean(anyString(), eq("abnormal_connection_bugreport_enabled"), in testFieldUpdates()
250 when(DeviceConfig.getInt(anyString(), eq("abnormal_connection_duration_ms"), in testFieldUpdates()
[all …]
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/common/
DPhFlags.java21 import android.provider.DeviceConfig;
122 DeviceConfig.getBoolean( in getGlobalKillSwitch()
135 return DeviceConfig.getString( in getEncryptionKeyFetchUrl()
143 return DeviceConfig.getBoolean( in getEnableBackgroundEncryptionKeyFetch()
151 return DeviceConfig.getInt( in getHttpRequestRetryLimit()
158 return DeviceConfig.getBoolean( in isEncryptionEnabled()
166 return DeviceConfig.getLong( in getMinSchedulingIntervalSecsForFederatedComputation()
174 return DeviceConfig.getLong( in getMaxSchedulingIntervalSecsForFederatedComputation()
182 return DeviceConfig.getLong( in getDefaultSchedulingPeriodSecs()
190 return DeviceConfig.getLong( in getMaxSchedulingPeriodSecs()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/
DPhFlags.java20 import android.provider.DeviceConfig;
159 return DeviceConfig.getBoolean( in getGlobalKillSwitch()
171 return DeviceConfig.getBoolean( in isPersonalizationStatusOverrideEnabled()
182 return DeviceConfig.getBoolean( in getPersonalizationStatusOverrideValue()
190 return DeviceConfig.getInt( in getIsolatedServiceDeadlineSeconds()
198 return DeviceConfig.getInt( in getAppRequestFlowDeadlineSeconds()
206 return DeviceConfig.getInt( in getRenderFlowDeadlineSeconds()
214 return DeviceConfig.getInt( in getWebViewFlowDeadlineSeconds()
222 return DeviceConfig.getInt( in getWebTriggerFlowDeadlineSeconds()
233 return DeviceConfig.getInt( in getExampleStoreFlowDeadlineSeconds()
[all …]
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/
DMeasurementRegisterCalls.java32 import android.provider.DeviceConfig;
541 DeviceConfig.setProperty( in setFlagsForMeasurement()
542 DeviceConfig.NAMESPACE_ADSERVICES, in setFlagsForMeasurement()
548 DeviceConfig.setProperty( in setFlagsForMeasurement()
549 DeviceConfig.NAMESPACE_ADSERVICES, in setFlagsForMeasurement()
555 DeviceConfig.setProperty( in setFlagsForMeasurement()
556 DeviceConfig.NAMESPACE_ADSERVICES, in setFlagsForMeasurement()
562 DeviceConfig.setProperty( in setFlagsForMeasurement()
563 DeviceConfig.NAMESPACE_ADSERVICES, in setFlagsForMeasurement()
569 DeviceConfig.setProperty( in setFlagsForMeasurement()
[all …]
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/stats/
DMockingPlatformLoggerTest.java24 import android.provider.DeviceConfig;
70 DeviceConfig.setProperty( in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault()
71 DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault()
75 DeviceConfig.setProperty( in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault()
76 DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault()
104 DeviceConfig.setProperty( in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured()
105 DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured()
109 DeviceConfig.setProperty( in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured()
110 DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured()
114 DeviceConfig.setProperty( in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured()
[all …]
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DAssistantSettingsTest.java20 import static android.provider.DeviceConfig.setProperty;
30 import android.provider.DeviceConfig;
48 "device_config delete " + DeviceConfig.NAMESPACE_SYSTEMUI;
99 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesDisabled()
103 mAssistantSettings.onDeviceConfigPropertiesChanged(DeviceConfig.NAMESPACE_SYSTEMUI); in testGenerateRepliesDisabled()
112 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesEnabled()
116 mAssistantSettings.onDeviceConfigPropertiesChanged(DeviceConfig.NAMESPACE_SYSTEMUI); in testGenerateRepliesEnabled()
125 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesNullFlag()
129 mAssistantSettings.onDeviceConfigPropertiesChanged(DeviceConfig.NAMESPACE_SYSTEMUI); in testGenerateRepliesNullFlag()
134 DeviceConfig.NAMESPACE_SYSTEMUI, in testGenerateRepliesNullFlag()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DTimeouts.java20 import android.provider.DeviceConfig;
384 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getVoipCallTransitoryStateTimeoutMillis()
395 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getEmergencyCallTimeBeforeUserDisconnectThresholdMillis()
405 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getEmergencyCallActiveTimeThresholdMillis()
414 return DeviceConfig.getInt(DeviceConfig.NAMESPACE_TELEPHONY, in getDaysBackToSearchEmergencyDiagnosticEntries()
424 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getVoipEmergencyCallTransitoryStateTimeoutMillis()
434 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getNonVoipCallTransitoryStateTimeoutMillis()
444 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getNonVoipEmergencyCallTransitoryStateTimeoutMillis()
454 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getVoipCallIntermediateStateTimeoutMillis()
464 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getVoipEmergencyCallIntermediateStateTimeoutMillis()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DFrameworkContactsIndexerConfig.java19 import android.provider.DeviceConfig;
43 return DeviceConfig.getBoolean( in isContactsIndexerEnabled()
44 DeviceConfig.NAMESPACE_APPSEARCH, in isContactsIndexerEnabled()
51 return DeviceConfig.getInt( in getContactsFirstRunIndexingLimit()
52 DeviceConfig.NAMESPACE_APPSEARCH, in getContactsFirstRunIndexingLimit()
59 return DeviceConfig.getLong( in getContactsFullUpdateIntervalMillis()
60 DeviceConfig.NAMESPACE_APPSEARCH, in getContactsFullUpdateIntervalMillis()
67 return DeviceConfig.getInt( in getContactsFullUpdateLimit()
68 DeviceConfig.NAMESPACE_APPSEARCH, in getContactsFullUpdateLimit()
78 return DeviceConfig.getInt( in getContactsDeltaUpdateLimit()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DDeviceConfigFacadeTest.java37 import android.provider.DeviceConfig;
55 final ArgumentCaptor<DeviceConfig.OnPropertiesChangedListener>
57 ArgumentCaptor.forClass(DeviceConfig.OnPropertiesChangedListener.class);
71 .mockStatic(DeviceConfig.class, withSettings().lenient()) in setUp()
74 when(DeviceConfig.getBoolean(anyString(), anyString(), anyBoolean())) in setUp()
80 when(DeviceConfig.getInt(anyString(), anyString(), anyInt())) in setUp()
86 when(DeviceConfig.getLong(anyString(), anyString(), anyLong())) in setUp()
92 when(DeviceConfig.getString(anyString(), anyString(), anyString())) in setUp()
167 verify(() -> DeviceConfig.addOnPropertiesChangedListener(anyString(), any(), in setUp()
254 when(DeviceConfig.getInt(anyString(), eq("ranging_result_log_interval_ms"), in testFieldUpdates()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/
DMddFlagsTest.java34 import android.provider.DeviceConfig;
67 DeviceConfig.setProperty( in testMaintenanceGcmTaskPeriod()
68 DeviceConfig.NAMESPACE_ADSERVICES, in testMaintenanceGcmTaskPeriod()
85 DeviceConfig.setProperty( in testChargingGcmTaskPeriod()
86 DeviceConfig.NAMESPACE_ADSERVICES, in testChargingGcmTaskPeriod()
103 DeviceConfig.setProperty( in testCellularChargingGcmTaskPeriod()
104 DeviceConfig.NAMESPACE_ADSERVICES, in testCellularChargingGcmTaskPeriod()
121 DeviceConfig.setProperty( in testWifiChargingGcmTaskPeriod()
122 DeviceConfig.NAMESPACE_ADSERVICES, in testWifiChargingGcmTaskPeriod()
139 DeviceConfig.setProperty( in testMddDefaultSampleInterval()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DDeviceConfigUtilsTest.java20 import static android.provider.DeviceConfig.NAMESPACE_CAPTIVEPORTALLOGIN;
21 import static android.provider.DeviceConfig.NAMESPACE_CONNECTIVITY;
22 import static android.provider.DeviceConfig.NAMESPACE_TETHERING;
50 import android.provider.DeviceConfig;
105 mSession = mockitoSession().spyStatic(DeviceConfig.class).startMocking(); in setUp()
137 doReturn(null).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_Null()
146 doReturn(TEST_FLAG_VALUE_STRING).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_NotNull()
155 doReturn(TEST_FLAG_VALUE_STRING).when(() -> DeviceConfig.getProperty(eq(TEST_NAME_SPACE), in testGetDeviceConfigPropertyInt_NormalValue()
165 doReturn(null).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_NullValue()
175 doReturn(Integer.toString(TEST_MAX_FLAG_VALUE + 10)).when(() -> DeviceConfig.getProperty( in testGetDeviceConfigPropertyInt_OverMaximumValue()
[all …]
/packages/services/Telephony/src/com/android/phone/
DDataCollectorConfig.java19 import android.provider.DeviceConfig;
36 return DeviceConfig.getInt(DeviceConfig.NAMESPACE_TELEPHONY, in getMaxLogcatLinesForLowMemDevice()
41 return DeviceConfig.getInt(DeviceConfig.NAMESPACE_TELEPHONY, in getMaxLogcatLines()
46 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getLogcatReadTimeoutMillis()
51 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getDumpsysReadTimeoutMillis()
56 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getLogcatProcTimeoutMillis()
61 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_TELEPHONY, in getDumpsysProcTimeoutMillis()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxSettingsListener.java22 import android.provider.DeviceConfig;
45 class SdkSandboxSettingsListener implements DeviceConfig.OnPropertiesChangedListener {
98 DeviceConfig.getBoolean(
99 DeviceConfig.NAMESPACE_ADSERVICES,
105 DeviceConfig.getBoolean(
106 DeviceConfig.NAMESPACE_ADSERVICES,
112 DeviceConfig.getBoolean(
113 DeviceConfig.NAMESPACE_ADSERVICES,
120 DeviceConfig.getProperty(
121 DeviceConfig.NAMESPACE_ADSERVICES, PROPERTY_SERVICES_ALLOWLIST));
[all …]
/packages/modules/ConfigInfrastructure/framework/api/
Dsystem-lint-baseline.txt2 UnflaggedApi: android.provider.DeviceConfig#NAMESPACE_CORE_EXPERIMENTS_TEAM_INTERNAL:
3 …New API must be flagged with @FlaggedApi: field android.provider.DeviceConfig.NAMESPACE_CORE_EXPER…
4 UnflaggedApi: android.provider.DeviceConfig#NAMESPACE_NFC:
5 New API must be flagged with @FlaggedApi: field android.provider.DeviceConfig.NAMESPACE_NFC
6 UnflaggedApi: android.provider.DeviceConfig#clearAllLocalOverrides():
7 …New API must be flagged with @FlaggedApi: method android.provider.DeviceConfig.clearAllLocalOverri…
8 UnflaggedApi: android.provider.DeviceConfig#clearLocalOverride(String, String):
9 …New API must be flagged with @FlaggedApi: method android.provider.DeviceConfig.clearLocalOverride(…
10 UnflaggedApi: android.provider.DeviceConfig#getAllProperties():
11 … New API must be flagged with @FlaggedApi: method android.provider.DeviceConfig.getAllProperties()
[all …]
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DAssistantSettings.java21 import android.provider.DeviceConfig;
73 DeviceConfig.OnPropertiesChangedListener mDeviceConfigChangedListener;
88 DeviceConfig.addOnPropertiesChangedListener( in registerDeviceConfigs()
89 DeviceConfig.NAMESPACE_SYSTEMUI, in registerDeviceConfigs()
104 DeviceConfig.removeOnPropertiesChangedListener(mDeviceConfigChangedListener); in unregisterDeviceConfigs()
111 if (!DeviceConfig.NAMESPACE_SYSTEMUI.equals(namespace)) { in onDeviceConfigPropertiesChanged()
121 mGenerateReplies = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags()
124 mGenerateActions = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags()
127 mMaxMessagesToExtract = DeviceConfig.getInt(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags()
131 mMaxSuggestions = DeviceConfig.getInt(DeviceConfig.NAMESPACE_SYSTEMUI, in updateFromDeviceConfigFlags()
/packages/modules/Profiling/service/java/com/android/os/profiling/
DDeviceConfigHelper.java19 import android.provider.DeviceConfig;
139 return DeviceConfig.getString(NAMESPACE, name, defaultValue); in getString()
147 return DeviceConfig.getBoolean(NAMESPACE, name, defaultValue); in getBoolean()
155 return DeviceConfig.getInt(NAMESPACE, name, defaultValue); in getInt()
163 return DeviceConfig.getLong(NAMESPACE, name, defaultValue); in getLong()
171 return DeviceConfig.getBoolean(NAMESPACE_TESTING, name, defaultValue); in getTestBoolean()
175 public static DeviceConfig.Properties getAllJavaHeapDumpProperties() { in getAllJavaHeapDumpProperties()
176 return DeviceConfig.getProperties(NAMESPACE, in getAllJavaHeapDumpProperties()
186 public static DeviceConfig.Properties getAllHeapProfileProperties() { in getAllHeapProfileProperties()
187 return DeviceConfig.getProperties(NAMESPACE, in getAllHeapProfileProperties()
[all …]
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DServerSideMigrationConstantsTest.java35 import android.provider.DeviceConfig;
56 @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()
[all …]

12345678910>>...12