HomeSort by relevance Sort by last modified time
    Searched refs:whereArgs (Results 1 - 25 of 54) sorted by null

1 2 3

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DatabaseModifier.java 45 String whereClause, String[] whereArgs);
50 public abstract int delete(String table, String whereClause, String[] whereArgs);
DbModifierWithNotification.java 140 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) {
141 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs);
143 int count = mDb.update(table, values, whereClause, whereArgs);
154 public int delete(String table, String whereClause, String[] whereArgs) {
155 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs);
156 int count = mDb.delete(table, whereClause, whereArgs);
172 private Set<String> getModifiedPackages(String whereClause, String[] whereArgs) {
176 whereArgs, null, null, null);
  /frameworks/ex/common/java/com/android/common/contacts/
DataUsageStatUpdater.java 110 final ArrayList<String> whereArgs = new ArrayList<String>();
114 whereArgs.addAll(addresses);
122 whereArgs.toArray(new String[0]), null);
160 final ArrayList<String> whereArgs = new ArrayList<String>();
164 whereArgs.addAll(numbers);
172 whereArgs.toArray(new String[0]), null);
231 final ArrayList<String> whereArgs = new ArrayList<String>();
234 whereArgs.add(String.valueOf(contactId));
243 Log.d(TAG, "contactId selection: " + whereArgs);
249 whereBuilder.toString(), whereArgs.toArray(new String[0])) > 0)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
SQLite.java 53 * @param whereArgs Array of substitutions for args in whereClause
56 public static SQLStringAndBindings buildUpdateString(String table, ContentValues values, String whereClause, String[] whereArgs) {
68 if (whereArgs != null) {
69 where = buildWhereClause(whereClause, whereArgs);
84 * @param whereArgs Array of substitutions for args in whereClause
87 public static String buildDeleteString(String table, String whereClause, String[] whereArgs) {
95 if (whereArgs != null) {
96 where = buildWhereClause(whereClause, whereArgs);
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
ClockProvider.java 131 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) {
188 public int delete(Uri uri, String where, String[] whereArgs) {
194 count = db.delete(ClockDatabaseHelper.ALARMS_TABLE_NAME, where, whereArgs);
204 count = db.delete(ClockDatabaseHelper.ALARMS_TABLE_NAME, where, whereArgs);
207 count = db.delete(ClockDatabaseHelper.INSTANCES_TABLE_NAME, where, whereArgs);
217 count = db.delete(ClockDatabaseHelper.INSTANCES_TABLE_NAME, where, whereArgs);
220 count = db.delete(ClockDatabaseHelper.CITIES_TABLE_NAME, where, whereArgs);
230 count = db.delete(ClockDatabaseHelper.CITIES_TABLE_NAME, where, whereArgs);
  /frameworks/base/core/tests/coretests/src/android/app/
SuggestionProvider.java 97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
107 public int delete(Uri url, String where, String[] whereArgs) {
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 221 public int delete(Uri uri, String where, String[] whereArgs) {
226 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs);
232 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
245 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) {
250 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs);
256 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs);
  /frameworks/base/media/java/android/mtp/
MtpDatabase.java 413 String[] whereArgs;
422 whereArgs = null;
429 whereArgs = new String[] { Integer.toString(parent) };
436 whereArgs = new String[] { Integer.toString(format) };
443 whereArgs = new String[] { Integer.toString(format),
454 whereArgs = new String[] { Integer.toString(storageID) };
461 whereArgs = new String[] { Integer.toString(storageID),
469 whereArgs = new String[] { Integer.toString(storageID),
477 whereArgs = new String[] { Integer.toString(storageID),
489 whereArgs = mSubDirectoriesWhereArgs
    [all...]
MtpPropertyGroup.java 305 String[] whereArgs;
310 whereArgs = null;
312 whereArgs = new String[] { Integer.toString(handle) };
323 whereArgs = new String[] { Integer.toString(format) };
325 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) };
338 c = mProvider.query(mPackageName, mUri, mColumns, where, whereArgs, null, null);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderThrottle.java 305 public int delete(Uri uri, String where, String[] whereArgs) {
314 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
325 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs);
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);
  /development/samples/NotePad/src/com/example/android/notepad/
NotePadProvider.java 575 * specified by where and whereArgs.
583 public int delete(Uri uri, String where, String[] whereArgs) {
600 whereArgs // The incoming where clause values
629 whereArgs // The incoming where clause values.
655 * selection criteria specified by where and whereArgs.
662 * @param whereArgs An array of selection criteria. If the "where" param contains value
669 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) {
688 whereArgs // The where clause column values to select on.
721 // placeholders for whereArgs
722 whereArgs // The where clause column values to select on, o
    [all...]
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderThrottleSupport.java 306 public int delete(Uri uri, String where, String[] whereArgs) {
315 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
326 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs);
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);
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalProvider.java 130 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
159 public int delete(Uri url, String where, String[] whereArgs) {
  /frameworks/base/core/tests/coretests/src/android/content/
MemoryFileProvider.java 163 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
173 public int delete(Uri url, String where, String[] whereArgs) {
  /frameworks/ex/common/java/com/android/common/content/
SyncStateContentProviderHelper.java 91 public int delete(SQLiteDatabase db, String userWhere, String[] whereArgs) {
92 return db.delete(SYNC_STATE_TABLE, userWhere, whereArgs);
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
SmsProvider.java 557 public int delete(Uri url, String where, String[] whereArgs) {
563 count = db.delete(TABLE_SMS, where, whereArgs);
566 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs);
593 count = db.delete(TABLE_SMS, where, whereArgs);
598 count = db.delete("raw", where, whereArgs);
602 count = db.delete("sr_pending", where, whereArgs);
644 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
713 count = db.update(table, values, where, whereArgs);
TelephonyProvider.java     [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDatabase.java     [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteDatabase.java 154 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) {
155 SQLStringAndBindings sqlUpdateString = buildUpdateString(table, values, whereClause, whereArgs);
172 public int delete(String table, String whereClause, String[] whereArgs) {
173 String sql = buildDeleteString(table, whereClause, whereArgs);
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastContentProvider.java 261 String[] whereArgs = new String[]{Long.toString(columnValue)};
263 int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs);
  /packages/apps/Calendar/src/com/android/calendar/event/
EventLocationAdapter.java 357 String[] whereArgs = null;
364 whereArgs = new String[] {param1, param2, param1, param2};
369 CONTACTS_PROJECTION, where, whereArgs, Contacts.DISPLAY_NAME + " ASC");
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java     [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
FileCache.java 167 String whereArgs[] = new String[] {String.valueOf(hash), downloadUrl};
170 QUERY_WHERE, whereArgs, null, null, null);
  /packages/apps/Gallery2/src/com/android/photos/data/
PhotoProvider.java 365 String[] whereArgs;
370 whereArgs = new String[] {
377 return DatabaseUtils.appendSelectionArgs(selectionArgs, whereArgs);
  /frameworks/base/media/java/android/media/
MediaScanner.java     [all...]

Completed in 1433 milliseconds

1 2 3