/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactAggregatorTest.java | 247 ContentValues values = new ContentValues(); local 248 values.put(StructuredName.DISPLAY_NAME, "604 Arizona Ave"); 249 values.put(StructuredName.GIVEN_NAME, "604"); 250 values.put(StructuredName.MIDDLE_NAME, "Arizona"); 251 values.put(StructuredName.FAMILY_NAME, "Ave"); 252 insertStructuredName(rawContactId1, values); 255 values.clear(); 256 values.put(StructuredName.DISPLAY_NAME, "604 Arizona Ave"); 257 values.put(StructuredName.GIVEN_NAME, "604"); 258 values.put(StructuredName.FAMILY_NAME, "Arizona Ave") 265 ContentValues values = new ContentValues(); local 441 ContentValues values = new ContentValues(); local 985 ContentValues values = new ContentValues(); local 1256 ContentValues values = new ContentValues(); local [all...] |
/packages/providers/DrmProvider/src/com/android/providers/drm/ |
DrmProvider.java | 203 * Ensures there is a file in the _data column of values, if one isn't 206 * @param initialValues the values passed to insert by the caller 207 * @return the new values 214 ContentValues values = new ContentValues(initialValues); local 215 values.put("_data", file.toString()); 216 return values; 242 ContentValues values = ensureFile(initialValues); local 243 if (values == null) return null; 244 rowId = db.insert("audio", "title", values); 252 ContentValues values = ensureFile(initialValues) local [all...] |
/cts/tests/appsecurity-tests/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
CreatePrivateDataTest.java | 79 ContentValues values = new ContentValues(1); local 80 values.put(DB_COLUMN, DB_VALUE); 81 assertTrue(db.insert(DB_TABLE_NAME, null, values) != -1);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ObjectAnimatorTest.java | 112 Object[] values = {new Integer(startColor), new Integer(endColor)}; local 115 evaluator, values); 133 int values[] = {startColor, endColor}; local 135 PropertyValuesHolder propertyValuesHolder = PropertyValuesHolder.ofInt(propertyName, values); 155 Object[] values = {new Integer(startColor), new Integer(endColor)}; local 158 evaluator, values); 169 Object[] values = {new Integer(startColor), new Integer(endColor)}; local 172 evaluator, values); 183 float[] values = {startY, endY}; local 187 objAnimator.setFloatValues(values); 204 Object[] values = {new Integer(startColor), new Integer(endColor)}; local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_ThumbnailsTest.java | 92 ContentValues values = new ContentValues(); local 93 values.put(VideoColumns.DATA, file.getAbsolutePath()); 94 return mResolver.insert(Media.EXTERNAL_CONTENT_URI, values);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderThrottle.java | 275 ContentValues values; local 278 values = new ContentValues(initialValues); 280 values = new ContentValues(); 283 if (values.containsKey(MainTable.COLUMN_NAME_DATA) == false) { 284 values.put(MainTable.COLUMN_NAME_DATA, ""); 289 long rowId = db.insert(MainTable.TABLE_NAME, null, values); 341 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { 349 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); 357 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); 443 ContentValues values = new ContentValues() [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderThrottleSupport.java | 276 ContentValues values; local 279 values = new ContentValues(initialValues); 281 values = new ContentValues(); 284 if (values.containsKey(MainTable.COLUMN_NAME_DATA) == false) { 285 values.put(MainTable.COLUMN_NAME_DATA, ""); 290 long rowId = db.insert(MainTable.TABLE_NAME, null, values); 342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { 350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); 358 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); 444 ContentValues values = new ContentValues() [all...] |
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 69 // We are going to initialize the data provider with some default values 106 public Uri insert(Uri uri, ContentValues values) { 118 public synchronized int update(Uri uri, ContentValues values, String selection, 123 // temperature values. 129 data.degrees = values.getAsInteger(Columns.TEMPERATURE);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
WeakHashMapTest.java | 173 List<Object> values = Arrays.asList(VALUE_ARRAY); local 184 assertTrue("Assert 2: Invalid map entry value returned", values 191 keys = values = null; 246 List values = Arrays.asList(valueArray); local 255 assertTrue("Invalid map entry returned--bad key", values 259 values = null; 350 List values = Arrays.asList(valueArray); local 361 values = null; 405 * @tests java.util.WeakHashMap#values() 408 // Test for method java.util.Set java.util.WeakHashMap.values() 414 List values = Arrays.asList(valueArray); local [all...] |
/external/apache-http/src/org/apache/http/util/ |
EntityUtils.java | 96 HeaderElement values[] = entity.getContentType().getElements(); local 97 if (values.length > 0) { 98 NameValuePair param = values[0].getParameterByName("charset");
|
/frameworks/base/core/java/android/content/ |
ContentQueryMap.java | 54 * @param columnNameOfKey the column that is to be used as the key of the values map 103 // let it query lazily when they ask for the values. 149 // Make a new map so old values returned by getRows() are undisturbed. 153 ContentValues values = new ContentValues(); local 156 values.put(mColumnNames[i], cursor.getString(i)); 159 mValues.put(cursor.getString(mKeyColumn), values); local
|
/frameworks/base/core/java/android/net/ |
Downloads.java | 60 * Warning: there might be other status values that indicate success 74 * Warning: there will be other status values that indicate errors in 493 ContentValues values = new ContentValues(); local 494 values.put(android.provider.Downloads.Impl.COLUMN_URI, url); 495 values.put(android.provider.Downloads.Impl.COLUMN_COOKIE_DATA, cookieData); 496 values.put(android.provider.Downloads.Impl.COLUMN_VISIBILITY, 500 values.put(android.provider.Downloads.Impl.COLUMN_TITLE, title); 502 values.put(android.provider.Downloads.Impl.COLUMN_APP_DATA, url); 525 values.put(android.provider.Downloads.Impl.COLUMN_DESTINATION, destination); 526 values.put(android.provider.Downloads.Impl.COLUMN_NO_INTEGRITY [all...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerProvider.java | 99 public Uri insert(Uri uri, ContentValues values) { 101 long rowId = db.insert(TABLE_NAME, null, values); 122 public int update(Uri uri, ContentValues values, String selection,
|
/packages/apps/Contacts/src/com/android/contacts/ |
ProximitySensorManager.java | 103 if (event.values == null) return; 104 if (event.values.length == 0) return; 105 float value = event.values[0];
|
/packages/apps/Mms/src/com/android/mms/util/ |
RateController.java | 95 ContentValues values = new ContentValues(1); local 96 values.put(Rate.SENT_TIME, System.currentTimeMillis()); 98 Rate.CONTENT_URI, values);
|
/packages/apps/Phone/src/com/android/phone/ |
AccelerometerListener.java | 118 // If some values are exactly zero, then likely the sensor is not powered up yet. 135 onSensorEvent(event.values[0], event.values[1], event.values[2]);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutMetadata.java | 124 String[] values = valuesString.split(","); //$NON-NLS-1$ local 125 if (values.length == 1) { 126 valuesString = values[0].trim(); 128 values = valuesString.split("\n"); //$NON-NLS-1$ 132 for (int j = 0; j < values.length; j++) { 133 String value = values[j].trim(); 177 String[] values = valuesString.split(","); //$NON-NLS-1$ local 178 if (values.length == 1) { 179 valuesString = values[0].trim(); 181 values = valuesString.split("\n"); //$NON-NLS-1 [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/ |
CallLogFragmentTest.java | 208 Object[] values = getValuesToInsert(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE); local 209 values[CallLogQuery.CACHED_FORMATTED_NUMBER] = TEST_FORMATTED_NUMBER; 210 insertValues(values); 459 * It includes the values for the cached contact associated with the number. 500 /** Inserts the given values in the cursor. */ 501 private void insertValues(Object[] values) { 502 mCursor.addRow(values); 507 * Returns the values for a new call entry. 516 Object[] values = CallLogQueryTestUtils.createTestExtendedValues(); local 517 values[CallLogQuery.ID] = mIndex [all...] |
/external/chromium/chrome/browser/autofill/ |
autofill_manager_unittest.cc | 235 const std::vector<string16>& values, 246 ASSERT_EQ(expected_num_suggestions, values.size()); 252 EXPECT_EQ(expected_values[i], values[i]); 524 std::vector<string16>* values, 538 if (values) 539 *values = autofill_param.b; 619 std::vector<string16> values; local 624 &page_id, &values, &labels, &icons, &unique_ids); 638 ExpectSuggestions(page_id, values, labels, icons, unique_ids, 663 std::vector<string16> values; local 732 std::vector<string16> values; local 789 std::vector<string16> values; local 855 std::vector<string16> values; local 900 std::vector<string16> values; local 934 std::vector<string16> values; local 977 std::vector<string16> values; local 1051 std::vector<string16> values; local 1101 std::vector<string16> values; local 1175 std::vector<string16> values; local 1247 std::vector<string16> values; local 1293 std::vector<string16> values; local 1335 std::vector<string16> values; local 1381 std::vector<string16> values; local 1428 std::vector<string16> values; local 1475 std::vector<string16> values; local [all...] |
/cts/tests/src/android/content/cts/ |
DummyProvider.java | 100 public Uri insert(Uri uri, ContentValues values) { 106 db.insert(tbName, VALUE, values); 165 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 171 int count = db.update(tbName, values, selection, selectionArgs);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Interpolator_ResultTest.java | 43 method = "values", 47 Result[] result = Result.values();
|
Path_DirectionTest.java | 42 method = "values", 50 Direction[] actual = Direction.values();
|
Shader_TileModeTest.java | 43 method = "values", 47 TileMode[] tileMode = TileMode.values();
|
/cts/tests/tests/net/src/android/net/cts/ |
LocalSocketAddress_NamespaceTest.java | 42 notes = "Test values().", 43 method = "values", 47 Namespace[] expected = Namespace.values();
|
/cts/tools/dex-tools/test/dex/reader/util/ |
SpecialJavaFileManager.java | 51 return new HashSet<MemoryByteCode>(store.values());
|