Home
last modified time | relevance | path

Searched refs:where (Results 1 – 25 of 159) sorted by relevance

1234567

/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemailClientImpl.java277 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/
Dadb.bash27 local where i cur serial
31 where=OPTIONS
36 where=OPT_SERIAL
39 where=OPT_PATH
42 where=OPTIONS
45 if [[ $where == OPT_SERIAL ]]; then
46 where=OPT_SERIAL_ARG
49 where=COMMAND
56 if [[ $where == COMMAND && $i -ge $COMP_CWORD ]]; then
57 where=OPTIONS
[all …]
/packages/apps/Dialer/java/com/android/dialer/database/
DCallLogQueryHandler.java106 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/
Dnetwork_mode_choices.proto17 // 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/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapContent.java1761 String where = ""; in setWhereFilterFolderTypeSms() local
1763 where = Sms.TYPE + " = 1 AND " + Sms.THREAD_ID + " <> -1"; in setWhereFilterFolderTypeSms()
1765 where = "(" + Sms.TYPE + " = 4 OR " + Sms.TYPE + " = 5 OR " + Sms.TYPE + " = 6) AND " in setWhereFilterFolderTypeSms()
1768 where = Sms.TYPE + " = 2 AND " + Sms.THREAD_ID + " <> -1"; in setWhereFilterFolderTypeSms()
1770 where = Sms.TYPE + " = 3 AND " + "(" + Sms.THREAD_ID + " IS NULL OR " + Sms.THREAD_ID in setWhereFilterFolderTypeSms()
1773 where = Sms.THREAD_ID + " = -1"; in setWhereFilterFolderTypeSms()
1776 return where; in setWhereFilterFolderTypeSms()
1780 String where = ""; in setWhereFilterFolderTypeMms() local
1782 where = Mms.MESSAGE_BOX + " = 1 AND " + Mms.THREAD_ID + " <> -1"; in setWhereFilterFolderTypeMms()
1784 where = Mms.MESSAGE_BOX + " = 4 AND " + Mms.THREAD_ID + " <> -1"; in setWhereFilterFolderTypeMms()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContentProvider.java40 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/Dialer/java/com/android/dialer/app/calllog/
DVoicemailQueryHandler.java70 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()
DCallLogAsyncTaskUtil.java124 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()
DCallLogNotificationsQueryHelper.java126 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/Launcher3/src/com/android/launcher3/util/
DContentWriter.java120 public CommitParams(String where, String[] selectionArgs) { in CommitParams() argument
121 this(LauncherSettings.Favorites.CONTENT_URI, where, selectionArgs); in CommitParams()
124 private CommitParams(Uri uri, String where, String[] selectionArgs) { in CommitParams() argument
126 mWhere = where; in CommitParams()
133 public static CommitParams backupCommitParams(String where, String[] selectionArgs) { in backupCommitParams() argument
135 LauncherSettings.Favorites.BACKUP_CONTENT_URI, where, selectionArgs); in backupCommitParams()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java351 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/
DUserDictionaryProvider.java259 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/
DSqliteWrapper.java51 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/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteQueryBuilder.java402 boolean distinct, String tables, String[] columns, String where, in buildQueryString() argument
422 appendClause(query, " WHERE ", where); in buildQueryString()
882 String where = computeWhere(selection);
885 mDistinct, mTables, projection, where,
993 final String where = computeWhere(selection);
994 appendClause(sql, " WHERE ", where);
1004 final String where = computeWhere(selection);
1005 appendClause(sql, " WHERE ", where);
1123 final StringBuilder where = new StringBuilder();
1125 where.append('(').append(mWhereClause).append(')');
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java850 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
857 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
860 MmsSmsDatabaseHelper.updateThreads(db, where, whereArgs); in delete()
886 where = DatabaseUtils.concatenateWhere("thread_id=" + threadID, where); in delete()
887 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
894 count = db.update(TABLE_RAW, cv, where, whereArgs); in delete()
902 count = db.delete(TABLE_RAW, where, whereArgs); in delete()
910 count = db.delete("sr_pending", where, whereArgs); in delete()
1035 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument
1106 where = DatabaseUtils.concatenateWhere(where, extraWhere); in update()
[all …]
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailStatusWorker.java42 StringBuilder where = new StringBuilder(); in doInBackground() local
47 .appendOmtpVoicemailStatusSelectionClause(context, where, selectionArgs); in doInBackground()
55 where.toString(), in doInBackground()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java145 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/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsCursorLoader.java74 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/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothMethodProxy.java121 final ContentValues contentValues, String where, String[] selectionArgs) { in contentResolverUpdate() argument
122 return contentResolver.update(contentUri, contentValues, where, selectionArgs); in contentResolverUpdate()
129 final String where, in contentResolverDelete() argument
131 return contentResolver.delete(url, where, selectionArgs); in contentResolverDelete()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java148 if (TextUtils.isEmpty(args.where)) { in getType()
192 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder); in query()
345 int count = db.delete(args.table, args.where, args.args); in delete()
360 int count = db.update(args.table, values, args.where, args.args); in update()
1161 public final String where; field in LauncherProvider.SqlArguments
1164 SqlArguments(Uri url, String where, String[] args) { in SqlArguments() argument
1167 this.where = where; in SqlArguments()
1171 } else if (!TextUtils.isEmpty(where)) { in SqlArguments()
1175 this.where = "_id=" + ContentUris.parseId(url); in SqlArguments()
1183 where = null; in SqlArguments()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DAtPhonebook.java416 String where; in queryPhonebook() local
421 where = null; in queryPhonebook()
423 where = OUTGOING_CALL_WHERE; in queryPhonebook()
425 where = INCOMING_CALL_WHERE; in queryPhonebook()
427 where = MISSED_CALL_WHERE; in queryPhonebook()
439 queryArgs.putString(ContentResolver.QUERY_ARG_SQL_SELECTION, where); in queryPhonebook()
455 queryArgs.putString(ContentResolver.QUERY_ARG_SQL_SELECTION, where); in queryPhonebook()
/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java166 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()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2DefaultDirectoryPhoneLookup.java379 String where =
400 where,
897 String where =
917 where,
958 StringBuilder where = new StringBuilder();
961 where.append(", ");
963 where.append("?");
965 return where.toString();
/packages/services/Car/tools/hidl_parser/
Dparser.py297 def __init__(self, where, ref): argument
298 self.where = where
302 return '%s:%s' % (self.where, self.ref)
305 enum = document['enums'][self.where]
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DTtlPointsDecremental.java59 String where = COLUMN_ID + " = " + bugReport.getId(); in run() local
60 resolver.update(BugStorageProvider.BUGREPORT_CONTENT_URI, values, where, null); in run()

1234567