/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_GenresTest.java | 64 ContentValues values = new ContentValues(); local 65 values.put(Genres.NAME, "POP"); 66 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values); 79 values.clear(); 80 values.put(Genres.NAME, "ROCK"); 81 assertEquals(1, mContentResolver.update(uri, values, null, null)); 93 ContentValues values = new ContentValues(); local 94 values.put(Genres.NAME, "POP"); 95 Uri uri = mContentResolver.insert(Genres.INTERNAL_CONTENT_URI, values); 101 ContentValues values = Audio1.getInstance().getContentValues(true) local [all...] |
MediaStore_Video_MediaTest.java | 80 ContentValues values = new ContentValues(); local 81 values.put(Media.ALBUM, "cts"); 82 values.put(Media.ARTIST, "cts team"); 83 values.put(Media.CATEGORY, "test"); 85 values.put(Media.DATE_TAKEN, dateTaken); 86 values.put(Media.DESCRIPTION, "This is a video"); 87 values.put(Media.DURATION, 8480); 88 values.put(Media.LANGUAGE, "en"); 89 values.put(Media.LATITUDE, 40.689060d); 90 values.put(Media.LONGITUDE, -74.044636d) 232 ContentValues values = new ContentValues(); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
ArrayData.java | 38 /** {@code non-null;} initial values to be filled into an array */ 39 private final ArrayList<Constant> values; field in class:ArrayData 57 * @param values {@code non-null;} initial values to be filled into an array 60 ArrayList<Constant> values, 68 if (values == null) { 69 throw new NullPointerException("values == null"); 72 int sz = values.size(); 75 throw new IllegalArgumentException("Illegal number of init values"); 96 this.values = values [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
ArrayData.java | 38 /** {@code non-null;} initial values to be filled into an array */ 39 private final ArrayList<Constant> values; field in class:ArrayData 57 * @param values {@code non-null;} initial values to be filled into an array 60 ArrayList<Constant> values, 68 if (values == null) { 69 throw new NullPointerException("values == null"); 72 int sz = values.size(); 75 throw new IllegalArgumentException("Illegal number of init values"); 96 this.values = values [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
ArrayData.java | 38 /** {@code non-null;} initial values to be filled into an array */ 39 private final ArrayList<Constant> values; field in class:ArrayData 57 * @param values {@code non-null;} initial values to be filled into an array 60 ArrayList<Constant> values, 68 if (values == null) { 69 throw new NullPointerException("values == null"); 72 int sz = values.size(); 75 throw new IllegalArgumentException("Illegal number of init values"); 96 this.values = values [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContentValues.java | 40 private HashMap<String, Object> values = new HashMap<String, Object>(); field in class:ShadowContentValues 43 values = new HashMap<String, Object>(shadowOf(from).values); 48 values.put(key, value); 53 values.putAll(shadowOf(other).values); 58 values.put(key, value); 63 values.put(key, value); 68 values.put(key, value); 73 values.put(key, value) [all...] |
/hardware/invensense/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 50 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
57 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
66 values[0] = accel[0] * ACCEL_CONVERSION;
67 values[1] = accel[1] * ACCEL_CONVERSION;
68 values[2] = accel[2] * ACCEL_CONVERSION;
77 * @param[out] values Linear Acceleration in body frame, length 3, (m/s^2). May show
84 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy,
94 values[0] = accel[0] * ACCEL_CONVERSION;
95 values[1] = accel[1] * ACCEL_CONVERSION;
96 values[2] = accel[2] * ACCEL_CONVERSION; [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SmsMessageBodyTest.java | 261 int[] values = {0, 0, 0, SmsConstants.ENCODING_7BIT, 0, 0}; local 279 values[0] = sTestMsgCounts[i]; 280 values[1] = len; 281 values[2] = sSeptetUnitsRemaining[i]; 283 callGsmLengthMethods(testStr, false, values); 284 callGsmLengthMethods(testStr, true, values); 285 callCdmaLengthMethods(testStr, false, values); 286 callCdmaLengthMethods(testStr, true, values); 293 int[] values = {0, 0, 0, SmsConstants.ENCODING_16BIT, 0, 0}; local 313 values[0] = sTestMsgCounts[i] 555 int[] values = android.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); local 585 int[] values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GroupsTest.java | 162 ContentValues values = new ContentValues(); local 163 values.put(Groups.NOTES, "New notes"); 164 mResolver.update(updateUri, values, null, null); 173 ContentValues values = new ContentValues(); local 174 values.put(Groups.DIRTY, 0); 175 values.put(Groups.NOTES, "other notes"); 176 assertEquals(1, mResolver.update(uri, values, null, null)); 209 ContentValues values = new ContentValues(); local 210 values.put(Groups.TITLE, "title2"); 211 mResolver.update(uri, values, null, null) 253 final ContentValues values = new ContentValues(); local 302 final ContentValues values = new ContentValues(); local 315 final ContentValues values = new ContentValues(); local 345 final ContentValues values = new ContentValues(); local [all...] |
/cts/tests/tests/permission2/src/android/permission2/cts/ |
WriteSocialStreamPermissionTest.java | 39 ContentValues values = new ContentValues(); local 42 RawContacts.StreamItems.CONTENT_DIRECTORY), values); local 51 ContentValues values = new ContentValues(); local 52 mResolver.insert(StreamItems.CONTENT_URI, values);
|
/external/ceres-solver/include/ceres/ |
crs_matrix.h | 52 // and the corresponding values by 54 // values[cols[i] ... cols[i + 1]] 56 // Thus, cols is a vector of size num_cols + 1, and rows and values 60 vector<double> values; member in struct:ceres::CRSMatrix
|
/external/chromium/chrome/browser/tabs/ |
pinned_tab_test_utils.h | 21 const std::vector<BrowserInit::LaunchWithProfile::Tab>& values);
|
/external/clang/test/CodeGenCXX/ |
variadic-templates.cpp | 15 int values[sizeof...(T)+1] = { T::value... }; local
|
/external/icu4c/tools/toolutil/ |
denseranges.h | 25 * @param values Sorted array of signed-integer values. 26 * @param length Number of values. 35 uprv_makeDenseRanges(const int32_t values[], int32_t length,
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/ |
Function.java | 19 import com.google.clearsilver.jsilver.values.Value;
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/structure/ |
NameFunction.java | 21 import com.google.clearsilver.jsilver.values.Value; 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 23 import static com.google.clearsilver.jsilver.values.Value.literalValue; 24 import com.google.clearsilver.jsilver.values.VariableValue;
|
/external/webkit/Source/WebCore/svg/properties/ |
SVGAnimatedPathSegListPropertyTearOff.h | 57 static PassRefPtr<SVGAnimatedPathSegListPropertyTearOff> create(SVGElement* contextElement, const QualifiedName& attributeName, SVGPathSegList& values) 60 return adoptRef(new SVGAnimatedPathSegListPropertyTearOff(contextElement, attributeName, values)); 63 SVGAnimatedPathSegListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, SVGPathSegList& values) 64 : SVGAnimatedListPropertyTearOff<SVGPathSegList>(contextElement, attributeName, values)
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
ContactUpdateUtils.java | 38 // Update the primary values in the data record. 39 ContentValues values = new ContentValues(2); local 40 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1); 41 values.put(ContactsContract.Data.IS_PRIMARY, 1); 45 values, null, null); local
|
/packages/apps/Phone/src/com/android/phone/ |
ClearMissedCallsService.java | 48 ContentValues values = new ContentValues(); local 49 values.put(Calls.NEW, 0); 50 values.put(Calls.IS_READ, 1); 56 getContentResolver().update(Calls.CONTENT_URI, values, where.toString(),
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogInsertionHelper.java | 22 * Helper class to be used when inserting values in the call log. 25 /** Adds to the content values those key/value pairs which needs to added automatically. */ 26 public void addComputedValues(ContentValues values);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
StructArrayTest.java | 30 int[] values = {0, 1, 2, 3, 4}; local 31 S.set_i(0, values, true);
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/operators/ |
ExistsFunction.java | 20 import com.google.clearsilver.jsilver.values.Value; 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant;
|
NotFunction.java | 20 import com.google.clearsilver.jsilver.values.Value; 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant;
|
NumericFunction.java | 20 import com.google.clearsilver.jsilver.values.Value; 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant;
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/ |
LengthFunction.java | 20 import com.google.clearsilver.jsilver.values.Value; 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant;
|