Searched refs:put (Results 26 - 50 of 435) sorted by relevance

1234567891011>>

/frameworks/base/test-runner/src/android/test/
H A DSimpleCache.java32 map.put(key, value);
/frameworks/base/core/java/android/net/dhcp/
H A DDhcpPacket.java265 // if a full IP packet needs to be generated, put the IP & UDP
270 buf.put(IP_VERSION_HEADER_LEN);
271 buf.put(IP_TOS_LOWDELAY); // tos: IPTOS_LOWDELAY
276 buf.put(IP_TTL); // TTL: use default 64 from RFC1340
277 buf.put(IP_TYPE_UDP);
281 buf.put(srcIpArray);
282 buf.put(destIpArray);
296 buf.put(requestCode);
297 buf.put((byte) 1); // Hardware Type: Ethernet
298 buf.put((byt
[all...]
/frameworks/base/core/java/android/util/
H A DCharsetUtils.java67 sVendorShiftJisMap.put(VENDOR_DOCOMO, "docomo-shift_jis-2007");
68 sVendorShiftJisMap.put(VENDOR_KDDI, "kddi-shift_jis-2007");
69 sVendorShiftJisMap.put(VENDOR_SOFTBANK, "softbank-shift_jis-2007");
/frameworks/base/services/java/com/android/server/
H A DProcessMap.java33 public E put(String name, int uid, E value) { method in class:ProcessMap
37 mMap.put(name, uids);
39 uids.put(uid, value);
/frameworks/base/core/java/android/net/
H A DNetworkInfo.java91 stateMap.put(DetailedState.IDLE, State.DISCONNECTED);
92 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED);
93 stateMap.put(DetailedState.CONNECTING, State.CONNECTING);
94 stateMap.put(DetailedState.AUTHENTICATING, State.CONNECTING);
95 stateMap.put(DetailedState.OBTAINING_IPADDR, State.CONNECTING);
96 stateMap.put(DetailedState.CONNECTED, State.CONNECTED);
97 stateMap.put(DetailedState.SUSPENDED, State.SUSPENDED);
98 stateMap.put(DetailedState.DISCONNECTING, State.DISCONNECTING);
99 stateMap.put(DetailedState.DISCONNECTED, State.DISCONNECTED);
100 stateMap.put(DetailedStat
[all...]
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java43 sRecs.put(KeyEvent.KEYCODE_1, ".,1!@#$%^&*:/?'=()");
44 sRecs.put(KeyEvent.KEYCODE_2, "abc2ABC");
45 sRecs.put(KeyEvent.KEYCODE_3, "def3DEF");
46 sRecs.put(KeyEvent.KEYCODE_4, "ghi4GHI");
47 sRecs.put(KeyEvent.KEYCODE_5, "jkl5JKL");
48 sRecs.put(KeyEvent.KEYCODE_6, "mno6MNO");
49 sRecs.put(KeyEvent.KEYCODE_7, "pqrs7PQRS");
50 sRecs.put(KeyEvent.KEYCODE_8, "tuv8TUV");
51 sRecs.put(KeyEvent.KEYCODE_9, "wxyz9WXYZ");
52 sRecs.put(KeyEven
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DColor.java373 sColorNameMap.put("black", BLACK);
374 sColorNameMap.put("darkgray", DKGRAY);
375 sColorNameMap.put("gray", GRAY);
376 sColorNameMap.put("lightgray", LTGRAY);
377 sColorNameMap.put("white", WHITE);
378 sColorNameMap.put("red", RED);
379 sColorNameMap.put("green", GREEN);
380 sColorNameMap.put("blue", BLUE);
381 sColorNameMap.put("yellow", YELLOW);
382 sColorNameMap.put("cya
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon/
H A DEventRecurrence.java82 sParsePartMap.put("FREQ", new ParseFreq());
83 sParsePartMap.put("UNTIL", new ParseUntil());
84 sParsePartMap.put("COUNT", new ParseCount());
85 sParsePartMap.put("INTERVAL", new ParseInterval());
86 sParsePartMap.put("BYSECOND", new ParseBySecond());
87 sParsePartMap.put("BYMINUTE", new ParseByMinute());
88 sParsePartMap.put("BYHOUR", new ParseByHour());
89 sParsePartMap.put("BYDAY", new ParseByDay());
90 sParsePartMap.put("BYMONTHDAY", new ParseByMonthDay());
91 sParsePartMap.put("BYYEARDA
[all...]
/frameworks/base/keystore/tests/src/android/security/
H A DKeyStoreTest.java82 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE));
88 assertFalse(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE));
91 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE));
96 assertFalse(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE));
99 assertTrue(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE));
108 mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE);
120 mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE);
130 mKeyStore.put(TEST_KEYNAME1, TEST_KEYVALUE);
131 mKeyStore.put(TEST_KEYNAME2, TEST_KEYVALUE);
162 mKeyStore.put(TEST_KEYNAM
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java1312 // Actually put the dashes in place
1856 KEYPAD_MAP.put('a', '2'); KEYPAD_MAP.put('b', '2'); KEYPAD_MAP.put('c', '2');
1857 KEYPAD_MAP.put('A', '2'); KEYPAD_MAP.put('B', '2'); KEYPAD_MAP.put('C', '2');
1859 KEYPAD_MAP.put('d', '3'); KEYPAD_MAP.put('e', '3'); KEYPAD_MAP.put('
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java135 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_CAR, VCardConstants.PARAM_TYPE_CAR);
136 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CAR, Phone.TYPE_CAR);
137 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_PAGER, VCardConstants.PARAM_TYPE_PAGER);
138 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_PAGER, Phone.TYPE_PAGER);
139 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_ISDN, VCardConstants.PARAM_TYPE_ISDN);
140 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_ISDN, Phone.TYPE_ISDN);
142 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_HOME, Phone.TYPE_HOME);
143 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_WORK, Phone.TYPE_WORK);
144 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE);
146 sKnownPhoneTypeMap_StoI.put(VCardConstant
[all...]
/frameworks/base/core/java/android/server/
H A DBluetoothAdapterProperties.java59 mPropertiesMap.put(name, value);
96 mPropertiesMap.put(name, newValue);
102 mPropertiesMap.put("ObjectPath", adapterPath + "/dev_");
H A DBluetoothDeviceProperties.java73 propertyValues.put(name, newValue);
75 mPropertiesMap.put(address, propertyValues);
88 propVal.put(name, value);
89 mPropertiesMap.put(address, propVal);
/frameworks/base/core/java/android/webkit/
H A DCertTool.java42 sCertificateTypeMap.put("application/x-x509-ca-cert", KeyChain.EXTRA_CERTIFICATE);
43 sCertificateTypeMap.put("application/x-x509-user-cert", KeyChain.EXTRA_CERTIFICATE);
44 sCertificateTypeMap.put("application/x-pkcs12", KeyChain.EXTRA_PKCS12);
H A DWebStorage.java194 values.put(CALLBACK, callback);
195 values.put(ORIGINS, origins);
206 retValues.put(CALLBACK, callback);
209 retValues.put(USAGE, new Long(usage));
221 retValues.put(CALLBACK, callback);
224 retValues.put(QUOTA, new Long(quota));
294 values.put(ORIGIN, origin);
295 values.put(CALLBACK, callback);
317 values.put(ORIGIN, origin);
318 values.put(CALLBAC
[all...]
H A DSslClientCertLookupTable.java47 privateKeys.put(host_and_port, privateKey);
48 certificateChains.put(host_and_port, chain);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DManifestDigestTest.java56 a.put(SHA1_DIGEST, DIGEST_1_STR);
58 a.put(MD5_DIGEST, DIGEST_2_STR);
76 a.put(SHA1_DIGEST, DIGEST_1_STR);
/frameworks/base/core/java/android/provider/
H A DCallLog.java283 values.put(NUMBER, number);
284 values.put(TYPE, Integer.valueOf(callType));
285 values.put(DATE, Long.valueOf(start));
286 values.put(DURATION, Long.valueOf(duration));
287 values.put(NEW, Integer.valueOf(1));
289 values.put(IS_READ, Integer.valueOf(0));
292 values.put(CACHED_NAME, ci.name);
293 values.put(CACHED_NUMBER_TYPE, ci.numberType);
294 values.put(CACHED_NUMBER_LABEL, ci.numberLabel);
H A DSearchRecentSuggestions.java195 values.put(SuggestionColumns.DISPLAY1, queryString);
197 values.put(SuggestionColumns.DISPLAY2, line2);
199 values.put(SuggestionColumns.QUERY, queryString);
200 values.put(SuggestionColumns.DATE, now);
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DPduBody.java48 mPartMapByContentId.put(new String(contentId), part);
55 mPartMapByContentLocation.put(clc, part);
62 mPartMapByName.put(clc, part);
69 mPartMapByFileName.put(clc, part);
/frameworks/base/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java157 mIndexBuffer.put(i++, a);
158 mIndexBuffer.put(i++, c);
159 mIndexBuffer.put(i++, b);
161 mIndexBuffer.put(i++, b);
162 mIndexBuffer.put(i++, c);
163 mIndexBuffer.put(i++, d);
181 mVertexBuffer.put(x);
182 mVertexBuffer.put(y);
183 mVertexBuffer.put(z);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContactEntry.java35 contentValues.put(Data.MIMETYPE, mimeType);
/frameworks/base/core/java/com/google/android/mms/util/
H A DPduCache.java68 MATCH_TO_MSGBOX_ID_MAP.put(MMS_INBOX, Mms.MESSAGE_BOX_INBOX);
69 MATCH_TO_MSGBOX_ID_MAP.put(MMS_SENT, Mms.MESSAGE_BOX_SENT);
70 MATCH_TO_MSGBOX_ID_MAP.put(MMS_DRAFTS, Mms.MESSAGE_BOX_DRAFTS);
71 MATCH_TO_MSGBOX_ID_MAP.put(MMS_OUTBOX, Mms.MESSAGE_BOX_OUTBOX);
93 synchronized public boolean put(Uri uri, PduCacheEntry entry) { method in class:PduCache
98 mMessageBoxes.put(msgBoxId, msgBox);
105 mThreads.put(threadId, thread);
109 boolean result = super.put(finalKey, entry);
/frameworks/base/drm/java/android/drm/
H A DDrmInfo.java82 public void put(String key, Object value) { method in class:DrmInfo
83 mAttributes.put(key, value);
H A DDrmInfoRequest.java96 public void put(String key, Object value) { method in class:DrmInfoRequest
97 mRequestInformation.put(key, value);

Completed in 394 milliseconds

1234567891011>>