HomeSort by relevance Sort by last modified time
    Searched refs:put (Results 101 - 125 of 4779) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/guava/guava-tests/test/com/google/common/collect/
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...]
AbstractListMultimapTest.java 49 multimap.put("foo", 1);
50 multimap.put("foo", 3);
51 multimap.put("bar", 3);
52 multimap.put("foo", 1);
65 assertTrue(multimap.put("foo", 1));
66 assertTrue(multimap.put("foo", 1));
67 assertTrue(multimap.put("foo", 3));
68 assertTrue(multimap.put("bar", 5));
74 assertTrue(multimap.put("foo", 1));
92 multimap.put("foo", 1)
    [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}>]");
  /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...]
  /libcore/json/src/test/java/org/json/
JSONObjectTest.java 120 object.put("foo", value);
121 object.put("bar", new Object());
122 object.put("baz", new Object());
130 object.put(null, value);
143 assertSame(object, object.put("foo", true));
144 object.put("foo", false);
147 object.put("foo", 5.0d);
149 object.put("foo", 0);
151 object.put("bar", Long.MAX_VALUE - 1);
153 object.put("baz", "x")
    [all...]
JSONArrayTest.java 64 a.put(true);
65 a.put(false);
66 b.put(true);
67 b.put(false);
71 b.put(true);
78 array.put(true);
79 array.put(false);
80 array.put(2, false);
81 array.put(3, false);
82 array.put(2, true)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/
VideoCaptureDeviceInfoAndroid.java 57 devices.put(cameraDict);
79 size.put("width", supportedSize.width);
80 size.put("height", supportedSize.height);
81 sizes.put(size);
90 mfpsRange.put("min_mfps", range[Parameters.PREVIEW_FPS_MIN_INDEX]);
91 mfpsRange.put("max_mfps", range[Parameters.PREVIEW_FPS_MAX_INDEX]);
92 mfpsRanges.put(mfpsRange);
95 cameraDict.put("name", uniqueName);
96 cameraDict.put("front_facing", isFrontFacing(info))
97 .put("orientation", info.orientation
    [all...]
  /external/libcxx/test/localization/locale.categories/category.time/locale.time.put/
Android.mk 17 test_makefile := external/libcxx/test/localization/locale.categories/category.time/locale.time.put/Android.mk
19 test_name := localization/locale.categories/category.time/locale.time.put/types
23 test_name := localization/locale.categories/category.time/locale.time.put/ctor
  /packages/services/Telecomm/src/com/android/server/telecom/
DtmfLocalTonePlayer.java 38 .put('1', ToneGenerator.TONE_DTMF_1)
39 .put('2', ToneGenerator.TONE_DTMF_2)
40 .put('3', ToneGenerator.TONE_DTMF_3)
41 .put('4', ToneGenerator.TONE_DTMF_4)
42 .put('5', ToneGenerator.TONE_DTMF_5)
43 .put('6', ToneGenerator.TONE_DTMF_6)
44 .put('7', ToneGenerator.TONE_DTMF_7)
45 .put('8', ToneGenerator.TONE_DTMF_8)
46 .put('9', ToneGenerator.TONE_DTMF_9)
47 .put('0', ToneGenerator.TONE_DTMF_0
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapAppParams.java 410 appParamBuf.put((byte) MAX_LIST_COUNT);
411 appParamBuf.put((byte) MAX_LIST_COUNT_LEN);
415 appParamBuf.put((byte) START_OFFSET);
416 appParamBuf.put((byte) START_OFFSET_LEN);
420 appParamBuf.put((byte) FILTER_MESSAGE_TYPE);
421 appParamBuf.put((byte) FILTER_MESSAGE_TYPE_LEN);
422 appParamBuf.put((byte) getFilterMessageType());
425 appParamBuf.put((byte) FILTER_PERIOD_BEGIN);
426 appParamBuf.put((byte) getFilterPeriodBeginString().getBytes("UTF-8").length);
427 appParamBuf.put(getFilterPeriodBeginString().getBytes("UTF-8"))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DigestFactory.java 62 oids.put("MD5", PKCSObjectIdentifiers.md5);
63 oids.put(PKCSObjectIdentifiers.md5.getId(), PKCSObjectIdentifiers.md5);
65 oids.put("SHA1", OIWObjectIdentifiers.idSHA1);
66 oids.put("SHA-1", OIWObjectIdentifiers.idSHA1);
67 oids.put(OIWObjectIdentifiers.idSHA1.getId(), OIWObjectIdentifiers.idSHA1);
69 oids.put("SHA224", NISTObjectIdentifiers.id_sha224);
70 oids.put("SHA-224", NISTObjectIdentifiers.id_sha224);
71 oids.put(NISTObjectIdentifiers.id_sha224.getId(), NISTObjectIdentifiers.id_sha224);
73 oids.put("SHA256", NISTObjectIdentifiers.id_sha256);
74 oids.put("SHA-256", NISTObjectIdentifiers.id_sha256)
    [all...]
  /frameworks/opt/bluetooth/src/android/bluetooth/client/map/
BluetoothMapMessage.java 173 json.put("handle", mHandle);
174 json.put("subject", mSubject);
175 json.put("datetime", mDateTime);
176 json.put("sender_name", mSenderName);
177 json.put("sender_addressing", mSenderAddressing);
178 json.put("replyto_addressing", mReplytoAddressing);
179 json.put("recipient_name", mRecipientName);
180 json.put("recipient_addressing", mRecipientAddressing);
181 json.put("type", mType);
182 json.put("size", mSize)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ScriptUtils.java 58 mSpellCheckerLanguageToScript.put("cs", SCRIPT_LATIN);
59 mSpellCheckerLanguageToScript.put("da", SCRIPT_LATIN);
60 mSpellCheckerLanguageToScript.put("de", SCRIPT_LATIN);
61 mSpellCheckerLanguageToScript.put("el", SCRIPT_GREEK);
62 mSpellCheckerLanguageToScript.put("en", SCRIPT_LATIN);
63 mSpellCheckerLanguageToScript.put("es", SCRIPT_LATIN);
64 mSpellCheckerLanguageToScript.put("fi", SCRIPT_LATIN);
65 mSpellCheckerLanguageToScript.put("fr", SCRIPT_LATIN);
66 mSpellCheckerLanguageToScript.put("hr", SCRIPT_LATIN);
67 mSpellCheckerLanguageToScript.put("it", SCRIPT_LATIN)
    [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...]
  /art/test/070-nio-buffer/src/
Main.java 54 shortBuf.put(myShorts, 0, 32); // should work
56 shortBuf.put(myShorts, 16, 16); // should work
57 shortBuf.put(myShorts, 16, 16); // advance to end
60 shortBuf.put(myShorts, 0, 1); // should fail
61 System.err.println("ERROR: out-of-bounds put succeeded\n");
68 shortBuf.put(myShorts, 0, 33); // should fail
69 System.err.println("ERROR: out-of-bounds put succeeded\n");
76 shortBuf.put(myShorts, 0, 17); // should fail
77 System.err.println("ERROR: out-of-bounds put succeeded\n");
97 int1.put (data)
    [all...]
  /development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
UserTest.java 42 jsonObj.put("u", "mjoshi");
43 jsonObj.put("f", "Megha");
44 jsonObj.put("l", "Joshi");
45 jsonObj.put("i", 1);
  /external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
ClientCacheManager.java 25 /** Put the data for the given key into the cache. */
26 public void put(String key, String data); method in interface:ClientCacheManager
  /external/glide/library/tests/src/com/bumptech/glide/load/engine/bitmap_recycle/
SizeStrategyTest.java 21 strategy.put(bitmap);
27 strategy.put(original);
33 strategy.put(original);
39 strategy.put(original);
45 strategy.put(original);
51 strategy.put(original);
57 strategy.put(original);
65 strategy.put(original);
75 strategy.put(large);
76 strategy.put(smallest)
    [all...]
  /external/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
put2.pass.cpp 14 // iter_type put(iter_type s, ios_base& str, char_type fill, const tm* t,
48 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'A');
53 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'a');
58 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'B');
63 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'b');
68 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'C');
73 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'c');
78 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'D');
83 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'd');
88 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'c', 'E')
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DataEntryUrnBox.java 60 byteBuffer.put(Utf8.convert(name));
61 byteBuffer.put((byte) 0);
62 byteBuffer.put(Utf8.convert(location));
63 byteBuffer.put((byte) 0);
  /external/smack/src/org/apache/qpid/management/common/sasl/
SaslProvider.java 32 put("SaslClientFactory.PLAIN", "ClientSaslFactory");

Completed in 710 milliseconds

1 2 3 45 6 7 8 91011>>