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
482 uri, DirectoryQuery.PROJECTION, null, null, null); in queryDirectoriesForAuthority()
490 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in queryDirectoriesForAuthority()
491 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in queryDirectoriesForAuthority()
492 info.displayName = cursor.getString(DirectoryQuery.DISPLAY_NAME); in queryDirectoriesForAuthority()
493 if (!cursor.isNull(DirectoryQuery.TYPE_RESOURCE_ID)) { in queryDirectoriesForAuthority()
494 info.typeResourceId = cursor.getInt(DirectoryQuery.TYPE_RESOURCE_ID); in queryDirectoriesForAuthority()
496 if (!cursor.isNull(DirectoryQuery.EXPORT_SUPPORT)) { in queryDirectoriesForAuthority()
497 int exportSupport = cursor.getInt(DirectoryQuery.EXPORT_SUPPORT); in queryDirectoriesForAuthority()
509 if (!cursor.isNull(DirectoryQuery.SHORTCUT_SUPPORT)) { in queryDirectoriesForAuthority()
[all …]
DContactsProvider2.java5727 private static final class DirectoryQuery { class in ContactsProvider2
5750 Tables.DIRECTORIES, DirectoryQuery.COLUMNS, null, null, null, null, null); in getDirectoryAuthority()
5754 String id = cursor.getString(DirectoryQuery.DIRECTORY_ID); in getDirectoryAuthority()
5755 info.authority = cursor.getString(DirectoryQuery.AUTHORITY); in getDirectoryAuthority()
5756 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in getDirectoryAuthority()
5757 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in getDirectoryAuthority()
/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()
/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