/packages/apps/Camera/src/com/android/camera/ui/ |
PreferenceAdapter.java | 53 CharSequence[] values = mPreference.getEntryValues(); local 58 item.setChecked(values[i - 1].equals(value)); 64 boolean checked = values[i - 1].equals(settings); 76 CharSequence[] values = preference.getEntryValues(); local 87 item.setChecked(values[i].equals(value)); 95 CharSequence[] values = pref.getEntryValues(); local 96 if (position < values.length + 1) {
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
DownloadManagerFunctionalTest.java | 134 ContentValues values = new ContentValues(); local 135 values.put(Downloads.COLUMN_URI, getServerUri(path)); 136 values.put(Downloads.COLUMN_DESTINATION, Downloads.DESTINATION_EXTERNAL); 137 return mResolver.insert(Downloads.CONTENT_URI, values); 144 ContentValues values = new ContentValues(); local 145 values.put(column, value); 146 int numChanged = mResolver.update(downloadUri, values, null, null);
|
/frameworks/base/media/java/android/media/ |
MediaScanner.java | 619 * Formats the data into a values array suitable for use with the Media 622 * @return a map of values 683 ContentValues values = toValues(); local 684 String title = values.getAsString(MediaStore.MediaColumns.TITLE); 686 title = values.getAsString(MediaStore.MediaColumns.DATA); 700 values.put(MediaStore.MediaColumns.TITLE, title); 702 String album = values.getAsString(Audio.Media.ALBUM); 704 album = values.getAsString(MediaStore.MediaColumns.DATA); 718 values.put(Audio.Media.ALBUM, album); 726 // values so that custom ringtones still show up in the rington 873 ContentValues values = new ContentValues(); local 1137 ContentValues values = new ContentValues(); local 1140 mMediaProvider.update(ContentUris.withAppendedId(mPlaylistsUri, entry.mRowId), values, null, null); local 1392 ContentValues values = new ContentValues(); field in class:MediaScanner.WplHandler 1457 ContentValues values = new ContentValues(); local [all...] |
/external/guava/src/com/google/common/collect/ |
LinkedHashMultimap.java | 43 * replaceValues} return collections that iterate through the values in the 45 * {@code values} iterate across the key-value mappings in the order they were 51 * iteration order. However, if you remove all values associated with a key and 58 * <p>Keys and values may be null. All optional multimap methods are supported, 93 * the specified numbers of keys and values without rehashing. 96 * @param expectedValuesPerKey the expected average number of values per key 143 * <p>Creates an empty {@code LinkedHashSet} for a collection of values for 146 * @return a new {@code LinkedHashSet} containing a collection of values for 159 * @param key key to associate with values in the collection 161 * values for one ke [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
SocialProvider.java | 152 public Uri insert(Uri uri, ContentValues values) { 157 id = insertActivity(values); 173 * @param values the values for the new row 176 private long insertActivity(ContentValues values) { 188 final String packageName = values.getAsString(Activities.RES_PACKAGE); 190 values.put(ActivitiesColumns.PACKAGE_ID, mDbHelper.getPackageId(packageName)); 192 values.remove(Activities.RES_PACKAGE); 194 final String mimeType = values.getAsString(Activities.MIMETYPE); 195 values.put(ActivitiesColumns.MIMETYPE_ID, mDbHelper.getMimeTypeId(mimeType)) 258 ContentValues values = new ContentValues(); local [all...] |
/libcore/luni/src/main/java/java/util/ |
EnumMap.java | 41 transient Object[] values; field in class:EnumMap 75 isEqual = enumMap.values[ordinal] == null ? null == theValue 76 : enumMap.values[ordinal].equals(theValue); 86 ^ (enumMap.values[ordinal] == null ? 0 87 : enumMap.values[ordinal].hashCode()); 101 return (VT) enumMap.values[ordinal]; 116 result.append(enumMap.values[ordinal] == null 117 ? "null" : enumMap.values[ordinal].toString()); 160 enumMap.values[prePosition])); 179 enumMap.values[prePosition])).toString() [all...] |
/frameworks/base/core/java/com/google/android/mms/pdu/ |
PduPersister.java | 422 // Store simple string values directly in the database instead of an 645 ContentValues values = new ContentValues(3); local 648 values.clear(); // Clear all values first. 649 values.put(Addr.ADDRESS, toIsoString(addr.getTextString())); 650 values.put(Addr.CHARSET, addr.getCharacterSet()); 651 values.put(Addr.TYPE, type); 654 SqliteWrapper.insert(mContext, mContentResolver, uri, values); 661 ContentValues values = new ContentValues(8); local 665 values.put(Part.CHARSET, charset) 817 ContentValues values = new ContentValues(10); local 905 ContentValues values = new ContentValues(7); local 1039 ContentValues values = new ContentValues(); local 1201 ContentValues values = new ContentValues(1); local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverTest.java | 78 ContentValues values = new ContentValues(); local 80 values.put(COLUMN_KEY_NAME, KEY1); 81 values.put(COLUMN_VALUE_NAME, VALUE1); 82 mContentResolver.insert(TABLE1_URI, values); 84 values.put(COLUMN_KEY_NAME, KEY2); 85 values.put(COLUMN_VALUE_NAME, VALUE2); 86 mContentResolver.insert(TABLE1_URI, values); 88 values.put(COLUMN_KEY_NAME, KEY3); 89 values.put(COLUMN_VALUE_NAME, VALUE3); 90 mContentResolver.insert(TABLE1_URI, values); 359 ContentValues values = new ContentValues(); local 470 ContentValues values = new ContentValues(); local 540 ContentValues values = new ContentValues(); local 636 ContentValues values = new ContentValues(); local [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiverService.java | 339 ContentValues values = new ContentValues(1); local 341 values.put(Sms.TYPE, Sms.MESSAGE_TYPE_QUEUED); 345 values, "type = " + Sms.MESSAGE_TYPE_OUTBOX, null); local 392 ContentValues values = extractContentValues(sms); local 394 values.put(Inbox.BODY, sms.getMessageBody()); 395 values.put(Sms.ERROR_CODE, error); 418 values, null, null); 432 ContentValues values = extractContentValues(sms); local 433 values.put(Sms.ERROR_CODE, error); 438 values.put(Inbox.BODY, sms.getDisplayMessageBody()) 484 ContentValues values = new ContentValues(); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ApnEditor.java | 210 // Fill in all the values from the db in both text editor and summary 267 String []values = mRes.getStringArray(R.array.apn_auth_entries); local 268 mAuthType.setSummary(values[authValIndex]); 287 String[] values = mRes.getStringArray(R.array.apn_protocol_entries); local 289 return values[protocolIndex]; 303 String []values = mRes.getStringArray(R.array.apn_auth_entries); local 304 mAuthType.setSummary(values[index]); 419 ContentValues values = new ContentValues(); local 423 values.put(Telephony.Carriers.NAME, 425 values.put(Telephony.Carriers.APN, apn) [all...] |
/cts/tools/signature-tools/test/signature/converter/ |
ConvertEnumTest.java | 138 IMethod values = map.get("values"); local 139 assertNotNull(values); 140 assertEquals(0, values.getParameters().size()); 141 assertTrue(values.getReturnType() instanceof IArrayType); 142 assertSame(c, ((IClassReference)((IArrayType)values.getReturnType()).getComponentType()).getClassDefinition()); 181 IMethod values = map.get("values"); local 182 assertNotNull(values); 183 assertEquals(0, values.getParameters().size()) [all...] |
/external/stlport/test/unit/ |
macro_checks.cpp | 22 # error Weird CHAR_MIN or CHAR_MAX macro values. 34 # error Weird INT_MIN or INT_MAX macro values. 46 # error Weird LONG_MIN or LONG_MAX macro values. 58 # error Weird SCHAR_MIN or SCHAR_MAX macro values. 70 # error Weird SHRT_MIN or SHRT_MAX macro values.
|
/frameworks/base/tests/CoreTests/android/core/ |
HashMapPerformanceTest.java | 103 c = mMap.values(); 104 c = mMap.values(); 105 c = mMap.values(); 106 c = mMap.values(); 107 c = mMap.values(); 108 c = mMap.values(); 109 c = mMap.values(); 110 c = mMap.values(); 111 c = mMap.values(); 112 c = mMap.values(); [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLEngineResultTest.java | 115 SSLEngineResult.Status.values(); 117 SSLEngineResult.HandshakeStatus.values(); 144 SSLEngineResult.Status.values(); 146 SSLEngineResult.HandshakeStatus.values(); 173 SSLEngineResult.Status.values(); 175 SSLEngineResult.HandshakeStatus.values(); 202 SSLEngineResult.Status.values(); 204 SSLEngineResult.HandshakeStatus.values(); 231 SSLEngineResult.Status.values(); 233 SSLEngineResult.HandshakeStatus.values(); [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
macro_checks.cpp | 22 # error Weird CHAR_MIN or CHAR_MAX macro values. 34 # error Weird INT_MIN or INT_MAX macro values. 46 # error Weird LONG_MIN or LONG_MAX macro values. 58 # error Weird SCHAR_MIN or SCHAR_MAX macro values. 70 # error Weird SHRT_MIN or SHRT_MAX macro values.
|
/ndk/tests/device/test-stlport/unit/ |
macro_checks.cpp | 22 # error Weird CHAR_MIN or CHAR_MAX macro values. 34 # error Weird INT_MIN or INT_MAX macro values. 46 # error Weird LONG_MIN or LONG_MAX macro values. 58 # error Weird SCHAR_MIN or SCHAR_MAX macro values. 70 # error Weird SHRT_MIN or SHRT_MAX macro values.
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | 202 public void add(String syncIdKey, ContentValues values) { 208 instances.add(values); 565 ContentValues values = new ContentValues(); local 566 values.put("dtstart", get2445ToMillis(timezone, dtStart2445)); 567 values.put("dtend", get2445ToMillis(timezone, dtEnd2445)); 569 int result = mDb.update("Events", values, "_id=?", 573 Log.v(TAG, "Could not update Events table with values " + values); 2032 ContentValues values = new ContentValues(); local 2134 ContentValues values = new ContentValues(); local 2676 ContentValues values = new ContentValues(); local 2714 ContentValues values = new ContentValues(); local [all...] |
MetaData.java | 30 * values to avoid repeatedly banging on the database. It is also used 31 * for writing the values back to the database, while maintaining the 158 * Writes the meta-data for the CalendarProvider. The values to write are 159 * passed in as parameters. All of the values are updated atomically, 183 * Writes the meta-data for the CalendarProvider. The values to write are 184 * passed in as parameters. All of the values are updated atomically, 193 ContentValues values = new ContentValues(); local 194 values.put("_id", 1); 195 values.put(CalendarMetaData.LOCAL_TIMEZONE, timezone); 196 values.put(CalendarMetaData.MIN_INSTANCE, begin) [all...] |
/dalvik/vm/hprof/ |
Hprof.h | 67 /* Values for the first byte of 200 const u1 *values, size_t numValues); 206 const u2 *values, size_t numValues); 210 const u4 *values, size_t numValues); 214 const u8 *values, size_t numValues); 217 #define hprofAddIdListToRecord(rec, values, numValues) \ 218 hprofAddU4ListToRecord((rec), (const u4 *)(values), (numValues))
|
/external/chromium/third_party/icu/source/test/perf/unisetperf/draft/ |
bitset.cpp | 32 uint16_t values[0x800]; member in struct:BMPBitHash 38 // Fill values[] with 0xffff. 39 uprv_memset(values, 0xff, sizeof(values)); 54 if(values[hash]==0xffff) { 58 return values[hash]=count++; 61 return values[hash]; 73 * indexed by their mapped values.
|
/external/icu4c/test/perf/unisetperf/draft/ |
bitset.cpp | 32 uint16_t values[0x800]; member in struct:BMPBitHash 38 // Fill values[] with 0xffff. 39 uprv_memset(values, 0xff, sizeof(values)); 54 if(values[hash]==0xffff) { 58 return values[hash]=count++; 61 return values[hash]; 73 * indexed by their mapped values.
|
/frameworks/base/core/java/android/pim/ |
RecurrenceSet.java | 50 * @param values The values retrieved from the Events table. 52 public RecurrenceSet(ContentValues values) 54 String rruleStr = values.getAsString(Calendar.Events.RRULE); 55 String rdateStr = values.getAsString(Calendar.Events.RDATE); 56 String exruleStr = values.getAsString(Calendar.Events.EXRULE); 57 String exdateStr = values.getAsString(Calendar.Events.EXDATE); 161 * Populates the database map of values with the appropriate RRULE, RDATE, 162 * EXRULE, and EXDATE values extracted from the parsed iCalendar component. 165 * @param values The db values that should be updated [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Genres_MembersTest.java | 76 + "document related to the possible values of param volumeName. @throw clause " 101 ContentValues values = new ContentValues(); local 102 values.put(Genres.NAME, Audio1.GENRE); 103 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values); 111 values.clear(); 112 values.put(Members.AUDIO_ID, mAudioIdOfJam); 115 assertNotNull(mContentResolver.insert(membersUri, values)); 179 values.clear(); 180 values.put(Members.AUDIO_ID, mAudioIdOfJamLive); 182 mContentResolver.update(membersUri, values, null, null) 208 ContentValues values = new ContentValues(); local [all...] |
MediaStore_VideoTest.java | 73 ContentValues values = new ContentValues(); local 75 values.put(VideoColumns.DATA, valueOfData); 77 Uri newUri = mContentResolver.insert(Video.Media.INTERNAL_CONTENT_URI, values);
|
/external/libffi/testsuite/libffi.call/ |
struct8.c | 31 void *values[MAX_ARGS]; local 51 values[0] = &ts8_arg; 66 ffi_call(&cif, FFI_FN(struct8), ts8_result, values);
|