/packages/apps/Contacts/src/com/android/contacts/database/ |
D | SimContactDaoImpl.java | 306 final StringBuilder selectionBuilder = new StringBuilder(); in queryRawContactsForSimContacts() local 319 selectionBuilder.append('('); in queryRawContactsForSimContacts() 320 selectionBuilder.append(Data.MIMETYPE).append("=? AND "); in queryRawContactsForSimContacts() 323 selectionBuilder.append(Phone.NUMBER).append(" IN (") in queryRawContactsForSimContacts() 331 selectionBuilder.append(')'); in queryRawContactsForSimContacts() 334 selectionBuilder.append(" OR ("); in queryRawContactsForSimContacts() 336 selectionBuilder.append(Data.MIMETYPE).append("=? AND "); in queryRawContactsForSimContacts() 339 selectionBuilder.append(Data.DISPLAY_NAME).append(" IN (") in queryRawContactsForSimContacts() 347 selectionBuilder.append(')'); in queryRawContactsForSimContacts() 354 selectionBuilder.toString(), in queryRawContactsForSimContacts() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailContentProvider.java | 207 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in query() local 208 selectionBuilder.addClause(getPackageRestrictionClause(true/*isQuery*/)); in query() 209 return getTableDelegate(uriData).query(uriData, projection, selectionBuilder.build(), in query() 223 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in update() local 224 selectionBuilder.addClause(getPackageRestrictionClause(false/*isQuery*/)); in update() 225 return getTableDelegate(uriData).update(uriData, values, selectionBuilder.build(), in update() 239 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in delete() local 240 selectionBuilder.addClause(getPackageRestrictionClause(false/*isQuery*/)); in delete() 241 return getTableDelegate(uriData).delete(uriData, selectionBuilder.build(), selectionArgs); in delete()
|
D | CallLogProvider.java | 494 final SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in queryInternal() local 495 checkVoicemailPermissionAndAddRestriction(uri, selectionBuilder, true /*isQuery*/); in queryInternal() 496 selectionBuilder.addClause(EXCLUDE_HIDDEN_SELECTION); in queryInternal() 504 selectionBuilder.addClause(getEqualityClause(Calls._ID, in queryInternal() 537 final Cursor c = qb.query(db, projection, selectionBuilder.build(), selectionArgs, null, in queryInternal() 953 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in updateInternal() local 954 checkVoicemailPermissionAndAddRestriction(uri, selectionBuilder, false /*isQuery*/); in updateInternal() 964 selectionBuilder.addClause(getEqualityClause(Calls._ID, parseCallIdFromUri(uri))); in updateInternal() 972 values, selectionBuilder.build(), selectionArgs); in updateInternal() 992 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in deleteInternal() local [all …]
|
D | CallComposerLocationProvider.java | 101 final SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in query() local 104 selectionBuilder.addClause(getEqualityClause(CallLog.Locations._ID, in query() 113 return qb.query(db, projection, selectionBuilder.build(), selectionArgs, null, in query()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | ApnDatabase.java | 229 final StringBuilder selectionBuilder = new StringBuilder(); in saveUserDataFromOldTable() local 233 if (selectionBuilder.length() > 0) { in saveUserDataFromOldTable() 234 selectionBuilder.append(" AND "); in saveUserDataFromOldTable() 238 selectionBuilder.append(key).append(" IS NULL"); in saveUserDataFromOldTable() 240 selectionBuilder.append(key).append("=?"); in saveUserDataFromOldTable() 249 selectionBuilder.toString(), in saveUserDataFromOldTable()
|
D | BugleApnSettingsLoader.java | 446 final StringBuilder selectionBuilder = new StringBuilder(); in querySystem() local 449 selectionBuilder.append(SELECTION_CURRENT); in querySystem() 453 if (selectionBuilder.length() > 0) { in querySystem() 454 selectionBuilder.append(" AND "); in querySystem() 456 selectionBuilder.append(SELECTION_APN); in querySystem() 465 selectionBuilder.toString(), in querySystem()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | DefaultApnSettingsLoader.java | 348 final StringBuilder selectionBuilder = new StringBuilder(); in querySystem() local 351 selectionBuilder.append(Telephony.Carriers.CURRENT).append(" IS NOT NULL"); in querySystem() 355 if (selectionBuilder.length() > 0) { in querySystem() 356 selectionBuilder.append(" AND "); in querySystem() 358 selectionBuilder.append(Telephony.Carriers.APN).append("=?"); in querySystem() 365 selectionBuilder.toString(), in querySystem()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ |
D | ClearMissedCalls.java | 139 Selection.Builder selectionBuilder = 149 selectionBuilder.and(Selection.column(Calls._ID).in(toStrings(ids))); 151 Selection selection = selectionBuilder.build();
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogNotificationsQueryHelper.java | 369 Selection.Builder selectionBuilder = in query() local 376 selectionBuilder.and(Selection.column(Voicemails.DELETED).is(" = 0")); in query() 380 selectionBuilder = in query() 381 selectionBuilder.and( in query() 388 Selection selection = selectionBuilder.build(); in query()
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberProvider.java | 392 StringBuilder selectionBuilder = new StringBuilder(ORIGINAL_NUMBER_SELECTION); in unblock() local 396 selectionBuilder.append(" or " + E164_NUMBER_SELECTION); in unblock() 399 String selection = selectionBuilder.toString(); in unblock()
|