/packages/apps/Contacts/tests/src/com/android/contacts/ |
EntityDeltaListTests.java | 109 final ValuesDelta values = ValuesDelta.fromAfter(after); local 110 return new EntityDelta(values); 150 final ContentValues values = new ContentValues(); local 151 values.put(Data._ID, phoneId); 152 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 153 values.put(Phone.NUMBER, value); 154 values.put(Phone.TYPE, Phone.TYPE_HOME); 155 return values; 159 final ContentValues values = new ContentValues(); local 160 values.put(Data._ID, emailId) 230 final ContentValues values = new ContentValues(); local 236 final ContentValues values = new ContentValues(); local 250 final ContentValues values = new ContentValues(); local [all...] |
CallDetailActivityTest.java | 232 ContentValues values = new ContentValues(); local 233 values.put(CallLog.Calls.NUMBER, CONTACT_NUMBER); 234 values.put(CallLog.Calls.TYPE, CallLog.Calls.INCOMING_TYPE); 235 mCallLogUri = contentResolver.insert(CallLog.Calls.CONTENT_URI, values); 242 ContentValues values = new ContentValues(); local 243 values.put(VoicemailContract.Voicemails.NUMBER, CONTACT_NUMBER); 244 values.put(VoicemailContract.Voicemails.HAS_CONTENT, 1); 245 values.put(VoicemailContract.Voicemails._DATA, VOICEMAIL_FILE_LOCATION); 246 mVoicemailUri = contentResolver.insert(VoicemailContract.Voicemails.CONTENT_URI, values); 256 ContentValues values = new ContentValues() local [all...] |
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePadProvider.java | 313 selectionArgs, // The values for the where clause 492 * Inserts a new row into the database. This method sets up default values for any 506 // A map to hold the new record's values. 507 ContentValues values; local 509 // If the incoming values map is not null, uses it for the new values. 511 values = new ContentValues(initialValues); 515 values = new ContentValues(); 521 // If the values map doesn't contain the creation date, sets the value to the current time. 522 if (values.containsKey(NotePad.Notes.COLUMN_NAME_CREATE_DATE) == false) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 230 public Uri insert(Uri uri, ContentValues values) { 240 copyString(BluetoothShare.URI, values, filteredValues); 241 copyString(BluetoothShare.FILENAME_HINT, values, filteredValues); 242 copyString(BluetoothShare.MIMETYPE, values, filteredValues); 243 copyString(BluetoothShare.DESTINATION, values, filteredValues); 245 copyInteger(BluetoothShare.VISIBILITY, values, filteredValues); 246 copyInteger(BluetoothShare.TOTAL_BYTES, values, filteredValues); 248 if (values.getAsInteger(BluetoothShare.VISIBILITY) == null) { 251 Integer dir = values.getAsInteger(BluetoothShare.DIRECTION); 252 Integer con = values.getAsInteger(BluetoothShare.USER_CONFIRMATION) [all...] |
BluetoothOppManager.java | 376 ContentValues values = new ContentValues(); local 377 values.put(BluetoothShare.URI, fileUri.toString()); 378 values.put(BluetoothShare.MIMETYPE, contentType); 379 values.put(BluetoothShare.DESTINATION, mRemoteDevice.getAddress()); 380 values.put(BluetoothShare.TIMESTAMP, ts); 383 BluetoothShare.CONTENT_URI, values); 393 ContentValues values = new ContentValues(); local 394 values.put(BluetoothShare.URI, mUri); 395 values.put(BluetoothShare.MIMETYPE, mTypeOfSingleFile); 396 values.put(BluetoothShare.DESTINATION, mRemoteDevice.getAddress()) [all...] |
/external/bison/src/ |
output.c | 190 int *values = xnmalloc (ntokens, sizeof *values); local 192 values[i] = symbols[i]->user_token_number; 193 muscle_insert_int_table ("toknum", values, 194 values[0], 1, ntokens); 195 free (values); 269 symbol_number *values = xnmalloc (nstates, sizeof *values); local 271 values[i] = states[i]->accessing_symbol; 272 muscle_insert_symbol_number_table ("stos", values, [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogProvider.java | 182 public Uri insert(Uri uri, ContentValues values) { 183 checkForSupportedColumns(sCallsProjectionMap, values); 186 if (hasVoicemailValue(values)) { 195 ContentValues copiedValues = new ContentValues(values); 197 // Add the computed fields to the copied values. 208 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 209 checkForSupportedColumns(sCallsProjectionMap, values); 212 if (hasVoicemailValue(values)) { 233 return getDatabaseModifier(db).update(Tables.CALLS, values, selectionBuilder.build(), 275 private boolean hasVoicemailValue(ContentValues values) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
CropImage.java | 291 // because they may contain alpha values. 378 ContentValues values = new ContentValues(); local 379 values.put(Images.Media.TITLE, PicasaSource.getImageTitle(mMediaItem)); 380 values.put(Images.Media.DISPLAY_NAME, output.getName()); 381 values.put(Images.Media.DATE_TAKEN, PicasaSource.getDateTaken(mMediaItem)); 382 values.put(Images.Media.DATE_MODIFIED, now); 383 values.put(Images.Media.DATE_ADDED, now); 384 values.put(Images.Media.MIME_TYPE, getOutputMimeType()); 385 values.put(Images.Media.ORIENTATION, 0); 386 values.put(Images.Media.DATA, output.getAbsolutePath()) 417 ContentValues values = new ContentValues(); local [all...] |
/frameworks/base/media/java/android/media/ |
MediaScanner.java | 697 * Formats the data into a values array suitable for use with the Media 700 * @return a map of values 757 ContentValues values = toValues(); 758 String title = values.getAsString(MediaStore.MediaColumns.TITLE); 760 title = MediaFile.getFileTitle(values.getAsString(MediaStore.MediaColumns.DATA)); 761 values.put(MediaStore.MediaColumns.TITLE, title); 763 String album = values.getAsString(Audio.Media.ALBUM); 765 album = values.getAsString(MediaStore.MediaColumns.DATA); 779 values.put(Audio.Media.ALBUM, album); 787 // values so that custom ringtones still show up in the rington [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ProgramRasterTest.java | 30 for (CullMode cull : CullMode.values()) { 50 assertEquals(3, CullMode.values().length);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestSuite.java | 94 return mChildSuiteMap.values(); 101 return mChildTestCaseMap.values(); 144 for (TestSuite childSuite : mChildSuiteMap.values()) { 147 for (TestCase childCase : mChildTestCaseMap.values()) { 214 for (TestSuite suite : mChildSuiteMap.values()) { 217 for (TestCase testCase : mChildTestCaseMap.values()) { 233 for (TestSuite suite : mChildSuiteMap.values()) { 236 for (TestCase testCase : mChildTestCaseMap.values()) {
|
/dalvik/vm/mterp/armv5te/ |
stub.S | 5 LOAD_PC_FP_FROM_SELF() @ retrieve updated values
|
/external/android-mock/src/com/google/android/testing/mocking/ |
SdkVersion.java | 66 * {@link #values()} method, since that method will also return the UNKNOWN 73 for (SdkVersion version : values()) { 99 for (SdkVersion version : values()) {
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/ |
X509Principal.java | 84 * constructor from a vector of attribute values and a vector of OIDs. 88 Vector values) 90 super(oids, values);
|
/external/clang/test/PCH/ |
exprs.h | 46 extern double values[]; 47 typedef typeof(values[2]) array_subscript;
|
/external/clang/test/SemaCXX/ |
uninit-variables.cpp | 87 double *values = next->foo(0); local 91 values[0] = e;
|
/external/clang/tools/scan-view/ |
Reporter.py | 56 def __init__(self, n, values): 58 self.values = values 69 o[1]) for o in self.values])) 224 values = eval(data) 229 if len(values) != 2 or not isinstance(values[0], int): 232 bugID,message = values
|
/external/dbus/bus/ |
config-loader-expat.c | 69 char **values; local 86 values = dbus_new0 (char *, i / 2 + 1); 88 if (names == NULL || values == NULL) 93 dbus_free (values); 102 values[i / 2] = (char*) atts[i+1]; 110 (const char **) values, 114 dbus_free (values); 120 dbus_free (values);
|
/external/guava/src/com/google/common/collect/ |
AbstractListMultimap.java | 43 * values 60 @Nullable K key, Iterable<? extends V> values) { 61 return (List<V>) super.replaceValues(key, values); 79 * contain the same values in the same order. If the value orderings disagree,
|
AbstractSetMultimap.java | 41 * values 64 * <p>Any duplicates in {@code values} will be stored in the multimap once. 67 @Nullable K key, Iterable<? extends V> values) { 68 return (Set<V>) super.replaceValues(key, values); 87 * contain the same values. Equality does not depend on the ordering of keys 88 * or values.
|
ForwardingMap.java | 84 public Collection<V> values() { method in class:ForwardingMap 85 return delegate().values();
|
/external/icu4c/i18n/unicode/ |
sortkey.h | 109 * Creates a collation key based on the collation key values. 110 * @param values the collation key values 111 * @param count number of collation key values, including trailing nulls. 114 CollationKey(const uint8_t* values, 163 * Returns a pointer to the collation key values. The storage is owned 166 * @param count the output parameter of number of collation key values, 168 * @return a pointer to the collation key values. 175 * Extracts the collation key values into a new array. The caller owns 177 * @param count the output parameter of number of collation key values, [all...] |
/external/oprofile/libop/tests/ |
mangle_tests.c | 20 struct mangle_values values; member in struct:test_input 52 char * result = op_mangle_filename(&test->values);
|
/external/proguard/src/proguard/classfile/ |
ClassPool.java | 110 Iterator iterator = classes.values().iterator(); 126 Iterator iterator = sortedClasses.values().iterator();
|
/external/skia/include/utils/ |
SkInterpolator.h | 100 /** Add or replace a key frame, copying the values[] data into the 104 @param values The array of values [elemCount] for this frame. The data 111 bool setKeyFrame(int index, SkMSec time, const SkScalar values[], 114 /** Return the computed values given the specified time. Return whether 115 those values are the result of pinning to either the first 117 nearest key values (kNormal). 119 @param (may be null) where to write the computed values. 121 Result timeToValues(SkMSec time, SkScalar values[] = NULL) const;
|