/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_PlaylistsTest.java | 76 ContentValues values = new ContentValues(); local 77 values.put(Playlists.NAME, "My favourites"); 78 values.put(Playlists.DATA, externalPlaylistPath); 81 values.put(Playlists.DATE_MODIFIED, dateModified); 83 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values); 102 values.clear(); 103 values.put(Playlists.NAME, "xxx"); 105 values.put(Playlists.DATE_MODIFIED, dateModified); 106 assertEquals(1, mContentResolver.update(uri, values, null, null)); 122 ContentValues values = new ContentValues() local [all...] |
MediaStore_Audio_Playlists_MembersTest.java | 140 ContentValues values = new ContentValues(); local 141 values.put(Playlists.NAME, "My favourites"); 142 values.put(Playlists.DATA, ""); 144 values.put(Playlists.DATE_ADDED, dateAdded); 146 values.put(Playlists.DATE_MODIFIED, dateModified); 148 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values); 159 values.clear(); 160 values.put(Members.AUDIO_ID, mIdOfAudio1); 161 values.put(Members.PLAY_ORDER, 1); 164 Uri audioUri = mContentResolver.insert(membersUri, values); 366 ContentValues values = new ContentValues(); local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
SequenceTest.java | 81 Object[] values = (Object[]) in.content; 82 return new AppClass((Boolean) values[0], (List) values[1]); 85 protected void getValues(Object object, Object[] values) { 88 values[0] = obj.ok; 89 values[1] = obj.list; 100 // sequence : all values are default 206 protected void getValues(Object object, Object[] values) { 207 values = (Object[]) object; 224 protected void getValues(Object object, Object[] values) { [all...] |
/external/bluetooth/glib/gobject/ |
genums.h | 123 * Checks whether the given #GValue can hold values derived from type %G_TYPE_ENUM. 132 * Checks whether the given #GValue can hold values derived from type %G_TYPE_FLAGS. 139 /* --- enum/flag values & classes --- */ 150 * @n_values: the number of possible values. 151 * @values: an array of #GEnumValue structs describing the 152 * individual values. 155 * possible values. 165 GEnumValue *values; member in struct:_GEnumClass 170 * @mask: a mask covering all possible values. 171 * @n_values: the number of possible values 185 GFlagsValue *values; member in struct:_GFlagsClass [all...] |
gvaluetypes.h | 19 * gvaluetypes.h: GLib default values 37 * Checks whether the given #GValue can hold values of type %G_TYPE_CHAR. 46 * Checks whether the given #GValue can hold values of type %G_TYPE_UCHAR. 55 * Checks whether the given #GValue can hold values of type %G_TYPE_BOOLEAN. 64 * Checks whether the given #GValue can hold values of type %G_TYPE_INT. 73 * Checks whether the given #GValue can hold values of type %G_TYPE_UINT. 82 * Checks whether the given #GValue can hold values of type %G_TYPE_LONG. 91 * Checks whether the given #GValue can hold values of type %G_TYPE_ULONG. 100 * Checks whether the given #GValue can hold values of type %G_TYPE_INT64. 109 * Checks whether the given #GValue can hold values of type %G_TYPE_UINT64 [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaInserterTest.java | 94 ContentValues values = new ContentValues(); local 95 values.put("_data", "/mnt/sdcard/file" + ++mFilesCounter); 96 return values; 100 ContentValues values = new ContentValues(); local 101 values.put("_data", "/mnt/sdcard/audio" + ++mAudioCounter); 102 return values; 106 ContentValues values = new ContentValues(); local 107 values.put("_data", "/mnt/sdcard/video" + ++mVideoCounter); 108 return values; 112 ContentValues values = new ContentValues() local 126 ContentValues values; local [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PhoneticNameEditorView.java | 38 public PhoneticValuesDelta(ValuesDelta values) { 39 mValues = values; 64 ContentValues values = PhoneticNameEditorView.parsePhoneticName(value, null); local 66 values.getAsString(StructuredName.PHONETIC_FAMILY_NAME)); 68 values.getAsString(StructuredName.PHONETIC_MIDDLE_NAME)); 70 values.getAsString(StructuredName.PHONETIC_GIVEN_NAME)); 96 * If this method cannot parse given phoneticName, null values will be stored. 99 * @param values ContentValues to be used for storing data. If null, new instance will be 103 public static ContentValues parsePhoneticName(String phoneticName, ContentValues values) { 126 if (values == null) [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
control_external.h | 177 * read the current values of integer type 181 * read the current values of integer64 type 185 * read the current values of enumerated type 189 * read the current values of bytes type 194 * read the current values of iec958 type 198 * update the current values of integer type with the given values 202 * update the current values of integer64 type with the given values 206 * update the current values of enumerated type with the given value [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
example-bind.cpp | 53 template<typename... Values> class tuple; 102 template<typename... Values> 103 tuple<typename make_tuple_result<Values>::type...> 104 make_tuple(const Values&... values) { 105 return tuple<typename make_tuple_result<Values>::type...>(values...); 108 template<typename... Values> 109 tuple<Values&...> tie(Values&... values) [all...] |
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
bit_cnt.c | 42 static void count1_2_3_4_5_6_7_8_9_10_11(const Word16 *values, 60 t0= values[i+0]; 61 t1= values[i+1]; 62 t2= values[i+2]; 63 t3= values[i+3]; 118 static void count3_4_5_6_7_8_9_10_11(const Word16 *values, 135 t0= values[i+0]; 136 t1= values[i+1]; 137 t2= values[i+2]; 138 t3= values[i+3]; [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
IntList.java | 29 private int[] values; field in class:IntList 34 /** whether the values are currently sorted */ 87 values = new int[initialCapacity]; 103 result = (result * 31) + values[i]; 131 if (values[i] != otherList.values[i]) { 150 sb.append(values[i]); 177 return values[n]; 198 values[n] = value; 219 values[size++] = value [all...] |
/dalvik/dx/src/com/android/dx/util/ |
IntList.java | 29 private int[] values; field in class:IntList 34 /** whether the values are currently sorted */ 87 values = new int[initialCapacity]; 103 result = (result * 31) + values[i]; 131 if (values[i] != otherList.values[i]) { 150 sb.append(values[i]); 177 return values[n]; 198 values[n] = value; 219 values[size++] = value [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventViewUtils.java | 69 * Finds the index of the given "minutes" in the "values" list. 71 * @param values the list of minutes corresponding to the spinner choices 72 * @param minutes the minutes to search for in the values list 73 * @return the index of "minutes" in the "values" list 75 public static int findMinutesInReminderList(ArrayList<Integer> values, int minutes) { 76 int index = values.indexOf(minutes); 93 * @param values the list of minutes corresponding to the spinner choices 94 * @param method the method to search for in the values list 95 * @return the index of the method in the "values" list 97 public static int findMethodInReminderList(ArrayList<Integer> values, int method) [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
stl_numeric.h | 68 * @brief Create a range of sequentially increasing values. 103 * @brief Accumulate values in a range. 105 * Accumulates the values in the range [first,last) using operator+(). The 106 * initial value is @a init. The values are processed in order. 110 * @param init Starting value to add other values to. 127 * @brief Accumulate values in a range with operation. 129 * Accumulates the values in the range [first,last) using the function 130 * object @a binary_op. The initial value is @a init. The values are 135 * @param init Starting value to add other values to. 158 * value using operator+(). The values in the ranges are processed i [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stl_numeric.h | 68 * @brief Create a range of sequentially increasing values. 103 * @brief Accumulate values in a range. 105 * Accumulates the values in the range [first,last) using operator+(). The 106 * initial value is @a init. The values are processed in order. 110 * @param init Starting value to add other values to. 127 * @brief Accumulate values in a range with operation. 129 * Accumulates the values in the range [first,last) using the function 130 * object @a binary_op. The initial value is @a init. The values are 135 * @param init Starting value to add other values to. 158 * value using operator+(). The values in the ranges are processed i [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stl_numeric.h | 68 * @brief Create a range of sequentially increasing values. 103 * @brief Accumulate values in a range. 105 * Accumulates the values in the range [first,last) using operator+(). The 106 * initial value is @a init. The values are processed in order. 110 * @param init Starting value to add other values to. 127 * @brief Accumulate values in a range with operation. 129 * Accumulates the values in the range [first,last) using the function 130 * object @a binary_op. The initial value is @a init. The values are 135 * @param init Starting value to add other values to. 158 * value using operator+(). The values in the ranges are processed i [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
SparseBooleanArrayTest.java | 29 private static final boolean[] VALUES = 105 int length = VALUES.length; 107 sparseBooleanArray.put(KEYS[i], VALUES[i]); 111 assertEquals(VALUES[i], sparseBooleanArray.get(KEYS[i])); 119 assertEquals(VALUES[i], sparseBooleanArray.valueAt(keyIndex)); 120 expectPos = VALUES[i] ? truePos : falsePos; 121 assertEquals(expectPos, sparseBooleanArray.indexOfValue(VALUES[i])); 126 boolean oldValue = VALUES[0]; // true 147 assertEquals(VALUES[1], sparseBooleanArray.get(KEYS[1])); 148 assertFalse(VALUE_FOR_NON_EXISTED_KEY == VALUES[1]) [all...] |
/frameworks/base/core/java/android/animation/ |
KeyframeSet.java | 27 * values between those keyframes for a given animation. The class internal to the animation 50 public static KeyframeSet ofInt(int... values) { 51 int numKeyframes = values.length; 55 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]); 57 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]); 59 keyframes[i] = (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]); 65 public static KeyframeSet ofFloat(float... values) { 66 int numKeyframes = values.length; 70 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]); 72 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[0]) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
DataController.java | 217 ContentValues values = new ContentValues(); local 218 values.put(Thumbnails._ID, tab.getId()); 219 values.put(Thumbnails.THUMBNAIL, blob); 220 cr.insert(Thumbnails.CONTENT_URI, values); 250 ContentValues values = new ContentValues(); local 251 values.put(History.VISITS, c.getInt(1) + 1); 252 values.put(History.DATE_LAST_VISITED, System.currentTimeMillis()); 254 values, null, null); local 257 ContentValues values = new ContentValues(); local 258 values.put(History.URL, url) 296 ContentValues values = new ContentValues(); local [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsProvider.java | 263 public Uri insert(Uri uri, ContentValues values) { 275 Object msgBoxObj = values.getAsInteger(Mms.MESSAGE_BOX); 323 boolean addDate = !values.containsKey(Mms.DATE); 324 boolean addMsgBox = !values.containsKey(Mms.MESSAGE_BOX); 327 filterUnsupportedKeys(values); 331 finalValues = new ContentValues(values); 349 Long threadId = values.getAsLong(Mms.THREAD_ID); 350 String address = values.getAsString(CanonicalAddressesColumns.ADDRESS); 364 finalValues = new ContentValues(values); 374 finalValues = new ContentValues(values); [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
EntityModifier.java | 358 // Fill-in with any requested default values 381 ValuesDelta values = state.getValues(); local 382 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE); 383 final String dataSet = values.getAsString(RawContacts.DATA_SET); 395 ValuesDelta values = state.getValues(); local 396 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE); 397 final String dataSet = values.getAsString(RawContacts.DATA_SET); 422 // Skip any values that haven't been touched 473 public static boolean isEmpty(ValuesDelta values, DataKind kind) { 475 return values.isInsert() && values.getAsByteArray(Photo.PHOTO) == null 582 ArrayList<ContentValues> values = extras.getParcelableArrayList(Insert.DATA); local 952 ContentValues values = entry.getAfter(); local 1011 final ContentValues values = local 1140 final ContentValues values = entry.getAfter(); local 1236 final ContentValues values = entry.getAfter(); local 1287 ContentValues values = entry.getAfter(); local 1361 final ContentValues values = entry.getAfter(); local [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadProvider.java | 308 ContentValues values = new ContentValues(); local 309 values.put(Downloads.Impl.COLUMN_CURRENT_BYTES, 0); 310 fillNullValuesForColumn(db, values); 311 values.put(Downloads.Impl.COLUMN_TOTAL_BYTES, -1); 312 fillNullValuesForColumn(db, values); 313 values.put(Downloads.Impl.COLUMN_TITLE, ""); 314 fillNullValuesForColumn(db, values); 315 values.put(Downloads.Impl.COLUMN_DESCRIPTION, ""); 316 fillNullValuesForColumn(db, values); 319 private void fillNullValuesForColumn(SQLiteDatabase db, ContentValues values) { 329 ContentValues values = new ContentValues(); local [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextLayoutAttributesBuilder.cpp | 42 // Build list of x/y/dx/dy/rotate values for each subtree element that may define these values (tspan/textPath etc). 50 // Collect x/y/dx/dy/rotate values for each character, stored in the m_positioningLists.xValues()/etc. lists. 227 // Pad x/y/dx/dy/rotate value lists with empty values, if the metrics span more than one character. 256 static inline void fillListAtPosition(Vector<float>& allValues, Vector<float>& values, unsigned start) 258 unsigned valuesSize = values.size(); 260 allValues[start + i] = values[i]; 265 Vector<float> values; local 266 extractFloatValuesFromSVGLengthList(position.element, position.element->x(), values, position.length); 267 fillListAtPosition(m_positioningLists.xValues, values, position.start) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
TBSCertList.java | 176 Object[] values = (Object[]) in.content; 178 new BigInteger((byte[]) values[0]), 179 (Date) values[1], 180 (Extensions) values[2] 184 @Override protected void getValues(Object object, Object[] values) { 186 values[0] = rcert.userCertificate.toByteArray(); 187 values[1] = rcert.revocationDate; 188 values[2] = rcert.crlEntryExtensions; 340 Object[] values = (Object[]) in.content; 342 (values[0] == null [all...] |
/external/chromium/chrome/browser/resources/shared/js/ |
i18n_template.js | 16 * * i18n-values is a list of attribute-value or property-value pairs. 19 * <span i18n-values="title:myTitle;.style.fontSize:fontSize"></span> 46 options.forEach(function(values) { 47 var option = typeof values == 'string' ? new Option(values) : 48 new Option(values[1], values[0]); 59 'i18n-values': function(element, attributeValue, obj) { 88 console.warn('i18n-values: Missing value for "' + propExpr + '"');
|