Home
last modified time | relevance | path

Searched refs:whereArgs (Results 1 – 17 of 17) 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/support/persistence/db-framework/src/main/java/android/arch/persistence/db/framework/
DFrameworkSQLiteDatabase.java191 public int delete(String table, String whereClause, Object[] whereArgs) {
195 SimpleSQLiteQuery.bind(statement, whereArgs);
202 Object[] whereArgs) {
215 int bindArgsSize = (whereArgs == null) ? setValuesSize : (setValuesSize + whereArgs.length);
224 if (whereArgs != null) {
226 bindArgs[i] = whereArgs[i - setValuesSize];
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java428 String[] whereArgs; in createObjectQuery() local
437 whereArgs = null; in createObjectQuery()
444 whereArgs = new String[] { Integer.toString(parent) }; in createObjectQuery()
451 whereArgs = new String[] { Integer.toString(format) }; in createObjectQuery()
458 whereArgs = new String[] { Integer.toString(format), in createObjectQuery()
469 whereArgs = new String[] { Integer.toString(storageID) }; in createObjectQuery()
476 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
484 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
492 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
504 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/support/persistence/db/src/main/java/android/arch/persistence/db/
DSupportSQLiteDatabase.java340 int delete(String table, String whereClause, Object[] whereArgs); in delete() argument
360 ContentValues values, String whereClause, Object[] whereArgs); in update() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DEventLogTags.logtags5 52100 unsupported_settings_query (uri|3),(selection|3),(whereArgs|3)
DSettingsProvider.java409 public Cursor query(Uri uri, String[] projection, String where, String[] whereArgs, in query() argument
415 Arguments args = new Arguments(uri, where, whereArgs, true); in query()
527 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument
532 Arguments args = new Arguments(uri, where, whereArgs, false); in delete()
566 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument
571 Arguments args = new Arguments(uri, where, whereArgs, false); in update()
2054 public Arguments(Uri uri, String where, String[] whereArgs, boolean supportAll) {
2061 && whereArgs.length == 1) {
2062 name = whereArgs[0];
2075 } else if (supportAll && where == null && whereArgs == null) {
[all …]
/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/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/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1570 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
1574 (!TextUtils.isEmpty(whereClause) ? " WHERE " + whereClause : ""), whereArgs); in delete()
1598 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
1599 return updateWithOnConflict(table, values, whereClause, whereArgs, CONFLICT_NONE); in update()
1617 String whereClause, String[] whereArgs, int conflictAlgorithm) { in updateWithOnConflict() argument
1632 … int bindArgsSize = (whereArgs == null) ? setValuesSize : (setValuesSize + whereArgs.length); in updateWithOnConflict()
1641 if (whereArgs != null) { in updateWithOnConflict()
1643 bindArgs[i] = whereArgs[i - setValuesSize]; in updateWithOnConflict()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java154 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
183 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
/frameworks/base/media/java/android/media/
DMediaScanner.java1286 ArrayList<String> whereArgs = new ArrayList<String>(100);
1300 whereArgs.add("" + id);
1301 if (whereArgs.size() > 100) {
1306 int size = whereArgs.size();
1309 foo = whereArgs.toArray(foo);
1315 whereArgs.clear();
1513 String[] whereArgs = new String[] { Integer.toString(objectHandle) };
1515 "_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.java834 String[] whereArgs = {address, refNumber, count}; in processMessagePart() local
836 tracker.getQueryForSegments(), whereArgs, null); in processMessagePart()
/frameworks/base/core/java/android/app/
DDownloadManager.java1462 String[] whereArgs = new String[ids.length];
1463 return getWhereArgsForIds(ids, whereArgs);