Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/list/
DDirectoryListLoader.java45 private static final class DirectoryQuery { class in DirectoryListLoader
112 registerContentObserver(DirectoryQuery.getDirectoryUri(mDirectorySearchMode), in onStartLoading()
154 DirectoryQuery.getDirectoryUri(mDirectorySearchMode), in loadInBackground()
155 DirectoryQuery.PROJECTION, selection, null, DirectoryQuery.ORDER_BY); in loadInBackground()
162 long directoryId = cursor.getLong(DirectoryQuery.ID); in loadInBackground()
169 String packageName = cursor.getString(DirectoryQuery.PACKAGE_NAME); in loadInBackground()
170 int typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in loadInBackground()
179 String displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in loadInBackground()
180 int photoSupport = cursor.getInt(DirectoryQuery.PHOTO_SUPPORT); in loadInBackground()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java83 private final static class DirectoryQuery { class in ContactDirectoryManager
483 uri, DirectoryQuery.PROJECTION, null, null, null); in queryDirectoriesForAuthority()
491 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in queryDirectoriesForAuthority()
492 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in queryDirectoriesForAuthority()
493 info.displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in queryDirectoriesForAuthority()
494 if (!cursor.isNull(DirectoryQuery.TYPE_RESOURCE_ID)) { in queryDirectoriesForAuthority()
495 info.typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in queryDirectoriesForAuthority()
497 if (!cursor.isNull(DirectoryQuery.EXPORT_SUPPORT)) { in queryDirectoriesForAuthority()
498 int exportSupport = cursor.getInt(DirectoryQuery.EXPORT_SUPPORT); in queryDirectoriesForAuthority()
510 if (!cursor.isNull(DirectoryQuery.SHORTCUT_SUPPORT)) { in queryDirectoriesForAuthority()
[all …]
DContactsProvider2.java5688 private static final class DirectoryQuery { class in ContactsProvider2
5711 Tables.DIRECTORIES, DirectoryQuery.COLUMNS, null, null, null, null, null); in getDirectoryAuthority()
5715 String id = cursor.getString(DirectoryQuery.DIRECTORY_ID); in getDirectoryAuthority()
5716 info.authority = cursor.getString(DirectoryQuery.AUTHORITY); in getDirectoryAuthority()
5717 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in getDirectoryAuthority()
5718 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in getDirectoryAuthority()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContactLoader.java556 DirectoryQuery.COLUMNS, in loadDirectoryMetaData()
565 final String displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in loadDirectoryMetaData()
566 final String packageName = cursor.getString(DirectoryQuery.PACKAGE_NAME); in loadDirectoryMetaData()
567 final int typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in loadDirectoryMetaData()
568 final String accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in loadDirectoryMetaData()
569 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData()
570 final int exportSupport = cursor.getInt(DirectoryQuery.EXPORT_SUPPORT); in loadDirectoryMetaData()
931 private static class DirectoryQuery { class in ContactLoader
/packages/apps/Contacts/src/com/android/contacts/model/
DContactLoader.java271 private static class DirectoryQuery { class in ContactLoader
706 DirectoryQuery.COLUMNS, null, null, null); in loadDirectoryMetaData()
712 final String displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in loadDirectoryMetaData()
713 final String packageName = cursor.getString(DirectoryQuery.PACKAGE_NAME); in loadDirectoryMetaData()
714 final int typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in loadDirectoryMetaData()
715 final String accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in loadDirectoryMetaData()
716 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData()
717 final int exportSupport = cursor.getInt(DirectoryQuery.EXPORT_SUPPORT); in loadDirectoryMetaData()