/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 66 ContentValues values = new ContentValues(); local 67 putContactValues(values); 69 Uri uri = mResolver.insert(People.CONTENT_URI, values); 70 assertStoredValues(uri, values); 71 assertSelection(People.CONTENT_URI, values, "people", People._ID, ContentUris.parseId(uri)); 75 ContentValues values = new ContentValues(); local 76 putContactValues(values); 78 Uri uri = mResolver.insert(People.CONTENT_URI, values); 80 assertStoredValues(uri, values); 81 assertSelection(People.CONTENT_URI, values, "people", People._ID, personId) 95 ContentValues values = new ContentValues(); local 112 ContentValues values = new ContentValues(); local 131 ContentValues values = new ContentValues(); local 138 ContentValues values = new ContentValues(); local 180 ContentValues values = new ContentValues(); local 229 ContentValues values = new ContentValues(); local 251 ContentValues values = new ContentValues(); local 301 ContentValues values = new ContentValues(); local 321 ContentValues values = new ContentValues(); local 354 ContentValues values = new ContentValues(); local 382 ContentValues values = new ContentValues(); local 424 ContentValues values = new ContentValues(); local 450 ContentValues values = new ContentValues(); local 517 ContentValues values = new ContentValues(); local 554 ContentValues values = new ContentValues(); local 582 ContentValues values = new ContentValues(); local 602 ContentValues values = new ContentValues(); local 622 ContentValues values = new ContentValues(); local 632 ContentValues values = new ContentValues(); local 648 ContentValues values = new ContentValues(); local 665 ContentValues values = new ContentValues(); local 684 ContentValues values = new ContentValues(); local 703 ContentValues values = new ContentValues(); local 747 ContentValues values = new ContentValues(); local 847 ContentValues values = new ContentValues(); local 935 ContentValues values = new ContentValues(); local 947 ContentValues values = new ContentValues(); local [all...] |
CallLogProviderTest.java | 63 ContentValues values = new ContentValues(); local 64 putCallValues(values); 65 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); 66 assertStoredValues(uri, values); 67 assertSelection(uri, values, Calls._ID, ContentUris.parseId(uri)); 71 ContentValues values = new ContentValues(); local 72 putCallValues(values); 73 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); 75 values.clear(); 76 values.put(Calls.TYPE, Calls.OUTGOING_TYPE) 90 ContentValues values = new ContentValues(); local 107 ContentValues values = new ContentValues(); local 132 ContentValues values = new ContentValues(); local [all...] |
ContactsProvider2Test.java | 86 ContentValues values = new ContentValues(); local 88 values.put(RawContacts.ACCOUNT_NAME, "a"); 89 values.put(RawContacts.ACCOUNT_TYPE, "b"); 90 values.put(RawContacts.SOURCE_ID, "c"); 91 values.put(RawContacts.VERSION, 42); 92 values.put(RawContacts.DIRTY, 1); 93 values.put(RawContacts.DELETED, 1); 94 values.put(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DISABLED); 95 values.put(RawContacts.CUSTOM_RINGTONE, "d"); 96 values.put(RawContacts.SEND_TO_VOICEMAIL, 1) 115 ContentValues values = new ContentValues(); local 155 ContentValues values = new ContentValues(); local 186 assertStoredValues(ContentUris.withAppendedId(Phone.CONTENT_URI, phoneId), values); local 199 ContentValues values = new ContentValues(); local 221 ContentValues values = new ContentValues(); local 256 ContentValues values = new ContentValues(); local 289 ContentValues values = new ContentValues(); local 319 assertStoredValues(ContentUris.withAppendedId(Email.CONTENT_URI, emailId), values); local 328 ContentValues values = new ContentValues(); local 352 ContentValues values = new ContentValues(); local 379 ContentValues values = new ContentValues(); local 388 values); local 393 ContentValues values = new ContentValues(); local 404 ContentValues values = new ContentValues(); local 416 ContentValues values = new ContentValues(); local 528 ContentValues values = new ContentValues(); local 593 ContentValues values = new ContentValues(); local 634 ContentValues values = new ContentValues(); local 643 ContentValues values = new ContentValues(); local 653 ContentValues values = new ContentValues(); local 664 ContentValues values = new ContentValues(); local 710 ContentValues values = new ContentValues(); local 746 ContentValues values = new ContentValues(); local 801 ContentValues values = new ContentValues(); local 837 ContentValues values = new ContentValues(); local 864 ContentValues values = new ContentValues(); local 899 ContentValues values = new ContentValues(); local 920 ContentValues values = new ContentValues(); local 972 ContentValues values = new ContentValues(); local 1003 ContentValues values = new ContentValues(); local 1022 ContentValues values = new ContentValues(); local 1045 ContentValues values = new ContentValues(); local 1163 ContentValues values = new ContentValues(); local 1216 ContentValues values = new ContentValues(); local 1270 ContentValues values = new ContentValues(); local 1283 ContentValues values = new ContentValues(); local 1358 ContentValues values = new ContentValues(); local 1394 ContentValues values = new ContentValues(); local 1402 ContentValues values = new ContentValues(); local 1436 ContentValues values = new ContentValues(); local 1449 ContentValues values = new ContentValues(); local 1498 ContentValues values = new ContentValues(); local 1527 ContentValues values = new ContentValues(); local 1628 ContentValues values = new ContentValues(); local 1879 ContentValues values = new ContentValues(); local 1893 ContentValues values = new ContentValues(); local 1986 ContentValues values = new ContentValues(); local 1998 ContentValues values = new ContentValues(); local 2012 ContentValues values = new ContentValues(); local 2057 ContentValues values = new ContentValues(); local 2072 ContentValues values = new ContentValues(); local 2100 ContentValues values = new ContentValues(); local 2145 ContentValues values = new ContentValues(); local 2308 final ContentValues values = new ContentValues(); local [all...] |
/external/proguard/src/proguard/evaluation/ |
Stack.java | 36 protected Value[] values; field in class:Stack 43 * space required by Category 2 values. 47 values = new Value[maxSize]; 56 // Create the values array. 57 this(stack.values.length); 66 * operations, accounting for the double space required by Category 2 values. 79 // Is the values array large enough? 80 if (maxSize > values.length) 83 values = new Value[maxSize]; 94 * Copies the values of the given Stack into this Stack [all...] |
/frameworks/base/core/java/android/hardware/ |
SensorEvent.java | 23 * course the sensor's {@link SensorEvent#values data}. 39 * screen. In this system, coordinates behind the screen have negative Z values. 61 * The length and contents of the {@link #values values} array depends on 67 * Sensor.TYPE_ACCELEROMETER}:</h4> All values are in SI units (m/s^2) 71 * values[0]: Acceleration minus Gx on the x-axis 74 * values[1]: Acceleration minus Gy on the y-axis 77 * values[2]: Acceleration minus Gz on the z-axis 154 * All values are in micro-Tesla (uT) and measure the ambient magnetic field 158 * All values are in radians/second and measure the rate of rotatio 312 public final float[] values; field in class:SensorEvent [all...] |
SensorListener.java | 21 * sensor values have changed. 30 * <p>Called when sensor values have changed. 31 * The length and contents of the values array vary 45 * device's screen orientation changes. To access the unswapped values, 46 * use indices 3, 4 and 5 in values[]. 50 * All values are angles in degrees. 52 * <p>values[0]: Azimuth, rotation around the Z axis (0<=azimuth<360). 55 * <p>values[1]: Pitch, rotation around X axis (-180<=pitch<=180), with positive 56 * values when the z-axis moves toward the y-axis. 58 * <p>values[2]: Roll, rotation around Y axis (-90<=roll<=90), with positive values [all...] |
/external/oprofile/libop/ |
op_mangle.c | 38 char * op_mangle_filename(struct mangle_values const * values) 42 int anon = values->flags & MANGLE_ANON; 43 int cg_anon = values->flags & MANGLE_CG_ANON; 48 char const * image_name = values->dep_name; 49 char const * anon_name = values->anon_name; 50 char const * dep_name = values->image_name; 51 char const * cg_image_name = values->cg_image_name; 54 + strlen(values->event_name) + 1 + strlen(image_name) + 1; 56 if (values->flags & MANGLE_CALLGRAPH) 70 append_image(mangled, values->flags, 0, image_name, anon_name) [all...] |
/external/proguard/src/proguard/evaluation/value/ |
InstructionOffsetValue.java | 36 private int[] values; field in class:InstructionOffsetValue 46 this.values = new int[] { value }; 50 public InstructionOffsetValue(int[] values) 52 this.values = values; 58 return values == null ? 0 : values.length; 64 return values[index]; 74 if (values != null) 76 for (int index = 0; index < values.length; index++ [all...] |
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
PublicApiAccessTest.java | 70 ContentValues values = buildValidValues(); local 71 values.put(Downloads.Impl.COLUMN_TITLE, "foo"); 72 values.put(Downloads.Impl.COLUMN_DESCRIPTION, "foo"); 73 values.put(Downloads.Impl.COLUMN_MIME_TYPE, "foo"); 74 values.put(Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE, "foo"); 75 values.put(Downloads.Impl.COLUMN_ALLOWED_NETWORK_TYPES, 0); 76 values.put(Downloads.Impl.COLUMN_ALLOW_ROAMING, true); 77 values.put(Downloads.Impl.RequestHeaders.INSERT_KEY_PREFIX + "0", "X-Some-Header: value"); 78 mContentResolver.insert(Downloads.Impl.CONTENT_URI, values); 82 ContentValues values = new ContentValues() local 92 ContentValues values = buildValidValues(); local 98 ContentValues values = buildValidValues(); local 106 ContentValues values = buildValidValues(); local 120 ContentValues values = buildValidValues(); local 127 ContentValues values = buildValidValues(); local [all...] |
/external/easymock/src/org/easymock/ |
Capture.java | 35 private final List<T> values = new ArrayList<T>(2);
field in class:Capture 58 values.clear();
65 return !values.isEmpty();
77 if (values.isEmpty()) {
80 if (values.size() > 1) {
84 return values.get(values.size() - 1);
88 * Return all captured values. It returns the actual list so you can modify
91 * @return The currently captured values
94 return values;
[all...] |
/external/oprofile/daemon/ |
opd_mangling.c | 72 struct mangle_values values; local 75 values.flags = 0; 78 values.image_name = sf->kernel->name; 79 values.flags |= MANGLE_KERNEL; 81 values.flags |= MANGLE_ANON; 82 values.image_name = mangle_anon(sf->anon); 83 values.anon_name = sf->anon->name; 85 values.image_name = find_cookie(sf->cookie); 88 values.dep_name = get_dep_name(sf); 89 if (!values.dep_name [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManager_RunningServiceInfoTest.java | 78 ActivityManager.RunningServiceInfo values = local 80 assertEquals(mService, values.service); 81 assertEquals(1, values.pid); 82 assertEquals(PROCESS, values.process); 83 assertTrue(values.foreground); 84 assertEquals(1l, values.activeSince); 85 assertTrue(values.started); 86 assertEquals(2, values.clientCount); 87 assertEquals(1, values.crashCount); 88 assertEquals(1l, values.lastActivityTime) 102 ActivityManager.RunningServiceInfo values = local [all...] |
ActivityManagerRunningTaskInfoTest.java | 73 ActivityManager.RunningTaskInfo values = ActivityManager.RunningTaskInfo.CREATOR local 75 assertEquals(1, values.id); 76 assertNull(values.baseActivity); 77 assertNull(values.topActivity); 78 assertNull(values.thumbnail); 79 assertEquals(1, values.numActivities); 80 assertEquals(2, values.numRunning); 87 values = ActivityManager.RunningTaskInfo.CREATOR 89 assertNotNull(values.thumbnail); 90 assertEquals(320, values.thumbnail.getHeight()) 106 ActivityManager.RunningTaskInfo values = new ActivityManager.RunningTaskInfo(); local [all...] |
/dalvik/dx/src/junit/runner/ |
Sorter.java | 14 public void swap(Vector values, int left, int right); 17 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { 20 String mid= (String)values.elementAt((left + right) / 2); 22 while (((String)(values.elementAt(left))).compareTo(mid) < 0) 24 while (mid.compareTo((String)(values.elementAt(right))) < 0) 27 swapper.swap(values, left, right); 34 sortStrings(values, oleft, right, swapper); 36 sortStrings(values, left, oright, swapper);
|
/external/junit/src/junit/runner/ |
Sorter.java | 12 public void swap(Vector values, int left, int right); 15 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { 18 String mid= (String)values.elementAt((left + right) / 2); 20 while (((String)(values.elementAt(left))).compareTo(mid) < 0) 22 while (mid.compareTo((String)(values.elementAt(right))) < 0) 25 swapper.swap(values, left, right); 32 sortStrings(values, oleft, right, swapper); 34 sortStrings(values, left, oright, swapper);
|
/frameworks/base/test-runner/src/junit/runner/ |
Sorter.java | 15 public void swap(Vector values, int left, int right); 18 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { 21 String mid= (String)values.elementAt((left + right) / 2); 23 while (((String)(values.elementAt(left))).compareTo(mid) < 0) 25 while (mid.compareTo((String)(values.elementAt(right))) < 0) 28 swapper.swap(values, left, right); 35 sortStrings(values, oleft, right, swapper); 37 sortStrings(values, left, oright, swapper);
|
/libcore/junit/src/test/java/junit/runner/ |
Sorter.java | 14 public void swap(Vector values, int left, int right); 17 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { 20 String mid= (String)values.elementAt((left + right) / 2); 22 while (((String)(values.elementAt(left))).compareTo(mid) < 0) 24 while (mid.compareTo((String)(values.elementAt(right))) < 0) 27 swapper.swap(values, left, right); 34 sortStrings(values, oleft, right, swapper); 36 sortStrings(values, left, oright, swapper);
|
/external/chromium/base/ |
string_split_unittest.cc | 13 std::vector<std::string> values; member in class:base::SplitStringIntoKeyValuesTest 19 &key, &values)); 21 EXPECT_TRUE(values.empty()); 27 &key, &values)); 29 EXPECT_TRUE(values.empty()); 35 &key, &values)); 37 ASSERT_EQ(1U, values.size()); 43 &key, &values)); 45 ASSERT_EQ(1U, values.size()); 46 EXPECT_EQ("value1, value2 value3", values[0]) [all...] |
/external/libffi/testsuite/libffi.call/ |
return_ll1.c | 18 void *values[MAX_ARGS]; local 26 values[0] = &ll0; 27 values[1] = &ll1; 28 values[2] = &ll2; 38 ffi_call(&cif, FFI_FN(return_ll), &rlonglong, values);
|
strlen.c | 19 void *values[MAX_ARGS]; local 24 values[0] = (void*) &s; 31 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); 35 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); 39 ffi_call(&cif, FFI_FN(my_strlen), &rint, values);
|
float.c | 24 void *values[MAX_ARGS]; local 33 values[0] = &si1; 35 values[1] = &f; 37 values[2] = &d; 39 values[3] = &ld; 52 ffi_call(&cif, FFI_FN(floating), &rint, values);
|
/external/libffi/testsuite/libffi.special/ |
unwindtest_ffi_call.cc | 20 void *values[MAX_ARGS]; local 28 values[0] = &si; 30 values[1] = &ss; 32 values[2] = ≻ 44 ffi_call(&cif, FFI_FN(checking), &rint, values);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/platform/ |
OSMemoryTest.java | 51 int[] values = { 3, 7, 31, 127, 8191, 131071, 524287, 2147483647 }; local 52 int[] swappedValues = new int[values.length]; 53 for (int i = 0; i < values.length; ++i) { 54 swappedValues[i] = swapInt(values[i]); 58 int ptr = OSMemory.malloc(scale * values.length); 61 OSMemory.memset(ptr, (byte) 0, scale * values.length); 62 OSMemory.setIntArray(ptr, values, 0, values.length, false); 63 assertIntsEqual(values, ptr); 66 OSMemory.memset(ptr, (byte) 0, scale * values.length) 95 short[] values = { 0x0001, 0x0020, 0x0300, 0x4000 }; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Interpolator.java | 36 * Reset the Interpolator to have the specified number of values and an 38 * values for each keyFrame must be assigned using setKeyFrame(). 45 * Reset the Interpolator to have the specified number of values and 46 * keyFrames. After this call the values for each keyFrame must be assigned 65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear 66 * transition to the next set of key values). 71 * @param values Array of values associated with theis key frame 73 public void setKeyFrame(int index, int msec, float[] values) { 74 setKeyFrame(index, msec, values, null) [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...] |