/packages/apps/Contacts/src/com/android/contacts/database/ |
D | SimContactDaoImpl.java | 314 final StringBuilder selectionBuilder = new StringBuilder(); in queryRawContactsForSimContacts() local 327 selectionBuilder.append('('); in queryRawContactsForSimContacts() 328 selectionBuilder.append(Data.MIMETYPE).append("=? AND "); in queryRawContactsForSimContacts() 331 selectionBuilder.append(Phone.NUMBER).append(" IN (") in queryRawContactsForSimContacts() 339 selectionBuilder.append(')'); in queryRawContactsForSimContacts() 342 selectionBuilder.append(" OR ("); in queryRawContactsForSimContacts() 344 selectionBuilder.append(Data.MIMETYPE).append("=? AND "); in queryRawContactsForSimContacts() 347 selectionBuilder.append(Data.DISPLAY_NAME).append(" IN (") in queryRawContactsForSimContacts() 355 selectionBuilder.append(')'); in queryRawContactsForSimContacts() 362 selectionBuilder.toString(), in queryRawContactsForSimContacts() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogProvider.java | 327 final SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in queryInternal() local 328 checkVoicemailPermissionAndAddRestriction(uri, selectionBuilder, true /*isQuery*/); in queryInternal() 329 selectionBuilder.addClause(EXCLUDE_HIDDEN_SELECTION); in queryInternal() 337 selectionBuilder.addClause(getEqualityClause(Calls._ID, in queryInternal() 369 final Cursor c = qb.query(db, projection, selectionBuilder.build(), selectionArgs, null, in queryInternal() 526 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in updateInternal() local 527 checkVoicemailPermissionAndAddRestriction(uri, selectionBuilder, false /*isQuery*/); in updateInternal() 536 selectionBuilder.addClause(getEqualityClause(Calls._ID, parseCallIdFromUri(uri))); in updateInternal() 543 … return createDatabaseModifier(db).update(uri, Tables.CALLS, values, selectionBuilder.build(), in updateInternal() 555 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in deleteInternal() local [all …]
|
D | VoicemailContentProvider.java | 204 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in query() local 205 selectionBuilder.addClause(getPackageRestrictionClause(true/*isQuery*/)); in query() 206 return getTableDelegate(uriData).query(uriData, projection, selectionBuilder.build(), in query() 219 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in update() local 220 selectionBuilder.addClause(getPackageRestrictionClause(false/*isQuery*/)); in update() 221 return getTableDelegate(uriData).update(uriData, values, selectionBuilder.build(), in update() 234 SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in delete() local 235 selectionBuilder.addClause(getPackageRestrictionClause(false/*isQuery*/)); in delete() 236 return getTableDelegate(uriData).delete(uriData, selectionBuilder.build(), selectionArgs); in delete()
|
D | ContactMetadataProvider.java | 133 final SelectionBuilder selectionBuilder = new SelectionBuilder(selection); in query() local 143 selectionBuilder.addClause(getEqualityClause(MetadataSync._ID, in query() 156 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/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/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/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberProvider.java | 389 StringBuilder selectionBuilder = new StringBuilder(ORIGINAL_NUMBER_SELECTION); in unblock() local 393 selectionBuilder.append(" or " + E164_NUMBER_SELECTION); in unblock() 396 String selection = selectionBuilder.toString(); in unblock()
|