/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkVars.java | 64 VAR_MAP.put("build.board", new StaticVarGetter(Build.BOARD)); 65 VAR_MAP.put("build.brand", new StaticVarGetter(Build.BRAND)); 66 VAR_MAP.put("build.device", new StaticVarGetter(Build.DEVICE)); 67 VAR_MAP.put("build.display", new StaticVarGetter(Build.DISPLAY)); 68 VAR_MAP.put("build.fingerprint", new StaticVarGetter(Build.FINGERPRINT)); 69 VAR_MAP.put("build.host", new StaticVarGetter(Build.HOST)); 70 VAR_MAP.put("build.id", new StaticVarGetter(Build.ID)); 71 VAR_MAP.put("build.model", new StaticVarGetter(Build.MODEL)); 72 VAR_MAP.put("build.product", new StaticVarGetter(Build.PRODUCT)); 73 VAR_MAP.put("build.tags", new StaticVarGetter(Build.TAGS)) [all...] |
/external/webkit/Source/WebCore/bindings/gobject/ |
DOMObjectCache.h | 31 static void* put(void* objectHandle, void* wrapper); 32 static void* put(WebCore::Node* objectHandle, void* wrapper);
|
/frameworks/base/keystore/java/android/security/ |
AndroidKeyStoreProvider.java | 33 put("KeyStore." + AndroidKeyStore.NAME, AndroidKeyStore.class.getName()); 36 put("KeyPairGenerator." + AndroidKeyPairGenerator.NAME,
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
ResultSetTest.java | 34 thePublicStatics.put("CLOSE_CURSORS_AT_COMMIT", 36 thePublicStatics.put("HOLD_CURSORS_OVER_COMMIT", new java.lang.Integer( 38 thePublicStatics.put("CONCUR_UPDATABLE", new java.lang.Integer(1008)); 39 thePublicStatics.put("CONCUR_READ_ONLY", new java.lang.Integer(1007)); 40 thePublicStatics.put("TYPE_SCROLL_SENSITIVE", new java.lang.Integer( 42 thePublicStatics.put("TYPE_SCROLL_INSENSITIVE", new java.lang.Integer( 44 thePublicStatics.put("TYPE_FORWARD_ONLY", new java.lang.Integer(1003)); 45 thePublicStatics.put("FETCH_UNKNOWN", new java.lang.Integer(1002)); 46 thePublicStatics.put("FETCH_REVERSE", new java.lang.Integer(1001)); 47 thePublicStatics.put("FETCH_FORWARD", new java.lang.Integer(1000)) [all...] |
ParameterMetaDataTest.java | 34 thePublicStatics.put("parameterModeOut", new Integer(4)); 35 thePublicStatics.put("parameterModeInOut", new Integer(2)); 36 thePublicStatics.put("parameterModeIn", new Integer(1)); 37 thePublicStatics.put("parameterModeUnknown", new Integer(0)); 38 thePublicStatics.put("parameterNullableUnknown", new Integer(2)); 39 thePublicStatics.put("parameterNullable", new Integer(1)); 40 thePublicStatics.put("parameterNoNulls", new Integer(0));
|
StatementTest.java | 34 thePublicStatics.put("NO_GENERATED_KEYS", new Integer(2)); 35 thePublicStatics.put("RETURN_GENERATED_KEYS", new Integer(1)); 36 thePublicStatics.put("EXECUTE_FAILED", new Integer(-3)); 37 thePublicStatics.put("SUCCESS_NO_INFO", new Integer(-2)); 38 thePublicStatics.put("CLOSE_ALL_RESULTS", new Integer(3)); 39 thePublicStatics.put("KEEP_CURRENT_RESULT", new Integer(2)); 40 thePublicStatics.put("CLOSE_CURRENT_RESULT", new Integer(1));
|
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
EnvironmentCheck.java | 199 * <p>Various system and CLASSPATH, etc. properties are put into 201 * of that item as the value. Any serious problems will be put in 558 * @param h Hashtable to put information in 573 h.put("java.version", javaVersion); 579 h.put( 592 h.put("java.class.path", cp); 597 h.put(FOUNDCLASSES + "java.class.path", classpathJars); 604 h.put("sun.boot.class.path", othercp); 609 h.put(FOUNDCLASSES + "sun.boot.class.path", classpathJars); 618 h.put("java.ext.dirs", othercp) [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifTag.java | 580 sInteroperTagInfo.put(TAG_INTEROPERABILITY_INDEX, 591 * We put tag information in a 4-bytes integer. The first byte is the 596 sTagInfo.put(TAG_MAKE, 598 sTagInfo.put(TAG_IMAGE_WIDTH, 600 sTagInfo.put(TAG_IMAGE_LENGTH, 602 sTagInfo.put(TAG_BITS_PER_SAMPLE, 604 sTagInfo.put(TAG_COMPRESSION, 606 sTagInfo.put(TAG_PHOTOMETRIC_INTERPRETATION, 608 sTagInfo.put(TAG_ORIENTATION, (IfdId.TYPE_IFD_0 << 24) | TYPE_UNSIGNED_SHORT << 16 | 1); 609 sTagInfo.put(TAG_SAMPLES_PER_PIXEL [all...] |
/libcore/luni/src/main/java/java/lang/ |
System.java | 231 map.put(entry.substring(0, index), entry.substring(index + 1)); 272 p.put("java.boot.class.path", runtime.bootClassPath()); 273 p.put("java.class.path", runtime.classPath()); 278 p.put("java.class.version", "50.0"); 279 p.put("java.compiler", ""); 280 p.put("java.ext.dirs", ""); 281 p.put("java.version", "0"); 283 p.put("java.home", getenv("JAVA_HOME", "/system")); 285 p.put("java.io.tmpdir", "/tmp"); 286 p.put("java.library.path", getenv("LD_LIBRARY_PATH")) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableListMultimapTest.java | 45 .put(Maps.immutableEntry("one", 1)) 53 builder.put(Maps.immutableEntry("one", (Integer) null)); 58 builder.put(Maps.immutableEntry((String) null, 1)); 82 builder.put(entry); 113 toPut.put("foo", 1); 114 toPut.put("bar", 4); 115 toPut.put("foo", 2); 116 toPut.put("foo", 3); 118 moreToPut.put("foo", 6); 119 moreToPut.put("bar", 5) [all...] |
SubMapMultimapAsMapImplementsMapTest.java | 43 multimap.put("a", -1); 44 multimap.put("a", -3); 45 multimap.put("z", -2); 55 multimap.put("f", 1); 56 multimap.put("f", 2); 57 multimap.put("g", 3); 58 multimap.put("h", 4);
|
AbstractMultimapTest.java | 120 multimap.put("foo", 1); 125 multimap.put("foo", 1); 126 multimap.put("bar", 5); 131 multimap.put("foo", 1); 132 multimap.put("foo", 7); 137 multimap.put("foo", 1); 138 multimap.put("bar", 5); 139 multimap.put(nullKey(), nullValue()); 140 multimap.put("foo", nullValue()); 141 multimap.put(nullKey(), 5) [all...] |
AbstractBiMapTest.java | 67 bimap.put(1, "one"); 70 bimap.put(null, null); 79 bimap.put(1, "one"); 82 bimap.put(null, null); 90 biMap.put(1, null); 99 bimap.put(1, "one"); 100 bimap.put(0, null); 101 bimap.put(null, "nothing"); 115 bimap.put(1, "one"); 116 bimap.put(2, "two") [all...] |
AbstractTableTest.java | 38 table.put( 66 assertNull(table.put("foo", 1, 'a')); 67 assertNull(table.put("bar", 1, 'b')); 68 assertNull(table.put("foo", 3, 'c')); 69 assertEquals((Character) 'a', table.put("foo", 1, 'd')); 73 assertEquals((Character) 'd', table.put("foo", 1, 'd')); 83 table.put(null, 2, 'd'); 87 table.put("cat", null, 'd'); 91 assertNull(table.put("cat", 2, null)); 95 table.put("cat", 2, null) [all...] |
AbstractSetMultimapTest.java | 39 assertTrue(multimap.put("foo", 1)); 40 assertTrue(multimap.put("foo", 3)); 41 assertTrue(multimap.put("bar", 3)); 42 assertFalse(multimap.put("foo", 1)); 52 multimap.put("foo", 1); 53 multimap.put("foo", 3); 59 multimap.put("foo", 1); 60 multimap.put("foo", nullValue()); 61 multimap.put(nullKey(), 3); 65 equalMap.put("foo", Sets.newHashSet(1, nullValue())) [all...] |
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
PublicApiAccessTest.java | 71 values.put(Downloads.Impl.COLUMN_TITLE, "foo"); 72 values.put(Downloads.Impl.COLUMN_DESCRIPTION, "foo"); 73 values.put(Downloads.Impl.COLUMN_MIME_TYPE, "foo"); 74 values.put(Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE, "foo"); 75 values.put(Downloads.Impl.COLUMN_ALLOWED_NETWORK_TYPES, 0); 76 values.put(Downloads.Impl.COLUMN_ALLOW_ROAMING, true); 77 values.put(Downloads.Impl.RequestHeaders.INSERT_KEY_PREFIX + "0", "X-Some-Header: value"); 83 values.put(Downloads.Impl.COLUMN_URI, "foo"); 84 values.put(Downloads.Impl.COLUMN_DESTINATION, 86 values.put(Downloads.Impl.COLUMN_VISIBILITY, Downloads.Impl.VISIBILITY_VISIBLE) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
TreeMapTest.java | 38 map.put("A", "a"); 39 map.put("B", "b"); 40 map.put("C", "c"); 63 map.put("A", "a"); 64 map.put("B", "b"); 65 map.put("C", "c"); 66 map.put("D", "d"); 92 map.put("A", "a"); 93 map.put("B", "b"); 94 map.put("C", "c") 208 map.subMap("a", "z").put(null, "b"); method [all...] |
/external/apache-harmony/auth/src/test/java/common/tests/api/javax/security/auth/x500/ |
X500PrincipalTest.java | 43 keyword.put("CN", "2.19"); 44 keyword.put("OU", "1.2.5.19"); 45 keyword.put("O", "1.2.5"); 69 keyword.put("CN", "2.19"); 70 keyword.put("OU", "1.2.5.19"); 71 keyword.put("O", "1.2.5"); 74 keyword.put("2.19", "mystring");
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 98 values.put(People.NAME, "John Doe"); 115 values.put(People.NAME, "Deer Doe"); 119 values.put(People.NAME, "Dear Dough"); 123 values.put(People.NAME, "D.R. Dauwe"); 134 values.put(People.NAME, "John Doe"); 146 values.put(Organizations.ISPRIMARY, 1); 147 values.put(Organizations.COMPANY, "Google"); 148 values.put(Organizations.TYPE, Organizations.TYPE_WORK); 149 values.put(Organizations.PERSON_ID, personId); 154 values.put(Organizations.COMPANY, "Acme") 400 expectedResults[0].put(Phones.NUMBER_KEY, "11446640081"); method 451 expectedValues[0].put(Phones.NUMBER_KEY, "36645550081"); method 473 expectedValues[0].put(Phones.NUMBER_KEY, "1144664008"); method [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardTestUtilsTests.java | 61 .put(StructuredName.GIVEN_NAME, "A;B\\") 62 .put(StructuredName.MIDDLE_NAME, "C\\;") 63 .put(StructuredName.PREFIX, "D") 64 .put(StructuredName.SUFFIX, ":E"); 81 .put(StructuredName.FAMILY_NAME, "\\") 82 .put(StructuredName.GIVEN_NAME, ";") 83 .put(StructuredName.MIDDLE_NAME, ",") 84 .put(StructuredName.PREFIX, "\n") 85 .put(StructuredName.DISPLAY_NAME, "[<{Unescaped:Asciis}>]");
|
/libcore/json/src/test/java/org/json/ |
JSONArrayTest.java | 63 a.put(true); 64 a.put(false); 65 b.put(true); 66 b.put(false); 70 b.put(true); 77 array.put(true); 78 array.put(false); 79 array.put(2, false); 80 array.put(3, false); 81 array.put(2, true) [all...] |
JSONObjectTest.java | 117 object.put("foo", value); 118 object.put("bar", new Object()); 119 object.put("baz", new Object()); 127 object.put(null, value); 140 assertSame(object, object.put("foo", true)); 141 object.put("foo", false); 144 object.put("foo", 5.0d); 146 object.put("foo", 0); 148 object.put("bar", Long.MAX_VALUE - 1); 150 object.put("baz", "x") [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
SocketHandlerTest.java | 94 props.put("handlers", className + "$MockHandler " + className 96 props.put("java.util.logging.FileHandler.pattern", "%h/java%u.log"); 97 props.put("java.util.logging.FileHandler.limit", "50000"); 98 props.put("java.util.logging.FileHandler.count", "5"); 99 props.put("java.util.logging.FileHandler.formatter", 101 props.put(".level", "FINE"); 102 props.put("java.util.logging.ConsoleHandler.level", "OFF"); 103 props.put("java.util.logging.ConsoleHandler.formatter", 105 props.put("foo.handlers", "java.util.logging.ConsoleHandler"); 106 props.put("foo.level", "WARNING") [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactOperations.java | 105 mValues.put(RawContacts.SOURCE_ID, userId); 106 mValues.put(RawContacts.ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); 107 mValues.put(RawContacts.ACCOUNT_NAME, accountName); 136 mValues.put(StructuredName.DISPLAY_NAME, fullName); 137 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); 140 mValues.put(StructuredName.GIVEN_NAME, firstName); 141 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); 144 mValues.put(StructuredName.FAMILY_NAME, lastName); 145 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); 163 mValues.put(Email.DATA, email) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
AppSettings.java | 127 defaults.put("Width", 640); 128 defaults.put("Height", 480); 129 defaults.put("BitsPerPixel", 24); 130 defaults.put("Frequency", 60); 131 defaults.put("DepthBits", 24); 132 defaults.put("StencilBits", 0); 133 defaults.put("Samples", 0); 134 defaults.put("Fullscreen", false); 135 defaults.put("Title", "jMonkey Engine 3.0"); 136 defaults.put("Renderer", LWJGL_OPENGL2) 184 put(key, other.get(key)); method 263 put(key, prefs.getInt(key, (Integer) defaultValue)); method 265 put(key, prefs.get(key, (String) defaultValue)); method 267 put(key, prefs.getBoolean(key, (Boolean) defaultValue)); method 338 put(key, Integer.valueOf(value)); method 345 put(key, Boolean.valueOf(value)); method 352 put(key, value); method [all...] |