/packages/apps/Browser/tests/src/com/android/browser/tests/ |
BP2ProviderTests.java | 49 values.put(Images.URL, url); 53 values.put(Images.THUMBNAIL, os.toByteArray()); 70 values.put(BrowserContract.Bookmarks.TITLE, "New Folder"); 71 values.put(BrowserContract.Bookmarks.IS_FOLDER, 1); 72 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName); 73 values.put(BrowserContract.Bookmarks.ACCOUNT_TYPE, accountType); 79 values.put(BrowserContract.Bookmarks.TITLE, "google"); 80 values.put(BrowserContract.Bookmarks.URL, "http://google.com"); 81 values.put(BrowserContract.Bookmarks.IS_FOLDER, 0); 82 values.put(BrowserContract.Bookmarks.PARENT, folderId) [all...] |
/external/stlport/test/eh/ |
locale.cpp | 35 time_fac.put(cout, cout, NULL, cur_time, 'x'); cout<<'\n'; 36 time_fac.put(cout, cout, NULL, cur_time, 'x', '#'); cout<<'\n'; 37 time_fac.put(cout, cout, NULL, cur_time, 'X'); cout<<'\n'; 38 time_fac.put(cout, cout, NULL, cur_time, 'c'); cout<<'\n'; 39 time_fac.put(cout, cout, NULL, cur_time, 'c', '#'); cout<<'\n'; 40 time_fac.put(cout, cout, NULL, cur_time, 'I'); cout<<'\n';
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GlobalSearchSupportTest.java | 131 values.put(SearchManager.SUGGEST_COLUMN_TEXT_1, "Dial number"); 132 values.put(SearchManager.SUGGEST_COLUMN_TEXT_2, "using 12345678"); 133 values.put(SearchManager.SUGGEST_COLUMN_ICON_1, 135 values.put(SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 137 values.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, "tel:12345678"); 143 values.put(SearchManager.SUGGEST_COLUMN_TEXT_1, "Create contact"); 144 values.put(SearchManager.SUGGEST_COLUMN_TEXT_2, "using 12345678"); 145 values.put(SearchManager.SUGGEST_COLUMN_ICON_1, 147 values.put(SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 149 values.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, "tel:12345678") [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToHTMLStream.java | 70 m_elementFlags.put("BASEFONT", new ElemDesc(0 | ElemDesc.EMPTY)); 71 m_elementFlags.put( 74 m_elementFlags.put("FRAMESET", new ElemDesc(0 | ElemDesc.BLOCK)); 75 m_elementFlags.put("NOFRAMES", new ElemDesc(0 | ElemDesc.BLOCK)); 76 m_elementFlags.put( 79 m_elementFlags.put( 82 m_elementFlags.put("CENTER", new ElemDesc(0 | ElemDesc.BLOCK)); 83 m_elementFlags.put("DIR", new ElemDesc(0 | ElemDesc.BLOCK)); 84 m_elementFlags.put("MENU", new ElemDesc(0 | ElemDesc.BLOCK)); 87 m_elementFlags.put("TT", new ElemDesc(0 | ElemDesc.FONTSTYLE)) 2090 public Object put(String key, Object value) method in class:ToHTMLStream.Trie [all...] |
/frameworks/base/core/java/com/google/android/mms/pdu/ |
PduPersister.java | 192 MESSAGE_BOX_MAP.put(Mms.Inbox.CONTENT_URI, Mms.MESSAGE_BOX_INBOX); 193 MESSAGE_BOX_MAP.put(Mms.Sent.CONTENT_URI, Mms.MESSAGE_BOX_SENT); 194 MESSAGE_BOX_MAP.put(Mms.Draft.CONTENT_URI, Mms.MESSAGE_BOX_DRAFTS); 195 MESSAGE_BOX_MAP.put(Mms.Outbox.CONTENT_URI, Mms.MESSAGE_BOX_OUTBOX); 198 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT_CHARSET); 199 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT_CHARSET); 202 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.SUBJECT, Mms.SUBJECT_CHARSET); 203 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.RETRIEVE_TEXT, Mms.RETRIEVE_TEXT_CHARSET); 207 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT); 208 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT) [all...] |
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
ASCCharsetDecoderTest.java | 49 // buffer.put((byte)-1); 50 // buffer.put(unibytes); 59 buffer.put((byte) -1); 60 buffer.put(getByteBuffer());
|
GBCharsetDecoderTest.java | 54 buffer.put(new byte[] { (byte) 0xd8 }); 55 buffer.put(getByteBuffer());
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyStore.java | 96 Keys.put(alias, key); 98 Chain.put(alias, chain); 100 Dates.put(alias, new Date()); 116 Keys.put(alias, keyK); 118 Chain.put(alias, chain); 120 Dates.put(alias, new Date()); 126 Cert.put(alias, cert); 127 Dates.put(alias, new Date()); 186 KeysSL.put(alias, Keys.get(alias)); 187 DatesSL.put(alias, Dates.get(alias)) [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
SQLClientInfoExceptionTest.java | 54 failedProperties.put("String1", ClientInfoStatus.REASON_VALUE_INVALID); 56 .put("String2", ClientInfoStatus.REASON_VALUE_TRUNCATED); 75 failedProperties.put("String1", ClientInfoStatus.REASON_VALUE_INVALID); 77 .put("String2", ClientInfoStatus.REASON_VALUE_TRUNCATED); 114 failedProperties.put("String1", ClientInfoStatus.REASON_VALUE_INVALID); 116 .put("String2", ClientInfoStatus.REASON_VALUE_TRUNCATED); 137 failedProperties.put("String1", ClientInfoStatus.REASON_VALUE_INVALID); 139 .put("String2", ClientInfoStatus.REASON_VALUE_TRUNCATED); 164 failedProperties.put("String1", ClientInfoStatus.REASON_VALUE_INVALID); 166 .put("String2", ClientInfoStatus.REASON_VALUE_TRUNCATED) [all...] |
/external/oauth/core/src/main/java/net/oauth/http/ |
HttpResponseMessage.java | 38 into.put(STATUS_CODE, Integer.valueOf(getStatusCode())); 41 into.put(LOCATION, location);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaProfileReader.java | 121 videoEncoderMap.put(MediaRecorder.VideoEncoder.H263, "h263"); 122 videoEncoderMap.put(MediaRecorder.VideoEncoder.H264, "h264"); 123 videoEncoderMap.put(MediaRecorder.VideoEncoder.MPEG_4_SP, "m4v"); 128 audioEncoderMap.put(MediaRecorder.AudioEncoder.AMR_NB, "amrnb"); 129 audioEncoderMap.put(MediaRecorder.AudioEncoder.AMR_WB, "amrwb"); 130 audioEncoderMap.put(MediaRecorder.AudioEncoder.AAC, "aac"); 131 audioEncoderMap.put(MediaRecorder.AudioEncoder.AAC_PLUS, "aacplus"); 132 audioEncoderMap.put(MediaRecorder.AudioEncoder.EAAC_PLUS, "eaacplus");
|
/libcore/json/src/test/java/org/json/ |
SelfUseTest.java | 43 @Override public JSONObject put(String name, Object value) throws JSONException { 45 return super.put(name, value); 78 @Override public JSONArray put(int index, Object value) throws JSONException { 80 return super.put(index, value); 135 object.put("foo", "true"); 159 object.put("foo", 5); 160 object.put("bar", 10); 161 array.put("foo"); 162 array.put("baz"); 163 array.put("bar") [all...] |
/libcore/luni/src/test/java/libcore/java/nio/ |
OldDirectIntBufferTest.java | 35 intBuffer.put(source, 2, 2); 36 intBuffer.put(source, 4, 2);
|
OldDirectShortBufferTest.java | 35 shortBuffer.put(source, 2, 2); 36 shortBuffer.put(source, 4, 2);
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidHashMapTest.java | 30 map.put("one", ONE); 31 map.put("two", TWO); 32 map.put("three", THREE); 33 map.put("four", FOUR); 76 assertNull(map.put(null, -1)); 77 assertNull(map.put("one", 1)); 78 assertNull(map.put("two", 2)); 79 assertNull(map.put("three", 3)); 80 assertEquals(-1, map.put(null, 0).intValue()); 222 map1.put("one", "1") [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyStore.java | 97 Keys.put(alias, key); 99 Chain.put(alias, chain); 101 Dates.put(alias, new Date()); 117 Keys.put(alias, keyK); 119 Chain.put(alias, chain); 121 Dates.put(alias, new Date()); 127 Cert.put(alias, cert); 128 Dates.put(alias, new Date()); 187 KeysSL.put(alias, Keys.get(alias)); 188 DatesSL.put(alias, Dates.get(alias)) [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionExtras.java | 33 public MockSuggestionExtras put(String name, Object value) { method in class:MockSuggestionExtras 34 mMap.put(name, value);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardImporterTests.java | 421 .put(StructuredName.FAMILY_NAME, "Ando") 422 .put(StructuredName.GIVEN_NAME, "Roid") 423 .put(StructuredName.DISPLAY_NAME, "Roid Ando"); 430 .put(StructuredName.FAMILY_NAME, "Ando") 431 .put(StructuredName.GIVEN_NAME, "Roid") 435 .put(StructuredName.DISPLAY_NAME, "Roid Ando"); 442 .put(StructuredName.DISPLAY_NAME, "Ando Roid"); 449 .put(StructuredName.FAMILY_NAME, "Ando") 450 .put(StructuredName.GIVEN_NAME, "Roid") 453 .put(StructuredName.DISPLAY_NAME, "Ando Roid") [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
IdentityHashMapTest.java | 87 empty.put("something", "here"); 98 myMap.put(objArray2[counter], objArray[counter]); 141 map.put("key", "value"); 150 map2.put("key", "value2"); 157 map2.put("key2", "value3"); 177 m.put(null, "test"); 219 hm.put("T", "HELLO"); 224 m.put(null, "test"); 253 m.put(null, "test"); 258 map.put(new Integer(1), "1") [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
Grid.java | 82 mIndexBuffer.put(i++, a); 83 mIndexBuffer.put(i++, b); 84 mIndexBuffer.put(i++, c); 86 mIndexBuffer.put(i++, b); 87 mIndexBuffer.put(i++, c); 88 mIndexBuffer.put(i++, d); 106 mVertexBuffer.put(posIndex, x); 107 mVertexBuffer.put(posIndex + 1, y); 108 mVertexBuffer.put(posIndex + 2, z); 111 mTexCoordBuffer.put(texIndex, u) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
Storage.java | 72 values.put(ImageColumns.TITLE, title); 73 values.put(ImageColumns.DISPLAY_NAME, title + ".jpg"); 74 values.put(ImageColumns.DATE_TAKEN, date); 75 values.put(ImageColumns.MIME_TYPE, "image/jpeg"); 76 values.put(ImageColumns.ORIENTATION, orientation); 77 values.put(ImageColumns.DATA, path); 78 values.put(ImageColumns.SIZE, jpeg.length); 79 values.put(ImageColumns.WIDTH, width); 80 values.put(ImageColumns.HEIGHT, height); 83 values.put(ImageColumns.LATITUDE, location.getLatitude()) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
SaveCopyTask.java | 138 values.put(Images.Media.TITLE, saveFileName); 139 values.put(Images.Media.DISPLAY_NAME, saveFileName); 140 values.put(Images.Media.MIME_TYPE, "image/jpeg"); 141 values.put(Images.Media.DATE_TAKEN, dateTaken); 142 values.put(Images.Media.DATE_MODIFIED, now); 143 values.put(Images.Media.DATE_ADDED, now); 144 values.put(Images.Media.ORIENTATION, 0); 145 values.put(Images.Media.DATA, file.getAbsolutePath()); 146 values.put(Images.Media.SIZE, file.length()); 150 values.put(Images.Media.LATITUDE, latitude) [all...] |
/cts/tools/dasm/src/java_cup/ |
lexer.java | 114 keywords.put("package", new Integer(sym.PACKAGE)); 115 keywords.put("import", new Integer(sym.IMPORT)); 116 keywords.put("code", new Integer(sym.CODE)); 117 keywords.put("action", new Integer(sym.ACTION)); 118 keywords.put("parser", new Integer(sym.PARSER)); 119 keywords.put("terminal", new Integer(sym.TERMINAL)); 120 keywords.put("non", new Integer(sym.NON)); 121 keywords.put("init", new Integer(sym.INIT)); 122 keywords.put("scan", new Integer(sym.SCAN)); 123 keywords.put("with", new Integer(sym.WITH)) [all...] |
/libcore/luni/src/main/java/java/nio/ |
CharBuffer.java | 432 public abstract CharBuffer put(char c); method in class:CharBuffer 439 * {@code put(src, 0, src.length)}. 449 public final CharBuffer put(char[] src) { method in class:CharBuffer 450 return put(src, 0, src.length); 474 public CharBuffer put(char[] src, int srcOffset, int charCount) { method in class:CharBuffer 480 put(src[i]); 501 public CharBuffer put(CharBuffer src) { method in class:CharBuffer 511 put(contents); 529 public abstract CharBuffer put(int index, char c); method in class:CharBuffer 536 * {@code put(str, 0, str.length())} 546 public final CharBuffer put(String str) { method in class:CharBuffer 570 public CharBuffer put(String str, int start, int end) { method in class:CharBuffer [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
IdentityHashMap2Test.java | 96 empty.put("something", "here"); 107 myMap.put(objArray2[counter], objArray[counter]); 152 map.put("key", "value"); 161 map2.put("key", "value2"); 168 map2.put("key2", "value3"); 188 m.put(null, "test"); 230 hm.put("T", "HELLO"); 235 m.put(null, "test"); 264 m.put(null, "test"); 269 map.put(new Integer(1), "1") [all...] |