/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
H A D | LossyScreenMigrationTask.java | 58 protected Cursor queryWorkspace(String[] columns, String where) { argument 59 return mDb.query(Favorites.TABLE_NAME, columns, where, null, null, null, null);
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/ |
H A D | SqliteWrapper.java | 51 ContentValues values, String where, String[] selectionArgs) { 53 return resolver.update(uri, values, where, selectionArgs); 64 String where, String[] selectionArgs) { 66 return resolver.delete(uri, where, selectionArgs); 50 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument 63 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | ContentWriter.java | 120 public CommitParams(String where, String[] selectionArgs) { argument 121 mWhere = where;
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaAdapter.java | 72 TextView where; field in class:AgendaAdapter.ViewHolder 123 holder.where = (TextView) view.findViewById(R.id.where); 138 holder.where.setTextColor(mWhereDeclinedColor); 143 holder.where.setTextColor(mWhereColor); 170 holder.where.setTextColor(mStandardColor); 176 TextView where = holder.where; 259 where.setVisibility(View.VISIBLE); 260 where [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | ClockProvider.java | 134 // storage area, which is where our data lives from now on. 210 public int update(@NonNull Uri uri, ContentValues values, String where, String[] whereArgs) { argument 257 public int delete(@NonNull Uri uri, String where, String[] whereArgs) { argument 263 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); 267 if (TextUtils.isEmpty(where)) { 268 where = AlarmsColumns._ID + "=" + primaryKey; 270 where = AlarmsColumns._ID + "=" + primaryKey + " AND (" + where + ")"; 272 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); 275 count = db.delete(INSTANCES_TABLE_NAME, where, whereArg [all...] |
/packages/apps/Dialer/java/com/android/voicemail/stub/ |
H A D | StubVoicemailClient.java | 53 Context context, StringBuilder where, List<String> selectionArgs) {} 57 Context context, StringBuilder where, List<String> selectionArgs) {} 52 appendOmtpVoicemailSelectionClause( Context context, StringBuilder where, List<String> selectionArgs) argument 56 appendOmtpVoicemailStatusSelectionClause( Context context, StringBuilder where, List<String> selectionArgs) argument
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
H A D | FakeContentProvider.java | 40 private final String where; field in class:FakeContentProvider.ContentOverride 45 ContentOverride(final String uri, final String where, final String args, argument 48 this.where = where; 54 boolean match(final String uri, final String where, final String[] args) { argument 55 if (!this.uri.equals(uri) || !TextUtils.equals(this.where, where)) { 88 public void addOverrideData(final Uri uri, final String where, final String args, argument 90 mOverrides.add(new ContentOverride(uri.toString(), where, args, columns, data)); 114 + " where " [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetModel.java | 79 String where; field in class:CalendarAppWidgetModel.EventInfo 111 builder.append(", where="); 112 builder.append(where); 134 result = prime * result + ((where == null) ? 0 : where.hashCode()); 174 if (where == null) { 175 if (other.where != null) 177 } else if (!where.equals(other.where)) { 400 eventInfo.where [all...] |
/packages/apps/Dialer/java/com/android/voicemail/ |
H A D | VoicemailClient.java | 99 Context context, StringBuilder where, List<String> selectionArgs); 110 Context context, StringBuilder where, List<String> selectionArgs); 98 appendOmtpVoicemailSelectionClause( Context context, StringBuilder where, List<String> selectionArgs) argument 109 appendOmtpVoicemailStatusSelectionClause( Context context, StringBuilder where, List<String> selectionArgs) argument
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
H A D | VoicemailClientImpl.java | 219 Context context, StringBuilder where, List<String> selectionArgs) { 222 if (where.length() != 0) { 223 where.append(" AND "); 225 where.append("("); 227 where.append("("); 229 where.append(Voicemails.IS_OMTP_VOICEMAIL).append(" != 1"); 230 where.append(")"); 232 where.append(" OR "); 233 where.append("("); 235 where 218 appendOmtpVoicemailSelectionClause( Context context, StringBuilder where, List<String> selectionArgs) argument 250 appendOmtpVoicemailStatusSelectionClause( Context context, StringBuilder where, List<String> selectionArgs) argument [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | HeaderGridView.java | 166 private void removeFixedViewInfo(View v, ArrayList<FixedViewInfo> where) { argument 167 int len = where.size(); 169 FixedViewInfo info = where.get(i); 171 where.remove(i);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | ParticipantRefresh.java | 345 final int subscriptionColor, final String subscriptionName, final String where) { 348 slotId, subscriptionColor, subscriptionName, where); 344 getUpdateSelfParticipantSubscriptionInfoSql(final int slotId, final int subscriptionColor, final String subscriptionName, final String where) argument
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | UserDictionaryProvider.java | 259 public int delete(Uri uri, String where, String[] whereArgs) { argument 269 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs); 275 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); 288 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument 298 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs); 304 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
|
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
H A D | BluetoothMapEmailProvider.java | 120 * @param input The pipe where data should be read. This will be 400 public int delete(Uri uri, String where, String[] selectionArgs) { argument 567 * For the message table the selection (where clause) can only include the following columns:
|
H A D | BluetoothMapIMProvider.java | 196 public int delete(Uri uri, String where, String[] selectionArgs) { argument 385 * For the message table the selection (where clause) can only include the following columns: 404 * For the Conversation table the selection (where clause) can only include 453 * For the ConvoContact table the selection (where clause) can only include the 670 * where the IM application is installed, it should still be possible to show an active status.
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherProvider.java | 111 if (TextUtils.isEmpty(args.where)) { 127 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder); 144 db.delete(args.table, args.where, args.args); 188 int count = db.delete(args.table, args.where, args.args); 199 int count = db.update(args.table, values, args.where, args.args); 332 // In the case where neither onCreate nor onUpgrade gets called, we read the maxId from 1265 * Build a query string that will match any row where the column matches 1281 public final String where; field in class:LauncherProvider.SqlArguments 1284 SqlArguments(Uri url, String where, String[] args) { argument 1287 this.where [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherProvider.java | 132 if (TextUtils.isEmpty(args.where)) { 167 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder); 330 int count = db.delete(args.table, args.where, args.args); 345 int count = db.update(args.table, values, args.where, args.args); 574 // In the case where neither onCreate nor onUpgrade gets called, we read the maxId from 700 + "';l.profile=" + serial + ";', ';') where itemType = 0;"; 1098 public final String where; field in class:LauncherProvider.SqlArguments 1101 SqlArguments(Uri url, String where, String[] args) { argument 1104 this.where = where; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | GridSizeMigrationTask.java | 414 // The first row in the grid from where the placement should start. 789 protected Cursor queryWorkspace(String[] columns, String where) { argument 791 columns, where, null, null, null);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadProvider.java | 195 * This class encapsulates a SQL where clause and its parameters. It makes it possible for 1074 String where = Downloads.Impl.RequestHeaders.COLUMN_DOWNLOAD_ID + "=" 1078 return db.query(Downloads.Impl.RequestHeaders.HEADERS_DB_TABLE, projection, where, 1085 private void deleteRequestHeaders(SQLiteDatabase db, String where, String[] whereArgs) { argument 1087 Cursor cursor = db.query(DB_TABLE, projection, where, whereArgs, null, null, null, null); 1114 final String where, final String[] whereArgs) { 1116 Helpers.validateSelection(where, sAppReadableColumnsSet); 1181 final SqlSelection selection = getWhereClause(uri, where, whereArgs, match); 1233 private SqlSelection getWhereClause(final Uri uri, final String where, final String[] whereArgs, argument 1236 selection.appendClause(where, whereArg 1113 update(final Uri uri, final ContentValues values, final String where, final String[] whereArgs) argument 1255 delete(final Uri uri, final String where, final String[] whereArgs) argument [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsSmsDatabaseHelper.java | 337 * Update all threads containing SMS matching the 'where' condition. Note that the condition 340 public static void updateThreads(SQLiteDatabase db, String where, String[] whereArgs) { argument 341 if (where == null) { 342 where = "1"; 352 // Note that we do this regardless of whether they match 'where'. 382 " AND (" + where + ")" + 410 " AND (" + where + ")" + 430 " AND (" + where + ")" +
|
H A D | SmsProvider.java | 653 public int delete(Uri url, String where, String[] whereArgs) { argument 660 count = db.delete(TABLE_SMS, where, whereArgs); 663 MmsSmsDatabaseHelper.updateThreads(db, where, whereArgs); 689 where = DatabaseUtils.concatenateWhere("thread_id=" + threadID, where); 690 count = db.delete(TABLE_SMS, where, whereArgs); 697 count = db.update(TABLE_RAW, cv, where, whereArgs); 705 count = db.delete(TABLE_RAW, where, whereArgs); 713 count = db.delete("sr_pending", where, whereArgs); 755 public int update(Uri url, ContentValues values, String where, Strin argument [all...] |
H A D | TelephonyProvider.java | 1253 String where = queryValFirst(NUMERIC) + 1353 log("deleteRow: where: " + where); 1362 db.delete(CARRIERS_TABLE, where, whereArgs); 2308 String where = TextUtils.join("=? and ", CARRIERS_UNIQUE_FIELDS) + "=?"; 2321 Cursor c = db.query(CARRIERS_TABLE, new String[]{"_id"}, where, whereArgs, null, null, 2804 public synchronized int delete(Uri url, String where, String[] whereArgs) { argument 2828 count = db.delete(CARRIERS_TABLE, "(" + where + unedited + " and " + 2850 count = db.delete(CARRIERS_TABLE, "(" + where + userOrCarrierEdited 2853 count += db.update(CARRIERS_TABLE, cv, "(" + where 2973 update(Uri url, ContentValues values, String where, String[] whereArgs) argument [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoProvider.java | 351 String where; 356 where = WHERE_ID; 361 return DatabaseUtils.concatenateWhere(selection, where); 461 protected static String metadataSelectionFromPhotos(String where) { argument 462 return nestWhere(Metadata.PHOTO_ID, Photos.TABLE, where); 465 protected static String photoSelectionFromAlbums(String where) { argument 466 return nestWhere(Photos.ALBUM_ID, Albums.TABLE, where); 469 protected static String photoSelectionFromAccounts(String where) { argument 470 return nestWhere(Photos.ACCOUNT_ID, Accounts.TABLE, where); 473 protected static String albumSelectionFromAccounts(String where) { argument [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarProvider2Test.java | 1122 final String where = Colors.ACCOUNT_NAME + "=? AND " + Colors.ACCOUNT_TYPE + "=? AND " 1134 addSyncQueryParams(uri, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE), cv, where, 1797 String where = Instances.SELF_ATTENDEE_STATUS + "!=" + 1842 "search", where, null, orderBy); 1854 "purple", where, null, orderBy); 1866 "puurple", where, null, orderBy); 1878 "purple lasers", where, null, orderBy); 1890 "lasers kapow", where, null, orderBy); 1902 "\"search purple\"", where, null, orderBy); 1914 "\"purple search\"", where, nul 2224 testQueryCount(Uri uri, String where, int wanted) argument [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 1018 * @param values the content values, where the bucked id name and bucket display name are updated. 1042 * @param values the content values, where the display name is updated. 1058 * @param values the content values, where taken time is updated. 1722 String where = ""; 1725 where = "match LIKE ? ESCAPE '\\'"; 1727 where += " AND match LIKE ? ESCAPE '\\'"; 1740 return qb.query(db, cols, where, wildcardWords, null, null, null, limit); 3081 public String where; field in class:MediaProvider.TableAndWhere 3086 String where = null; 3090 where [all...] |