/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | VoicemailClientImpl.java | 277 Context context, StringBuilder where, List<String> selectionArgs) { in appendOmtpVoicemailSelectionClause() argument 280 if (where.length() != 0) { in appendOmtpVoicemailSelectionClause() 281 where.append(" AND "); in appendOmtpVoicemailSelectionClause() 283 where.append("("); in appendOmtpVoicemailSelectionClause() 285 where.append("("); in appendOmtpVoicemailSelectionClause() 287 where.append(Voicemails.IS_OMTP_VOICEMAIL).append(" != 1"); in appendOmtpVoicemailSelectionClause() 288 where.append(")"); in appendOmtpVoicemailSelectionClause() 290 where.append(" OR "); in appendOmtpVoicemailSelectionClause() 291 where.append("("); in appendOmtpVoicemailSelectionClause() 293 where.append(Voicemails.SOURCE_PACKAGE).append(" = ?"); in appendOmtpVoicemailSelectionClause() [all …]
|
/packages/modules/adb/ |
D | adb.bash | 27 local where i cur serial state transport 31 where=OPTIONS 36 where=OPT_SERIAL 39 where=OPT_PATH 42 where=OPTIONS 45 where=OPTIONS 48 if [[ $where == OPT_SERIAL ]]; then 49 where=OPT_SERIAL_ARG 52 where=COMMAND 59 if [[ $where == COMMAND && $i -ge $COMP_CWORD ]]; then [all …]
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | CallLogQueryHandler.java | 106 StringBuilder where = new StringBuilder(); in fetchVoicemailStatus() local 111 .appendOmtpVoicemailStatusSelectionClause(context, where, selectionArgs); in fetchVoicemailStatus() 120 where.toString(), in fetchVoicemailStatus() 133 StringBuilder where = in fetchVoicemailUnreadCount() local 139 .appendOmtpVoicemailSelectionClause(context, where, selectionArgs); in fetchVoicemailUnreadCount() 146 where.toString(), in fetchVoicemailUnreadCount() 154 StringBuilder where = new StringBuilder(); in fetchCalls() local 158 where.append("(").append(Calls.TYPE).append(" != ?)"); in fetchCalls() 162 where.append(" AND (").append(Voicemails.DELETED).append(" = 0)"); in fetchCalls() 165 where.append(" AND (").append(Calls.NEW).append(" = 1)"); in fetchCalls() [all …]
|
/packages/apps/Settings/protos/ |
D | network_mode_choices.proto | 17 // For the case where either unsupported or unable to categorized properly. 20 // For the case where CDMA is supported and LTE is not prioritized over 24 // For the case where CDMA is supported and LTE is not available. 28 // For the case where CDMA is supported and LTE is available. 32 // For the case where TDSCDMA is primary network type. 36 // For the case where GSM and LTE options are removed from the menu. 40 // For the case where GSM option are removed from the menu. The wording of LTE is '4G'. 44 // For the case where GSM option are removed from the menu. The wording of LTE is 'LTE'. 48 // For the case where LTE is disabled. 52 // For the case where GSM related carrier with 4G/LTE supported. The wording of LTE is '4G'. [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 66 if (TextUtils.isEmpty(args.where)) { in getType() 82 result[0] = controller.query(args.table, projection, args.where, args.args, sortOrder); in query() 136 return executeControllerTask(c -> c.delete(args.table, args.where, args.args)); in delete() 142 return executeControllerTask(c -> c.update(args.table, values, args.where, args.args)); in update() 165 public final String where; field in SqlArguments 168 SqlArguments(Uri url, String where, String[] args) { in SqlArguments() argument 171 this.where = where; in SqlArguments() 175 } else if (!TextUtils.isEmpty(where)) { in SqlArguments() 179 this.where = "_id=" + ContentUris.parseId(url); in SqlArguments() 187 where = null; in SqlArguments()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 1667 String where = ""; in setWhereFilterFolderTypeSms() local 1669 where = Sms.TYPE + " = 1 AND " + Sms.THREAD_ID + " <> -1"; in setWhereFilterFolderTypeSms() 1671 where = in setWhereFilterFolderTypeSms() 1682 where = Sms.TYPE + " = 2 AND " + Sms.THREAD_ID + " <> -1"; in setWhereFilterFolderTypeSms() 1684 where = in setWhereFilterFolderTypeSms() 1693 where = Sms.THREAD_ID + " = -1"; in setWhereFilterFolderTypeSms() 1696 return where; in setWhereFilterFolderTypeSms() 1700 String where = ""; in setWhereFilterFolderTypeMms() local 1702 where = Mms.MESSAGE_BOX + " = 1 AND " + Mms.THREAD_ID + " <> -1"; in setWhereFilterFolderTypeMms() 1704 where = Mms.MESSAGE_BOX + " = 4 AND " + Mms.THREAD_ID + " <> -1"; in setWhereFilterFolderTypeMms() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | VoicemailQueryHandler.java | 70 StringBuilder where = new StringBuilder(); in markNewVoicemailsAsOld() local 71 where.append(Calls.NEW); in markNewVoicemailsAsOld() 72 where.append(" = 1 AND "); in markNewVoicemailsAsOld() 73 where.append(Calls.TYPE); in markNewVoicemailsAsOld() 74 where.append(" = ?"); in markNewVoicemailsAsOld() 77 where.append(" AND ").append(Calls.VOICEMAIL_URI).append(" = ?"); in markNewVoicemailsAsOld() 88 where.toString(), in markNewVoicemailsAsOld()
|
D | CallLogAsyncTaskUtil.java | 124 StringBuilder where = new StringBuilder(); in markCallAsRead() 125 where.append(CallLog.Calls.TYPE).append(" = ").append(CallLog.Calls.MISSED_TYPE); in markCallAsRead() 126 where.append(" AND "); in markCallAsRead() 132 where in markCallAsRead() 140 .update(CallLog.Calls.CONTENT_URI, values, where.toString(), null); in markCallAsRead()
|
D | CallLogNotificationsQueryHelper.java | 126 StringBuilder where = new StringBuilder(); in markMissedCallsInCallLogAsRead() local 127 where.append(Calls.NEW); in markMissedCallsInCallLogAsRead() 128 where.append(" = 1 AND "); in markMissedCallsInCallLogAsRead() 129 where.append(Calls.TYPE); in markMissedCallsInCallLogAsRead() 130 where.append(" = ?"); in markMissedCallsInCallLogAsRead() 137 where.toString(), in markMissedCallsInCallLogAsRead()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeContentProvider.java | 40 private final String where; field in FakeContentProvider.ContentOverride 45 ContentOverride(final String uri, final String where, final String args, in ContentOverride() argument 48 this.where = where; in ContentOverride() 54 boolean match(final String uri, final String where, final String[] args) { in match() argument 55 if (!this.uri.equals(uri) || !TextUtils.equals(this.where, where)) { in match() 88 public void addOverrideData(final Uri uri, final String where, final String args, in addOverrideData() argument 90 mOverrides.add(new ContentOverride(uri.toString(), where, args, columns, data)); in addOverrideData()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 351 String where; in addIdToSelection() local 356 where = WHERE_ID; in addIdToSelection() 361 return DatabaseUtils.concatenateWhere(selection, where); in addIdToSelection() 461 protected static String metadataSelectionFromPhotos(String where) { in metadataSelectionFromPhotos() argument 462 return nestWhere(Metadata.PHOTO_ID, Photos.TABLE, where); in metadataSelectionFromPhotos() 465 protected static String photoSelectionFromAlbums(String where) { in photoSelectionFromAlbums() argument 466 return nestWhere(Photos.ALBUM_ID, Albums.TABLE, where); in photoSelectionFromAlbums() 469 protected static String photoSelectionFromAccounts(String where) { in photoSelectionFromAccounts() argument 470 return nestWhere(Photos.ACCOUNT_ID, Accounts.TABLE, where); in photoSelectionFromAccounts() 473 protected static String albumSelectionFromAccounts(String where) { in albumSelectionFromAccounts() argument [all …]
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | UserDictionaryProvider.java | 259 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument 269 count = db.delete(USERDICT_TABLE_NAME, where, whereArgs); in delete() 275 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in delete() 288 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument 298 count = db.update(USERDICT_TABLE_NAME, values, where, whereArgs); in update() 304 + (!TextUtils.isEmpty(where) ? " AND (" + where + ')' : ""), whereArgs); in update()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/ |
D | SqliteWrapper.java | 51 ContentValues values, String where, String[] selectionArgs) { in update() argument 53 return resolver.update(uri, values, where, selectionArgs); in update() 64 String where, String[] selectionArgs) { in delete() argument 66 return resolver.delete(uri, where, selectionArgs); in delete()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/ |
D | AbstractSupportedFeatureRule.java | 215 String where, Collection<Annotation> annotations) { 224 where, annotations, annotation); 231 where, annotations, annotation); 238 where, annotations, annotation); 244 where, annotations);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SmsProvider.java | 979 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument 1025 where = DatabaseUtils.concatenateWhere(where, filter); in delete() 1026 count = db.delete(TABLE_SMS, where, whereArgs); in delete() 1029 MmsSmsDatabaseHelper.updateThreads(db, where, whereArgs); in delete() 1055 where = DatabaseUtils.concatenateWhere("thread_id=" + threadID, where); in delete() 1060 where = DatabaseUtils.concatenateWhere(where, filter); in delete() 1061 count = db.delete(TABLE_SMS, where, whereArgs); in delete() 1068 count = db.update(TABLE_RAW, cv, where, whereArgs); in delete() 1076 count = db.delete(TABLE_RAW, where, whereArgs); in delete() 1088 where = DatabaseUtils.concatenateWhere(where, selectionBySubIds); in delete() [all …]
|
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/db/ |
D | DeviceConfigDbAdapter.java | 91 String where = DeviceConfigEntry.COLUMN_NAME_NAMESPACE + " = ? " in insertOrUpdateValue_inTransaction() local 95 int updatedRows = mDb.update(DeviceConfigEntry.TABLE_NAME, values, where, whereArgs); in insertOrUpdateValue_inTransaction() 144 String where = DeviceConfigEntry.COLUMN_NAME_NAMESPACE + " = ? " in deleteValue() local 147 int count = mDb.delete(DeviceConfigEntry.TABLE_NAME, where, whereArgs); in deleteValue()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | VoicemailStatusWorker.java | 42 StringBuilder where = new StringBuilder(); in doInBackground() local 47 .appendOmtpVoicemailStatusSelectionClause(context, where, selectionArgs); in doInBackground() 55 where.toString(), in doInBackground()
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | ContactsCursorLoader.java | 74 String where = getProjection(context)[CONTACT_DISPLAY_NAME] + " IS NOT NULL"; in getWhere() local 76 where += " AND " + Contacts.HAS_PHONE_NUMBER + "=1"; in getWhere() 78 return where; in getWhere()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | SQLiteQueryBuilder.java | 431 boolean distinct, String tables, String[] columns, String where, in buildQueryString() argument 451 appendClause(query, " WHERE ", where); in buildQueryString() 911 String where = computeWhere(selection); 914 mDistinct, mTables, projection, where, 1022 final String where = computeWhere(selection); 1023 appendClause(sql, " WHERE ", where); 1033 final String where = computeWhere(selection); 1034 appendClause(sql, " WHERE ", where); 1158 final StringBuilder where = new StringBuilder(); 1160 where.append('(').append(mWhereClause).append(')'); [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 260 final String where = "profileId NOT IN (" + TextUtils.join(", ", Arrays.asList(args)) + ")"; in sanitizeDB() local 261 logFavoritesTable(db, "items to delete from unrestored profiles:", where, profileIds); in sanitizeDB() 263 reportUnrestoredProfiles(db, where, profileIds, restoreEventLogger); in sanitizeDB() 265 int itemsDeletedCount = db.delete(Favorites.TABLE_NAME, where, profileIds); in sanitizeDB() 494 final String where = "appWidgetId=? and (restored & 1) = 1 and profileId=?"; in restoreAppWidgetIds() local 500 new ContentWriter.CommitParams(controller, where, args)) in restoreAppWidgetIds() 624 String where, String[] profileIds) { in logFavoritesTable() argument 628 /* selection */ where, in logFavoritesTable() argument 665 private void reportUnrestoredProfiles(SQLiteDatabase database, String where, in reportUnrestoredProfiles() argument 668 + where + " GROUP BY itemType"; in reportUnrestoredProfiles()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 145 String where = "SELECT " + columnName + " FROM " + Tables.EVENTS + in getEventValue() local 147 return DatabaseUtils.stringForQuery(db, where, in getEventValue() 791 String where = SQL_WHERE_ID_FROM_INSTANCES_NOT_SYNCED; in updateRecurrenceInstancesLocked() local 792 delCount = db.delete(Tables.INSTANCES, where, new String[] { in updateRecurrenceInstancesLocked() 799 String where = SQL_WHERE_ID_FROM_INSTANCES_SYNCED; in updateRecurrenceInstancesLocked() local 800 delCount = db.delete(Tables.INSTANCES, where, new String[] { in updateRecurrenceInstancesLocked() 840 String where = CalendarProvider2.SQL_WHERE_ID; in getRelevantRecurrenceEntries() local 841 qb.appendWhere(where); in getRelevantRecurrenceEntries() 847 String where = "(" + Events._SYNC_ID + "=? OR " + Events.ORIGINAL_SYNC_ID + "=?) AND " in getRelevantRecurrenceEntries() local 849 qb.appendWhere(where); in getRelevantRecurrenceEntries()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
D | BluetoothMethodProxy.java | 130 String where, in contentResolverUpdate() argument 132 return contentResolver.update(contentUri, contentValues, where, selectionArgs); in contentResolverUpdate() 139 final String where, in contentResolverDelete() argument 141 return contentResolver.delete(url, where, selectionArgs); in contentResolverDelete()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | TtlPointsDecremental.java | 59 String where = COLUMN_ID + " = " + bugReport.getId(); in run() local 60 resolver.update(BugStorageProvider.BUGREPORT_CONTENT_URI, values, where, null); in run()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 413 String where; in queryPhonebook() local 418 where = null; in queryPhonebook() 420 where = OUTGOING_CALL_WHERE; in queryPhonebook() 422 where = INCOMING_CALL_WHERE; in queryPhonebook() 424 where = MISSED_CALL_WHERE; in queryPhonebook() 436 queryArgs.putString(ContentResolver.QUERY_ARG_SQL_SELECTION, where); in queryPhonebook() 458 queryArgs.putString(ContentResolver.QUERY_ARG_SQL_SELECTION, where); in queryPhonebook()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | HeaderGridView.java | 166 private void removeFixedViewInfo(View v, ArrayList<FixedViewInfo> where) { in removeFixedViewInfo() argument 167 int len = where.size(); in removeFixedViewInfo() 169 FixedViewInfo info = where.get(i); in removeFixedViewInfo() 171 where.remove(i); in removeFixedViewInfo()
|