/external/robolectric/v1/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'"));
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
MutationApplier.java | 88 String whereClause = 99 .withSelection(whereClause, whereArgs)
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
VoicemailStatusQueryHelper.java | 93 String whereClause = 101 cursor = mContentResolver.query(mSourceUri, PROJECTION, whereClause, whereArgs, null);
|
VoicemailsQueryHelper.java | 227 String whereClause = 235 cursor = mContentResolver.query(mSourceUri, PROJECTION, whereClause, whereArgs, null);
|
/external/robolectric/v1/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...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
VideoList.java | 90 whereClause(), whereClauseArgs(), sortOrder()); 102 protected String whereClause() { 116 whereClause(), whereClauseArgs(), sortOrder());
|
ImageList.java | 46 whereClause(), whereClauseArgs(), null); 71 protected String whereClause() { 91 whereClause(), whereClauseArgs(), sortOrder());
|
/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(),
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastContentProvider.java | 262 String whereClause = columnName + "=?"; 265 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);
|
/packages/apps/Settings/src/com/android/settings/search/ |
DatabaseResultLoader.java | 148 final String whereClause = buildSingleWordWhereClause(matchColumns); 152 return query(whereClause, selection, baseRank); 164 final String whereClause = buildSingleWordWhereClause(matchColumns); 168 return query(whereClause, selection, baseRank); 179 final String whereClause = buildTwoWordWhereClause(matchColumns); 182 return query(whereClause, selection, baseRank); 188 * @param whereClause Where clause for the SQL query which uses bindings. 189 * @param selection List of the transformed query to match each bind in the whereClause 193 private Set<SearchResult> query(String whereClause, String[] selection, int baseRank) { 196 try (Cursor resultCursor = database.query(TABLE_PREFS_INDEX, SELECT_COLUMNS, whereClause, [all...] |
DatabaseIndexingManager.java | 347 final String whereClause = DOCID + " = " + enabledResults.getInt(COLUMN_INDEX_ID); 348 database.update(TABLE_PREFS_INDEX, enabledToDisabledValue, whereClause, null); 374 String whereClause = DOCID + " = " + disabledResults.getInt(COLUMN_INDEX_ID); 375 database.update(TABLE_PREFS_INDEX, disabledToEnabledValue, whereClause, null); [all...] |
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
EABProvider.java | 425 String whereClause = "PHONE_NUMBERS_EQUAL(" 429 projection, whereClause, selectionArgs, null);
|
EABContactManager.java | 744 StringBuilder whereClause = new StringBuilder(); 745 whereClause.append("("); 748 whereClause.append("OR "); 750 whereClause.append(COLUMN_ID); 751 whereClause.append(" = ? "); 753 whereClause.append(")"); 754 return whereClause.toString(); [all...] |
/frameworks/base/core/java/android/provider/ |
Browser.java | 278 StringBuilder whereClause = null; 280 whereClause = new StringBuilder(Bookmarks.URL + " = "); 281 DatabaseUtils.appendEscapedSQLString(whereClause, 283 addOrUrlEquals(whereClause); 284 DatabaseUtils.appendEscapedSQLString(whereClause, 287 whereClause = new StringBuilder(Bookmarks.URL + " = "); 288 DatabaseUtils.appendEscapedSQLString(whereClause, 290 addOrUrlEquals(whereClause); 292 DatabaseUtils.appendEscapedSQLString(whereClause, 294 addOrUrlEquals(whereClause); [all...] |
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/ |
SystemCallLogDataSource.java | 299 String whereClause = (Calls._ID + " in (") + TextUtils.join(",", questionMarks) + ")"; 309 .query(Calls.CONTENT_URI, new String[] {Calls._ID}, whereClause, whereArgs, null)) {
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
CarrierProviderTest.java | 316 String whereClause = "mcc=? and mnc=?"; 318 numRowsDeleted = mContentResolver.delete(CarrierProvider.CONTENT_URI, whereClause, whereArgs);
|
/prebuilts/tools/common/m2/repository/com/firebase/firebase-client-android/2.5.2/ |
firebase-client-android-2.5.2.jar | |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapUtils.java | 342 String whereClause = Data.CONTACT_ID + "=?"; 349 mContext, mHandler, dataProjection, whereClause, selectionArgs, false); 371 Data.CONTENT_URI, dataProjection, whereClause, selectionArgs, null); 400 Data.CONTENT_URI, dataProjection, whereClause, selectionArgs, null); 502 String[] projection, String whereClause, String[] selectionArgs, boolean isLoad) { 505 Data.CONTENT_URI, projection, whereClause, selectionArgs, null);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SubscriptionInfoUpdater.java | [all...] |
SubscriptionController.java | 832 StringBuilder whereClause = new StringBuilder() [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
BugleDatabaseOperations.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapContentObserver.java | [all...] |
BluetoothMapContent.java | [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailProvider.java | [all...] |