/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
RawContactUtil.java | 37 ContentValues values) { 39 resolver.update(uri, values, null, null); 57 ContentValues values = new ContentValues(); local 58 values.put(ContactsContract.RawContacts.ACCOUNT_NAME, account.name); 59 values.put(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type); 60 Uri uri = resolver.insert(URI, values);
|
/external/chromium_org/chrome/test/base/ |
chrome_process_util_mac.cc | 47 std::vector<std::string> values; local 48 base::SplitString(line, ' ', &values); 49 if (values.size() == 3) { 52 base::StringToInt(values[0], &pid); 54 base::StringToInt(values[1], &proc_info.rsz_in_kb); 55 base::StringToInt(values[2], &proc_info.vsz_in_kb); 64 // Common interface for fetching memory values from parsed ps output. 65 // We fill in both values we may get called for, even though our
|
/external/chromium_org/content/common/dom_storage/ |
dom_storage_map.cc | 17 size_t CountBytes(const DOMStorageValuesMap& values) { 18 if (values.size() == 0) 22 DOMStorageValuesMap::const_iterator it = values.begin(); 23 for (; it != values.end(); ++it) 102 void DOMStorageMap::SwapValues(DOMStorageValuesMap* values) { 104 values_.swap(*values);
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
create-html-entity-table | 129 values = entry[VALUE].split(' ') 130 assert len(values) <= 2, values 134 convert_value_to_int(values[0]), 135 convert_value_to_int(values[1] if len(values) >= 2 else "")))
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebVector.h | 77 WebVector(const U* values, size_t size) 79 initializeFrom(values, size); 115 void assign(const U* values, size_t size) 118 initializeFrom(values, size); 167 void initializeFrom(const U* values, size_t size) 175 new (&m_ptr[i]) T(values[i]);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
histogram.c | 48 GLenum type, GLsizei bufSize, GLvoid *values) 58 GLvoid *values) 60 _mesa_GetnMinmaxARB(target, reset, format, type, INT_MAX, values); 66 GLenum type, GLsizei bufSize, GLvoid *values) 76 GLvoid *values) 78 _mesa_GetnHistogramARB(target, reset, format, type, INT_MAX, values);
|
/external/guava/guava/src/com/google/common/collect/ |
ForwardingMultimap.java | 102 public boolean putAll(K key, Iterable<? extends V> values) { 103 return delegate().putAll(key, values); 122 public Collection<V> replaceValues(K key, Iterable<? extends V> values) { 123 return delegate().replaceValues(key, values); 132 public Collection<V> values() { method in class:ForwardingMultimap 133 return delegate().values();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SynchronizedBiMapTest.java | 66 @Override public Set<V> values() { method in class:SynchronizedBiMapTest.TestBiMap 68 return delegate.values(); 88 Set<Integer> values = map.values(); local 89 assertTrue(values instanceof SynchronizedSet); 90 assertSame(mutex, ((SynchronizedSet<?>) values).mutex);
|
/external/mesa3d/src/mesa/main/ |
histogram.c | 48 GLenum type, GLsizei bufSize, GLvoid *values) 58 GLvoid *values) 60 _mesa_GetnMinmaxARB(target, reset, format, type, INT_MAX, values); 66 GLenum type, GLsizei bufSize, GLvoid *values) 76 GLvoid *values) 78 _mesa_GetnHistogramARB(target, reset, format, type, INT_MAX, values);
|
/external/smack/src/org/xbill/DNS/ |
Mnemonic.java | 34 private HashMap values; field in class:Mnemonic 53 values = new HashMap(); 64 * Sets the prefix to use when converting to and from values that don't 73 * Sets whether numeric values stored in strings are acceptable. 134 values.put(value, str); 164 values.putAll(source.values); 175 String str = (String) values.get(toInteger(val));
|
/frameworks/base/core/java/android/provider/ |
SearchRecentSuggestions.java | 109 // client-provided configuration values 120 * because it needs to be initialized using the same values that you provided in your 139 // saved values 143 // derived values 194 ContentValues values = new ContentValues(); local 195 values.put(SuggestionColumns.DISPLAY1, queryString); 197 values.put(SuggestionColumns.DISPLAY2, line2); 199 values.put(SuggestionColumns.QUERY, queryString); 200 values.put(SuggestionColumns.DATE, now); 201 cr.insert(mSuggestionsUri, values); [all...] |
/frameworks/base/core/java/android/view/ |
OrientationEventListener.java | 119 float[] values = event.values; local 121 float X = -values[_DATA_X]; 122 float Y = -values[_DATA_Y]; 123 float Z = -values[_DATA_Z]; 139 mOldListener.onSensorChanged(Sensor.TYPE_ACCELEROMETER, event.values);
|
/frameworks/base/media/java/android/media/ |
MediaInserter.java | 50 public void insert(Uri tableUri, ContentValues values) throws RemoteException { 51 insert(tableUri, values, false); 54 public void insertwithPriority(Uri tableUri, ContentValues values) throws RemoteException { 55 insert(tableUri, values, true); 58 private void insert(Uri tableUri, ContentValues values, boolean priority) throws RemoteException { 65 list.add(new ContentValues(values));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
CallTracker.java | 150 String values[] = testEn.split(":"); local 151 log("checkForTestEmergencyNumber: values.length=" + values.length); 152 if (values.length == 2) { 153 if (values[0].equals( 157 dialString + " to " + values[1]); 158 dialString = values[1];
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardProperty.java | 44 * or multiple values representing the parameter. 93 Collection<String> values; local 96 values = new HashSet<String>(); 98 values = new ArrayList<String>(); 100 mParameterMap.put(paramName, values); 102 values = mParameterMap.get(paramName); 104 values.add(paramValue);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
PinListEntry.java | 68 String[] values = entry.split("[=,|]"); local 70 if (values.length < 3) { 74 cn = values[0]; // is there more validation we can do here? 75 enforcing = enforcementValueFromString(values[1]); 77 addPins(Arrays.copyOfRange(values, 2, values.length));
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
AlgorithmIdentifier.java | 157 Object[] values = (Object[]) in.content; 159 .toString((int[]) values[0]), (byte[]) values[1]); 162 @Override protected void getValues(Object object, Object[] values) { 166 values[0] = ObjectIdentifier.toIntArray(aID.getAlgorithm()); 167 values[1] = aID.getParameters();
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/ |
HTML.java | 163 /** The list of allowed values, or null if any value is allowed */ 164 private final Set<String> values; field in class:HTML.Attribute 177 * or if Attribute is of type ENUM_TYPE and the values are null 179 public Attribute(String name, int type, Set<String> values) { 181 Preconditions.checkArgument((values == null) ^ (type == ENUM_TYPE), 182 "Only ENUM_TYPE can have values != null"); 185 this.values = values; 200 * containing the allowed attribute values. The return set is guaranteed to 204 * values [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
HTML.java | 164 /** The list of allowed values, or null if any value is allowed */ 165 private final Set<String> values; field in class:HTML.Attribute 178 * or if Attribute is of type ENUM_TYPE and the values are null 180 public Attribute(String name, int type, Set<String> values) { 182 Preconditions.checkArgument((values == null) ^ (type == ENUM_TYPE), 183 "Only ENUM_TYPE can have values != null"); 186 this.values = values; 201 * containing the allowed attribute values. The return set is guaranteed to 205 * values [all...] |
/external/chromium_org/courgette/ |
courgette_tool.cc | 444 std::vector<base::FilePath> values; local 447 values.push_back(base::FilePath(args[i])); 469 if (values.size() != 1) 471 return !Supported(values[0]); 473 if (values.size() != 2) 475 Disassemble(values[0], values[1]); 477 if (values.size() != 2) 479 Assemble(values[0], values[1]) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentProviderOperationTest.java | 57 public Uri insert(Uri uri, ContentValues values) { 59 assertEquals(sTestValues1.toString(), values.toString()); 70 public Uri insert(Uri uri, ContentValues values) { 72 assertNull(values); 85 public Uri insert(Uri uri, ContentValues values) { 87 assertEquals(sTestValues1.toString(), values.toString()); 109 public Uri insert(Uri uri, ContentValues values) { 114 assertEquals(expected.toString(), values.toString()); 127 public Uri insert(Uri uri, ContentValues values) { 129 assertEquals(sTestValues1.toString(), values.toString()) 213 final Object[] values = new Object[valueSet.size()]; local 230 ContentValues values = new ContentValues(); local 266 final ContentValues values = new ContentValues(); local 291 ContentValues values = new ContentValues(); local [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
SelectFunctionalityTest.java | 399 HashMap<Integer, Integer> values = new HashMap<Integer, Integer>(); local 400 values.put(100, 3006); 401 values.put(200, 2005); 402 values.put(300, 2009); 407 assertTrue("Wrong value of rating field", values 409 assertEquals("Wrong value of sum field", values.get(rating), 411 assertEquals(new Integer(sum), values.remove(rating)); 414 assertTrue("Result set has wrong size", values.isEmpty()); 426 ArrayList<Integer> values = new ArrayList<Integer>(); local 427 values.add(Integer.valueOf(3001)) 459 HashSet<Integer> values = new HashSet<Integer>(); local 531 HashSet<Double> values = new HashSet<Double>(); local [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
BrowserProvider2.java | 484 ContentValues values = new ContentValues(); local 485 values.put(Settings.KEY, Settings.KEY_SYNC_ENABLED); 486 values.put(Settings.VALUE, 1); 487 insertSettingsInTransaction(db, values); 535 ContentValues values = new ContentValues(); local 536 values.put(Bookmarks.URL, url); 537 values.put(Bookmarks.TITLE, c.getString(1)); 538 values.put(Bookmarks.DATE_CREATED, c.getInt(4)); 539 values.put(Bookmarks.POSITION, 0); 540 values.put(Bookmarks.PARENT, FIXED_ID_ROOT) 563 ContentValues values = new ContentValues(); local 642 ContentValues values = new ContentValues(); local 1221 ContentValues values = new ContentValues(); local 1991 ContentValues values = new ContentValues(count); local [all...] |
/external/chromium/chrome/browser/ |
process_info_snapshot_mac.cc | 241 uint64_t values[4]; local 243 for (i = 0; i < arraysize(values); i++) { 244 in >> values[i]; local 258 values[i] *= scale; 260 if (i != arraysize(values)) 264 proc_info.rss = values[0]; 265 proc_info.rshrd = values[1]; 266 proc_info.rprvt = values[2]; 267 proc_info.vsize = values[3]; 322 uint64_t values[4] local 325 in >> values[i]; local [all...] |
/libcore/luni/src/main/java/java/lang/ |
ThreadLocal.java | 28 * {@code null} values. 54 Values values = values(currentThread); local 55 if (values != null) { 56 Object[] table = values.table; 57 int index = hash & values.mask; 62 values = initializeValues(currentThread); 65 return (T) values.getAfterMiss(this); 87 Values values = values(currentThread) local 104 Values values = values(currentThread); local 120 Values values(Thread current) { method in class:ThreadLocal [all...] |