Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DAppCompactorTest.java132 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
134 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
137 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
140 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
143 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
146 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
149 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
152 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
155 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
158 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in init_withDeviceConfigSetsParameters()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java100 DeviceConfig.setProperty(sNamespace, sKey, value, false); in getString_nonEmpty()
137 DeviceConfig.setProperty(sNamespace, sKey, String.valueOf(value), false); in getBoolean_valid()
146 DeviceConfig.setProperty(sNamespace, sKey, "not_a_boolean", false); in getBoolean_invalid()
184 DeviceConfig.setProperty(sNamespace, sKey, String.valueOf(value), false); in getInt_valid()
193 DeviceConfig.setProperty(sNamespace, sKey, "not_an_int", false); in getInt_invalid()
231 DeviceConfig.setProperty(sNamespace, sKey, String.valueOf(value), false); in getLong_valid()
240 DeviceConfig.setProperty(sNamespace, sKey, "not_a_long", false); in getLong_invalid()
278 DeviceConfig.setProperty(sNamespace, sKey, String.valueOf(value), false); in getFloat_valid()
287 DeviceConfig.setProperty(sNamespace, sKey, "not_a_float", false); in getFloat_invalid()
317 DeviceConfig.setProperty(null, sKey, sValue, false); in setProperty_nullNamespace()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfigTest.java58 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_sameNamespace()
66 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_differentNamespace()
75 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_multipleNamespaces()
76 DeviceConfig.setProperty(newNamespace, sKey, newValue, false); in setAndGetProperty_multipleNamespaces()
86 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in setAndGetProperty_overrideValue()
87 DeviceConfig.setProperty(sNamespace, sKey, newValue, false); in setAndGetProperty_overrideValue()
107 DeviceConfig.setProperty(sNamespace, sKey, sValue, false); in testListener()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DRecyclerViewUtil.java66 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/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingManagerProxyTest.java60 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in setup()
66 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in tearDown()
79 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in test_brightLineFalsingManagerEnabled()
91 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in test_brightLineFalsingManagerToggled()
97 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in test_brightLineFalsingManagerToggled()
/frameworks/base/core/tests/coretests/src/android/net/http/
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()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DConfigParserTest.java64 DeviceConfig.setProperty( in getBoolean_deviceConfig()
83 DeviceConfig.setProperty( in getInt_deviceConfig()
100 DeviceConfig.setProperty( in getFloat_deviceConfig()
117 DeviceConfig.setProperty( in getString_deviceConfig()
/frameworks/base/core/java/android/net/
DProxy.java265 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/tests/testables/src/android/testing/
DDexmakerShareClassLoaderRule.java74 System.setProperty(DEXMAKER_SHARE_CLASSLOADER_PROPERTY, "true"); in wrapInSetAndClearProperty()
78 System.setProperty(DEXMAKER_SHARE_CLASSLOADER_PROPERTY, previousValue); in wrapInSetAndClearProperty()
/frameworks/base/services/core/java/com/android/server/am/
DSettingsToPropertiesMapper.java148 setProperty(propertyName, properties.getString(key, null)); in updatePropertiesFromSettings()
219 private void setProperty(String key, String value) { in setProperty() method in SettingsToPropertiesMapper
277 setProperty(propName, settingValue); in updatePropertyFromSetting()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java496 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/packages/SettingsLib/tests/integ/src/com/android/settingslib/
DBaseTest.java26 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
/frameworks/base/services/core/java/com/android/server/location/
DGnssConfiguration.java223 mProperties.setProperty(CONFIG_LPP_PROFILE, lpp_prof); in reloadGpsProperties()
328 mProperties.setProperty(key, (String) value); in loadPropertiesFromCarrierConfig()
330 mProperties.setProperty(key, value.toString()); in loadPropertiesFromCarrierConfig()
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteXmlPullParserAdapter.java57 public void setProperty(String name, Object value) in setProperty() method in RemoteXmlPullParserAdapter
59 mDelegate.setProperty(name, value); in setProperty()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTest.java332 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testRollbackExpiresAfterLifetime()
368 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testRollbackExpiresAfterLifetime()
393 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testTimeChangeDoesNotAffectLifetime()
444 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK_BOOT, in testTimeChangeDoesNotAffectLifetime()
973 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback()
987 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_ROLLBACK, in testEnableRollbackTimeoutFailsRollback()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiServiceTestCase.java56 System.setProperty("dexmaker.share_classloader", "true"); in setup()
/frameworks/base/services/core/java/com/android/server/utils/
DFlagNamespaceUtils.java95 DeviceConfig.setProperty(NAMESPACE_RESCUE_PARTY, in addToKnownResetNamespaces()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DRescuePartyTest.java135 .when(() -> DeviceConfig.setProperty(anyString(), anyString(), anyString(), in setUp()
313 () -> DeviceConfig.setProperty(FlagNamespaceUtils.NAMESPACE_RESCUE_PARTY, in testNativeRescuePartyResets()
317 () -> DeviceConfig.setProperty(FlagNamespaceUtils.NAMESPACE_RESCUE_PARTY, in testNativeRescuePartyResets()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteXmlPullParserAdapter.java57 public void setProperty(String name, Object value) throws XmlPullParserException { in setProperty() method in RemoteXmlPullParserAdapter
59 mDelegate.setProperty(name, value); in setProperty()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java227 public void setProperty(String s, Object o) throws XmlPullParserException { in setProperty() method in LayoutParserWrapper
228 mDelegate.setProperty(s, o); in setProperty()
/frameworks/base/tests/testables/tests/src/android/testing/
DDexmakerShareClassLoaderRuleTest.java60 System.setProperty(DEXMAKER_SHARE_CLASSLOADER_PROPERTY, "asdf"); in rule_resetsProperty_toExactValue()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteXmlPullParser.java37 void setProperty(String name, Object value) throws XmlPullParserException, RemoteException; in setProperty() method
/frameworks/base/core/java/android/animation/
DObjectAnimator.java136 public void setProperty(@NonNull Property property) { in setProperty() method in ObjectAnimator
142 valuesHolder.setProperty(property); in setProperty()
225 setProperty(property); in ObjectAnimator()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DImageReaderTest.java54 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableOutlineView.java274 PropertyAnimator.setProperty(this, TOP_ROUNDNESS, topRoundness, in setTopRoundness()
314 PropertyAnimator.setProperty(this, BOTTOM_ROUNDNESS, bottomRoundness, in setBottomRoundness()

123