/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DatabaseModifier.java | 34 public abstract long insert(String table, String nullColumnHack, ContentValues values); argument 41 * Use this method to update a table which you would otherwise do using the 44 public abstract int update(String table, ContentValues values, argument 47 * Use this method to delete entries from a table which you would otherwise do using the 50 public abstract int delete(String table, String whereClause, String[] whereArgs); argument
|
H A D | ProfileDatabaseHelper.java | 32 // SQLite-standard table and columns for tracking autoincrement sequences. 66 for (String table : Tables.SEQUENCE_TABLES) { 68 values.put(SEQUENCE_NAME, table);
|
H A D | DbModifierWithNotification.java | 98 public long insert(String table, String nullColumnHack, ContentValues values) { argument 100 long rowId = mDb.insert(table, nullColumnHack, values); 140 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { argument 143 int count = mDb.update(table, values, whereClause, whereArgs); 154 public int delete(String table, String whereClause, String[] whereArgs) { argument 156 int count = mDb.delete(table, whereClause, whereArgs);
|
H A D | ContactsDatabaseHelper.java | 152 * For {@link ContactsContract.DataUsageFeedback}. The table structure itself 240 * Join string intended to be used with the GROUPS table/view. The main table must be named 613 * Private table for calculating per-contact-method ranking. 891 // Contacts table 985 // Package name mapping table 991 // Mimetype mapping table 997 // Mimetype table requires an index on mime type 1002 // Public generic data table 1045 // Private phone numbers table use 3721 updateIndexStats(SQLiteDatabase db, String table, String index, String stats) argument [all...] |
H A D | ContactsProvider2.java | 704 * those data columns (frequent part should return real ones in data table). 1048 // where clause to update the status_updates table 1083 // Contacts URI matching table 2578 * Inserts an item in the contacts table 2588 * Inserts an item in the raw contacts table 2683 * Inserts an item in the data table 2721 * Inserts an item in the stream_items table. The account is checked against the 2742 // Don't attempt to insert accounts params - they don't exist in the stream items table. 2762 * Inserts an item in the stream_item_photos table. The account is checked against 2784 // photos table 4753 findValidAccountsWithDataSets(String table) argument [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsProvider.java | 272 String table = TABLE_PDU; 298 table = TABLE_PART; 302 table = TABLE_ADDR; 306 table = TABLE_RATE; 310 table = TABLE_DRM; 322 if (table.equals(TABLE_PDU)) { 356 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 363 } else if (table.equals(TABLE_ADDR)) { 367 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 373 } else if (table 615 deleteDataRows(SQLiteDatabase db, String table, String selection, String[] selectionArgs) argument [all...] |
H A D | SmsProvider.java | 344 String table = TABLE_SMS; 382 table = "raw"; 386 table = "sr_pending"; 390 table = "attachments"; 394 table = "canonical_addresses"; 404 if (table.equals(TABLE_SMS)) { 489 rowID = db.insert(table, "body", values); 491 // Don't use a trigger for updating the words table because of a bug 494 if (table == TABLE_SMS) { 495 // Update the words table wit [all...] |
H A D | TelephonyProvider.java | 336 private void insertAddingDefaults(SQLiteDatabase db, String table, ContentValues row) { argument
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | LevenshteinSuggestionFormatter.java | 83 final LevenshteinDistance table = new LevenshteinDistance(source, target); 84 table.calculate(); 87 LevenshteinDistance.EditOperation[] ops = table.getTargetOperations();
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
H A D | ResultActivity.java | 178 TableLayout table = (TableLayout)findViewById(R.id.table); 182 table.addView(row); 188 TableLayout table = (TableLayout)findViewById(R.id.table); 194 table.addView(separator);
|
/packages/providers/DrmProvider/src/com/android/providers/drm/ |
H A D | DrmProvider.java | 108 * Creates the table that'll hold the download information. 129 * Deletes the table that holds the download information. 273 public String table; field in class:DrmProvider.GetTableAndWhereOutParameter 285 out.table = "audio"; 289 out.table = "audio"; 294 out.table = "images"; 298 out.table = "images"; 356 count = db.delete(sGetTableAndWhereParam.table, 382 count = db.update(sGetTableAndWhereParam.table, initialValues,
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
H A D | MockProvider.java | 118 String table = uri.getPath().substring(1); 120 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table) 127 sURIMatcher.addURI(AUTHORITY, table, TABLE); 128 sURIMatcher.addURI(AUTHORITY, table + "/#", RECORD);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 197 // entries for that storage from the files table. 719 // create image thumbnail table 858 // Cleans up album_art table entry when an album is deleted 931 // Create bucket_id and bucket_display_name columns for the video table. 944 // Create bookmark column for the video table. 963 // Create is_podcast and bookmark columns for the audio table. 1077 // create video thumbnail table 1240 // table, so we need to create that if we're at 100 or lower. This means 1256 // Create a new table to manage all files in our storage. 1319 // Value of _id from the old media table 1795 queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, String column, boolean hasThumbnailId) argument 3249 public String table; field in class:MediaProvider.GetTableAndWhereOutParameter 4146 getKeyIdForName(SQLiteDatabase db, String table, String keyField, String nameField, String rawName, String cacheName, String path, int albumHash, String artist, HashMap<String, Long> cache, Uri srcuri) argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherProvider.java | 96 return "vnd.android.cursor.dir/" + args.table; 98 return "vnd.android.cursor.item/" + args.table; 108 qb.setTables(args.table); 118 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) { 122 return db.insert(table, nullColumnHack, values); 128 db.delete(args.table, args.where, args.args); 136 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); 154 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { 172 int count = db.delete(args.table, args.where, args.args); 183 int count = db.update(args.table, value 117 dbInsertAndCheck(DatabaseHelper helper, SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) argument 1038 public final String table; field in class:LauncherProvider.SqlArguments [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | RomkanFullKatakana.java | 163 * @param table HashMap for Romaji-to-Kana conversion 166 public static boolean convert(ComposingText text, HashMap<String, String> table) { argument 187 String match = table.get(key.toString().toLowerCase());
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | EmailProvider.java | 140 // Version 8: Add security flags column to accounts table 141 // Version 9: Add security sync key and signature to accounts table 142 // Version 10: Add meeting info to message table 143 // Version 11: Add content and flags to attachment table 144 // Version 12: Add content_bytes to attachment table. content is deprecated. 145 // Version 13: Add messageCount to Mailbox table. 146 // Version 14: Add snippet to Message table 148 // Version 16: Add accountKey to Attachment table 149 // Version 17: Add parentKey to Mailbox table 152 // Version 19: Add Policy table; ad 802 deleteUnlinked(SQLiteDatabase db, String table, String column, String foreignColumn, String foreignTable) argument [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | PageDialogsHandler.java | 352 LinearLayout table = (LinearLayout)factory.inflate(R.layout.ssl_success, placeholder); 353 TextView successString = (TextView)table.findViewById(R.id.success);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | EntrySchema.java | 51 // Get table and column metadata from reflection. 299 // Add the CREATE TABLE statement for the main table. 338 // Add an FTS virtual table if using full-text search. 345 // Add the column to the FTS table. 357 // table in sync. 438 // Check for a table annotation. 439 Entry.Table table = clazz.getAnnotation(Entry.Table.class); 440 if (table == null) { 444 // Return the table name. 445 return table [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider2.java | 373 static final String qualifyColumn(String table, String column) { argument 374 return table + "." + column + " AS " + column; 508 String table = BrowserProvider.TABLE_NAMES[BrowserProvider.URI_MATCH_BOOKMARKS]; 510 c = oldDb.query(table, 540 c = oldDb.query(table, 566 oldDb.delete(table, null, null); 1362 // Intercept and route to the correct table 1413 // Extract out the image values so they can be inserted into the images table 1440 // Extract out the image values so they can be inserted into the images table 1611 // Intercept and route to the correct table 1798 getUrlCount(SQLiteDatabase db, String table, String url) argument [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | OpenWnnJAJP.java | 1975 * @param table Table of toggle characters 1977 private void processSoftKeyboardToggleChar(String[] table) { argument 1978 if (table == null) { 1990 String c = searchToggleCharacter(prevChar, table, false); 2004 String str = table[0]; 2007 char top = table[0].charAt(0);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 163 * The cached copy of the CalendarMetaData database table. 574 * the timezone dependent fields in the Instances table if the timezone 600 * then the Instances table will be regenerated. 706 Log.v(TAG, "Could not update Events table with values " + values); 751 // Regenerate the Instances table for this month. Include events 1005 * Fills the Instances table, if necessary, for the given range and then 1006 * queries the Instances table. 1268 * table. Acquires the database lock and calls 1293 * table. The database lock must be held when calling this method. 1318 // if we end up having to expand events into the instances table, expan 3161 deleteFromEventRelatedTable(String table, Uri uri, String selection, String[] selectionArgs) argument 3316 updateEventRelatedTable(Uri uri, String table, boolean byId, ContentValues updateValues, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument [all...] |