/frameworks/base/libs/hwui/tests/unit/ |
TestUtilsTests.cpp | 18 #include "Properties.h" 25 bool previous = Properties::debugOverdraw; 27 ScopedProperty<bool> debugOverdraw(Properties::debugOverdraw, true); 28 EXPECT_TRUE(Properties::debugOverdraw); 30 EXPECT_EQ(previous, Properties::debugOverdraw); 32 ScopedProperty<bool> debugOverdraw(Properties::debugOverdraw, false); 33 EXPECT_FALSE(Properties::debugOverdraw); 35 EXPECT_EQ(previous, Properties::debugOverdraw);
|
/libcore/luni/src/main/java/javax/xml/transform/ |
Templates.java | 22 import java.util.Properties; 44 * Get the properties corresponding to the effective xsl:output element. 50 * <p>The properties returned should contain properties set by the stylesheet, 51 * and these properties are "defaulted" by default properties specified by 53 * XSL Transformations (XSLT) W3C Recommendation</a>. The properties that 55 * Properties list, while the XSLT default properties that were not 56 * specifically set should be in the "default" Properties list. Thus [all...] |
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/ |
ConfigLoaderTest.java | 17 import java.util.Properties; 28 Properties system = new Properties(); 29 Properties config = ConfigLoader.load( 30 "/org/jacoco/agent/rt/internal/agent-test.properties", system); 37 Properties system = new Properties(); 38 Properties config = ConfigLoader.load("does-not-exist.properties", 46 Properties system = new Properties() [all...] |
/external/testng/src/main/java/org/testng/internal/ |
PropertiesFile.java | 6 import java.util.Properties;
9 * This class loads and abstracts remote.properties
17 private Properties m_properties = new Properties();
20 * Loads a Properties file.
22 * @param fileName properties file path
23 * @throws IOException if an error occurred when reading from the Properties file.
29 // Parse the Properties file
44 * Returns the properties loaded.
45 * @return loaded properties. [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
OutputPropertyUtils.java | 23 import java.util.Properties; 32 * @see java.util.Properties 45 * @param props the list of properties that will be searched. 49 public static boolean getBooleanProperty(String key, Properties props) 68 * @param props the list of properties that will be searched. 72 public static int getIntProperty(String key, Properties props)
|
Serializer.java | 25 import java.util.Properties; 33 * <li>configure the serializer with key/value properties 40 * java.util.Properties props = 67 * java.util.Properties props = 98 * The encoding specified in the output {@link Properties} is used, or 121 * The encoding specified for the output {@link Properties} must be 169 public void setOutputFormat(Properties format); 172 * Returns the output format properties for this serializer. 176 public Properties getOutputFormat();
|
/external/testng/src/main/java/org/testng/remote/adapter/ |
IMasterAdapter.java | 4 import java.util.Properties;
20 * @param prop holds the properties loaded from the remote.properties file.
23 void init( Properties prop) throws Exception;
|
IWorkerAdapter.java | 4 import java.util.Properties;
21 * @param properties holds the properties loaded from the remote.properties file.
24 void init( Properties properties) throws Exception;
|
/libcore/ojluni/src/main/java/java/sql/ |
Driver.java | 68 * <P>The <code>java.util.Properties</code> argument can be used to pass 70 * Normally at least "user" and "password" properties should be 71 * included in the <code>Properties</code> object. 81 Connection connect(String url, java.util.Properties info) 99 * Gets information about the possible properties for this driver. 102 * GUI tool to discover what properties it should prompt 113 * possible properties. This array may be an empty array if 114 * no properties are required. 117 DriverPropertyInfo[] getPropertyInfo(String url, java.util.Properties info)
|
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/ |
ConfigLoader.java | 17 import java.util.Properties; 23 * from system properties. System property keys are prefixed with 34 static Properties load(final String resource, final Properties system) { 35 final Properties result = new Properties(); 43 final Properties result) { 54 private static void loadSystemProperties(final Properties system, 55 final Properties result) { 65 private static void substSystemProperties(final Properties result [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
PropertiesTest.java | 40 import java.util.Properties; 47 Properties tProps; 52 * java.util.Properties#Properties() 55 // Test for method java.util.Properties() 56 Properties p = new Properties(); 59 assertTrue("Created incorrect Properties", true); 63 Properties p = new Properties(); 87 Properties properties = new Properties(systemProperties); local 511 Properties properties = new Properties(); local 568 Properties properties = new Properties(defaults); local 1125 Properties properties = new Properties(); local [all...] |
/frameworks/base/libs/hwui/ |
Properties.cpp | 17 #include "Properties.h" 25 #include <cutils/properties.h> 31 bool Properties::drawDeferDisabled = false; 32 bool Properties::drawReorderDisabled = false; 33 bool Properties::debugLayersUpdates = false; 34 bool Properties::debugOverdraw = false; 35 bool Properties::showDirtyRegions = false; 36 bool Properties::skipEmptyFrames = true; 37 bool Properties::useBufferAge = true; 38 bool Properties::enablePartialUpdates = true [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/ |
PropertiesHelperTest.java | 5 import java.util.Properties; 20 Properties properties = new Properties(); local 21 properties.setProperty("result", "{${first.value} + ${system.value.xbf5547}}"); 23 properties.setProperty("first.value", "first"); 24 PropertiesHelper.doSubstitutions(properties); 25 assertEquals("{first + system}", properties.getProperty("result"));
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
PropertyConfigurator.java | 20 import java.util.Properties; 29 public static void configure(Properties properties) { 44 public void doConfigure(Properties properties, LoggerRepository hierarchy) {
|
/external/slf4j/osgi-over-slf4j/src/main/java/org/slf4j/osgi/logservice/impl/ |
Activator.java | 35 import java.util.Properties; 60 Properties props = new Properties();
|
/frameworks/base/libs/hwui/pipeline/skia/ |
SkiaPipeline.h | 63 if (CC_UNLIKELY(Properties::overrideLightRadius > 0)) { 64 return Properties::overrideLightRadius; 70 if (CC_UNLIKELY(Properties::overrideAmbientShadowStrength >= 0)) { 71 return Properties::overrideAmbientShadowStrength; 77 if (CC_UNLIKELY(Properties::overrideSpotShadowStrength >= 0)) { 78 return Properties::overrideSpotShadowStrength; 84 if (CC_UNLIKELY(Properties::overrideLightPosY > 0 || Properties::overrideLightPosZ > 0)) { 86 if (CC_UNLIKELY(Properties::overrideLightPosY > 0)) { 88 adjustedLightCenter.y = - Properties::overrideLightPosY [all...] |
/external/testng/src/main/java/org/testng/xml/ |
XmlUtils.java | 7 import java.util.Properties; 14 public static void setProperty(Properties p, String name, String value, String def) { 24 Properties paramProps= new Properties();
|
LaunchSuite.java | 20 import java.util.Properties; 145 Properties attrs = new Properties(); 152 Properties paramAttrs = new Properties(); 261 Properties testAttrs = new Properties(); 269 Properties classAttrs = new Properties(); 278 Properties methodAttrs = new Properties() [all...] |
/libcore/ojluni/src/main/java/java/util/ |
PropertyResourceBundle.java | 56 * <code>PropertyResourceBundle</code>. Instead, you supply properties 58 * will automatically look for the appropriate properties file and create a 69 * therefore is the content of the file "MyResources_de.properties" 119 * @see Properties 137 Properties properties = new Properties(); local 138 properties.load(stream); 139 lookup = new HashMap(properties); 158 Properties properties = new Properties() local [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/ |
VDUInput.java | 27 import java.util.Properties; 69 * @param codes a properties object containing key code definitions 71 void setKeyCodes(Properties codes);
|
/hardware/interfaces/broadcastradio/1.1/ |
IBroadcastRadio.hal | 24 * Retrieve implementation properties. 25 * @return properties A Properties structure containing implementation 28 getProperties_1_1() generates (Properties properties);
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
TestSuiteInfo.java | 22 import java.util.Properties; 28 * <code>test-suite-info.properties</code> file in its jar resources 33 private static final String SUITE_INFO_PROPERTY = "/test-suite-info.properties"; 42 private Properties mTestSuiteInfo; 51 mTestSuiteInfo = new Properties(); 66 /** Performs the actual loading of properties */ 67 protected Properties loadSuiteInfo(InputStream is) throws IOException { 68 Properties p = new Properties();
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigTest.java | 37 enum Properties { 99 public void setProperty(final Properties p, final int value) { 157 public void setProperty(final Properties p, final String value) { 202 config.setProperty(Properties.LANGUAGE, "en"); 203 config.setProperty(Properties.COUNTRY, "US"); 204 config.setProperty(Properties.MCC, 310); 205 config.setProperty(Properties.MNC, 001); // unused 206 config.setProperty(Properties.TOUCHSCREEN, Configuration.TOUCHSCREEN_FINGER); 207 config.setProperty(Properties.KEYBOARD, Configuration.KEYBOARD_QWERTY); 208 config.setProperty(Properties.KEYBOARDHIDDEN, Configuration.KEYBOARDHIDDEN_YES) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherViewPropertyAnimator.java | 29 enum Properties { 40 EnumSet<Properties> mPropertiesToSet = EnumSet.noneOf(Properties.class); 160 mPropertiesToSet.add(Properties.DURATION); 167 mPropertiesToSet.add(Properties.INTERPOLATOR); 173 mPropertiesToSet.add(Properties.START_DELAY); 199 if (mPropertiesToSet.contains(Properties.TRANSLATION_X)) { 202 if (mPropertiesToSet.contains(Properties.TRANSLATION_Y)) { 205 if (mPropertiesToSet.contains(Properties.SCALE_X)) { 208 if (mPropertiesToSet.contains(Properties.ROTATION_Y)) [all...] |
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/ |
CustomPropsEntityManagerFactoryProvisionTest.java | 26 import java.util.Properties; 40 Properties props = new Properties(); 43 injector = Guice.createInjector(new JpaPersistModule("testUnit").properties(props));
|