/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DataUtil.java | 76 ContentValues newValues = new ContentValues(values); 77 newValues.put(ContactsContract.Data.RAW_CONTACT_ID, rawContactId); 79 Uri uri = resolver.insert(URI, newValues);
|
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
BlockNumberTaskFragment.java | 54 ContentValues newValues = new ContentValues(); 55 newValues.put(BlockedNumberContract.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, 58 newValues);
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
PresetSettingsListener.java | 39 final int[] newValues; 42 newValues = res.getIntArray(R.array.standard_setting_values); 45 newValues = res.getIntArray(R.array.cinema_setting_values); 48 newValues = res.getIntArray(R.array.vivid_setting_values); 51 newValues = res.getIntArray(R.array.game_setting_values); 62 prefs.putInt(keys[i], newValues[i]);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
StringToIntTable.java | 113 int newValues[] = new int[m_mapSize]; 115 System.arraycopy(m_values, 0, newValues, 0, m_firstFree + 1); 117 m_values = newValues;
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
StringToIntTable.java | 106 int newValues[] = new int[m_mapSize]; 108 System.arraycopy(m_values, 0, newValues, 0, m_firstFree + 1); 110 m_values = newValues;
|
/frameworks/base/core/java/android/util/ |
IntArray.java | 120 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); 121 System.arraycopy(mValues, 0, newValues, 0, currentSize); 122 mValues = newValues;
|
LongArray.java | 100 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); 101 System.arraycopy(mValues, 0, newValues, 0, currentSize); 102 mValues = newValues;
|
/external/icu/icu4c/source/i18n/ |
sortkey.cpp | 60 CollationKey::CollationKey(const uint8_t* newValues, int32_t count) 64 if (count < 0 || (newValues == NULL && count != 0) || 71 uprv_memcpy(getBytes(), newValues, count);
|
/external/proguard/src/proguard/evaluation/value/ |
InstructionOffsetValue.java | 189 int[] newValues = new int[newLength]; 195 System.arraycopy(thisValues, 0, newValues, 0, thisValues.length); 206 newValues[newIndex++] = thisValues[index]; 212 System.arraycopy(otherValues, 0, newValues, newIndex, otherValues.length); 214 return new InstructionOffsetValue(newValues);
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
MergedBinding.java | 100 final List<String> newValues = new ArrayList<String>(); 102 newValues.add(expr.toCode().generate()); 113 final String[] expressions = concat(oldValues, newValues, String.class);
|
/external/guava/guava/src/com/google/common/collect/ |
LinkedListMultimap.java | 610 Iterator<? extends V> newValues = values.iterator(); 613 while (keyValues.hasNext() && newValues.hasNext()) { 615 keyValues.set(newValues.next()); 625 while (newValues.hasNext()) { 626 keyValues.add(newValues.next());
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
LinkedListMultimap.java | 606 Iterator<? extends V> newValues = values.iterator(); 609 while (keyValues.hasNext() && newValues.hasNext()) { 611 keyValues.set(newValues.next()); 621 while (newValues.hasNext()) { 622 keyValues.add(newValues.next());
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactMetadataProviderTest.java | 159 ContentValues newValues = new ContentValues(); 160 newValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); 161 newValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); 162 newValues.put(MetadataSync.DATA_SET, TEST_DATA_SET1); 163 newValues.put(MetadataSync.RAW_CONTACT_BACKUP_ID, TEST_BACKUP_ID1); 164 newValues.put(MetadataSync.DATA, newData); 165 newValues.put(MetadataSync.DELETED, 0); 167 mResolver.insert(MetadataSync.CONTENT_URI, newValues); 309 ContentValues newValues = new ContentValues(); 310 newValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1) [all...] |
VoicemailProviderTest.java | 179 ContentValues newValues = getTestVoicemailValues(); 180 newValues.put(Voicemails.DIRTY, "0"); 181 assertStoredValues(uri, newValues);
|
/frameworks/base/core/java/android/widget/ |
SimpleAdapter.java | 379 ArrayList<Map<String, ?>> newValues = new ArrayList<Map<String, ?>>(count); 397 newValues.add(h); 405 results.values = newValues; 406 results.count = newValues.size();
|
ArrayAdapter.java | 570 final ArrayList<T> newValues = new ArrayList<>(); 578 newValues.add(value); 583 newValues.add(value); 590 results.values = newValues; 591 results.count = newValues.size();
|
/frameworks/base/core/java/com/android/internal/app/ |
SuggestedLocaleAdapter.java | 257 final ArrayList<LocaleStore.LocaleInfo> newValues = new ArrayList<>(); 267 newValues.add(value); 271 results.values = newValues; 272 results.count = newValues.size();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
Parallax.java | 459 int[] newValues = new int[size * 2]; 461 newValues[i] = mValues[i]; 463 mValues = newValues; 469 float[] newValues = new float[size * 2]; 471 newValues[i] = mFloatValues[i]; 473 mFloatValues = newValues;
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_FilesTest.java | 501 // or renamed. It only checks whether newValues only has one column but assumes the provided 502 // column is _data. We need to guard the case where there is only one column in newValues 504 ContentValues newValues = new ContentValues(1); 505 newValues.put(FileColumns.MEDIA_TYPE, FileColumns.MEDIA_TYPE_NONE); 506 mResolver.update(fileUri, newValues, null, null);
|
CalendarTest.java | [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
OpenIntToDoubleHashMap.java | 444 final double[] newValues = new double[newLength]; 452 newValues[index] = oldValues[i]; 459 values = newValues;
|
OpenIntToFieldHashMap.java | 456 final T[] newValues = buildArray(newLength); 464 newValues[index] = oldValues[i]; 471 values = newValues;
|
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 207 ArrayList<ListItem> newValues = new ArrayList<ListItem>(count); 219 newValues.add(item); 225 results.values = newValues; 226 results.count = newValues.size();
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
CameraMetadataNative.java | [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | [all...] |