HomeSort by relevance Sort by last modified time
    Searched refs:values (Results 301 - 325 of 2084) sorted by null

<<11121314151617181920>>

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForPhoneNumber.java 43 ContentValues values) {
45 if (values.containsKey(Phone.NUMBER)) {
46 String number = values.getAsString(Phone.NUMBER);
51 values.put(PhoneColumns.NORMALIZED_NUMBER, numberE164);
53 dataId = super.insert(db, txContext, rawContactId, values);
62 dataId = super.insert(db, txContext, rawContactId, values);
68 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values,
72 if (values.containsKey(Phone.NUMBER)) {
73 number = values.getAsString(Phone.NUMBER);
79 values.put(PhoneColumns.NORMALIZED_NUMBER, numberE164)
    [all...]
VoicemailContentProvider.java 103 public Uri insert(Uri uri, ContentValues values) {
104 UriData uriData = checkPermissionsAndCreateUriData(uri, values);
105 return getTableDelegate(uriData).insert(uriData, values);
119 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
120 UriData uriData = checkPermissionsAndCreateUriData(uri, values);
123 return getTableDelegate(uriData).update(uriData, values, selectionBuilder.build(),
239 VoicemailContract.AUTHORITY, VoicemailUriType.values());
245 public void checkAndAddSourcePackageIntoValues(UriData uriData, ContentValues values) {
246 // If content values don't contain the provider, calculate the right provider to use.
247 if (!values.containsKey(SOURCE_PACKAGE_FIELD))
    [all...]
ContactDirectoryManager.java 242 ContentValues values = new ContentValues(); local
243 values.put(Directory._ID, Directory.DEFAULT);
244 values.put(Directory.PACKAGE_NAME, mContext.getApplicationInfo().packageName);
245 values.put(Directory.DIRECTORY_AUTHORITY, ContactsContract.AUTHORITY);
246 values.put(Directory.TYPE_RESOURCE_ID, R.string.default_directory);
247 values.put(DirectoryColumns.TYPE_RESOURCE_NAME,
249 values.put(Directory.EXPORT_SUPPORT, Directory.EXPORT_SUPPORT_NONE);
250 values.put(Directory.SHORTCUT_SUPPORT, Directory.SHORTCUT_SUPPORT_FULL);
251 values.put(Directory.PHOTO_SUPPORT, Directory.PHOTO_SUPPORT_FULL);
252 db.replace(Tables.DIRECTORIES, null, values);
256 ContentValues values = new ContentValues(); local
426 ContentValues values = new ContentValues(); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Images_ThumbnailsTest.java 98 ContentValues values = new ContentValues(); local
99 values.put(Thumbnails.KIND, Thumbnails.MINI_KIND);
100 values.put(Thumbnails.DATA, path);
101 Uri uri = mContentResolver.insert(Thumbnails.INTERNAL_CONTENT_URI, values);
199 ContentValues values = new ContentValues(); local
200 values.put(Thumbnails.KIND, Thumbnails.FULL_SCREEN_KIND);
201 values.put(Thumbnails.IMAGE_ID, 0);
202 values.put(Thumbnails.HEIGHT, 480);
203 values.put(Thumbnails.WIDTH, 320);
204 values.put(Thumbnails.DATA, externalImgPath)
    [all...]
MediaStore_Images_MediaTest.java 259 ContentValues values = new ContentValues(); local
260 values.put(Media.ORIENTATION, 0);
261 values.put(Media.PICASA_ID, 0);
263 values.put(Media.DATE_TAKEN, dateTaken);
264 values.put(Media.DESCRIPTION, "This is a image");
265 values.put(Media.LATITUDE, 40.689060d);
266 values.put(Media.LONGITUDE, -74.044636d);
267 values.put(Media.IS_PRIVATE, 1);
268 values.put(Media.MINI_THUMB_MAGIC, 0);
269 values.put(Media.DATA, externalPath)
    [all...]
  /external/guava/src/com/google/common/collect/
ForwardingMultimap.java 88 public boolean putAll(K key, Iterable<? extends V> values) {
89 return delegate().putAll(key, values);
104 public Collection<V> replaceValues(K key, Iterable<? extends V> values) {
105 return delegate().replaceValues(key, values);
112 public Collection<V> values() { method in class:ForwardingMultimap
113 return delegate().values();
  /external/webkit/Source/JavaScriptCore/runtime/
Lookup.cpp 35 for (int i = 0; values[i].key; ++i) {
36 StringImpl* identifier = Identifier::add(globalData, values[i].key).leakRef();
49 entry->initialize(identifier, values[i].attributes, values[i].value1, values[i].value2
51 , values[i].generator
  /frameworks/base/core/java/android/provider/
SearchRecentSuggestions.java 102 // client-provided configuration values
113 * because it needs to be initialized using the same values that you provided in your
132 // saved values
136 // derived values
187 ContentValues values = new ContentValues(); local
188 values.put(SuggestionColumns.DISPLAY1, queryString);
190 values.put(SuggestionColumns.DISPLAY2, line2);
192 values.put(SuggestionColumns.QUERY, queryString);
193 values.put(SuggestionColumns.DATE, now);
194 cr.insert(mSuggestionsUri, values);
    [all...]
  /frameworks/base/core/java/android/view/
OrientationEventListener.java 119 float[] values = event.values; local
121 float X = -values[_DATA_X];
122 float Y = -values[_DATA_Y];
123 float Z = -values[_DATA_Z];
139 mOldListener.onSensorChanged(Sensor.TYPE_ACCELEROMETER, event.values);
  /frameworks/ex/chips/src/com/android/ex/chips/
ChipsUtil.java 69 ContentValues values = new ContentValues(); local
70 values.put(ContactsContract.Contacts.LAST_TIME_CONTACTED,
72 resolver.update(ContactsContract.Contacts.CONTENT_URI, values,
89 final ContentValues values = new ContentValues(); local
90 values.put("last_time_contacted", currentTimeMillis);
91 resolver.update(Data.CONTENT_URI, values,
  /frameworks/opt/vcard/java/com/android/vcard/
VCardProperty.java 44 * or multiple values representing the parameter.
93 Collection<String> values; local
96 values = new HashSet<String>();
98 values = new ArrayList<String>();
100 mParameterMap.put(paramName, values);
102 values = mParameterMap.get(paramName);
104 values.add(paramValue);
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
AlgorithmIdentifier.java 149 Object[] values = (Object[]) in.content;
151 .toString((int[]) values[0]), (byte[]) values[1]);
154 @Override protected void getValues(Object object, Object[] values) {
158 values[0] = ObjectIdentifier.toIntArray(aID.getAlgorithm());
159 values[1] = aID.getParameters();
  /packages/apps/Contacts/src/com/android/contacts/model/
EntityModifier.java 358 // Fill-in with any requested default values
381 ValuesDelta values = state.getValues(); local
382 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE);
383 final String dataSet = values.getAsString(RawContacts.DATA_SET);
395 ValuesDelta values = state.getValues(); local
396 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE);
397 final String dataSet = values.getAsString(RawContacts.DATA_SET);
422 // Skip any values that haven't been touched
473 public static boolean isEmpty(ValuesDelta values, DataKind kind) {
475 return values.isInsert() && values.getAsByteArray(Photo.PHOTO) == null
582 ArrayList<ContentValues> values = extras.getParcelableArrayList(Insert.DATA); local
952 ContentValues values = entry.getAfter(); local
1011 final ContentValues values = local
1140 final ContentValues values = entry.getAfter(); local
1236 final ContentValues values = entry.getAfter(); local
1287 ContentValues values = entry.getAfter(); local
1361 final ContentValues values = entry.getAfter(); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/
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.toString())
213 final Object[] values = new Object[valueSet.size()]; local
230 ContentValues values = new ContentValues(); local
266 final ContentValues values = new ContentValues(); local
291 ContentValues values = new ContentValues(); local
    [all...]
  /libcore/luni/src/test/java/tests/java/sql/
SelectFunctionalityTest.java 399 HashMap<Integer, Integer> values = new HashMap<Integer, Integer>(); local
400 values.put(100, 3006);
401 values.put(200, 2005);
402 values.put(300, 2009);
407 assertTrue("Wrong value of rating field", values
409 assertEquals("Wrong value of sum field", values.get(rating),
411 assertEquals(new Integer(sum), values.remove(rating));
414 assertTrue("Result set has wrong size", values.isEmpty());
426 ArrayList<Integer> values = new ArrayList<Integer>(); local
427 values.add(Integer.valueOf(3001))
459 HashSet<Integer> values = new HashSet<Integer>(); local
531 HashSet<Double> values = new HashSet<Double>(); local
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProvider2.java 664 ContentValues values = new ContentValues(); local
665 values.put(Events.DTSTART, get2445ToMillis(timezone, dtStart2445));
666 values.put(Events.DTEND, get2445ToMillis(timezone, dtEnd2445));
668 int result = mDb.update(Tables.EVENTS, values, SQL_WHERE_ID,
672 Log.v(TAG, "Could not update Events table with values " + values);
1688 ContentValues values = new ContentValues(); local
2480 ContentValues values = new ContentValues(); local
2590 ContentValues values = new ContentValues(); local
2603 ContentValues values = new ContentValues(); local
2982 ContentValues values = new ContentValues(); local
3251 ContentValues values = new ContentValues(); local
3396 ContentValues values = new ContentValues(); local
    [all...]
  /packages/apps/Browser/src/com/android/browser/provider/
BrowserProvider2.java 473 ContentValues values = new ContentValues(); local
474 values.put(Settings.KEY, Settings.KEY_SYNC_ENABLED);
475 values.put(Settings.VALUE, 1);
476 insertSettingsInTransaction(db, values);
521 ContentValues values = new ContentValues(); local
522 values.put(Bookmarks.URL, c.getString(0));
523 values.put(Bookmarks.TITLE, c.getString(1));
524 values.put(Bookmarks.DATE_CREATED, c.getInt(4));
525 values.put(Bookmarks.POSITION, 0);
526 values.put(Bookmarks.PARENT, FIXED_ID_ROOT)
549 ContentValues values = new ContentValues(); local
626 ContentValues values = new ContentValues(); local
1199 ContentValues values = new ContentValues(); local
1923 ContentValues values = new ContentValues(count); local
    [all...]
  /external/chromium/chrome/browser/
process_info_snapshot_mac.cc 241 uint64_t values[4]; local
243 for (i = 0; i < arraysize(values); i++) {
244 in >> values[i]; local
258 values[i] *= scale;
260 if (i != arraysize(values))
264 proc_info.rss = values[0];
265 proc_info.rshrd = values[1];
266 proc_info.rprvt = values[2];
267 proc_info.vsize = values[3];
322 uint64_t values[4] local
325 in >> values[i]; local
    [all...]
  /libcore/luni/src/main/java/java/lang/
ThreadLocal.java 28 * {@code null} values.
54 Values values = values(currentThread); local
55 if (values != null) {
56 Object[] table = values.table;
57 int index = hash & values.mask;
62 values = initializeValues(currentThread);
65 return (T) values.getAfterMiss(this);
87 Values values = values(currentThread) local
104 Values values = values(currentThread); local
120 Values values(Thread current) { method in class:ThreadLocal
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/
StreamItemPopulatorActivity.java 259 ContentValues values = new ContentValues();
261 values.put(StreamItems.TEXT,
266 values.put(StreamItems.RES_PACKAGE, "com.android.contacts.tests");
268 values.put(StreamItems.RES_LABEL, labelResources[sourceIndex]);
270 values.put(StreamItems.RES_ICON, iconResources[sourceIndex]);
274 values.put(StreamItems.COMMENTS, pickRandom(commentStrings));
276 values.put(StreamItems.COMMENTS, "");
279 values.put(StreamItems.TIMESTAMP,
281 values.put(RawContacts.ACCOUNT_TYPE, accountType);
282 values.put(RawContacts.ACCOUNT_NAME, accountName)
    [all...]
  /external/webkit/Source/JavaScriptCore/
create_hash_table 42 my @values = ();
75 @values = ();
89 push(@values, { "type" => "Function", "function" => $val, "params" => (length($param) ? $param : "") });
94 push(@values, { "type" => "Property", "get" => $get, "put" => $put });
96 push(@values, { "type" => "Lexer", "value" => $val });
239 my $nameEntries = "${name}Values";
262 if ($values[$i]{"type"} eq "Function") {
264 $firstValue = $values[$i]{"function"};
265 $secondValue = $values[$i]{"params"};
266 } elsif ($values[$i]{"type"} eq "Property")
    [all...]
  /frameworks/base/core/java/android/preference/
MultiSelectListPreference.java 35 * This set will contain one or more values from the
98 * @param entryValues The array to be used as values to save for the preference.
106 * @param entryValuesResId The entry values array as a resource.
113 * Returns the array of values to be saved for the preference.
115 * @return The array of values.
125 * @param values The values to set for the key.
127 public void setValues(Set<String> values) {
128 mValues = values;
130 persistStringSet(values);
185 final Set<String> values = mValues; local
200 final Set<String> values = mNewValues; local
240 Set<String> values; field in class:MultiSelectListPreference.SavedState
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
PhoneticNameEditorView.java 38 public PhoneticValuesDelta(ValuesDelta values) {
39 mValues = values;
64 ContentValues values = PhoneticNameEditorView.parsePhoneticName(value, null); local
66 values.getAsString(StructuredName.PHONETIC_FAMILY_NAME));
68 values.getAsString(StructuredName.PHONETIC_MIDDLE_NAME));
70 values.getAsString(StructuredName.PHONETIC_GIVEN_NAME));
96 * If this method cannot parse given phoneticName, null values will be stored.
99 * @param values ContentValues to be used for storing data. If null, new instance will be
103 public static ContentValues parsePhoneticName(String phoneticName, ContentValues values) {
126 if (values == null)
    [all...]
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 162 ContentValues values; local
164 values = new ContentValues(initialValues);
166 values = new ContentValues();
169 if (values.containsKey(Words.WORD) == false) {
173 if (values.containsKey(Words.FREQUENCY) == false) {
174 values.put(Words.FREQUENCY, "1");
177 if (values.containsKey(Words.LOCALE) == false) {
178 values.put(Words.LOCALE, (String) null);
181 values.put(Words.APP_ID, 0);
184 long rowId = db.insert(USERDICT_TABLE_NAME, Words.WORD, values);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
MatrixTest.java 298 float[] values = new float[9]; local
299 mMatrix.getValues(values);
333 float[] values = new float[9]; local
334 values[0] = 1000;
336 matrix.setValues(values);
428 float[] values = new float[9]; local
429 values[0] = 1000;
430 matrix.setValues(values);
484 float[] values = new float[9]; local
485 values[0] = 1000f
583 float[] values = new float[9]; local
710 float[] values = new float[9]; local
    [all...]

Completed in 1132 milliseconds

<<11121314151617181920>>