/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | 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 421 builderSetValues( ContentProviderOperation.Builder builder, ContentValues values) argument 538 insert(Uri uri, ContentValues values) argument 546 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 285 private void assertVertMetrics(Layout l, int topPad, int botPad, int... values) { argument 287 assertLinesMetrics(l, values); 290 private void assertLinesMetrics(Layout l, int... values) { argument 292 if ((values.length & 0x1) != 0) { 293 throw new IllegalArgumentException(String.valueOf(values.length)); 296 int lines = values.length >> 1; 301 int a = values[n]; 302 int d = values[n+1];
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 129 String[] values = null; 133 values = new String[headers.size()]; 138 values[i] = entry.getValue(); 147 values); 154 String[] values) throws IOException; 150 nativeSetDataSource( IBinder httpServiceBinder, String path, String[] keys, String[] values) argument
|
H A D | MediaMetadataRetriever.java | 98 String[] values = new String[headers.size()]; 101 values[i] = entry.getValue(); 109 values); 113 IBinder httpServiceBinder, String uri, String[] keys, String[] values) 339 /* Do not change these option values without updating their counterparts 376 * Do not change these metadata key values without updating their 112 _setDataSource( IBinder httpServiceBinder, String uri, String[] keys, String[] values) argument
|
H A D | MediaMuxer.java | 74 /* Do not change these values without updating their counterparts 89 Object[] values); 268 Object[] values = null; 272 values = new Object[mapSize]; 276 values[i] = entry.getValue(); 279 trackIndex = nativeAddTrack(mNativeObject, keys, values); 88 nativeAddTrack(long nativeObject, String[] keys, Object[] values) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 45 jobjectArray values) { 54 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, 43 android_media_MediaMuxer_addTrack( JNIEnv *env, jclass clazz, jlong nativeObject, jobjectArray keys, jobjectArray values) argument
|
H A D | android_media_Utils.cpp | 32 JNIEnv *env, jobjectArray keys, jobjectArray values, 37 if (keys != NULL && values != NULL) { 39 failed = (nKeyValuePairs != env->GetArrayLength(values)); 43 failed = ((keys != NULL && values == NULL) || 44 (keys == NULL && values != NULL)); 48 ALOGE("keys and values arrays have different length"); 57 jstring value = (jstring) env->GetObjectArrayElement(values, i); 283 JNIEnv *env, jobjectArray keys, jobjectArray values, 301 if (values == NULL) { 307 if (numEntries != env->GetArrayLength(values)) { 31 ConvertKeyValueArraysToKeyedVector( JNIEnv *env, jobjectArray keys, jobjectArray values, KeyedVector<String8, String8>* keyedVector) argument 282 ConvertKeyValueArraysToMessage( JNIEnv *env, jobjectArray keys, jobjectArray values, sp<AMessage> *out) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 54 // The shader program will bind these attributes to the correct values, if they 163 // When setting values, the value type must be match the type of the uniform 185 // Set the specified uniform value to the given values. Returns true 187 bool SetUniformValue(ProgramVar var, const int* values, int count); 189 // Set the specified uniform value to the given values. Returns true 191 bool SetUniformValue(ProgramVar var, const float* values, int count); 195 bool SetUniformValue(ProgramVar var, const std::vector<int>& values); 199 bool SetUniformValue(ProgramVar var, const std::vector<float>& values); 202 // to set the value of a uniform variable with the given name. Only values 218 // values mus 419 const void* values; member in struct:android::filterfw::ShaderProgram::VertexAttrib [all...] |
H A D | value.cpp | 53 Value MakePtrValue(const BASE* values, int count) { argument 57 memcpy(result.value, values, sizeof(BASE) * count); 193 Value MakeIntArrayValue(const int* values, int count) { argument 194 return MakePtrValue<int, INT_ARRAY_VALUE_TYPE>(values, count); 197 Value MakeFloatArrayValue(const float* values, int count) { argument 198 return MakePtrValue<float, FLOAT_ARRAY_VALUE_TYPE>(values, count);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 108 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument 110 return MockContentProvider.this.update(url, values, selection, selectionArgs); 199 public Uri insert(Uri uri, ContentValues values) { argument 215 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 223 public int bulkInsert(Uri uri, ContentValues[] values) { argument
|
H A D | MockIContentProvider.java | 91 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | StochasticLinearRankerWithPrior.java | 88 public float scoreSample(String[] keys, float[] values) { argument 90 return super.scoreSample(keys, values); 94 return (1 - mAutoAlpha) * super.scoreSample(keys,values) + 95 mAutoAlpha * priorScoreSample(keys,values); 97 return priorScoreSample(keys,values); 99 return (1 - mAlpha) * super.scoreSample(keys,values) + 100 mAlpha * priorScoreSample(keys,values); 104 public float priorScoreSample(String[] keys, float[] values) { argument 108 score = score + mPriorWeights.get(keys[i]) * values[i];
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | DecodeTask.java | 501 protected void onProgressUpdate(Void... values) { argument
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceSet.java | 51 * @param values The values retrieved from the Events table. 53 public RecurrenceSet(ContentValues values) argument 55 String rruleStr = values.getAsString(CalendarContract.Events.RRULE); 56 String rdateStr = values.getAsString(CalendarContract.Events.RDATE); 57 String exruleStr = values.getAsString(CalendarContract.Events.EXRULE); 58 String exdateStr = values.getAsString(CalendarContract.Events.EXDATE); 180 * Populates the database map of values with the appropriate RRULE, RDATE, 181 * EXRULE, and EXDATE values extracted from the parsed iCalendar component. 184 * @param values Th 190 populateContentValues(ICalendar.Component component, ContentValues values) argument 325 populateComponent(ContentValues values, ICalendar.Component component) argument [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
H A D | EventRecurrenceTest.java | 314 values = v; 318 int[] values; field in class:EventRecurrenceTest.Check 335 for (int n : ck.values) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccProvider.java | 337 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument 359 pin2 = values.getAsString("pin2"); 365 pin2 = values.getAsString("pin2"); 373 String tag = values.getAsString("tag"); 374 String number = values.getAsString("number"); 376 String newTag = values.getAsString("newTag"); 377 String newNumber = values.getAsString("newNumber");
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SmsMessageBodyTest.java | 261 int[] values = {0, 0, 0, SmsConstants.ENCODING_7BIT, 0, 0}; 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}; 313 values[ 382 fillData(int enabledLangsIndex, boolean use7bitOnly, int[] values, int length) argument [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | FileProvider.java | 402 * values are bound to <i>selection</i> as {@link java.lang.String} values. 419 Object[] values = new Object[projection.length]; 424 values[i++] = file.getName(); 427 values[i++] = file.length(); 432 values = copyOf(values, i); 435 cursor.addRow(values); 470 public Uri insert(Uri uri, ContentValues values) { argument 479 public int update(Uri uri, ContentValues values, Strin argument [all...] |
H A D | ModernAsyncTask.java | 217 * The specified values are the values passed to {@link #publishProgress}. 219 * @param values The values indicating progress. 225 protected void onProgressUpdate(Progress... values) { argument 445 * @param values The progress values to update the UI with. 450 protected final void publishProgress(Progress... values) { argument 453 new AsyncTaskResult<Progress>(this, values)).sendToTarget();
|
/frameworks/av/services/audioflinger/ |
H A D | test-resample.cpp | 65 // Convert a list of integers in CSV format to a Vector of those values. 67 int parseCSV(const char *string, Vector<int>& values) argument 69 // pass 1: count the number of values and do syntax check 80 // pass 2: allocate and initialize vector of values 81 values.resize(++numValues); 82 values.editItemAt(0) = atoi(p = optarg); 85 values.editItemAt(i++) = atoi(p);
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 187 ContentValues values = new ContentValues(); 194 parseBindValue(values); 203 if (values.size() == 0) { 207 return new InsertCommand(uri, userId, values); 236 ContentValues values = new ContentValues(); 245 parseBindValue(values); 254 if (values.size() == 0) { 258 return new UpdateCommand(uri, userId, values, where); 266 ContentValues values = new ContentValues(); 277 parseBindValue(values); 340 parseBindValue(ContentValues values) argument 464 CallCommand(Uri uri, int userId, String method, String arg, ContentValues values) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | SharedPreferencesImpl.java | 312 public Editor putStringSet(String key, Set<String> values) { argument 315 (values == null) ? null : new HashSet<String>(values));
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderOperation.java | 191 * {@link ContentProviderOperation} to assert a set of values as provided 235 ContentValues values = resolveValueBackReferences(backRefs, numBackRefs); 240 Uri newUri = provider.insert(mUri, values); 251 numRows = provider.update(mUri, values, mSelection, selectionArgs); 253 // Assert that all rows match expected values 255 if (values != null) { 256 // Build projection map from expected values 258 for (Map.Entry<String, Object> entry : values.valueSet()) { 270 final String expectedValue = values.getAsString(projection[i]); 272 // Throw exception when expected values do 526 withValues(ContentValues values) argument [all...] |
H A D | RestrictionEntry.java | 50 * and the corresponding values, respectively. 58 * and the corresponding values, respectively. 59 * The presentation could imply that values in lower array indices are included when a 70 * and the corresponding values, respectively. 77 * A type of restriction. Use this for storing an integer value. The range of values 104 /** The values corresponding to the user-visible choices. The value(s) of this entry will 152 * @param selectedStrings the list of values that are currently selected 190 * single string values. 197 * Returns the list of currently selected values. 248 * Sets the current list of selected values fo 428 writeArray(Parcel dest, String[] values) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | SystemSensorManager.java | 343 protected abstract void dispatchSensorEvent(int handle, float[] values, int accuracy, argument 380 protected void dispatchSensorEvent(int handle, float[] values, int inAccuracy, argument 393 // Copy from the values array. 394 System.arraycopy(values, 0, t.values, 0, t.values.length); 447 protected void dispatchSensorEvent(int handle, float[] values, int accuracy, argument 459 // Copy from the values array. 460 System.arraycopy(values, 0, t.values, [all...] |