Home
last modified time | relevance | path

Searched refs:whereArgs (Results 1 – 15 of 15) sorted by relevance

/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java110 final ArrayList<String> whereArgs = new ArrayList<String>(); in updateWithAddress() local
114 whereArgs.addAll(addresses); in updateWithAddress()
122 whereArgs.toArray(new String[0]), null); in updateWithAddress()
160 final ArrayList<String> whereArgs = new ArrayList<String>(); in updateWithPhoneNumber() local
164 whereArgs.addAll(numbers); in updateWithPhoneNumber()
172 whereArgs.toArray(new String[0]), null); in updateWithPhoneNumber()
231 final ArrayList<String> whereArgs = new ArrayList<String>(); in update() local
234 whereArgs.add(String.valueOf(contactId)); in update()
243 Log.d(TAG, "contactId selection: " + whereArgs); in update()
249 whereBuilder.toString(), whereArgs.toArray(new String[0])) > 0) { in update()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java419 String[] whereArgs; in createObjectQuery() local
428 whereArgs = null; in createObjectQuery()
435 whereArgs = new String[] { Integer.toString(parent) }; in createObjectQuery()
442 whereArgs = new String[] { Integer.toString(format) }; in createObjectQuery()
449 whereArgs = new String[] { Integer.toString(format), in createObjectQuery()
460 whereArgs = new String[] { Integer.toString(storageID) }; in createObjectQuery()
467 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
475 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
483 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
495 whereArgs = mSubDirectoriesWhereArgs; in createObjectQuery()
[all …]
DMtpPropertyGroup.java303 String[] whereArgs; in getPropertyList() local
308 whereArgs = null; in getPropertyList()
310 whereArgs = new String[] { Integer.toString(handle) }; in getPropertyList()
321 whereArgs = new String[] { Integer.toString(format) }; in getPropertyList()
323 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) }; in getPropertyList()
336 c = mProvider.query(mUri, mColumns, where, whereArgs, null, null); in getPropertyList()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderThrottleSupport.java306 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument
315 count = db.delete(MainTable.TABLE_NAME, where, whereArgs); in delete()
326 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs); in delete()
342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument
350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); in update()
358 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); in update()
/frameworks/base/core/tests/coretests/src/android/app/
DSuggestionProvider.java97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
107 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1494 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
1498 (!TextUtils.isEmpty(whereClause) ? " WHERE " + whereClause : ""), whereArgs); in delete()
1522 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
1523 return updateWithOnConflict(table, values, whereClause, whereArgs, CONFLICT_NONE); in update()
1541 String whereClause, String[] whereArgs, int conflictAlgorithm) { in updateWithOnConflict() argument
1556 … int bindArgsSize = (whereArgs == null) ? setValuesSize : (setValuesSize + whereArgs.length); in updateWithOnConflict()
1565 if (whereArgs != null) { in updateWithOnConflict()
1567 bindArgs[i] = whereArgs[i - setValuesSize]; in updateWithOnConflict()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java130 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
159 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java163 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
173 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
/frameworks/ex/common/java/com/android/common/content/
DSyncStateContentProviderHelper.java91 public int delete(SQLiteDatabase db, String userWhere, String[] whereArgs) { in delete() argument
92 return db.delete(SYNC_STATE_TABLE, userWhere, whereArgs); in delete()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DEventLogTags.logtags5 52100 unsupported_settings_query (uri|3),(selection|3),(whereArgs|3)
DSettingsProvider.java317 public Cursor query(Uri uri, String[] projection, String where, String[] whereArgs, in query() argument
323 Arguments args = new Arguments(uri, where, whereArgs, true); in query()
433 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument
438 Arguments args = new Arguments(uri, where, whereArgs, false); in delete()
472 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument
477 Arguments args = new Arguments(uri, where, whereArgs, false); in update()
1570 public Arguments(Uri uri, String where, String[] whereArgs, boolean supportAll) { in Arguments() argument
1577 && whereArgs.length == 1) { in Arguments()
1578 name = whereArgs[0]; in Arguments()
1591 } else if (supportAll && where == null && whereArgs == null) { in Arguments()
[all …]
/frameworks/base/media/java/android/media/
DMediaScanner.java1314 ArrayList<String> whereArgs = new ArrayList<String>(100);
1328 whereArgs.add("" + id);
1329 if (whereArgs.size() > 100) {
1334 int size = whereArgs.size();
1337 foo = whereArgs.toArray(foo);
1343 whereArgs.clear();
1544 String[] whereArgs = new String[] { Integer.toString(objectHandle) };
1546 "_id=?", whereArgs);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java258 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
339 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
DInboundSmsHandler.java741 String[] whereArgs = {address, refNumber, count}; in processMessagePart() local
743 SELECT_BY_REFERENCE, whereArgs, null); in processMessagePart()
/frameworks/base/core/java/android/app/
DDownloadManager.java1452 String[] whereArgs = new String[ids.length];
1454 whereArgs[i] = Long.toString(ids[i]);
1456 return whereArgs;