Home
last modified time | relevance | path

Searched refs:whereArgs (Results 1 – 14 of 14) 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.java412 String[] whereArgs; in createObjectQuery() local
421 whereArgs = null; in createObjectQuery()
428 whereArgs = new String[] { Integer.toString(parent) }; in createObjectQuery()
435 whereArgs = new String[] { Integer.toString(format) }; in createObjectQuery()
442 whereArgs = new String[] { Integer.toString(format), in createObjectQuery()
453 whereArgs = new String[] { Integer.toString(storageID) }; in createObjectQuery()
460 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
468 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
476 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
488 whereArgs = mSubDirectoriesWhereArgs; in createObjectQuery()
[all …]
DMtpPropertyGroup.java305 String[] whereArgs; in getPropertyList() local
310 whereArgs = null; in getPropertyList()
312 whereArgs = new String[] { Integer.toString(handle) }; in getPropertyList()
323 whereArgs = new String[] { Integer.toString(format) }; in getPropertyList()
325 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) }; in getPropertyList()
338 c = mProvider.query(mPackageName, mUri, mColumns, where, whereArgs, null, null); in getPropertyList()
/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.java1493 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
1497 (!TextUtils.isEmpty(whereClause) ? " WHERE " + whereClause : ""), whereArgs); in delete()
1521 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
1522 return updateWithOnConflict(table, values, whereClause, whereArgs, CONFLICT_NONE); in update()
1540 String whereClause, String[] whereArgs, int conflictAlgorithm) { in updateWithOnConflict() argument
1555 … int bindArgsSize = (whereArgs == null) ? setValuesSize : (setValuesSize + whereArgs.length); in updateWithOnConflict()
1564 if (whereArgs != null) { in updateWithOnConflict()
1566 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/packages/SettingsProvider/src/com/android/providers/settings/
DEventLogTags.logtags5 52100 unsupported_settings_query (uri|3),(selection|3),(whereArgs|3)
DSettingsProvider.java280 public Cursor query(Uri uri, String[] projection, String where, String[] whereArgs, in query() argument
286 Arguments args = new Arguments(uri, where, whereArgs, true); in query()
396 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument
401 Arguments args = new Arguments(uri, where, whereArgs, false); in delete()
435 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument
440 Arguments args = new Arguments(uri, where, whereArgs, false); in update()
1289 public Arguments(Uri uri, String where, String[] whereArgs, boolean supportAll) { in Arguments() argument
1296 && whereArgs.length == 1) { in Arguments()
1297 name = whereArgs[0]; in Arguments()
1310 } else if (supportAll && where == null && whereArgs == null) { in Arguments()
[all …]
/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/media/java/android/media/
DMediaScanner.java1227 ArrayList<String> whereArgs = new ArrayList<String>(100);
1243 whereArgs.add("" + id);
1244 if (whereArgs.size() > 100) {
1249 int size = whereArgs.size();
1252 foo = whereArgs.toArray(foo);
1258 whereArgs.clear();
1483 String[] whereArgs = new String[] { Integer.toString(objectHandle) };
1485 "_id=?", whereArgs);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java256 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
337 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
DInboundSmsHandler.java707 String[] whereArgs = {address, refNumber, count}; in processMessagePart() local
709 SELECT_BY_REFERENCE, whereArgs, null); in processMessagePart()
/frameworks/base/core/java/android/app/
DDownloadManager.java1254 String[] whereArgs = new String[ids.length]; in getWhereArgsForIds() local
1256 whereArgs[i] = Long.toString(ids[i]); in getWhereArgsForIds()
1258 return whereArgs; in getWhereArgsForIds()