/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestKeyStoreSpi.java | 56 aliases.put("certalias", CERT); 57 aliases.put("chainalias", CERTCHAIN); 58 aliases.put("keyalias", KEY); 59 aliases.put("unknownalias", DUMMY); 193 aliases.put(alias, cert); 212 aliases.put(alias, key);
|
/external/guava/src/com/google/common/collect/ |
ImmutableClassToInstanceMap.java | 46 * .put(FooHandler.class, new FooHandler()) 47 * .put(BarHandler.class, new SubBarHandler()) 48 * .put(Handler.class, new QuuxHandler()) 63 public <T extends B> Builder<B> put(Class<T> type, T value) { method in class:ImmutableClassToInstanceMap.Builder 64 mapBuilder.put(type, value); 82 mapBuilder.put(type, cast(type, value));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
TestActivity.java | 129 * values.put(BluetoothShare.URI, stream.toString()); 130 * values.put(BluetoothShare.DESTINATION, "FF:FF:FF:00:00:00"); 131 * values.put(BluetoothShare.DIRECTION, 179 * updateValues.put(BluetoothShare.TOTAL_BYTES, 120000); 193 * updateValues.put(BluetoothShare.CURRENT_BYTES, currentByte); 237 values.put(BluetoothShare.URI, "content://media/external/images/media/" + media); 238 // values.put(BluetoothShare.DESTINATION, "FF:FF:FF:00:00:00"); 240 // values.put(BluetoothShare.DESTINATION, "12:34:56:78:9A:BC"); 242 // values.put(BluetoothShare.DESTINATION, "00:1B:33:F0:58:FB"); 244 // values.put(BluetoothShare.DESTINATION, "00:17:E5:5D:74:F3") [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
BrowserProviderTests.java | 146 values.put("title", title); 147 values.put("url", url); 148 values.put("visits", 0); 149 values.put("date", 0); 150 values.put("created", 0); 151 values.put("bookmark", 1);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutInfo.java | 128 values.put(LauncherSettings.BaseLauncherColumns.TITLE, titleStr); 131 values.put(LauncherSettings.BaseLauncherColumns.INTENT, uri); 134 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE, 141 values.put(LauncherSettings.BaseLauncherColumns.ICON_TYPE, 144 values.put(LauncherSettings.BaseLauncherColumns.ICON_PACKAGE, 146 values.put(LauncherSettings.BaseLauncherColumns.ICON_RESOURCE,
|
/frameworks/base/core/java/android/database/ |
DatabaseUtils.java | 456 * @param values The {@link ContentValues} to put the value into, with the field as the key 481 * @param values The {@link ContentValues} to put the value into, with the field as the key 486 values.put(key, cursor.getString(cursor.getColumnIndexOrThrow(field))); 494 * @param values The {@link ContentValues} to put the value into, with the field as the key 505 * @param values The {@link ContentValues} to put the value into, with the field as the key 512 values.put(key, cursor.getInt(colIndex)); 514 values.put(key, (Integer) null); 523 * @param values The {@link ContentValues} to put the value into, with the field as the key 535 * @param values The {@link ContentValues} to put the value into 543 values.put(key, value) [all...] |
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
AttributesTest.java | 227 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, 230 .put(Attributes.Name.MANIFEST_VERSION, "1")); 362 * @tests java.util.jar.Attributes.put(java.lang.Object, java.lang.Object) 367 method = "put", 372 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, 378 atts.put("not a name", "value"); 384 atts.put(Attributes.Name.CLASS_PATH, Boolean.TRUE); 392 * @tests java.util.jar.Attributes.put(java.lang.Object, java.lang.Object) 397 method = "put", 406 attribute.put(null, null) [all...] |
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
MemoryHandlerTest.java | 89 props.put("java.util.logging.MemoryHandler.level", "FINE"); 90 props.put("java.util.logging.MemoryHandler.filter", baseClassName 92 props.put("java.util.logging.MemoryHandler.size", "2"); 93 props.put("java.util.logging.MemoryHandler.push", "WARNING"); 94 props.put("java.util.logging.MemoryHandler.target", baseClassName 96 props.put("java.util.logging.MemoryHandler.formatter", baseClassName 275 props.put("java.util.logging.MemoryHandler.target", baseClassName 309 props.put("java.util.logging.MemoryHandler.target", "badname"); 319 props.put("java.util.logging.MemoryHandler.formatter", "badname"); 327 props.put("java.util.logging.MemoryHandler.level", "badname") [all...] |
/dalvik/libcore/json/src/main/java/org/json/ |
JSONObject.java | 68 * JSONObject#NULL}. In particular, calling {@code put(name, null)} removes the 69 * named entry from the object but {@code put(name, JSONObject.NULL)} stores an 136 nameValuePairs.put(key, entry.getValue()); 184 nameValuePairs.put(name, value); 202 public JSONObject put(String name, boolean value) throws JSONException { method in class:JSONObject 203 nameValuePairs.put(checkName(name), value); 215 public JSONObject put(String name, double value) throws JSONException { method in class:JSONObject 216 nameValuePairs.put(checkName(name), JSON.checkDouble(value)); 226 public JSONObject put(String name, int value) throws JSONException { method in class:JSONObject 227 nameValuePairs.put(checkName(name), value) 237 public JSONObject put(String name, long value) throws JSONException { method in class:JSONObject 253 public JSONObject put(String name, Object value) throws JSONException { method in class:JSONObject [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 114 values.put(StatusUpdates.DATA_ID, profileId); 115 values.put(StatusUpdates.STATUS, status.getStatus()); 116 values.put(StatusUpdates.PROTOCOL, Im.PROTOCOL_CUSTOM); 117 values.put(StatusUpdates.CUSTOM_PROTOCOL, CUSTOM_IM_PROTOCOL); 118 values.put(StatusUpdates.IM_ACCOUNT, username); 119 values.put(StatusUpdates.IM_HANDLE, status.getUserId()); 120 values.put(StatusUpdates.STATUS_RES_PACKAGE, context 122 values.put(StatusUpdates.STATUS_ICON, R.drawable.icon); 123 values.put(StatusUpdates.STATUS_LABEL, R.string.label); 148 // Put the data in the contacts provide [all...] |
/external/stlport/src/ |
strstream.cpp | 60 strstreambuf::strstreambuf(char* get, streamsize n, char* put) 63 _M_setup(get, put, n); 66 strstreambuf::strstreambuf(signed char* get, streamsize n, signed char* put) 69 _M_setup(__REINTERPRET_CAST(char*,get), __REINTERPRET_CAST(char*,put), n); 73 unsigned char* put) 76 _M_setup(__REINTERPRET_CAST(char*,get), __REINTERPRET_CAST(char*,put), n); 277 void strstreambuf::_M_setup(char* get, char* put, streamsize n) { 281 if (put) { 283 setp(put, put + N) [all...] |
/external/webkit/JavaScriptCore/wtf/ |
TCPackedCache.h | 73 // void Put(K key, V value) { a_[H(key)] = pair<K, V>(key, value); } 82 // (c.Put(key, value), c.GetOrDefault(key, 0)) == value 84 // (c.Put(key, value), <...>, c.GetOrDefault(key, 0)) == value 85 // if the elided code contains no c.Put calls. 88 // has ever been Put. However, a newly initialized cache will have 92 // equivalent to Put(k, initial_value) for all keys k from 0 to 95 // 3. If key and key' differ then the only way Put(key, value) may 97 // false. Furthermore, a Put() call that doesn't change Has(key') 151 void Put(K key, V value) { 191 // part of the key, and kValuebits determines where in the entry to put [all...] |
/frameworks/base/core/java/android/net/ |
NetworkInfo.java | 89 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); 90 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED); 91 stateMap.put(DetailedState.CONNECTING, State.CONNECTING); 92 stateMap.put(DetailedState.AUTHENTICATING, State.CONNECTING); 93 stateMap.put(DetailedState.OBTAINING_IPADDR, State.CONNECTING); 94 stateMap.put(DetailedState.CONNECTED, State.CONNECTED); 95 stateMap.put(DetailedState.SUSPENDED, State.SUSPENDED); 96 stateMap.put(DetailedState.DISCONNECTING, State.DISCONNECTING); 97 stateMap.put(DetailedState.DISCONNECTED, State.DISCONNECTED); 98 stateMap.put(DetailedState.FAILED, State.DISCONNECTED) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
ImageManager.java | 222 values.put(Images.Media.TITLE, title); 227 values.put(Images.Media.DISPLAY_NAME, filename); 228 values.put(Images.Media.DATE_TAKEN, dateTaken); 229 values.put(Images.Media.MIME_TYPE, "image/jpeg"); 230 values.put(Images.Media.ORIENTATION, degree[0]); 231 values.put(Images.Media.DATA, filePath); 232 values.put(Images.Media.SIZE, size); 235 values.put(Images.Media.LATITUDE, location.getLatitude()); 236 values.put(Images.Media.LONGITUDE, location.getLongitude()); 359 // It's important not to put it in the root directory which may have [all...] |
/packages/apps/IM/src/com/android/im/imps/ |
ImpsSession.java | 141 values.put(KEY_SESSION_ID, mId); 142 values.put(KEY_SESSION_COOKIE, mCookie); 143 values.put(KEY_KEEP_ALIVE_TIME, Long.toString(mKeepAliveTime)); 144 values.put(KEY_USERNAME, mLoginInfo.getUserName()); 145 values.put(KEY_PASSWORD, mLoginInfo.getPassword()); 146 values.put(KEY_SERVER_POLL_MIN, Long.toString(mServerPollMin)); 148 values.put(KEY_CIR_METHOD, mCurrentCirMethod.name()); 150 values.put(KEY_CIR_TCP_ADDRESS, mCirTcpAddress); 151 values.put(KEY_CIR_TCP_PORT, Integer.toString(mCirTcpPort)); 153 values.put(KEY_CIR_HTTP_ADDRESS, mCirHttpAddress) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
WidgetClassLoader.java | 177 mWidgetMap.put(classes[0], clazz); 185 mLayoutMap.put(classes[0], clazz); 224 * @param map an optional map in which to put every {@link ClassDescriptor} created. 245 mMap.put(fqcn, clazz); 247 map.put(fqcn, clazz); 279 // remove the class from the map, and put it back with the fixed name 281 mMap.put(param.getFullClassName(), param); 312 map.put(AndroidConstants.CLASS_VIEW, list); 316 map.put(AndroidConstants.CLASS_VIEWGROUP, list); 320 map.put(AndroidConstants.CLASS_VIEWGROUP_LAYOUTPARAMS, list) [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
EmailContent.java | 254 values.put(BodyColumns.MESSAGE_KEY, mMessageKey); 255 values.put(BodyColumns.HTML_CONTENT, mHtmlContent); 256 values.put(BodyColumns.TEXT_CONTENT, mTextContent); 257 values.put(BodyColumns.HTML_REPLY, mHtmlReply); 258 values.put(BodyColumns.TEXT_REPLY, mTextReply); 259 values.put(BodyColumns.SOURCE_MESSAGE_KEY, mSourceKey); 260 values.put(BodyColumns.INTRO_TEXT, mIntroText); 313 values.put(BodyColumns.MESSAGE_KEY, messageId); 608 values.put(MessageColumns.DISPLAY_NAME, mDisplayName); 609 values.put(MessageColumns.TIMESTAMP, mTimeStamp) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
ShortcutRepositoryImplLog.java | 263 allowedSources.put(source.getName(), source); 417 corpora.put(name, clicks); 455 cv.put(Shortcuts.intent_key.name(), intentKey); 456 cv.put(Shortcuts.source.name(), sourceName); 457 cv.put(Shortcuts.source_version_code.name(), source.getVersionCode()); 458 cv.put(Shortcuts.format.name(), suggestion.getSuggestionFormat()); 459 cv.put(Shortcuts.title.name(), suggestion.getSuggestionText1()); 460 cv.put(Shortcuts.description.name(), suggestion.getSuggestionText2()); 461 cv.put(Shortcuts.description_url.name(), suggestion.getSuggestionText2Url()); 462 cv.put(Shortcuts.icon1.name(), icon1Uri) [all...] |
/dalvik/libcore/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
PreferencesTest.java | 249 prefs.put("prefskey", "oldvalue"); 250 prefs.put("prefskey2", "oldvalue2"); 512 method = "put", 644 p.put(null, null); 748 pref.put("testClearKey", "testClearValue"); 749 pref.put("testClearKey1", "testClearValue1"); 773 pref.put("testGetkey", "value"); 819 pref.put("testGetBooleanKey", "false"); 820 pref.put("testGetBooleanKey2", "value"); 844 pref.put("testGetByteArrayKey", "abc=") 1917 public void put(String key, String value) { method in class:PreferencesTest.MockPreferences [all...] |
/external/v8/src/ |
compilation-cache.cc | 98 void Put(Handle<String> source, Handle<JSFunction> boilerplate); 118 void Put(Handle<String> source, 134 void Put(Handle<String> source, 274 if (generation != 0) Put(source, boilerplate); 284 void CompilationCacheScript::Put(Handle<String> source, 289 CALL_HEAP_FUNCTION_VOID(table->Put(*source, *boilerplate)); 312 Put(source, context, boilerplate); 323 void CompilationCacheEval::Put(Handle<String> source, 352 Put(source, flags, data); 363 void CompilationCacheRegExp::Put(Handle<String> source [all...] |
/cts/tests/src/android/content/cts/ |
MockContentProvider.java | 149 values.put("value", -1); 267 CTSDBTABLE1_LIST_PROJECTION_MAP.put("_id", "_id"); 268 CTSDBTABLE1_LIST_PROJECTION_MAP.put("key", "key"); 269 CTSDBTABLE1_LIST_PROJECTION_MAP.put("value", "value"); 272 CTSDBTABLE2_LIST_PROJECTION_MAP.put("_id", "_id"); 273 CTSDBTABLE2_LIST_PROJECTION_MAP.put("key", "key"); 274 CTSDBTABLE2_LIST_PROJECTION_MAP.put("value", "value");
|
/dalvik/libcore/nio/src/main/java/java/nio/ |
ReadWriteDirectByteBuffer.java | 102 public ByteBuffer put(byte value) { method in class:ReadWriteDirectByteBuffer 111 public ByteBuffer put(int index, byte value) { method in class:ReadWriteDirectByteBuffer 120 * Override ByteBuffer.put(byte[], int, int) to improve performance. 124 * @see java.nio.ByteBuffer#put(byte[], int, int) 127 public ByteBuffer put(byte[] src, int off, int len) { method in class:ReadWriteDirectByteBuffer 164 ByteBuffer put(short[] src, int off, int len) { method in class:ReadWriteDirectByteBuffer 204 ByteBuffer put(int[] src, int off, int len) { method in class:ReadWriteDirectByteBuffer
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryDatabase.java | 71 map.put(KEY_WORD, KEY_WORD); 72 map.put(KEY_DEFINITION, KEY_DEFINITION); 73 map.put(BaseColumns._ID, "rowid AS " + 75 map.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID, "rowid AS " + 77 map.put(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, "rowid AS " + 230 initialValues.put(KEY_WORD, word); 231 initialValues.put(KEY_DEFINITION, definition);
|
/external/bluetooth/glib/docs/reference/gobject/ |
glib-mkenums.xml | 43 Put out <replaceable>text</replaceable> prior to processing input files. 50 Put out <replaceable>text</replaceable> everytime a new input file 58 Put out <replaceable>text</replaceable> after all input files have been 66 Put out <replaceable>text</replaceable> everytime an enum is encountered 74 Put out <replaceable>text</replaceable> before iterating over the set of 82 Put out <replaceable>text</replaceable> for every value of an enum. 89 Put out <replaceable>text</replaceable> after iterating over all values
|
/frameworks/base/obex/javax/obex/ |
Operation.java | 43 * OBEX PUT or GET operation. The implementation of this interface sends OBEX 64 * <STRONG>PUT example</STRONG> 70 * // Initiate the PUT request 71 * Operation op = conn.put(head); 72 * // Open the output stream to put the object to it 102 * <H3>Client PUT Operation Flow</H3> For PUT operations, a call to
|