HomeSort by relevance Sort by last modified time
    Searched refs:whereArgs (Results 1 - 25 of 43) 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...]
  /tools/motodev/src/plugins/android.codeutils/resources/databaseDeploy/
DAOByTablejava.txt 115 public int delete(String where, String[] whereArgs) {
118 count = mDB.delete(TABLE_NAME, where, whereArgs);
122 public int update(ContentValues values, String where, String[] whereArgs) {
125 count = mDB.update(TABLE_NAME, values, where, whereArgs);
ContentProviderByTablejava.txt 104 public int delete(Uri url, String where, String[] whereArgs) {
117 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmProvider.java 99 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
132 public int delete(Uri url, String where, String[] whereArgs) {
138 count = db.delete("alarms", where, whereArgs);
148 count = db.delete("alarms", 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);
  /packages/providers/DrmProvider/src/com/android/providers/drm/
DrmProvider.java 319 private void deleteFiles(Uri uri, String userWhere, String[] whereArgs) {
320 Cursor c = query(uri, new String [] { "_data" }, userWhere, whereArgs, null);
341 public int delete(Uri uri, String userWhere, String[] whereArgs) {
355 deleteFiles(uri, userWhere, whereArgs);
357 sGetTableAndWhereParam.where, whereArgs);
367 String[] whereArgs) {
383 sGetTableAndWhereParam.where, whereArgs);
  /frameworks/base/media/java/android/mtp/
MtpDatabase.java 340 String[] whereArgs;
349 whereArgs = null;
356 whereArgs = new String[] { Integer.toString(parent) };
363 whereArgs = new String[] { Integer.toString(format) };
370 whereArgs = new String[] { Integer.toString(format),
381 whereArgs = new String[] { Integer.toString(storageID) };
388 whereArgs = new String[] { Integer.toString(storageID),
396 whereArgs = new String[] { Integer.toString(storageID),
404 whereArgs = new String[] { Integer.toString(storageID),
416 whereArgs = mSubDirectoriesWhereArgs
    [all...]
MtpPropertyGroup.java 293 String[] whereArgs;
298 whereArgs = null;
300 whereArgs = new String[] { Integer.toString(handle) };
311 whereArgs = new String[] { Integer.toString(format) };
313 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) };
326 c = mProvider.query(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 521 public int delete(Uri url, String where, String[] whereArgs) {
527 count = db.delete(TABLE_SMS, where, whereArgs);
530 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs);
557 count = db.delete(TABLE_SMS, where, whereArgs);
562 count = db.delete("raw", where, whereArgs);
566 count = db.delete("sr_pending", where, whereArgs);
606 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
667 count = db.update(table, values, where, whereArgs);
TelephonyProvider.java 609 public int delete(Uri url, String where, String[] whereArgs)
621 count = db.delete(CARRIERS_TABLE, where, whereArgs);
627 count = db.delete(CARRIERS_TABLE, where, whereArgs);
665 public int update(Uri url, ContentValues values, String where, String[] whereArgs)
677 count = db.update(CARRIERS_TABLE, values, where, whereArgs);
683 count = db.update(CARRIERS_TABLE, values, where, whereArgs);
689 if (where != null || whereArgs != null) {
  /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/Gallery2/tests/src/com/android/gallery3d/data/
LocalDataTest.java 442 public int delete(Uri uri, String whereClause, String[] whereArgs) {
443 Log.v(TAG, "delete " + uri + "," + whereClause + "," + whereArgs[0]);
446 int count = mDatabase.delete(tableName, whereClause, whereArgs);
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java 656 public Cursor query(Uri url, String[] select, String where, String[] whereArgs, String sort) {
657 return queryForUser(url, select, where, whereArgs, sort, UserHandle.getCallingUserId());
660 private Cursor queryForUser(Uri url, String[] select, String where, String[] whereArgs,
663 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) {
249 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);

Completed in 577 milliseconds

1 2