Home
last modified time | relevance | path

Searched refs:DirectoryQuery (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
DDirectoryListLoader.java44 private static final class DirectoryQuery { class in DirectoryListLoader
147 Cursor cursor = context.getContentResolver().query(DirectoryQuery.URI, in loadInBackground()
148 DirectoryQuery.PROJECTION, selection, null, DirectoryQuery.ORDER_BY); in loadInBackground()
151 long directoryId = cursor.getLong(DirectoryQuery.ID); in loadInBackground()
154 String packageName = cursor.getString(DirectoryQuery.PACKAGE_NAME); in loadInBackground()
155 int typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in loadInBackground()
164 String displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in loadInBackground()
165 int photoSupport = cursor.getInt(DirectoryQuery.PHOTO_SUPPORT); in loadInBackground()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java80 private final static class DirectoryQuery { class in ContactDirectoryManager
419 uri, DirectoryQuery.PROJECTION, null, null, null); in queryDirectoriesForAuthority()
427 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in queryDirectoriesForAuthority()
428 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in queryDirectoriesForAuthority()
429 info.displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in queryDirectoriesForAuthority()
430 if (!cursor.isNull(DirectoryQuery.TYPE_RESOURCE_ID)) { in queryDirectoriesForAuthority()
431 info.typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in queryDirectoriesForAuthority()
433 if (!cursor.isNull(DirectoryQuery.EXPORT_SUPPORT)) { in queryDirectoriesForAuthority()
434 int exportSupport = cursor.getInt(DirectoryQuery.EXPORT_SUPPORT); in queryDirectoriesForAuthority()
446 if (!cursor.isNull(DirectoryQuery.SHORTCUT_SUPPORT)) { in queryDirectoriesForAuthority()
[all …]
DContactsProvider2.java4817 private static final class DirectoryQuery { class in ContactsProvider2
4840 DirectoryQuery.COLUMNS, in getDirectoryAuthority()
4845 String id = cursor.getString(DirectoryQuery.DIRECTORY_ID); in getDirectoryAuthority()
4846 info.authority = cursor.getString(DirectoryQuery.AUTHORITY); in getDirectoryAuthority()
4847 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in getDirectoryAuthority()
4848 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in getDirectoryAuthority()
/packages/apps/Contacts/src/com/android/contacts/
DContactLoader.java688 private static class DirectoryQuery { class in ContactLoader
1042 DirectoryQuery.COLUMNS, null, null, null); in loadDirectoryMetaData()
1048 final String displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in loadDirectoryMetaData()
1049 final String packageName = cursor.getString(DirectoryQuery.PACKAGE_NAME); in loadDirectoryMetaData()
1050 final int typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in loadDirectoryMetaData()
1051 final String accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in loadDirectoryMetaData()
1052 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData()
1053 final int exportSupport = cursor.getInt(DirectoryQuery.EXPORT_SUPPORT); in loadDirectoryMetaData()