/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
DerOutputStream.java | 65 Object[] values = val[index]; local 70 if (values[i] == null) { 74 content = values[i]; 90 Object[] values = val[index]; local 94 for (int i = 0; i < values.length; i++) { 95 content = values[i]; 101 private void push(int[] lengths, Object[] values) { 114 val[index] = values; 121 Object[] values = new Object[] { choice.type[i], content }; local 123 push(null, values); 133 Object[] values = new Object[1]; local 153 Object[] values = new Object[type.length]; local 203 Object[] values = new Object[cv.length]; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
TSTInfo.java | 221 Object[] values = (Object[]) in.content; 225 if (values[i] != null) { 226 accuracy[i] = ASN1Integer.toIntValue(values[i]); 235 protected void getValues(Object object, Object[] values) { 241 values[i] = BigInteger.valueOf(accuracy[i]).toByteArray(); 266 Object[] values = (Object[]) in.content; 268 BigInteger nonce = (values[7] == null) ? null : new BigInteger( 269 (byte[]) values[7]); 272 ASN1Integer.toIntValue(values[0]), 273 ObjectIdentifier.toString((int[]) values[1]) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StreamItemPhotosTest.java | 49 ContentValues values = new ContentValues(); local 50 values.put(StreamItemPhotos.SORT_INDEX, 1); 51 values.put(StreamItemPhotos.PHOTO, photoData); 56 Uri uri = mResolver.insert(insertUri, values); 64 ContentValues values = new ContentValues(); local 65 values.put(StreamItemPhotos.STREAM_ITEM_ID, mStreamItemId); 66 values.put(StreamItemPhotos.SORT_INDEX, 1); 67 values.put(StreamItemPhotos.PHOTO, photoData); 69 Uri uri = mResolver.insert(StreamItems.CONTENT_PHOTO_URI, values);
|
MediaStore_FilesTest.java | 56 // Check that inserting empty values causes an exception. 57 ContentValues values = new ContentValues(); local 59 mResolver.insert(allFilesUri, values); 68 values.put(MediaColumns.DATA, dataPath); 69 Uri fileUri = mResolver.insert(allFilesUri, values); 86 values.put(MediaColumns.DATA, updatedPath); 87 assertEquals(1, mResolver.update(fileUri, values, null, null)); 91 Uri foo = mResolver.insert(allFilesUri, values); 107 values.clear(); 110 values.put(MediaColumns.DATA, b + "/testing") 143 ContentValues values = new ContentValues(); local 162 ContentValues values = new ContentValues(); local [all...] |
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/dx/src/com/android/dx/cf/code/ |
SwitchList.java | 28 /** {@code non-null;} list of test values */ 29 private final IntList values; field in class:SwitchList 32 * {@code non-null;} list of targets corresponding to the test values; there 48 this.values = new IntList(size); 56 values.setImmutable(); 77 return values.get(n); 112 * Gets the list of all case values. 117 return values; 154 values.add(value); 180 values.set(at, values.get(i)) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
GeneralSubtree.java | 109 Object[] values = (Object[]) in.content; 111 if (values[2] != null) { 112 maximum = ASN1Integer.toIntValue(values[2]); // no! 114 return new GeneralSubtree((GeneralName) values[0], 115 ASN1Integer.toIntValue(values[1]), 119 @Override protected void getValues(Object object, Object[] values) { 121 values[0] = gs.base; 122 values[1] = ASN1Integer.fromIntValue(gs.minimum); 124 values[2] = ASN1Integer.fromIntValue(gs.maximum);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 66 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
73 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
82 values[0] = accel[0] * ACCEL_CONVERSION;
83 values[1] = accel[1] * ACCEL_CONVERSION;
84 values[2] = accel[2] * ACCEL_CONVERSION;
93 * @param[out] values Linear Acceleration in body frame, length 3, (m/s^2). May show
100 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy,
110 values[0] = accel[0] * ACCEL_CONVERSION;
111 values[1] = accel[1] * ACCEL_CONVERSION;
112 values[2] = accel[2] * ACCEL_CONVERSION; [all...] |
/external/chromium/chrome/browser/tabs/ |
pinned_tab_test_utils.cc | 20 const std::vector<BrowserInit::LaunchWithProfile::Tab>& values) { 22 for (size_t i = 0; i < values.size(); ++i) { 25 result += TabToString(values[i]);
|
/external/chromium_org/chrome/browser/extensions/ |
extension_function_util.cc | 18 base::ListValue* values = static_cast<base::ListValue*>(value); local 19 for (size_t i = 0; i < values->GetSize(); ++i) { 21 if (!values->GetInteger(i, &v))
|
/external/hamcrest/src/org/hamcrest/ |
Description.java | 27 * Appends a list of values to the description.
30 T... values);
33 * Appends a list of values to the description.
36 Iterable<T> values);
43 Iterable<? extends SelfDescribing> values);
|
/external/libffi/testsuite/libffi.call/ |
float2.c | 21 void *values[MAX_ARGS]; local 26 values[0] = &f; 41 ffi_call(&cif, FFI_FN(ldblit), &ld, values);
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
Settings.java | 52 /** Bitfield of which flags that values. */ 61 /** Flag values. */ 62 private final int[] values = new int[COUNT]; field in class:Settings 65 if (id >= values.length) { 82 values[id] = value; 93 return values[id]; 104 /** Returns the number of settings that have values assigned. */ 111 return (bit & set) != 0 ? values[UPLOAD_BANDWIDTH] : defaultValue; 116 return (bit & set) != 0 ? values[DOWNLOAD_BANDWIDTH] : defaultValue; 121 return (bit & set) != 0 ? values[ROUND_TRIP_TIME] : defaultValue [all...] |
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
jni_multiclass_pa.cpp | 26 void CreateIndexValuePairs(const int* indices, const float* values, 31 pair<int, float> new_pair(indices[i], values[i]); 66 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local 71 if (values && indices && value_len == index_len) { 74 CreateIndexValuePairs(indices, values, value_len, &inputs); 77 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT); 82 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT); 99 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local 104 if (values && indices && value_len == index_len) { 106 CreateIndexValuePairs(indices, values, value_len, &inputs) [all...] |
/libcore/luni/src/main/java/java/io/ |
SerializationHandleMap.java | 29 private int[] values; field in class:SerializationHandleMap 46 int[] oldValues = values; 49 this.values = new int[newSize]; 57 values[index] = value; 65 return values[index]; 109 values[index] = -1; 113 int result = values[index]; 114 values[index] = _value; 136 result = values[index]; 157 values[index] = values[next] [all...] |
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
BP2TestCaseHelper.java | 126 Uri mockInsert(Uri uri, ContentValues values) { 128 Uri ret = getMockContentResolver().insert(uri, values); 133 int mockUpdate(Uri uri, ContentValues values, String where, 136 int ret = getMockContentResolver().update(uri, values, where, selectionArgs); 147 ContentValues values = new ContentValues(); local 148 values.put(BrowserContract.Bookmarks.TITLE, title); 149 values.put(BrowserContract.Bookmarks.URL, url); 150 values.put(BrowserContract.Bookmarks.IS_FOLDER, 0); 151 return insertBookmark(values); 154 public Uri insertBookmark(ContentValues values) { 163 ContentValues values = new ContentValues(); local 184 ContentValues values = new ContentValues(); local 195 ContentValues values = new ContentValues(); local [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogQueryTestUtils.java | 26 * Helper class to create test values for {@link CallLogQuery}. 30 Object[] values = new Object[]{ local 34 assertEquals(CallLogQuery._PROJECTION.length, values.length); 35 return values;
|
/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 | 40 /** {@code non-null;} initial values to be filled into an array */ 41 private final ArrayList<Constant> values; field in class:ArrayData 59 * @param values {@code non-null;} initial values to be filled into an array 62 ArrayList<Constant> values, 70 if (values == null) { 71 throw new NullPointerException("values == null"); 74 int sz = values.size(); 77 throw new IllegalArgumentException("Illegal number of init values"); 98 this.values = values [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
laststmtchanges.test | 11 # Tests to make sure that values returned by changes() and total_changes() 35 insert into t0 values (1); 36 insert into t0 values (1); 37 insert into t0 values (2); 38 insert into t0 values (2); 39 insert into t0 values (1); 40 insert into t0 values (1); 41 insert into t0 values (1); 42 insert into t0 values (2); 109 insert into t2 values (NULL, changes(), NULL) [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/60xx/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...] |