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.java344 String[] whereArgs; in createObjectQuery() local
353 whereArgs = null; in createObjectQuery()
360 whereArgs = new String[] { Integer.toString(parent) }; in createObjectQuery()
367 whereArgs = new String[] { Integer.toString(format) }; in createObjectQuery()
374 whereArgs = new String[] { Integer.toString(format), in createObjectQuery()
385 whereArgs = new String[] { Integer.toString(storageID) }; in createObjectQuery()
392 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
400 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
408 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery()
420 whereArgs = mSubDirectoriesWhereArgs; in createObjectQuery()
[all …]
DMtpPropertyGroup.java295 String[] whereArgs; in getPropertyList() local
300 whereArgs = null; in getPropertyList()
302 whereArgs = new String[] { Integer.toString(handle) }; in getPropertyList()
313 whereArgs = new String[] { Integer.toString(format) }; in getPropertyList()
315 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) }; in getPropertyList()
328 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.java1491 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
1495 (!TextUtils.isEmpty(whereClause) ? " WHERE " + whereClause : ""), whereArgs); in delete()
1519 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
1520 return updateWithOnConflict(table, values, whereClause, whereArgs, CONFLICT_NONE); in update()
1538 String whereClause, String[] whereArgs, int conflictAlgorithm) { in updateWithOnConflict() argument
1553 … int bindArgsSize = (whereArgs == null) ? setValuesSize : (setValuesSize + whereArgs.length); in updateWithOnConflict()
1562 if (whereArgs != null) { in updateWithOnConflict()
1564 bindArgs[i] = whereArgs[i - setValuesSize]; in updateWithOnConflict()
/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/
DSettingsProvider.java688 public Cursor query(Uri url, String[] select, String where, String[] whereArgs, String sort) { in query() argument
689 return queryForUser(url, select, where, whereArgs, sort, UserHandle.getCallingUserId()); in query()
692 private Cursor queryForUser(Uri url, String[] select, String where, String[] whereArgs, in queryForUser() argument
695 SqlArguments args = new SqlArguments(url, where, whereArgs); in queryForUser()
929 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
932 SqlArguments args = new SqlArguments(url, where, whereArgs); in delete()
958 public int update(Uri url, ContentValues initialValues, String where, String[] whereArgs) { in update() argument
966 SqlArguments args = new SqlArguments(url, where, whereArgs); in update()
/frameworks/base/media/java/android/media/
DMediaScanner.java1232 ArrayList<String> whereArgs = new ArrayList<String>(100);
1248 whereArgs.add("" + id);
1249 if (whereArgs.size() > 100) {
1254 int size = whereArgs.size();
1257 foo = whereArgs.toArray(foo);
1263 whereArgs.clear();
1443 String[] whereArgs = new String[] { Integer.toString(objectHandle) };
1445 "_id=?", whereArgs);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java177 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
244 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
DSMSDispatcher.java629 String[] whereArgs = new String[] {address, refNumber}; in processMessagePart() local
630 cursor = mResolver.query(mRawUri, PDU_SEQUENCE_PORT_PROJECTION, where, whereArgs, null); in processMessagePart()
676 mResolver.delete(mRawUri, where, whereArgs); in processMessagePart()
/frameworks/base/core/java/android/app/
DDownloadManager.java1256 String[] whereArgs = new String[ids.length]; in getWhereArgsForIds() local
1258 whereArgs[i] = Long.toString(ids[i]); in getWhereArgsForIds()
1260 return whereArgs; in getWhereArgsForIds()