/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DatabaseModifier.java | 45 String whereClause, String[] whereArgs); 50 public abstract int delete(String table, String whereClause, String[] whereArgs);
|
DbModifierWithNotification.java | 140 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { 141 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); 143 int count = mDb.update(table, values, whereClause, whereArgs); 154 public int delete(String table, String whereClause, String[] whereArgs) { 155 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); 156 int count = mDb.delete(table, whereClause, whereArgs); 172 private Set<String> getModifiedPackages(String whereClause, String[] whereArgs) { 175 DbQueryUtils.concatenateClauses(NON_NULL_SOURCE_PACKAGE_SELECTION, whereClause),
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
SQLite.java | 52 * @param whereClause SQL where clause fragment 53 * @param whereArgs Array of substitutions for args in whereClause 56 public static SQLStringAndBindings buildUpdateString(String table, ContentValues values, String whereClause, String[] whereArgs) { 66 if (whereClause != null) { 67 String where = whereClause; 69 where = buildWhereClause(whereClause, whereArgs); 83 * @param whereClause SQL where clause fragment 84 * @param whereArgs Array of substitutions for args in whereClause 87 public static String buildDeleteString(String table, String whereClause, String[] whereArgs) { 93 if (whereClause != null) [all...] |
/frameworks/base/core/java/android/provider/ |
Browser.java | 274 StringBuilder whereClause = null; 276 whereClause = new StringBuilder(Bookmarks.URL + " = "); 277 DatabaseUtils.appendEscapedSQLString(whereClause, 279 addOrUrlEquals(whereClause); 280 DatabaseUtils.appendEscapedSQLString(whereClause, 283 whereClause = new StringBuilder(Bookmarks.URL + " = "); 284 DatabaseUtils.appendEscapedSQLString(whereClause, 286 addOrUrlEquals(whereClause); 288 DatabaseUtils.appendEscapedSQLString(whereClause, 290 addOrUrlEquals(whereClause); [all...] |
/frameworks/base/core/java/android/content/ |
SearchRecentSuggestionsProvider.java | 364 StringBuilder whereClause = new StringBuilder(256); 366 whereClause.append("(_id = ").append(uri.getPathSegments().get(1)).append(")"); 371 if (whereClause.length() > 0) { 372 whereClause.append(" AND "); 375 whereClause.append('('); 376 whereClause.append(selection); 377 whereClause.append(')'); 381 Cursor c = db.query(base, useProjection, whereClause.toString(),
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailFilterFactory.java | 50 public static VoicemailFilter createWithWhereClause(final String whereClause) { 54 return TextUtils.isEmpty(whereClause) ? null : whereClause;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
ImageList.java | 46 whereClause(), whereClauseArgs(), null); 71 protected String whereClause() { 91 whereClause(), whereClauseArgs(), sortOrder());
|
VideoList.java | 90 whereClause(), whereClauseArgs(), sortOrder()); 102 protected String whereClause() { 116 whereClause(), whereClauseArgs(), sortOrder());
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
SQLite_Test.java | 51 String whereClause = buildWhereClause("id=? AND name=? AND int_value=?", new String[]{"1234", "Chuck", "33"}); 52 assertThat(whereClause, equalTo("id='1234' AND name='Chuck' AND int_value='33'"));
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssContentProvider.java | 170 public int update(Uri uri, ContentValues values, String whereClause) { 172 int updateCount = mDb.update(DATABASE_TABLE_NAME, values, whereClause);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSQLiteDatabase.java | 154 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { 155 SQLStringAndBindings sqlUpdateString = buildUpdateString(table, values, whereClause, whereArgs); 172 public int delete(String table, String whereClause, String[] whereArgs) { 173 String sql = buildDeleteString(table, whereClause, whereArgs);
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDatabase.java | [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastContentProvider.java | 260 String whereClause = columnName + "=?"; 263 int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs);
|
/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetProvider.java | 201 String whereClause = String.format("%s=%d", FIELD_APPWIDGET_ID, 203 db.delete(TABLE_PHOTOS, whereClause, null);
|
/frameworks/base/core/java/android/app/ |
DownloadManager.java | [all...] |
/frameworks/base/media/java/android/media/ |
MediaScanner.java | [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
BrowserProvider.java | 773 String whereClause = null; 775 whereClause = "_id = " + url.getPathSegments().get(1); 779 DatabaseUtils.concatenateWhere(whereClause, selection), selectionArgs, [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapContentObserver.java | 746 String whereClause = " _id= " + handle; 748 Cursor queryResult = contentResolver.query(uri, null, whereClause, null, null); 755 contentResolver.update(uri, data, whereClause, null); [all...] |
/packages/apps/Mms/src/com/android/mms/data/ |
Contact.java | 634 final String whereClause = Phone._ID + " IN (" + idSetBuilder.toString() + ")"; 636 PHONES_WITH_PRESENCE_URI, CALLER_ID_PROJECTION, whereClause, null, null); [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
EmailProvider.java | [all...] |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |