/packages/apps/Mms/src/com/android/mms/data/ |
RecipientIdCache.java | 186 final ContentValues values = new ContentValues(); local 187 values.put(Telephony.CanonicalAddressesColumns.ADDRESS, number); 199 cr.update(uri, values, buf.toString(), null); 267 final ContentValues values = new ContentValues(); local 268 values.put(Telephony.CanonicalAddressesColumns.ADDRESS, number); 276 cr.insert(sAllCanonical, values);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameSplitter.java | 149 public void fromValues(ContentValues values) { 150 prefix = values.getAsString(StructuredName.PREFIX); 151 givenNames = values.getAsString(StructuredName.GIVEN_NAME); 152 middleName = values.getAsString(StructuredName.MIDDLE_NAME); 153 familyName = values.getAsString(StructuredName.FAMILY_NAME); 154 suffix = values.getAsString(StructuredName.SUFFIX); 156 Integer integer = values.getAsInteger(StructuredName.FULL_NAME_STYLE); 159 phoneticFamilyName = values.getAsString(StructuredName.PHONETIC_FAMILY_NAME); 160 phoneticMiddleName = values.getAsString(StructuredName.PHONETIC_MIDDLE_NAME); 161 phoneticGivenName = values.getAsString(StructuredName.PHONETIC_GIVEN_NAME) [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerService.java | 60 ContentValues values = new ContentValues(); local 61 values.put("name", volumeName); 62 getContentResolver().insert(Uri.parse("content://media/"), values); 91 ContentValues values = new ContentValues(); local 92 values.put(MediaStore.MEDIA_SCANNER_VOLUME, volumeName); 93 Uri scanUri = getContentResolver().insert(MediaStore.getMediaScannerUri(), values);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
BreakpointOption.java | 45 Button[] buttonsBreak = new Button[Function.values().length]; 47 boolean[] breakpoints = new boolean[Function.values().length]; 59 for (int i = 0; i < Function.values().length; i++) { 62 group.setText(Function.values()[i].toString()); 67 breakpoints[Function.values()[i].getNumber()] = btn.getSelection(); 68 buttonsBreak[Function.values()[i].getNumber()] = btn;
|
/system/media/mca/filterfw/native/core/ |
value.cpp | 53 Value MakePtrValue(const BASE* values, int count) { 57 memcpy(result.value, values, sizeof(BASE) * count); 193 Value MakeIntArrayValue(const int* values, int count) { 194 return MakePtrValue<int, INT_ARRAY_VALUE_TYPE>(values, count); 197 Value MakeFloatArrayValue(const float* values, int count) { 198 return MakePtrValue<float, FLOAT_ARRAY_VALUE_TYPE>(values, count);
|
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_store_file.cc | 42 // Although fseek takes negative values, for this case, we only want 81 // Expand |values| to fit |count| new items, read those items from 85 bool ReadToVector(std::vector<T>* values, size_t count, 93 const size_t original_size = values->size(); 94 values->resize(original_size + count); 98 T* ptr = &((*values)[original_size]); 100 values->resize(original_size); 107 // Write all of |values| to |fp|, and fold the data into the checksum 110 bool WriteVector(const std::vector<T>& values, FILE* fp, MD5Context* context) { 112 if (values.empty() [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
NodeImpl.java | 597 * neither of which override Object.equals(). Such values must be compared 601 List<Object> values = new ArrayList<Object>(); local 602 values.add(node.getNodeType()); 603 values.add(node.getNodeName()); 604 values.add(node.getLocalName()); 605 values.add(node.getNamespaceURI()); 606 values.add(node.getPrefix()); 607 values.add(node.getNodeValue()); 609 values.add(child); 615 values.add(doctype.getPublicId()) [all...] |
/external/guava/src/com/google/common/collect/ |
Synchronized.java | 676 public boolean putAll(K key, Iterable<? extends V> values) { 678 return delegate().putAll(key, values); 688 public Collection<V> replaceValues(K key, Iterable<? extends V> values) { 690 return delegate().replaceValues(key, values); // copy not synchronized 721 public Collection<V> values() { method in class:Synchronized.SynchronizedMultimap 724 valuesCollection = collection(delegate().values(), mutex); 810 K key, Iterable<? extends V> values) { 812 return delegate().replaceValues(key, values); // copy not synchronized 854 K key, Iterable<? extends V> values) { 856 return delegate().replaceValues(key, values); // copy not synchronize [all...] |
ImmutableSetMultimap.java | 35 * iteration order. Does not permit null keys or values. 191 * Stores a collection of values with the same key in the built multimap. 193 * @throws NullPointerException if {@code key}, {@code values}, or any 194 * element in {@code values} is null. The builder is left in an invalid 197 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) { 199 for (V value : values) { 206 * Stores an array of values with the same key in the built multimap. 211 @Override public Builder<K, V> putAll(K key, V... values) { 212 return putAll(key, Arrays.asList(values)); 218 * of the {@code multimap.asMap()} view, with new keys and values followin 274 Collection<? extends V> values = entry.getValue(); local [all...] |
/frameworks/base/core/java/android/provider/ |
Contacts.java | 222 ContentValues values = new ContentValues(); local 227 //values.put(_SYNC_ACCOUNT, account.mName); 228 //values.put(_SYNC_ACCOUNT_TYPE, account.mType); 229 values.put(KEY, key); 230 values.put(VALUE, value); 231 cr.update(Settings.CONTENT_URI, values, null, null); 451 ContentValues values = new ContentValues(); local 454 values.put(LAST_TIME_CONTACTED, System.currentTimeMillis()); 455 resolver.update(uri, values, null, null); 540 ContentValues values = new ContentValues() local 594 ContentValues values = new ContentValues(); local 1455 ContentValues values = new ContentValues(2); local 1464 resolver.update(ContentUris.withAppendedId(CONTENT_URI, postalId), values, null, null); local [all...] |
/external/chromium/chrome/browser/importer/ |
mork_reader.cc | 265 // junk before the first row that looks like cell values but isn't. 289 // before adding the new values. 499 std::string values[kColumnCount]; local 503 values[i] = column_values->at(data.column_indexes[i]); 504 data.reader.NormalizeValue(&values[i]); 506 if (i == kHiddenColumn && values[i] == "1") 511 GURL url(values[kURLColumn]); 518 base::CodepageToUTF16(values[kNameColumn], base::kCodepageUTF16BE, 521 base::CodepageToUTF16(values[kNameColumn], base::kCodepageUTF16LE, 526 int count = atoi(values[kVisitCountColumn].c_str()) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
Extension.java | 371 Object[] values = (Object[]) in.content; 373 int[] oid = (int[]) values[0]; 374 byte[] extnValue = (byte[]) ((Object[]) values[2])[0]; 375 byte[] rawExtnValue = (byte[]) ((Object[]) values[2])[1]; 378 // decode Key Usage and Basic Constraints extension values 385 return new Extension((int[]) values[0], (Boolean) values[1], 389 @Override protected void getValues(Object object, Object[] values) { 391 values[0] = ext.extnID; 392 values[1] = (ext.critical) ? Boolean.TRUE : Boolean.FALSE [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadCache.java | 179 ContentValues values = new ContentValues(); local 180 values.put(Columns.LAST_ACCESS, System.currentTimeMillis()); 181 mDatabase.update(TABLE_NAME, values, 219 ContentValues values = new ContentValues(); local 221 values.put(Columns.DATA, file.getAbsolutePath()); 222 values.put(Columns.HASH_CODE, hashCode); 223 values.put(Columns.CONTENT_URL, url); 224 values.put(Columns.CONTENT_SIZE, size); 225 values.put(Columns.LAST_UPDATED, System.currentTimeMillis()); 226 return mDatabase.insert(TABLE_NAME, "", values); [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_mdls.c | 213 EAS_I16 values[PARAM_TABLE_SIZE]; member in struct:s_art_dls_tag [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
EntityDeltaTests.java | 95 // Merge modified values and assert they match 112 // Merge modified values and assert they match 126 // Merge modified values and assert they match 140 // Merge modified values and assert they match 155 final ValuesDelta values = ValuesDelta.fromBefore(before); local 158 final Builder builder = values.buildDiff(Data.CONTENT_URI); 166 final ValuesDelta values = ValuesDelta.fromAfter(after); local 169 final Builder builder = values.buildDiff(Data.CONTENT_URI); 179 final ValuesDelta values = ValuesDelta.fromBefore(before); local 180 values.put(Phone.NUMBER, TEST_PHONE_NUMBER_2) 193 final ValuesDelta values = ValuesDelta.fromBefore(before); local 363 final ValuesDelta values = ValuesDelta.fromAfter(after); local 384 final ValuesDelta values = ValuesDelta.fromAfter(after); local [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
EventValueSelector.java | 274 for (CompareMethod method : CompareMethod.values()) { 396 EventValueDescription[] values = mLogParser.getEventInfoMap().get(eventTag); local 398 // fill the combo for the values 400 if (values != null) { 405 for (EventValueDescription value : values) { 424 for (EventValueDescription value : values) { 461 for (EventValueDescription value : values) { 471 EventValueDescription valueInfo = values[mDescriptor.filterValueIndex]; 530 EventValueDescription[] values = mLogParser.getEventInfoMap().get(eventTag); local 532 valueDescriptor.valueName = values[index].getName() 591 CompareMethod[] values = CompareMethod.values(); local [all...] |
/external/protobuf/python/google/protobuf/ |
descriptor.py | 244 (v.name, v) for t in enum_types for v in t.values) 411 values: (list of EnumValueDescriptors) List of the values 413 values_by_name: (dict str -> EnumValueDescriptor) Same as |values|, 415 values_by_number: (dict int -> EnumValueDescriptor) Same as |values|, 426 def __init__(self, name, full_name, filename, values, 439 self.values = values 440 for value in self.values: 442 self.values_by_name = dict((v.name, v) for v in values) [all...] |
/external/skia/src/utils/ |
SkInterpolator.cpp | 173 const SkScalar values[], const SkScalar blend[4]) { 174 SkASSERT(values != NULL); 188 memcpy(dst, values, fElemCount * sizeof(SkScalar)); 194 SkScalar values[]) const { 199 if (values) { 203 memcpy(values, nextSrc, fElemCount * sizeof(SkScalar)); 210 values[i] = SkScalarInterp(prevSrc[i], nextSrc[i], T);
|
/external/webkit/Source/WebCore/inspector/ |
InspectorDatabaseAgent.cpp | 111 RefPtr<InspectorArray> values = InspectorArray::create(); local 112 const Vector<SQLValue>& data = rowList->values(); 114 const SQLValue& value = rowList->values()[i]; 116 case SQLValue::StringValue: values->pushString(value.string()); break; 117 case SQLValue::NumberValue: values->pushNumber(value.number()); break; 118 case SQLValue::NullValue: values->pushValue(InspectorValue::null()); break; 121 m_frontendProvider->frontend()->sqlTransactionSucceeded(m_transactionId, columnNames, values);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
ImageDiff.cpp | 362 Vector<const char*> values; local 371 values.append(argv[i]); 401 if (values.size() == 3) 402 return diffImages(values[0], values[1], values[2]); 403 } else if (values.size() == 2)
|
/libcore/luni/src/main/java/javax/crypto/ |
EncryptedPrivateKeyInfo.java | 87 Object[] values; local 89 values = (Object[])asn1.decode(encoded); 91 AlgorithmIdentifier aId = (AlgorithmIdentifier) values[0]; 113 encryptedData = (byte[]) values[1]; 498 protected void getValues(Object object, Object[] values) { 505 values[0] = new AlgorithmIdentifier(epki.oid, algParmsEncoded); 506 values[1] = epki.encryptedData;
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertPathImpl.java | 383 protected void getValues(Object object, Object[] values) { 384 values[0] = PRECALCULATED_HEAD; 385 values[1] = object; // pass X509CertPathImpl object 386 values[2] = SIGNERS_INFO; 405 protected void getValues(Object object, Object[] values) { 406 values[0] = SIGNED_DATA_OID; 407 values[1] = object; // pass X509CertPathImpl object
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteDatabaseTest.java | 207 mDatabase.execSQL("INSERT INTO test (num) VALUES (0)"); 415 String sql = "INSERT INTO test (name, age, address) VALUES (?, ?, ?);"; 452 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Mike', 20, 'LA');"); 453 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jack', 30, 'London');"); 454 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jim', 35, 'Chicago');"); 490 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Mike', 20, 'LA');"); 491 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jack', 30, 'London');"); 522 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Mike', 20, 'LA');"); 535 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jack', 30, 'London');"); 682 ContentValues values = new ContentValues() local 1044 ContentValues values = new ContentValues(); local 1120 ContentValues values = new ContentValues(1); local [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jst/ |
jstemplate.js | 21 * If the templates is processed again, changed values are merely
49 * template processing attribute values on a template node.
56 * attribute values on a template node.
82 * HTML template processor. Data values are bound to HTML templates
84 * jsvalues. The template is modifed in place. The values of those
163 * attribute values is expensive and we thus want to cache it. The
177 * values. (For example when two different nodes in a template share the same
185 * Map for storing temporary attribute values in prepareNode_() so they don't
217 * and the functions used to parse their values.
511 // more useful to be able to use var values in attribute value [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/jstemplate/ |
jstemplate.js | 21 * If the templates is processed again, changed values are merely 49 * template processing attribute values on a template node. 56 * attribute values on a template node. 82 * HTML template processor. Data values are bound to HTML templates 84 * jsvalues. The template is modifed in place. The values of those 163 * attribute values is expensive and we thus want to cache it. The 177 * values. (For example when two different nodes in a template share the same 185 * Map for storing temporary attribute values in prepareNode_() so they don't 217 * and the functions used to parse their values. 511 // more useful to be able to use var values in attribute valu [all...] |