/packages/apps/Browser/tests/src/com/android/browser/tests/ |
BP1to2UpgradeTests.java | 86 ContentValues values = new ContentValues(); local 87 values.put(BookmarkColumns.URL, "http://slashdot.org/"); 88 values.put(BookmarkColumns.BOOKMARK, 0); 89 values.put(BookmarkColumns.DATE, 123456); 90 mBp1.insert(Browser.BOOKMARKS_URI, values); 115 ContentValues values = new ContentValues(); local 116 values.put(BookmarkColumns.URL, "http://slashdot.org/"); 117 values.put(BookmarkColumns.BOOKMARK, 1); 118 values.put(BookmarkColumns.CREATED, 123456); 119 mBp1.insert(Browser.BOOKMARKS_URI, values); [all...] |
/external/chromium/net/base/ |
x509_cert_types_mac.cc | 139 std::vector<std::string>* values[]) { 142 values[oid]->push_back(value); 149 void SetSingle(const std::vector<std::string>& values, 152 LOG_IF(WARNING, values.size() > 1) << "Didn't expect multiple values"; 153 if (!values.empty()) 154 *single_value = values[0]; 201 // Now scan the structs and add the values to my string vectors. 206 std::vector<std::string>* values[] = { local 214 DCHECK(arraysize(kOIDs) == arraysize(values)); 273 std::vector<std::string>* values[] = { local [all...] |
/external/chromium/third_party/libjingle/source/talk/site_scons/ |
talk.py | 311 """Take a dictionary of arguments to lists of values, and, depending on 338 for arg, values in params.iteritems(): 354 AddToDict(merged, key, values) 416 # add default values 452 values = GetEntry(params, field) 453 if values is not None: 454 env.Append(**{var : values}) 456 values = GetEntry(params, field) 457 if values is not None: 458 env.Prepend(**{var : values}) [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 208 ContentValues values = new ContentValues(); 209 values.put(Files.FileColumns.DATA, ""); 212 db.update("files", values, where, whereArgs); 1624 ContentValues values = new ContentValues(); local 1656 ContentValues values = new ContentValues(); local 2379 ContentValues values; local 2512 ContentValues values = new ContentValues(); local 2576 ContentValues values = null; local 2657 computeDisplayName(values.getAsString(MediaStore.MediaColumns.DATA), values); local 2907 ContentValues values = new ContentValues(); local 2927 ContentValues values = new ContentValues(); local 2970 ContentValues values = ensureFile(database.mInternal, initialValues, ".jpg", local 2982 ContentValues values = ensureFile(database.mInternal, initialValues, ".jpg", local 3005 ContentValues values = new ContentValues(initialValues); local 3016 ContentValues values = new ContentValues(initialValues); local 3036 ContentValues values = new ContentValues(initialValues); local 3046 ContentValues values = new ContentValues(initialValues); local 3058 ContentValues values = new ContentValues(initialValues); local 3080 ContentValues values = null; local 3498 ContentValues values = new ContentValues(initialValues); local 3610 ContentValues values = new ContentValues(initialValues); local 3962 ContentValues values = ensureFile(false, initialValues, "", ALBUM_THUMB_FOLDER); local [all...] |
/system/media/mca/filterfw/java/android/filterfw/core/ |
Filter.java | 197 for (InputPort inputPort : mInputPorts.values()) { 207 for (OutputPort outputPort : mOutputPorts.values()) { 286 for (InputPort inputPort : mInputPorts.values()) { 429 return mInputPorts.values(); 433 return mOutputPorts.values(); 510 for (OutputPort outputPort : mOutputPorts.values()) { 518 for (InputPort inputPort : mInputPorts.values()) { 524 for (OutputPort outputPort : mOutputPorts.values()) { 548 private final void initFinalPorts(KeyValueMap values) { 551 addAndSetFinalPorts(values); [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
EmailContent.java | 312 ContentValues values = new ContentValues(); local 314 // Assign values for each row. 315 values.put(BodyColumns.MESSAGE_KEY, mMessageKey); 316 values.put(BodyColumns.HTML_CONTENT, mHtmlContent); 317 values.put(BodyColumns.TEXT_CONTENT, mTextContent); 318 values.put(BodyColumns.HTML_REPLY, mHtmlReply); 319 values.put(BodyColumns.TEXT_REPLY, mTextReply); 320 values.put(BodyColumns.SOURCE_MESSAGE_KEY, mSourceKey); 321 values.put(BodyColumns.INTRO_TEXT, mIntroText); 322 return values; 759 ContentValues values = new ContentValues(); local 1197 ContentValues values = new ContentValues(); local [all...] |
/frameworks/base/core/java/android/app/ |
DownloadManager.java | 392 /** can take any of the following values: {@link #VISIBILITY_HIDDEN} 596 * It can take the following values: {@link #VISIBILITY_HIDDEN}, 648 ContentValues values = new ContentValues(); local 650 values.put(Downloads.Impl.COLUMN_URI, mUri.toString()); 651 values.put(Downloads.Impl.COLUMN_IS_PUBLIC_API, true); 652 values.put(Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE, packageName); 655 values.put(Downloads.Impl.COLUMN_DESTINATION, Downloads.Impl.DESTINATION_FILE_URI); 656 values.put(Downloads.Impl.COLUMN_FILE_NAME_HINT, mDestinationUri.toString()); 658 values.put(Downloads.Impl.COLUMN_DESTINATION, 664 values.put(Downloads.Impl.COLUMN_MEDIA_SCANNED, (mScannable) ? SCANNABLE_VALUE_YES 884 ContentValues values = request.toContentValues(mPackageName); local 904 ContentValues values = new ContentValues(); local 1057 ContentValues values = new ContentValues(); local 1139 ContentValues values = request.toContentValues(null); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | 114 * Creates a new set of values for creating a single calendar with every 118 * @param seed A number used to generate the values 119 * @return A complete set of values for the calendar 124 ContentValues values = new ContentValues(); local 125 values.put(Calendars.ACCOUNT_TYPE, CTS_TEST_TYPE); 127 values.put(Calendars.ACCOUNT_NAME, account); 128 values.put(Calendars._SYNC_ID, "SYNC_ID:" + seedString); 129 values.put(Calendars.CAL_SYNC7, "SYNC_V:" + seedString); 130 values.put(Calendars.CAL_SYNC8, "SYNC_TIME:" + seedString); 131 values.put(Calendars.DIRTY, 0) 164 ContentValues values = new ContentValues(); local 226 ContentValues values = new ContentValues(); local 344 ContentValues values = new ContentValues(); local 424 ContentValues values = getNewEventValues(account, seed, calendarId, asSyncAdapter); local 447 ContentValues values = new ContentValues(); local 456 ContentValues values = new ContentValues(); local 941 ContentValues values = entity.getEntityValues(); local 1412 ContentValues values = CalendarHelper.getNewCalendarValues(account, seed); local 1510 ContentValues values = CalendarHelper.getNewCalendarValues(account, seed); local 1550 ContentValues values = SyncStateHelper.getNewSyncStateValues(account); local 2863 ContentValues values = new ContentValues(); local 2872 ContentValues values = new ContentValues(); local [all...] |
MediaStore_VideoTest.java | 73 ContentValues values = new ContentValues(); local 75 values.put(VideoColumns.DATA, valueOfData); 77 Uri newUri = mContentResolver.insert(Video.Media.INTERNAL_CONTENT_URI, values);
|
/frameworks/base/core/java/android/provider/ |
Browser.java | 319 ContentValues values = new ContentValues(); local 321 values.put(History.VISITS, c.getInt(1) + 1); 323 values.put(History.USER_ENTERED, 1); 325 values.put(History.DATE_LAST_VISITED, now); 327 values, null, null); local 330 ContentValues values = new ContentValues(); local 340 values.put(History.URL, url); 341 values.put(History.VISITS, visits); 342 values.put(History.DATE_LAST_VISITED, now); 343 values.put(History.TITLE, url) 537 ContentValues values = new ContentValues(); local [all...] |
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
WapPushManager.java | 266 ContentValues values = new ContentValues(); local 268 values.put("x_wap_application", x_app_id); 269 values.put("content_type", content_type); 270 values.put("package_name", package_name); 271 values.put("class_name", class_name); 272 values.put("app_type", app_type); 273 values.put("need_signature", need_signature ? 1 : 0); 274 values.put("further_processing", further_processing ? 1 : 0); 275 values.put("install_order", sq); 276 db.insert(APPID_TABLE_NAME, null, values); 311 ContentValues values = new ContentValues(); local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ProgramStoreTest.java | 52 for (DepthFunc df : DepthFunc.values()) { 53 for (BlendSrcFunc bsf : BlendSrcFunc.values()) { 54 for (BlendDstFunc bdf : BlendDstFunc.values()) { 91 assertEquals(8, BlendDstFunc.values().length); 114 assertEquals(9, BlendSrcFunc.values().length); 132 assertEquals(7, DepthFunc.values().length);
|
/dalvik/vm/hprof/ |
Hprof.h | 64 /* Values for the first byte of 197 const u1 *values, size_t numValues); 203 const u2 *values, size_t numValues); 207 const u4 *values, size_t numValues); 211 const u8 *values, size_t numValues); 214 #define hprofAddIdListToRecord(rec, values, numValues) \ 215 hprofAddU4ListToRecord((rec), (const u4 *)(values), (numValues))
|
/external/icu4c/test/perf/unisetperf/draft/ |
bitset.cpp | 32 uint16_t values[0x800]; member in struct:BMPBitHash 38 // Fill values[] with 0xffff. 39 uprv_memset(values, 0xff, sizeof(values)); 54 if(values[hash]==0xffff) { 58 return values[hash]=count++; 61 return values[hash]; 73 * indexed by their mapped values.
|
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProvider.java | 78 ContentValues values = new ContentValues(); local 79 values.put("_id", 1); 80 values.put("_blob", TEST_BLOB); 81 values.put("integer", 100); 82 db.insert("data", null, values); 163 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
|
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
RecurrenceSet.java | 50 * @param values The values retrieved from the Events table. 52 public RecurrenceSet(ContentValues values) 54 String rruleStr = values.getAsString(CalendarContract.Events.RRULE); 55 String rdateStr = values.getAsString(CalendarContract.Events.RDATE); 56 String exruleStr = values.getAsString(CalendarContract.Events.EXRULE); 57 String exdateStr = values.getAsString(CalendarContract.Events.EXDATE); 169 * Populates the database map of values with the appropriate RRULE, RDATE, 170 * EXRULE, and EXDATE values extracted from the parsed iCalendar component. 173 * @param values The db values that should be updated [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionProviderCursor.java | 35 public Row addRow(Object... values) { 36 Row row = new Row(values); 92 public Row(Object... values) { 93 if (values.length > mColumns.length) { 97 for (int i = 0; i < values.length; ++i) { 98 setColumn(i, values[i]);
|
MockCorpora.java | 61 return Collections.unmodifiableList(new ArrayList<Corpus>(mCorporaByName.values())); 73 for (Corpus corpus : mCorporaByName.values()) { 92 for (Corpus corpus : mCorporaByName.values()) {
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
MetaData.java | 30 * values to avoid repeatedly banging on the database. It is also used 31 * for writing the values back to the database, while maintaining the 160 * Writes the meta-data for the CalendarProvider. The values to write are 161 * passed in as parameters. All of the values are updated atomically, 185 * Writes the meta-data for the CalendarProvider. The values to write are 186 * passed in as parameters. All of the values are updated atomically, 195 ContentValues values = new ContentValues(); local 196 values.put("_id", 1); 197 values.put(CalendarMetaData.LOCAL_TIMEZONE, timezone); 198 values.put(CalendarMetaData.MIN_INSTANCE, begin) [all...] |
/development/samples/RenderScript/Balls/src/com/example/android/rs/balls/ |
Balls.java | 60 //android.util.Log.d("rs", "sensor: " + event.sensor + ", x: " + event.values[0] + ", y: " + event.values[1] + ", z: " + event.values[2]); 64 mView.setAccel(event.values[0], event.values[1], event.values[2]);
|
/external/libffi/testsuite/libffi.call/ |
struct8.c | 31 void *values[MAX_ARGS]; local 51 values[0] = &ts8_arg; 66 ffi_call(&cif, FFI_FN(struct8), ts8_result, values);
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
DdmServer.java | 109 Collection values = mHandlerMap.values(); local 110 Iterator iter = values.iterator();
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ProviderStatusLoader.java | 123 ContentValues values = new ContentValues(); local 124 values.put(ProviderStatus.STATUS, ProviderStatus.STATUS_UPGRADING); 125 mContext.getContentResolver().update(ProviderStatus.CONTENT_URI, values, null, null);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
RepeatPreference.java | 30 // Initial value that can be set with the values saved in the database. 40 String[] values = new String[] { local 49 setEntries(values); 50 setEntryValues(values);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FolderInfo.java | 83 void onAddToDatabase(ContentValues values) { 84 super.onAddToDatabase(values); 85 values.put(LauncherSettings.Favorites.TITLE, title.toString());
|