Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DDirectoryListLoader.java47 private static final class DirectoryQuery { class in DirectoryListLoader
114 registerContentObserver(DirectoryQuery.getDirectoryUri(mDirectorySearchMode), in onStartLoading()
156 DirectoryQuery.getDirectoryUri(mDirectorySearchMode), in loadInBackground()
157 DirectoryQuery.PROJECTION, selection, null, DirectoryQuery.ORDER_BY); in loadInBackground()
164 long directoryId = cursor.getLong(DirectoryQuery.ID); in loadInBackground()
171 String packageName = cursor.getString(DirectoryQuery.PACKAGE_NAME); in loadInBackground()
172 int typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in loadInBackground()
181 String displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in loadInBackground()
182 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
417 uri, DirectoryQuery.PROJECTION, null, null, null); in queryDirectoriesForAuthority()
425 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in queryDirectoriesForAuthority()
426 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in queryDirectoriesForAuthority()
427 info.displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in queryDirectoriesForAuthority()
428 if (!cursor.isNull(DirectoryQuery.TYPE_RESOURCE_ID)) { in queryDirectoriesForAuthority()
429 info.typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in queryDirectoriesForAuthority()
431 if (!cursor.isNull(DirectoryQuery.EXPORT_SUPPORT)) { in queryDirectoriesForAuthority()
432 int exportSupport = cursor.getInt(DirectoryQuery.EXPORT_SUPPORT); in queryDirectoriesForAuthority()
444 if (!cursor.isNull(DirectoryQuery.SHORTCUT_SUPPORT)) { in queryDirectoriesForAuthority()
[all …]
DContactsProvider2.java5681 private static final class DirectoryQuery { class in ContactsProvider2
5704 Tables.DIRECTORIES, DirectoryQuery.COLUMNS, null, null, null, null, null); in getDirectoryAuthority()
5708 String id = cursor.getString(DirectoryQuery.DIRECTORY_ID); in getDirectoryAuthority()
5709 info.authority = cursor.getString(DirectoryQuery.AUTHORITY); in getDirectoryAuthority()
5710 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in getDirectoryAuthority()
5711 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in getDirectoryAuthority()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContactLoader.java277 private static class DirectoryQuery { class in ContactLoader
767 DirectoryQuery.COLUMNS, null, null, null); in loadDirectoryMetaData()
773 final String displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in loadDirectoryMetaData()
774 final String packageName = cursor.getString(DirectoryQuery.PACKAGE_NAME); in loadDirectoryMetaData()
775 final int typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in loadDirectoryMetaData()
776 final String accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in loadDirectoryMetaData()
777 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData()
778 final int exportSupport = cursor.getInt(DirectoryQuery.EXPORT_SUPPORT); in loadDirectoryMetaData()