Home
last modified time | relevance | path

Searched refs:whereArgs (Results 1 – 13 of 13) 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.java409 String[] whereArgs; in createObjectQuery() local
418 whereArgs = null; in createObjectQuery()
425 whereArgs = new String[] { Integer.toString(parent) }; in createObjectQuery()
432 whereArgs = new String[] { Integer.toString(format) }; in createObjectQuery()
439 whereArgs = new String[] { Integer.toString(format), in createObjectQuery()
450 whereArgs = new String[] { Integer.toString(storageID) }; in createObjectQuery()
457 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
465 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
473 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
485 whereArgs = mSubDirectoriesWhereArgs; in createObjectQuery()
[all …]
DMtpPropertyGroup.java294 String[] whereArgs; in getPropertyList() local
299 whereArgs = null; in getPropertyList()
301 whereArgs = new String[] { Integer.toString(handle) }; in getPropertyList()
312 whereArgs = new String[] { Integer.toString(format) }; in getPropertyList()
314 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) }; in getPropertyList()
327 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/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/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/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/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java896 public Cursor query(Uri url, String[] select, String where, String[] whereArgs, String sort) { in query() argument
897 return queryForUser(url, select, where, whereArgs, sort, UserHandle.getCallingUserId()); in query()
900 private Cursor queryForUser(Uri url, String[] select, String where, String[] whereArgs, in queryForUser() argument
903 SqlArguments args = new SqlArguments(url, where, whereArgs); in queryForUser()
1154 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
1157 SqlArguments args = new SqlArguments(url, where, whereArgs); in delete()
1190 public int update(Uri url, ContentValues initialValues, String where, String[] whereArgs) { in update() argument
1198 SqlArguments args = new SqlArguments(url, where, whereArgs); in update()
/frameworks/base/media/java/android/media/
DMediaScanner.java1234 ArrayList<String> whereArgs = new ArrayList<String>(100);
1250 whereArgs.add("" + id);
1251 if (whereArgs.size() > 100) {
1256 int size = whereArgs.size();
1259 foo = whereArgs.toArray(foo);
1265 whereArgs.clear();
1490 String[] whereArgs = new String[] { Integer.toString(objectHandle) };
1492 "_id=?", whereArgs);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java254 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
335 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
DInboundSmsHandler.java680 String[] whereArgs = {address, refNumber, count}; in processMessagePart() local
682 SELECT_BY_REFERENCE, whereArgs, null); in processMessagePart()
/frameworks/base/core/java/android/app/
DDownloadManager.java1275 String[] whereArgs = new String[ids.length]; in getWhereArgsForIds() local
1277 whereArgs[i] = Long.toString(ids[i]); in getWhereArgsForIds()
1279 return whereArgs; in getWhereArgsForIds()