/frameworks/base/media/java/android/mtp/ |
MtpDatabase.java | 200 ContentValues values = new ContentValues(); local 201 values.put(Files.FileColumns.DATA, path); 202 values.put(Files.FileColumns.FORMAT, format); 203 values.put(Files.FileColumns.PARENT, parent); 204 values.put(Files.FileColumns.STORAGE_ID, storageId); 205 values.put(Files.FileColumns.SIZE, size); 206 values.put(Files.FileColumns.DATE_MODIFIED, modified); 209 Uri uri = mMediaProvider.insert(mObjectsUri, values); 237 ContentValues values = new ContentValues(1); local 238 values.put(Audio.Playlists.DATA, path) 616 ContentValues values = new ContentValues(); local 838 ContentValues values = new ContentValues(); local [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Account.java | 91 // Sentinel values for the mSyncInterval field of both Account records 320 * TODO define sentinel values for "never", "push", etc. See Account.java 328 * TODO define sentinel values for "never", "push", etc. See Account.java 338 * TODO define sentinel values for "all", "1 month", etc. See Account.java 346 * TODO define sentinel values for "all", "1 month", etc. See Account.java 810 ContentValues values = new ContentValues(); local 811 values.put(AccountColumns.DISPLAY_NAME, mDisplayName); 812 values.put(AccountColumns.EMAIL_ADDRESS, mEmailAddress); 813 values.put(AccountColumns.SYNC_KEY, mSyncKey); 814 values.put(AccountColumns.SYNC_LOOKBACK, mSyncLookback) [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 139 ContentValues[] values = new ContentValues[count]; local 141 values[i] = new ContentValues(); 144 assertEquals(count, mockContentProvider.bulkInsert(uri, values)); 149 assertEquals(count, mockContentProvider.bulkInsert(null, values)); 373 public int update(Uri url, ContentValues values, String selection, 428 public Uri insert(Uri uri, ContentValues values) { 444 public int update(Uri uri, ContentValues values, String selection, 485 mDb.execSQL("INSERT INTO files VALUES ( \"" + fileName + "\");"); 499 public Uri insert(Uri uri, ContentValues values) { 515 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
InterpolatorTest.java | 247 @ToBeFixed(explanation="For repeat > 1 and time < start key frame, FREEZE_END and the values" + 314 // explicit linear blend should yield the same values 384 float[] values = new float[1]; local 385 assertEquals(expectedResult, interpolator.timeToValues(time, values)); 386 assertEquals(expected, values[0], TOLERANCE); 391 float[] values = new float[expected.length]; local 392 assertEquals(expectedResult, interpolator.timeToValues(time, values)); 393 assertFloatArray(expected, values); 397 float[] values = new float[1]; local 398 assertEquals(expectedResult, interpolator.timeToValues(values)); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
IdentityHashMap2Test.java | 48 * TODO: change all the statements testing the keys and values with equals() 153 // get the keySet() and values() on the original Map 155 Collection values = map.values(); local 156 assertEquals("values() does not work", 157 "value", values.iterator().next()); 162 Collection values2 = map2.values(); 163 assertTrue("values() is identical", values2 != values); 164 // values() and keySet() on the cloned() map should be differen 434 Collection values = myIdentityHashMap.values(); local [all...] |
/external/chromium/net/websockets/ |
websocket_handshake_handler.cc | 45 std::vector<std::string>* values) { 51 values->push_back(iter.values()); 241 key1 = iter.values(); 246 key2 = iter.values(); 253 (*headers)[name] = iter.values(); 257 found->second.append(iter.values()); 366 // For each value, if the server sends a NUL-separated list of values, 398 std::vector<std::string>* values) { 404 FetchHeaders(headers_, headers_to_get, headers_to_get_len, values); [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageBufferCG.cpp | 73 const void *values[6]; local 75 values[0] = CFNumberCreate(0, kCFNumberIntType, &width); 77 values[1] = CFNumberCreate(0, kCFNumberIntType, &height); 79 values[2] = CFNumberCreate(0, kCFNumberIntType, &pixelFormat); 81 values[3] = CFNumberCreate(0, kCFNumberIntType, &bytesPerElement); 83 values[4] = CFNumberCreate(0, kCFNumberLongType, &bytesPerRow); 85 values[5] = CFNumberCreate(0, kCFNumberLongType, &allocSize); 87 RetainPtr<CFDictionaryRef> dict(AdoptCF, CFDictionaryCreate(0, keys, values, 6, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)); 89 CFRelease(values[i]);
|
/external/webkit/Source/WebKit2/Shared/cf/ |
ArgumentCodersCF.cpp | 216 Vector<CFTypeRef, 32> values(size); 218 CFArrayGetValues(array, CFRangeMake(0, size), values.data()); 222 ASSERT(values[i]); 224 encode(encoder, values[i]); 285 Vector<CFTypeRef, 32> values(size); 287 CFDictionaryGetKeysAndValues(dictionary, keys.data(), values.data()); 294 ASSERT(values[i]); 296 // Ignore values we don't recognize. 297 if (typeFromCFTypeRef(values[i]) == Unknown) 301 encode(encoder, values[i]) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BerInputStream.java | 344 // FIXME check all values for valid numbers!!! 403 // FIXME check all time values for valid numbers!!! 538 Object[] values = new Object[type.length]; local 550 values[i] = sequence.DEFAULT[i]; 554 values[i] = type[i].decode(this); 563 values[i] = sequence.DEFAULT[i]; 566 content = values; 623 ArrayList<Object> values = new ArrayList<Object>(); local 626 values.add(type.decode(this)); 629 values.trimToSize() [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
IdentityHashMapTest.java | 48 * TODO: change all the statements testing the keys and values with equals() 142 // get the keySet() and values() on the original Map 144 Collection values = map.values(); local 145 assertEquals("values() does not work", 146 "value", values.iterator().next()); 151 Collection values2 = map2.values(); 152 assertTrue("values() is identical", values2 != values); 153 // values() and keySet() on the cloned() map should be differen 430 Collection values = myIdentityHashMap.values(); local [all...] |
/sdk/layoutlib_api/sample/src/com/example/android/render/ |
RenderServiceFactory.java | 277 // get all the attr values. 284 // get the ATTR values 286 for (ResourceValue value : attrItems.values()) { 289 Map<String, Integer> values = attr.getAttributeValues(); 290 if (values != null) { 291 enumMap.put(attr.getName(), values); 296 // get the declare-styleable values 300 for (ResourceValue value : styleableItems.values()) { 305 for (AttrResourceValue attr : attrs.values()) { 306 Map<String, Integer> values = attr.getAttributeValues() [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsProvider2.java | 7557 ContentValues values = new ContentValues(); local 7871 final ContentValues values = new ContentValues(); local [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexEncodedValueImpl.java | 141 * VALUE_ARRAY 0x1c (none; must be 0) encoded_array an array of values, in 147 List<DexEncodedValue> values = new ArrayList<DexEncodedValue>(size); local 149 values.add(new DexEncodedValueImpl(buffer, annotation, typeIds, 152 return values; 287 List<?> values = (List<?>) getValue(); local 288 for (Object object : values) {
|
/dalvik/dx/src/com/android/dx/util/_tests/ |
_BitIntSet.java | 105 int[] values = {0, 1, 31, 32, 128}; local 107 for (int i = 0; i < values.length; i++) { 108 set.add(values[i]); 113 for (int i = 0; i < values.length; i++) { 115 assertEquals(values[i], iter.next());
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
Sensors.java | 35 * <h3>Application that displays the values of the acceleration sensor graphically.</h3> 128 float[] values = mOrientationValues; local 143 canvas.rotate(-values[i]); 162 canvas.rotate(-values[i]); 174 //Log.d(TAG, "sensor: " + sensor + ", x: " + values[0] + ", y: " + values[1] + ", z: " + values[2]); 181 mOrientationValues[i] = event.values[i]; 190 final float v = mYOffset + event.values[i] * mScale[j];
|
/external/nist-sip/java/gov/nist/core/ |
NameValueList.java | 95 Iterator<NameValue> iterator = hmap.values().iterator(); 218 Iterator<NameValue> it = this.hmap.values().iterator(); 245 return this.hmap.values().iterator(); 344 * @see java.util.Map#values() 346 public Collection<NameValue> values() { method in class:NameValueList 347 return this.hmap.values();
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 302 * Adds the {@code values} to the {@code list}. This is a helper method 305 * @throws NullPointerException if any of the elements of {@code values} is 308 protected static <T> void addAll(final Iterable<T> values, 310 for (final T value : values) { 315 if (values instanceof Collection) { 317 Collection<T> collection = (Collection<T>) values; 320 for (final T value : values) {
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
test_runner2.py | 79 worker_states = self._worker_states.values() 166 if any(worker_state.wedged for worker_state in self._worker_states.values()): 174 for worker_state in self._worker_states.values(): 192 thread_timings = [worker_state.stats for worker_state in self._worker_states.values()] 199 for worker_state in self._worker_states.values():
|
/frameworks/base/core/java/android/net/ |
NetworkStatsHistory.java | 423 * across buckets, so values may be rounded slightly. 431 * across buckets, so values may be rounded slightly. 590 final long[] values = new long[size]; local 591 for (int i = 0; i < values.length; i++) { 592 values[i] = in.readLong(); 594 return values; 631 final long[] values = new long[size]; local 632 for (int i = 0; i < values.length; i++) { 633 values[i] = readVarLong(in); 635 return values; 662 final long[] values = new long[size]; local [all...] |
/frameworks/base/core/java/android/util/ |
LongSparseArray.java | 123 Object[] values = mValues; local 126 Object val = values[i]; 131 values[o] = val; 285 Object[] values = mValues; local 288 values[i] = null;
|
SparseArray.java | 128 Object[] values = mValues; local 131 Object val = values[i]; 136 values[o] = val; 291 Object[] values = mValues; local 294 values[i] = null;
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockContentProvider.java | 101 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) 103 return MockContentProvider.this.update(url, values, selection, selectionArgs); 176 public Uri insert(Uri uri, ContentValues values) { 192 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 200 public int bulkInsert(Uri uri, ContentValues[] values) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
SparseWeakArray.java | 125 WeakReference<?>[] values = mValues; local 128 WeakReference<?> val = values[i]; 130 // Don't keep any non DELETED values, but only the one that still have a valid 135 values[o] = val; 299 WeakReference<?>[] values = mValues; local 302 values[i] = null;
|
/frameworks/support/v4/java/android/support/v4/app/ |
HCSparseArray.java | 107 Object[] values = mValues; local 110 Object val = values[i]; 115 values[o] = val; 269 Object[] values = mValues; local 272 values[i] = null;
|
/hardware/invensense/libsensors/ |
MPLSensor.cpp | 72 /* Base values for the sensor list, these need to be in the order defined in MPLSensor.h */ 743 void MPLSensor::calcOrientationSensor(float *R, float *values) 749 values[0] = (float) atan2f(-R[3], R[0]); 751 values[0] = (float) atan2f(R[1], R[4]); 753 values[0] *= 57.295779513082320876798154814105f; 754 if (values[0] < 0) { 755 values[0] += 360.0f; 763 values[1] = -asinf(tmp) * 57.295779513082320876798154814105f; 765 values[1] = 180.0f - values[1] [all...] |