/packages/apps/Browser/src/com/android/browser/provider/ |
SQLiteContentProvider.java | 69 public abstract Uri insertInTransaction(Uri uri, ContentValues values, 75 public abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 107 public Uri insert(Uri uri, ContentValues values) { 115 result = insertInTransaction(uri, values, callerIsSyncAdapter); 123 result = insertInTransaction(uri, values, callerIsSyncAdapter); 129 public int bulkInsert(Uri uri, ContentValues[] values) { 130 int numValues = values.length; 136 Uri result = insertInTransaction(uri, values[i], callerIsSyncAdapter); 149 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 157 count = updateInTransaction(uri, values, selection, selectionArgs [all...] |
/packages/apps/Mms/tests/src/com/android/mms/ |
RecyclerTest.java | 143 ContentValues values = new ContentValues(); local 144 // values.put(Sms.ERROR_CODE, 0); 145 values.put(Inbox.ADDRESS, address); 149 values.put(Inbox.DATE, new Long(System.currentTimeMillis())); 150 values.put(Inbox.PROTOCOL, 0); 151 values.put(Inbox.READ, Integer.valueOf(0)); 153 // values.put(Inbox.SUBJECT, sms.getPseudoSubject()); 155 values.put(Inbox.REPLY_PATH_PRESENT, 0); 156 values.put(Inbox.SERVICE_CENTER, 0); 157 values.put(Inbox.BODY, message) [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
SQLiteContentProvider.java | 62 protected abstract Uri insertInTransaction(Uri uri, ContentValues values, 68 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 88 public Uri insert(Uri uri, ContentValues values) { 96 result = insertInTransaction(uri, values, isCallerSyncAdapter); 107 result = insertInTransaction(uri, values, isCallerSyncAdapter); 116 public int bulkInsert(Uri uri, ContentValues[] values) { 117 int numValues = values.length; 123 Uri result = insertInTransaction(uri, values[i], isCallerSyncAdapter); 139 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 147 count = updateInTransaction(uri, values, selection, selectionArgs [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsBackupHelper.java | 103 ContentValues[] values = new ContentValues[numRows]; local 110 values[i] = new ContentValues(); 111 values[i].put(TestResultsProvider.COLUMN_TEST_NAME, name); 112 values[i].put(TestResultsProvider.COLUMN_TEST_RESULT, result); 113 values[i].put(TestResultsProvider.COLUMN_TEST_INFO_SEEN, infoSeen); 114 values[i].put(TestResultsProvider.COLUMN_TEST_DETAILS, details); 118 resolver.bulkInsert(TestResultsProvider.RESULTS_CONTENT_URI, values);
|
TestResultsProvider.java | 141 public Uri insert(Uri uri, ContentValues values) { 143 long id = db.insert(TABLE_NAME, null, values); 150 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 180 int numUpdated = db.update(TABLE_NAME, values, selection, selectionArgs); 206 ContentValues values = new ContentValues(2); local 207 values.put(TestResultsProvider.COLUMN_TEST_RESULT, testResult); 208 values.put(TestResultsProvider.COLUMN_TEST_NAME, testName); 209 values.put(TestResultsProvider.COLUMN_TEST_DETAILS, testDetails); 212 int numUpdated = resolver.update(TestResultsProvider.RESULTS_CONTENT_URI, values, 217 resolver.insert(TestResultsProvider.RESULTS_CONTENT_URI, values); [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextLayoutAttributes.cpp | 63 static inline float safeValueAtPosition(const Vector<float>& values, unsigned position) 65 return position < values.size() ? values[position] : SVGTextLayoutAttributes::emptyValue(); 83 static inline void dumpLayoutVector(const Vector<float>& values) 85 if (values.isEmpty()) { 90 unsigned size = values.size(); 92 float value = values.at(i); 104 fprintf(stderr, "x values: "); 108 fprintf(stderr, "y values: "); 112 fprintf(stderr, "dx values: ") [all...] |
/frameworks/base/core/java/android/webkit/ |
DeviceOrientationService.java | 120 // http://developer.android.com/reference/android/hardware/SensorEvent.html#values 188 assert(event.values.length == 3); 201 mGravityVector[0] = event.values[0]; 202 mGravityVector[1] = event.values[1]; 203 mGravityVector[2] = event.values[2]; 210 mMagneticFieldVector[0] = event.values[0]; 211 mMagneticFieldVector[1] = event.values[1]; 212 mMagneticFieldVector[2] = event.values[2];
|
/frameworks/ex/common/java/com/android/common/content/ |
SyncStateContentProviderHelper.java | 67 ContentValues values = new ContentValues(); local 68 values.put(SYNC_STATE_META_VERSION_COLUMN, DB_VERSION); 69 db.insert(SYNC_STATE_META_TABLE, SYNC_STATE_META_VERSION_COLUMN, values); 87 public long insert(SQLiteDatabase db, ContentValues values) { 88 return db.replace(SYNC_STATE_TABLE, SyncStateContract.Columns.ACCOUNT_NAME, values); 95 public int update(SQLiteDatabase db, ContentValues values, 97 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
DownloadManagerFunctionalTest.java | 149 ContentValues values = new ContentValues(); local 150 values.put(Downloads.Impl.COLUMN_URI, getServerUri(path)); 151 values.put(Downloads.Impl.COLUMN_DESTINATION, Downloads.Impl.DESTINATION_EXTERNAL); 152 return mResolver.insert(Downloads.Impl.CONTENT_URI, values); 159 ContentValues values = new ContentValues(); local 160 values.put(column, value); 161 int numChanged = mResolver.update(downloadUri, values, null, null);
|
/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/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 141 ContentValues values = new ContentValues(); local 142 values.put(CalendarContract.Events.TITLE, event.mTitle); 143 values.put(CalendarContract.Events.DTSTART, event.mDtstart); 144 values.put(CalendarContract.Events.DTEND, event.mDtend); 145 values.put(CalendarContract.Events.ALL_DAY, event.mAllDay ? 1 : 0); 148 values.put(CalendarContract.Events.DESCRIPTION, event.mDescription); 152 mResolver.update(uri, values, null, null); 175 ContentValues values = new ContentValues(); local 177 values.put(CalendarContract.Calendars.ACCOUNT_NAME, getAccount()); 178 values.put(CalendarContract.Calendars.CAL_SYNC1, calendarUrl) [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...] |
/frameworks/base/core/java/android/animation/ |
ValueAnimator.java | 32 * which calculate animated values and set them on target objects. 61 * Values used with internal variable mPlayingState to indicate the current state of an 152 * elapsed fraction to be inverted to calculate the appropriate values. 183 * has been cancel()'d or end()'d since the last animation frame. Possible values are 237 * calculate the animated values. 252 * A hashmap of the PropertyValuesHolder objects. This map is used to lookup animated values 286 * Constructs and returns a ValueAnimator that animates between int values. A single 291 * be two or more values. 293 * @param values A set of values that the animation will animate between over time [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardUtils.java | 366 * Escaped characters in those values are automatically unescaped into original form. 407 public static boolean containsOnlyPrintableAscii(final String...values) { 408 if (values == null) { 411 return containsOnlyPrintableAscii(Arrays.asList(values)); 414 public static boolean containsOnlyPrintableAscii(final Collection<String> values) { 415 if (values == null) { 418 for (final String value : values) { 438 public static boolean containsOnlyNonCrLfPrintableAscii(final String...values) { 439 if (values == null) { 442 return containsOnlyNonCrLfPrintableAscii(Arrays.asList(values)); [all...] |
/libcore/luni/src/main/java/java/util/ |
EnumMap.java | 41 transient Object[] values; field in class:EnumMap 75 if (enumMap.values[ordinal] == null) { 78 isEqual = enumMap.values[ordinal].equals(theValue); 89 ^ (enumMap.values[ordinal] == null ? 0 90 : enumMap.values[ordinal].hashCode()); 104 return (VT) enumMap.values[ordinal]; 119 result.append(enumMap.values[ordinal] == null 120 ? "null" : enumMap.values[ordinal].toString()); 163 enumMap.values[prePosition])); 182 enumMap.values[prePosition])).toString() [all...] |
/frameworks/base/core/java/com/google/android/mms/pdu/ |
PduPersister.java | 421 // Store simple string values directly in the database instead of an 644 ContentValues values = new ContentValues(3); local 647 values.clear(); // Clear all values first. 648 values.put(Addr.ADDRESS, toIsoString(addr.getTextString())); 649 values.put(Addr.CHARSET, addr.getCharacterSet()); 650 values.put(Addr.TYPE, type); 653 SqliteWrapper.insert(mContext, mContentResolver, uri, values); 660 ContentValues values = new ContentValues(8); local 664 values.put(Part.CHARSET, charset) 823 ContentValues values = new ContentValues(10); local 911 ContentValues values = new ContentValues(7); local 1045 ContentValues values = new ContentValues(); local 1207 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...] |
/frameworks/base/core/java/android/database/ |
DatabaseUtils.java | 55 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 57 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 59 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 61 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 63 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 65 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 67 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 69 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 71 /** One of the values returned by {@link #getSqlStatementType(String)}. */ 73 /** One of the values returned by {@link #getSqlStatementType(String)}. * [all...] |
/external/chromium/chrome/browser/autofill/ |
autofill_profile.cc | 106 std::vector<string16> values; local 107 p.GetMultiInfo(type, &values); 109 for (size_t i = 0; i < values.size(); ++i) { 112 accumulate += values[i]; 119 const std::vector<string16>& values, 121 form_group_items->resize(values.size()); 123 (*form_group_items)[i].SetInfo(type, CollapseWhitespace(values[i], false)); 132 std::vector<string16>* values) { 133 values->resize(form_group_items.size()); 134 for (size_t i = 0; i < values->size(); ++i [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 " 99 ContentValues values = new ContentValues(); local 100 values.put(Genres.NAME, Audio1.GENRE); 101 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values); 113 values.clear(); 114 values.put(Members.AUDIO_ID, mAudioIdOfJam); 117 assertNotNull(mContentResolver.insert(membersUri, values)); 205 values.clear(); 206 values.put(Genres.NAME, Audio1.GENRE + "-2"); 207 uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values); 276 ContentValues values = new ContentValues(); local [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.
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLEngineResultTest.java | 97 SSLEngineResult.Status.values(); 99 SSLEngineResult.HandshakeStatus.values(); 120 SSLEngineResult.Status.values(); 122 SSLEngineResult.HandshakeStatus.values(); 143 SSLEngineResult.Status.values(); 145 SSLEngineResult.HandshakeStatus.values(); 166 SSLEngineResult.Status.values(); 168 SSLEngineResult.HandshakeStatus.values(); 189 SSLEngineResult.Status.values(); 191 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.
|