Home
last modified time | relevance | path

Searched refs:setProperty (Results 1 – 25 of 107) sorted by relevance

12345

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/stats/pull/
H A DSettingsStatsUtilTest.java53 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, in setUp()
67 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, FLAG, "abcd", false); in getList_notValidString_nullValue()
74 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, FLAG, ENCODED, false); in getList_validString_correctValue()
81 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, in logGlobalSettings_noWhitelist_correctSize()
83 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, in logGlobalSettings_noWhitelist_correctSize()
85 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, in logGlobalSettings_noWhitelist_correctSize()
87 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, in logGlobalSettings_noWhitelist_correctSize()
96 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, in logGlobalSettings_correctSize()
98 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, in logGlobalSettings_correctSize()
100 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, in logGlobalSettings_correctSize()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DCachedAppOptimizerTest.java199 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
201 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
204 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
207 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
210 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
213 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
216 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
219 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
222 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
225 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
[all …]
H A DCacheOomRankerTest.java139 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges()
145 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges()
151 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges()
160 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges()
169 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges()
178 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges()
187 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges()
705 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in setConfig()
709 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in setConfig()
713 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in setConfig()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/provider/
H A DDeviceConfigTest.java116 DeviceConfig.setProperty(NAMESPACE, KEY, value, false); in getString_nonEmpty()
333 DeviceConfig.setProperty(null, KEY, VALUE, false); in setProperty_nullNamespace()
352 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, false); in setAndGetProperty_sameNamespace()
360 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, false); in setAndGetProperty_differentNamespace()
369 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, false); in setAndGetProperty_multipleNamespaces()
383 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, false); in setAndGetProperty_overrideValue()
391 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, true); in resetToDefault_makeDefault()
400 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, false); in resetToDefault_doNotMakeDefault()
412 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, false); in getProperties_fullNamespace()
435 DeviceConfig.setProperty(NAMESPACE, KEY, VALUE, false); in getProperties_getString()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DAttentionDetectorTest.java97 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in setUp()
107 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in tearDown()
110 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in tearDown()
113 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in tearDown()
306 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_handlesGoodFlagValue()
313 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_rejectsNegativeValue()
321 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_rejectsTooBigValue()
329 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_handlesBadFlagValue()
334 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_handlesBadFlagValue()
342 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPostDimCheckDurationMillis_handlesGoodFlagValue()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
H A DBackupAndRestoreFeatureFlagsTest.java49 DeviceConfig.setProperty(/*namespace=*/ "backup_and_restore", in getBackupTransportFutureTimeoutMillis_set_returnsSetValue()
67 DeviceConfig.setProperty(/*namespace=*/ "backup_and_restore", in getBackupTransportCallbackTimeoutMillis_set_returnsSetValue()
84 DeviceConfig.setProperty(/*namespace=*/ "backup_and_restore", in getFullBackupWriteToTransportBufferSizeBytes_set_returnsSetValue()
100 DeviceConfig.setProperty(/*namespace=*/ "backup_and_restore", in getFullBackupUtilsRouteBufferSizeBytes_set_returnsSetValue()
118 DeviceConfig.setProperty(/*namespace=*/ "backup_and_restore", in getUnifiedRestoreContinueAfterTransportFailureInKvRestore_set_returnsSetValue()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardStatusViewControllerTest.java84 verify(mControllerMock).setProperty(AnimatableProperty.Y, 15f, true); in updatePosition_primaryClockAnimation()
87 verify(mControllerMock).setProperty(AnimatableProperty.SCALE_X, 1f, true); in updatePosition_primaryClockAnimation()
88 verify(mControllerMock).setProperty(AnimatableProperty.SCALE_Y, 1f, true); in updatePosition_primaryClockAnimation()
99 verify(mControllerMock).setProperty(AnimatableProperty.Y, 15f, true); in updatePosition_alternateClockAnimation()
102 verify(mControllerMock).setProperty(AnimatableProperty.SCALE_X, 20f, true); in updatePosition_alternateClockAnimation()
103 verify(mControllerMock).setProperty(AnimatableProperty.SCALE_Y, 20f, true); in updatePosition_alternateClockAnimation()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
H A DScreenUndimDetectorTest.java91 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in setup()
94 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in setup()
105 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in recordScreenPolicy_disabledByFlag_noop()
164 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in recordScreenPolicy_dimToBright_twoUndimsNeeded_extends()
182 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in recordScreenPolicy_dimToBright_twoUndimsNeeded_otherDisplayDoesNotExtend()
203 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in recordScreenPolicy_dimBrightDimOff_resetsCounter_doesNotExtend()
219 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in recordScreenPolicy_undimToOff_resetsCounter()
235 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in recordScreenPolicy_undimToOff_otherDisplayDoesNotResetCounter()
252 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in recordScreenPolicy_undimOffUndim_doesNotExtend()
274 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in recordScreenPolicy_dimToBright_tooFarApart_doesNotExtend()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java193 System.setProperty("http.proxyHost", "proxy.foo"); in testParamPreferredOverSystemProperty()
194 System.setProperty("http.proxyPort", "8080"); in testParamPreferredOverSystemProperty()
209 System.setProperty("http.proxyHost", "proxy.foo"); in testExplicitNoProxyCancelsSystemProperty()
210 System.setProperty("http.proxyPort", "8080"); in testExplicitNoProxyCancelsSystemProperty()
242 System.setProperty("proxyHost", "localhost"); in PROXY_SYSTEM_PROPERTY()
243 System.setProperty("proxyPort", Integer.toString(server.getPort())); in PROXY_SYSTEM_PROPERTY()
248 System.setProperty("http.proxyHost", "localhost"); in HTTP_PROXY_SYSTEM_PROPERTY()
249 System.setProperty("http.proxyPort", Integer.toString(server.getPort())); in HTTP_PROXY_SYSTEM_PROPERTY()
254 System.setProperty("https.proxyHost", "localhost"); in HTTPS_PROXY_SYSTEM_PROPERTY()
255 System.setProperty("https.proxyPort", Integer.toString(server.getPort())); in HTTPS_PROXY_SYSTEM_PROPERTY()
/aosp14/frameworks/base/core/java/android/net/
H A DProxy.java223 System.setProperty("http.proxyHost", host); in setHttpProxyConfiguration()
224 System.setProperty("https.proxyHost", host); in setHttpProxyConfiguration()
230 System.setProperty("http.proxyPort", port); in setHttpProxyConfiguration()
231 System.setProperty("https.proxyPort", port); in setHttpProxyConfiguration()
237 System.setProperty("http.nonProxyHosts", exclList); in setHttpProxyConfiguration()
238 System.setProperty("https.nonProxyHosts", exclList); in setHttpProxyConfiguration()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qrcodescanner/controller/
H A DQRCodeScannerControllerTest.java98 mProxyFake.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in setUpLocal()
206 mProxyFake.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in verifyDeviceConfigChange_withDefaultActivity()
213 mProxyFake.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in verifyDeviceConfigChange_withDefaultActivity()
233 mProxyFake.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in verifyDeviceConfigChange_withoutDefaultActivity()
241 mProxyFake.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in verifyDeviceConfigChange_withoutDefaultActivity()
256 mProxyFake.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in verifyDeviceConfigChangeToSameValue()
259 mProxyFake.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in verifyDeviceConfigChangeToSameValue()
263 mProxyFake.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in verifyDeviceConfigChangeToSameValue()
266 mProxyFake.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in verifyDeviceConfigChangeToSameValue()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
H A DBlobStoreConfigTest.java62 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_BLOBSTORE, in testGetAppDataBytesLimit()
66 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_BLOBSTORE, in testGetAppDataBytesLimit()
74 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_BLOBSTORE, in testGetAppDataBytesLimit()
78 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_BLOBSTORE, in testGetAppDataBytesLimit()
/aosp14/frameworks/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/
H A DBootImageProfileTest.java56 private String setProperty(String property, String value) throws Exception { in setProperty() method in BootImageProfileTest
109 setProperty("profilebootclasspath", "true"); in testSystemServerProfile()
110 setProperty("profilesystemserver", "true"); in testSystemServerProfile()
111 setProperty("extra-opts", DALVIK_VM_EXTRA_OPTS); in testSystemServerProfile()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DLatencyTrackerTest.java124 DeviceConfig.setProperty(NAMESPACE_LATENCY_TRACKER,
135 DeviceConfig.setProperty(NAMESPACE_LATENCY_TRACKER,
152 DeviceConfig.setProperty(NAMESPACE_LATENCY_TRACKER,
165 DeviceConfig.setProperty(NAMESPACE_LATENCY_TRACKER,
222 DeviceConfig.setProperty(NAMESPACE_LATENCY_TRACKER, "action_show_voice_interaction_enable",
240 DeviceConfig.setProperty(NAMESPACE_LATENCY_TRACKER, "action_show_voice_interaction_enable",
254 DeviceConfig.setProperty(NAMESPACE_LATENCY_TRACKER, "action_show_voice_interaction_enable",
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DDeviceConfigProxyFakeTest.java60 mDeviceConfigProxyFake.setProperty(NAMESPACE, key, value, false); in testOnPropertiesChanged()
77 mDeviceConfigProxyFake.setProperty(NAMESPACE, keyA, valueA, false); in testOnMultiplePropertiesChanged()
83 mDeviceConfigProxyFake.setProperty(NAMESPACE, keyB, valueB, false); in testOnMultiplePropertiesChanged()
/aosp14/frameworks/base/tests/RollbackTest/lib/src/com/android/tests/rollback/host/
H A DWatchdogEventLogger.java37 assertThat(mDevice.setProperty( in resetProperties()
41 assertThat(mDevice.setProperty(key, "")).isTrue(); in resetProperties()
43 assertThat(mDevice.setProperty(key + "." + attr, "")).isTrue(); in resetProperties()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DConstrainDisplayApisConfigTest.java172 DeviceConfig.setProperty(NAMESPACE_CONSTRAIN_DISPLAY_APIS, "never_constrain_display_apis", in setNeverConstrainDisplayApisFlag()
177 DeviceConfig.setProperty(NAMESPACE_CONSTRAIN_DISPLAY_APIS, in setNeverConstrainDisplayApisAllPackagesFlag()
183 DeviceConfig.setProperty(NAMESPACE_CONSTRAIN_DISPLAY_APIS, "always_constrain_display_apis", in setAlwaysConstrainDisplayApisFlag()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardVisibilityHelper.java111 PropertyAnimator.setProperty( in setViewVisibility()
117 PropertyAnimator.setProperty( in setViewVisibility()
151 PropertyAnimator.setProperty(mView, AnimatableProperty.Y, target, in setViewVisibility()
160 PropertyAnimator.setProperty( in setViewVisibility()
H A DKeyguardStatusViewController.java291 void setProperty(AnimatableProperty property, float value, boolean animate) { in setProperty() method in KeyguardStatusViewController
292 PropertyAnimator.setProperty(mView, property, value, CLOCK_ANIMATION_PROPERTIES, animate); in setProperty()
299 setProperty(AnimatableProperty.Y, y, animate); in updatePosition()
306 setProperty(AnimatableProperty.SCALE_X, scale, animate); in updatePosition()
307 setProperty(AnimatableProperty.SCALE_Y, scale, animate); in updatePosition()
311 setProperty(AnimatableProperty.SCALE_X, 1f, animate); in updatePosition()
312 setProperty(AnimatableProperty.SCALE_Y, 1f, animate); in updatePosition()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/attention/
H A DAttentionManagerServiceTest.java301 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesGoodFlagValue()
308 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_1()
316 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_2()
324 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_3()
332 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_4()
/aosp14/frameworks/base/core/java/android/provider/
H A DDeviceConfigInterface.java53 boolean setProperty(@NonNull String namespace, @NonNull String name, @Nullable String value, in setProperty() method
138 public boolean setProperty(@NonNull String namespace,
141 return DeviceConfig.setProperty(namespace, name, value, makeDefault);
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
H A DServerFlagReaderImplTest.kt59 deviceConfig.setProperty(NAMESPACE, "flag_1", "1", false)
71 deviceConfig.setProperty(NAMESPACE, "flag_override_1", "1", false)
/aosp14/system/core/init/test_upgrade_mte/src/com/android/tests/init/
H A DMteUpgradeTest.java52 getDevice().setProperty("sys.mte_crash_test_uuid", ""); in tearDown()
71 assertThat(getDevice().setProperty("sys.mte_crash_test_uuid", uuid)).isTrue(); in testCrash()
103 assertThat(getDevice().setProperty("sys.mte_crash_test_uuid", uuid)).isTrue(); in testCrashOverridden()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImplTest.java191 mDeviceConfigProxy.setProperty( in testCallbackNotified_additionalOps()
228 mDeviceConfigProxy.setProperty( in testCallbackNotified_additionalOps_shouldNotShowSystem()
254 mDeviceConfigProxy.setProperty( in testCallbackNotified_additionalOps_shouldShowSystem()
259 mDeviceConfigProxy.setProperty( in testCallbackNotified_additionalOps_shouldShowSystem()
303 mDeviceConfigProxy.setProperty( in testCallbackNotified_verifyMetrics()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationSectionsFeatureManagerTest.kt69 proxyFake.setProperty(
79 proxyFake.setProperty(

12345