/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appsearch/ |
D | AppSearchConfigTest.java | 76 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_minTimeIntervalBetweenSamplesMillis() 90 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis() 97 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis() 116 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals() 120 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals() 124 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals() 128 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals() 132 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals() 136 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals() 140 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCustomizedValue_allSamplingIntervals() [all …]
|
D | FrameworkLimitConfigTest.java | 54 DeviceConfig.setProperty( in testCustomizedValues() 59 DeviceConfig.setProperty( in testCustomizedValues()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/stats/pull/ |
D | SettingsStatsUtilTest.java | 53 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 …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | CachedAppOptimizerTest.java | 200 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 202 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 205 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 208 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 211 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 214 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 217 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 220 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 223 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 226 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() [all …]
|
D | CacheOomRankerTest.java | 117 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges() 123 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges() 129 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges() 138 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges() 147 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges() 156 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_listensForConfigChanges() 353 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in setConfig() 357 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in setConfig() 361 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in setConfig() 365 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in setConfig()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appsearch/stats/ |
D | PlatformLoggerTest.java | 67 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault() 71 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault() 99 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured() 103 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured() 107 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured() 111 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured() 145 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testShouldLogForTypeLocked_trueWhenSampleIntervalIsOne() 163 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testShouldLogForTypeLocked_falseWhenSampleIntervalIsNegative() 186 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testShouldLogForTypeLocked_falseWhenWithinCoolOffInterval() 190 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_APPSEARCH, in testShouldLogForTypeLocked_falseWhenWithinCoolOffInterval() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/ |
D | TestableDeviceConfigTest.java | 60 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_sameNamespace() 68 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_differentNamespace() 77 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_multipleNamespaces() 78 DeviceConfig.setProperty(newNamespace, sKey, newValue, false); in setAndGetProperty_multipleNamespaces() 88 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_overrideValue() 89 DeviceConfig.setProperty(sNamespace, sKey, newValue, false); in setAndGetProperty_overrideValue() 98 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in getProperties_empty() 103 DeviceConfig.setProperty(sNamespace, newKey, newValue, false); in getProperties_empty() 115 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in getProperties() 121 DeviceConfig.setProperty(sNamespace, newKey, newValue, false); in getProperties() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | AttentionDetectorTest.java | 97 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 …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | DeviceConfigTest.java | 105 DeviceConfig.setProperty(NAMESPACE, KEY, value, false); in getString_nonEmpty() 142 DeviceConfig.setProperty(NAMESPACE, KEY, String.valueOf(value), false); in getBoolean_valid() 151 DeviceConfig.setProperty(NAMESPACE, KEY, "not_a_boolean", false); in getBoolean_invalid() 189 DeviceConfig.setProperty(NAMESPACE, KEY, String.valueOf(value), false); in getInt_valid() 198 DeviceConfig.setProperty(NAMESPACE, KEY, "not_an_int", false); in getInt_invalid() 236 DeviceConfig.setProperty(NAMESPACE, KEY, String.valueOf(value), false); in getLong_valid() 245 DeviceConfig.setProperty(NAMESPACE, KEY, "not_a_long", false); in getLong_invalid() 283 DeviceConfig.setProperty(NAMESPACE, KEY, String.valueOf(value), false); in getFloat_valid() 292 DeviceConfig.setProperty(NAMESPACE, KEY, "not_a_float", false); in getFloat_invalid() 322 DeviceConfig.setProperty(null, KEY, VALUE, false); in setProperty_nullNamespace() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
D | RecyclerViewUtil.java | 66 setProperty(recyclerView, adapterClassName, adapter, "setAdapter"); in setAdapter() 67 setProperty(adapter, int.class, adapterLayout, "setLayoutId"); in setAdapter() 70 setProperty(adapter, int.class, itemCount, "setItemCount"); in setAdapter() 90 setProperty(recyclerView, layoutMgrClassName, layoutManager, "setLayoutManager"); in setLayoutManager() 128 private static void setProperty(@NonNull Object object, @NonNull String propertyClassName, in setProperty() method in RecyclerViewUtil 132 setProperty(object, propertyClass, propertyValue, propertySetter); in setProperty() 135 private static void setProperty(@NonNull Object object, @NonNull Class<?> propertyClass, in setProperty() method in RecyclerViewUtil
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | AbstractProxyTest.java | 193 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()
|
/frameworks/base/core/java/android/net/ |
D | Proxy.java | 223 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()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/ |
D | BlobStoreConfigTest.java | 62 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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | WorkTypeConfigTest.java | 69 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, KEY_MAX_TOTAL, null, false); in resetConfig() 70 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, KEY_MAX_TOP, null, false); in resetConfig() 71 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, KEY_MAX_FGS, null, false); in resetConfig() 72 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, KEY_MAX_EJ, null, false); in resetConfig() 73 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, KEY_MAX_BG, null, false); in resetConfig() 74 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, in resetConfig() 76 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, KEY_MAX_BGUSER, null, false); in resetConfig() 77 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, KEY_MIN_TOP, null, false); in resetConfig() 78 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, KEY_MIN_FGS, null, false); in resetConfig() 79 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_JOB_SCHEDULER, KEY_MIN_EJ, null, false); in resetConfig() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/ |
D | AttentionManagerServiceTest.java | 171 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesGoodFlagValue() 178 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_1() 186 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_2() 194 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_3() 202 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_4()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ConstrainDisplayApisConfigTest.java | 177 DeviceConfig.setProperty(NAMESPACE_CONSTRAIN_DISPLAY_APIS, "never_constrain_display_apis", in setNeverConstrainDisplayApisFlag() 182 DeviceConfig.setProperty(NAMESPACE_CONSTRAIN_DISPLAY_APIS, in setNeverConstrainDisplayApisAllPackagesFlag() 188 DeviceConfig.setProperty(NAMESPACE_CONSTRAIN_DISPLAY_APIS, "always_constrain_display_apis", in setAlwaysConstrainDisplayApisFlag()
|
/frameworks/base/tests/RollbackTest/lib/src/com/android/tests/rollback/host/ |
D | WatchdogEventLogger.java | 37 assertThat(mDevice.setProperty( in resetProperties() 41 assertThat(mDevice.setProperty(key, "")).isTrue(); in resetProperties() 43 assertThat(mDevice.setProperty(key + "." + attr, "")).isTrue(); in resetProperties()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | DeviceConfigProxyFakeTest.java | 60 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()
|
/frameworks/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/ |
D | BootImageProfileTest.java | 54 private String setProperty(String property, String value) throws Exception { in setProperty() method in BootImageProfileTest 102 setProperty("profilebootclasspath", "true"); in testSystemServerProfile() 103 setProperty("profilesystemserver", "true"); in testSystemServerProfile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationSectionsFeatureManagerTest.kt | 61 proxyFake.setProperty( in testPeopleFilteringOff_newInterruptionModelOn() 71 proxyFake.setProperty( in testPeopleFilteringOn_newInterruptionModelOn()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | DexmakerShareClassLoaderRule.java | 80 System.setProperty(DEXMAKER_SHARE_CLASSLOADER_PROPERTY, "true"); in wrapInSetAndClearProperty() 84 System.setProperty(DEXMAKER_SHARE_CLASSLOADER_PROPERTY, previousValue); in wrapInSetAndClearProperty()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | DeviceConfigProxy.java | 128 public boolean setProperty( in setProperty() method in DeviceConfigProxy 133 return DeviceConfig.setProperty(namespace, name, value, makeDefault); in setProperty()
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | VideoDumpView.java | 496 prop.setProperty("width", Integer.toString(mWidth)); in onSurfaceChanged() 497 prop.setProperty("height", Integer.toString(mHeight)); in onSurfaceChanged() 498 prop.setProperty("startX", Integer.toString(mStartX)); in onSurfaceChanged() 499 prop.setProperty("startY", Integer.toString(mStartY)); in onSurfaceChanged() 500 prop.setProperty("bytesPerPixel", in onSurfaceChanged() 502 prop.setProperty("frameRate", Integer.toString(VideoDumpConfig.FRAME_RATE)); in onSurfaceChanged()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | SettingsToPropertiesMapper.java | 156 setProperty(propertyName, properties.getString(key, null)); in updatePropertiesFromSettings() 227 private void setProperty(String key, String value) { in setProperty() method in SettingsToPropertiesMapper 285 setProperty(propName, settingValue); in updatePropertyFromSetting()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitchController.java | 313 PropertyAnimator.setProperty(mClockFrame, AnimatableProperty.TRANSLATION_X, in updatePosition() 315 PropertyAnimator.setProperty(mLargeClockFrame, AnimatableProperty.SCALE_X, in updatePosition() 317 PropertyAnimator.setProperty(mLargeClockFrame, AnimatableProperty.SCALE_Y, in updatePosition() 321 PropertyAnimator.setProperty(mSmartspaceView, AnimatableProperty.TRANSLATION_X, in updatePosition()
|