Home
last modified time | relevance | path

Searched refs:projectionMap (Results 1 – 11 of 11) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DDBQueryUtilsTest.java61 final ProjectionMap projectionMap = new ProjectionMap.Builder() in testCheckForSupportedColumns() local
67 checkForSupportedColumns(projectionMap, values); in testCheckForSupportedColumns()
73 checkForSupportedColumns(projectionMap, values); in testCheckForSupportedColumns()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1335 Map<String, String> projectionMap; in call() local
1340 projectionMap = sChannelProjectionMap; in call()
1343 projectionMap = sProgramProjectionMap; in call()
1346 projectionMap = sPreviewProgramProjectionMap; in call()
1349 projectionMap = sWatchNextProgramProjectionMap; in call()
1352 projectionMap = sRecordedProgramProjectionMap; in call()
1359 projectionMap.keySet().toArray(new String[projectionMap.size()])); in call()
1378 projectionMap = sChannelProjectionMap; in call()
1382 projectionMap = sProgramProjectionMap; in call()
1386 projectionMap = sPreviewProgramProjectionMap; in call()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DDbQueryUtils.java91 public static void checkForSupportedColumns(Map<String, String> projectionMap, in checkForSupportedColumns() argument
93 checkForSupportedColumns(projectionMap.keySet(), values, "Is invalid."); in checkForSupportedColumns()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java1532 Map<String, String> projectionMap; in query() local
1535 projectionMap = sProgramProjectionMap; in query()
1539 projectionMap = sWatchedProgramProjectionMap; in query()
1543 projectionMap = sRecordedProgramProjectionMap; in query()
1546 projectionMap = sPreviewProgramProjectionMap; in query()
1549 projectionMap = sWatchNextProgramProjectionMap; in query()
1552 projectionMap = sChannelProjectionMap; in query()
1555 queryBuilder.setProjectionMap(createProjectionMapForQuery(projection, projectionMap)); in query()
1557 validateSortOrder(sortOrder, projectionMap.keySet()); in query()
1884 SQLiteDatabase db, String tableName, Map<String, String> projectionMap) { in updateProjectionMap() argument
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DSQLiteQueryBuilderTest.java97 ArrayMap<String, String> projectionMap = new ArrayMap<>(); in testCopyConstructor() local
98 projectionMap.put("EmployeeName", "name"); in testCopyConstructor()
99 qb.setProjectionMap(projectionMap); in testCopyConstructor()
973 final Map<String, String> projectionMap = new HashMap<>(); in createStrictQueryBuilder() local
974 projectionMap.put("_id", "_id"); in createStrictQueryBuilder()
975 projectionMap.put("name", "name"); in createStrictQueryBuilder()
976 projectionMap.put("month", "month"); in createStrictQueryBuilder()
977 mStrictBuilder.setProjectionMap(projectionMap); in createStrictQueryBuilder()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java250 final HashMap<String, String> projectionMap = new HashMap<>(); in query() local
251 projectionMap.put(Sms.Conversations.SNIPPET, in query()
253 projectionMap.put(Sms.Conversations.THREAD_ID, in query()
255 projectionMap.put(Sms.Conversations.MESSAGE_COUNT, in query()
257 projectionMap.put("delta", null); in query()
258 qb.setProjectionMap(projectionMap); in query()
/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java317 protected String[] convertProjection(String[] projection, Map<String, String> projectionMap) { in convertProjection() argument
320 newProjection[i] = projectionMap.get(projection[i]) + " as " + projection[i]; in convertProjection()
DBluetoothMapEmailProvider.java515 protected String[] convertProjection(String[] projection, Map<String, String> projectionMap) { in convertProjection() argument
518 newProjection[i] = projectionMap.get(projection[i]) + " as " + projection[i]; in convertProjection()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java1552 final Map<String, String> projectionMap; in getQueryBuilder() local
1564 projectionMap = sDownloadsMap; in getQueryBuilder()
1580 projectionMap = sDownloadsMap; in getQueryBuilder()
1588 projectionMap = sHeadersMap; in getQueryBuilder()
1599 qb.setProjectionMap(projectionMap); in getQueryBuilder()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java5919 final ArrayMap<String, String> projectionMap = new ArrayMap<>(
5921 projectionMap.put(Images.Thumbnails.THUMB_DATA,
5923 qb.setProjectionMap(projectionMap);
5989 final ArrayMap<String, String> projectionMap = new ArrayMap<>(
5991 projectionMap.put(Audio.Genres.Members.AUDIO_ID,
5993 qb.setProjectionMap(projectionMap);
6052 final ArrayMap<String, String> projectionMap = new ArrayMap<>(
6054 projectionMap.put(Audio.Playlists.Members._ID,
6056 qb.setProjectionMap(projectionMap);
6081 final ArrayMap<String, String> projectionMap = new ArrayMap<>(
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java8101 ArrayMap<String, String> projectionMap = new ArrayMap<>(); in getFastScrollingIndexExtras() local
8102 projectionMap.put(AddressBookIndexQuery.NAME, in getFastScrollingIndexExtras()
8104 projectionMap.put(AddressBookIndexQuery.BUCKET, in getFastScrollingIndexExtras()
8106 projectionMap.put(AddressBookIndexQuery.LABEL, in getFastScrollingIndexExtras()
8114 projectionMap.put(AddressBookIndexQuery.COUNT, in getFastScrollingIndexExtras()
8116 qb.setProjectionMap(projectionMap); in getFastScrollingIndexExtras()
8723 final ProjectionMap projectionMap; in setTablesAndProjectionMapForData() local
8725 projectionMap = in setTablesAndProjectionMapForData()
8728 projectionMap = useDistinct ? sDistinctDataProjectionMap : sDataProjectionMap; in setTablesAndProjectionMapForData()
8731 qb.setProjectionMap(projectionMap); in setTablesAndProjectionMapForData()