/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 | 193 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 195 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters() 198 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() [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/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/services/tests/servicestests/src/com/android/server/power/ |
D | AttentionDetectorTest.java | 108 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in tearDown() 111 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in tearDown() 314 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_handlesGoodFlagValue() 321 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_rejectsNegativeValue() 329 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_rejectsTooBigValue() 337 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_handlesBadFlagValue() 342 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPreDimCheckDurationMillis_handlesBadFlagValue() 350 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPostDimCheckDurationMillis_handlesGoodFlagValue() 358 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPostDimCheckDurationMillis_capsGoodFlagValueByMaxDimDuration() 365 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetPostDimCheckDurationMillis_rejectsNegativeValue() [all …]
|
/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/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/core/java/android/net/ |
D | Proxy.java | 265 System.setProperty("http.proxyHost", host); in setHttpProxySystemProperty() 266 System.setProperty("https.proxyHost", host); in setHttpProxySystemProperty() 272 System.setProperty("http.proxyPort", port); in setHttpProxySystemProperty() 273 System.setProperty("https.proxyPort", port); in setHttpProxySystemProperty() 279 System.setProperty("http.nonProxyHosts", exclList); in setHttpProxySystemProperty() 280 System.setProperty("https.nonProxyHosts", exclList); in setHttpProxySystemProperty()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingManagerProxyTest.java | 76 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in setup() 97 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in test_brightLineFalsingManagerEnabled() 113 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in test_brightLineFalsingManagerToggled() 119 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in test_brightLineFalsingManagerToggled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/ |
D | AttentionManagerServiceTest.java | 193 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesGoodFlagValue() 200 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_1() 208 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_2() 216 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_3() 224 DeviceConfig.setProperty(NAMESPACE_ATTENTION_MANAGER_SERVICE, in testGetStaleAfterMillis_handlesBadFlagValue_4()
|
/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 | 63 proxyFake.setProperty( in testPeopleFilteringOff_newInterruptionModelOn() 73 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 | 124 public boolean setProperty( in setProperty() method in DeviceConfigProxy 129 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 | 151 setProperty(propertyName, properties.getString(key, null)); in updatePropertiesFromSettings() 222 private void setProperty(String key, String value) { in setProperty() method in SettingsToPropertiesMapper 280 setProperty(propName, settingValue); in updatePropertyFromSetting()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/ |
D | BaseTest.java | 26 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssConfiguration.java | 228 mProperties.setProperty(CONFIG_LPP_PROFILE, lpp_prof); in reloadGpsProperties() 332 mProperties.setProperty(key, (String) value); in loadPropertiesFromCarrierConfig() 334 mProperties.setProperty(key, value.toString()); in loadPropertiesFromCarrierConfig()
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | NetworkStagedRollbackTest.java | 118 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testNetworkFailedRollback_Phase1() 174 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testNetworkPassedDoesNotRollback_Phase1()
|
D | RollbackTest.java | 410 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testRollbackExpiresAfterLifetime() 447 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testRollbackExpiresAfterLifetime() 480 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testRollbackExpiresWhenLifetimeChanges() 494 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testRollbackExpiresWhenLifetimeChanges() 519 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testTimeChangeDoesNotAffectLifetime() 576 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testTimeChangeDoesNotAffectLifetime() 1089 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback() 1113 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback() 1130 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback_MultiPackage() 1157 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback_MultiPackage()
|
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
D | RemoteXmlPullParserAdapter.java | 57 public void setProperty(String name, Object value) in setProperty() method in RemoteXmlPullParserAdapter 59 mDelegate.setProperty(name, value); in setProperty()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassificationConstantsTest.java | 95 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, key, in setDeviceConfig()
|
/frameworks/base/apct-tests/perftests/textclassifier/src/android/view/textclassifier/ |
D | TextClassificationManagerPerfTest.java | 96 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in enableSystemTextclassifier()
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
D | RemoteXmlPullParserAdapter.java | 57 public void setProperty(String name, Object value) throws XmlPullParserException { in setProperty() method in RemoteXmlPullParserAdapter 59 mDelegate.setProperty(name, value); in setProperty()
|