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

1 2

  /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 344 String[] whereArgs;
353 whereArgs = null;
360 whereArgs = new String[] { Integer.toString(parent) };
367 whereArgs = new String[] { Integer.toString(format) };
374 whereArgs = new String[] { Integer.toString(format),
385 whereArgs = new String[] { Integer.toString(storageID) };
392 whereArgs = new String[] { Integer.toString(storageID),
400 whereArgs = new String[] { Integer.toString(storageID),
408 whereArgs = new String[] { Integer.toString(storageID),
420 whereArgs = mSubDirectoriesWhereArgs
    [all...]
MtpPropertyGroup.java 295 String[] whereArgs;
300 whereArgs = null;
302 whereArgs = new String[] { Integer.toString(handle) };
313 whereArgs = new String[] { Integer.toString(format) };
315 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) };
328 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 541 public int delete(Uri url, String where, String[] whereArgs) {
547 count = db.delete(TABLE_SMS, where, whereArgs);
550 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs);
577 count = db.delete(TABLE_SMS, where, whereArgs);
582 count = db.delete("raw", where, whereArgs);
586 count = db.delete("sr_pending", where, whereArgs);
626 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
687 count = db.update(table, values, where, whereArgs);
TelephonyProvider.java 621 public int delete(Uri url, String where, String[] whereArgs)
633 count = db.delete(CARRIERS_TABLE, where, whereArgs);
639 count = db.delete(CARRIERS_TABLE, where, whereArgs);
677 public int update(Uri url, ContentValues values, String where, String[] whereArgs)
689 count = db.update(CARRIERS_TABLE, values, where, whereArgs);
695 count = db.update(CARRIERS_TABLE, values, where, whereArgs);
701 if (where != null || whereArgs != null) {
  /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);
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDatabase.java     [all...]
  /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 705 public Cursor query(Uri url, String[] select, String where, String[] whereArgs, String sort) {
706 return queryForUser(url, select, where, whereArgs, sort, UserHandle.getCallingUserId());
709 private Cursor queryForUser(Uri url, String[] select, String where, String[] whereArgs,
712 SqlArguments args = new SqlArguments(url, where, whereArgs);
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
IccProvider.java 177 public int delete(Uri url, String where, String[] whereArgs) {
244 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
  /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);

Completed in 562 milliseconds

1 2