/packages/apps/Gallery2/src/com/android/photos/data/ |
MediaCacheDatabase.java | 117 String[] whereArgs = { 120 Cursor cursor = db.query(TABLE, PROJECTION_ID, where, whereArgs, null, null, null); 147 String[] whereArgs = { 150 Cursor cursor = db.query(TABLE, PROJECTION_CACHED, where, whereArgs, null, null, orderBy); 185 String[] whereArgs = { 191 db.update(TABLE, values, Columns._ID + " = ?", whereArgs); 200 String[] whereArgs = { 203 deleteRows(uri, where, whereArgs, action); 208 String[] whereArgs = { 211 deleteRows(uri, where, whereArgs, action) [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/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...] |
/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/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/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);
|
/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 | 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);
|
/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) {
|
/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/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);
|
/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/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 | 523 public int delete(Uri url, String where, String[] whereArgs) { 529 count = db.delete(TABLE_SMS, where, whereArgs); 532 MmsSmsDatabaseHelper.updateAllThreads(db, where, whereArgs); 559 count = db.delete(TABLE_SMS, where, whereArgs); 564 count = db.delete("raw", where, whereArgs); 568 count = db.delete("sr_pending", where, whereArgs); 608 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { 669 count = db.update(table, values, where, whereArgs);
|
TelephonyProvider.java | 670 public int delete(Uri url, String where, String[] whereArgs) 682 count = db.delete(CARRIERS_TABLE, where, whereArgs); 688 count = db.delete(CARRIERS_TABLE, where, whereArgs); 726 public int update(Uri url, ContentValues values, String where, String[] whereArgs) 738 count = db.update(CARRIERS_TABLE, values, where, whereArgs); 744 count = db.update(CARRIERS_TABLE, values, where, whereArgs); 750 if (where != null || whereArgs != null) {
|
/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...] |
/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);
|
/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/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");
|
/packages/apps/Gallery2/tests/src/com/android/photos/data/ |
PhotoProviderTest.java | 371 String[] whereArgs = { 375 update.withSelection(where, whereArgs); 379 delete.withSelection(where, whereArgs);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 688 public Cursor query(Uri url, String[] select, String where, String[] whereArgs, String sort) { 689 return queryForUser(url, select, where, whereArgs, sort, UserHandle.getCallingUserId()); 692 private Cursor queryForUser(Uri url, String[] select, String where, String[] whereArgs, 695 SqlArguments args = new SqlArguments(url, where, whereArgs); [all...] |