/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/pbap/ |
D | ContactCursorFilterTest.java | 36 Cursor cursor = BluetoothPbapVcardManager.ContactCursorFilter.filterByRange(mc, 1, 2); in testFilterByRangeWithoutDup() local 74 Cursor cursor = BluetoothPbapVcardManager.ContactCursorFilter.filterByRange(mc, 1, 2); in testFilterByRangeWithDup() local 109 Cursor cursor = BluetoothPbapVcardManager.ContactCursorFilter.filterByOffset(mc, 1); in testFilterByOffsetWithoutDup() local 136 Cursor cursor = BluetoothPbapVcardManager.ContactCursorFilter.filterByOffset(mc, 1); in testFilterByOffsetWithDup() local 156 private long getContactsIdFromCursor(Cursor cursor, int offset) { in getContactsIdFromCursor()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
D | ContactPickerFragmentTest.java | 107 private ContactPickerFragmentTest loadWithAllContactsCursor(final Cursor cursor) { in loadWithAllContactsCursor() 125 private ContactPickerFragmentTest loadWithFrequentContactsCursor(final Cursor cursor) { in loadWithFrequentContactsCursor() 156 final Cursor cursor = TestDataFactory.getAllContactListCursor(); in testLoadAllContactsList() local 168 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testLoadFrequentContactsList() local 177 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testPickInitialContact() local 197 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testLeaveChipsMode() local 210 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testPickMoreContacts() local
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | DataStatus.java | 46 public DataStatus(Cursor cursor) { in DataStatus() 55 public void possibleUpdate(Cursor cursor) { in possibleUpdate() 76 private void fromCursor(Cursor cursor) { in fromCursor() 144 private static String getString(Cursor cursor, String columnName) { in getString() 148 private static int getInt(Cursor cursor, String columnName) { in getInt() 152 private static int getInt(Cursor cursor, String columnName, int missingValue) { in getInt() 157 private static long getLong(Cursor cursor, String columnName, long missingValue) { in getLong() 162 private static boolean isNull(Cursor cursor, String columnName) { in isNull()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | DataStatus.java | 44 public DataStatus(Cursor cursor) { in DataStatus() 53 public void possibleUpdate(Cursor cursor) { in possibleUpdate() 74 private void fromCursor(Cursor cursor) { in fromCursor() 138 private static String getString(Cursor cursor, String columnName) { in getString() 142 private static int getInt(Cursor cursor, String columnName) { in getInt() 146 private static int getInt(Cursor cursor, String columnName, int missingValue) { in getInt() 151 private static long getLong(Cursor cursor, String columnName, long missingValue) { in getLong() 156 private static boolean isNull(Cursor cursor, String columnName) { in isNull()
|
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/ |
D | VoicemailPlaybackTest.java | 103 try (Cursor cursor = getArchivedVoicemailCursor()) { in assertVoicemailArchived() 112 try (Cursor cursor = getArchivedVoicemailCursor()) { in cleanUpArchivedVoicemailUri() 132 private int getRowServerId(Cursor cursor) { in getRowServerId() 137 private Uri getRowUri(Cursor cursor) { in getRowUri() 142 private boolean hasContent(Cursor cursor) { in hasContent()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/list/ |
D | ContactListItemViewTest.java | 57 Cursor cursor = createCursor("John Doe", "Doe John"); in testShowDisplayName_Simple() local 66 Cursor cursor = createCursor("", ""); in testShowDisplayName_Unknown() local 76 Cursor cursor = createCursor("John Doe", "Doe John"); in testShowDisplayName_WithPrefix() local 91 Cursor cursor = createCursor("John Doe", "Doe John"); in testShowDisplayName_WithPrefixReversed() local 129 MatrixCursor cursor = new MatrixCursor(new String[]{"Name", "AlternateName"}); in createCursor() local
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CursorBackedSuggestionExtras.java | 41 static CursorBackedSuggestionExtras createExtrasIfNecessary(Cursor cursor, int position) { in createExtrasIfNecessary() 50 static String[] getCursorColumns(Cursor cursor) { in getCursorColumns() 60 static boolean cursorContainsExtras(Cursor cursor) { in cursorContainsExtras() 70 static List<String> getExtraColumns(Cursor cursor) { in getExtraColumns() 85 private CursorBackedSuggestionExtras(Cursor cursor, int position, List<String> extraColumns) { in CursorBackedSuggestionExtras()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | GroupingListAdapter.java | 74 protected abstract void addGroups(Cursor cursor); in addGroups() 76 protected abstract void addVoicemailGroups(Cursor cursor); in addVoicemailGroups() 80 public void changeCursor(Cursor cursor) { in changeCursor() 84 public void changeCursorVoicemail(Cursor cursor) { in changeCursorVoicemail() 88 public void changeCursor(Cursor cursor, boolean voicemail) { in changeCursor()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
D | DeletedContactUtil.java | 40 Cursor cursor = resolver.query(uri, projection, null, null, null); in queryDeletedTimestampForContactId() local 51 Cursor cursor = resolver.query(URI, projection, null, null, null); in getCount() local 65 Cursor cursor = resolver.query(URI, projection, null, null, null); in query() local 78 Cursor cursor = resolver.query(URI, projection, selection, args, null); in querySinceTimestamp() local
|
D | CommonDatabaseUtils.java | 40 public static String[] singleRecordToArray(Cursor cursor) { in singleRecordToArray() 53 public static List<String[]> multiRecordToArray(Cursor cursor) { in multiRecordToArray() 67 private static void fillArray(Cursor cursor, String[] array) { in fillArray() 73 public static void closeQuietly(Cursor cursor) { in closeQuietly()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemViewTest.java | 78 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBind() local 91 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindMultiSelectUnSelected() local 104 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindMultiSelectSelected() local 117 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testClick() local 129 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindTwice() local
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListAdapter.java | 173 public Uri getContactUri(int partitionIndex, Cursor cursor) { in getContactUri() 186 final Cursor cursor = (Cursor) getItem(position); in isEnterpriseContact() local 200 public boolean isSelectedContact(int partitionIndex, Cursor cursor) { in isSelectedContact() 217 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() 230 Cursor cursor) { in bindSectionHeaderAndDivider() 240 protected void bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) { in bindPhoto() 269 protected void bindNameAndViewId(final ContactListItemView view, Cursor cursor) { in bindNameAndViewId() 277 protected void bindPresenceAndStatusMessage(final ContactListItemView view, Cursor cursor) { in bindPresenceAndStatusMessage() 282 protected void bindSearchSnippet(final ContactListItemView view, Cursor cursor) { in bindSearchSnippet() 291 Cursor cursor = null; in getSelectedContactPosition() local [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactDirectoryManagerTest.java | 90 MatrixCursor cursor = new MatrixCursor( in query() local 177 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, in testScanAllProviders() local 229 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testPackageInstalled() local 289 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testPackageUninstalled() local 335 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testPackageReplaced() local 393 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testPackageRenamed() local 460 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testAccountRemoval() local 494 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); in testNotifyDirectoryChange() local 520 Cursor cursor = mResolver.query( in testForwardingToDirectoryProvider() local 560 Cursor cursor = mResolver.query( in testProjectionPopulated() local [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneSearchIndexablesProvider.java | 52 MatrixCursor cursor = new MatrixCursor(INDEXABLES_XML_RES_COLUMNS); in queryXmlResources() local 70 MatrixCursor cursor = new MatrixCursor(INDEXABLES_RAW_COLUMNS); in queryRawData() local 75 MatrixCursor cursor = new MatrixCursor(NON_INDEXABLES_KEYS_COLUMNS); in queryNonIndexableKeys() local
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | CursorRecyclerViewAdapter.java | 35 public CursorRecyclerViewAdapter(Context context, Cursor cursor) { in CursorRecyclerViewAdapter() 65 public void onBindViewHolder(VH viewHolder, Cursor cursor) {} in onBindViewHolder() 81 public void changeCursor(Cursor cursor) { in changeCursor() 120 protected int getRowIdColumnIndex(Cursor cursor) { in getRowIdColumnIndex()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | OpenHelper.java | 75 final Cursor cursor = downManager.query(new DownloadManager.Query().setFilterById(id)); in buildViewIntent() local 133 final Cursor cursor = context.getContentResolver().query(uri, new String[]{Constants.UID}, in getOriginatingUid() local 147 private static String getCursorString(Cursor cursor, String column) { in getCursorString() 151 private static Uri getCursorUri(Cursor cursor, String column) { in getCursorUri() 155 private static File getCursorFile(Cursor cursor, String column) { in getCursorFile()
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | FilteredNumberProviderTest.java | 62 Cursor cursor = mResolver.query( in testQuery() local 75 Cursor cursor = mResolver.query(uri, null, null, null, null); in testInsertAndQuery() local 102 Cursor cursor = mResolver.query( in testQueryWithId() local 129 Cursor cursor = mResolver.query(uri, null, null, null, null); in testDelete() local 155 Cursor cursor = mResolver.query(uri, null, null, null, null); in testUpdate() local 172 Cursor cursor = mResolver.query(uri, null, null, null, null); in testInsertDefaultValues() local 204 private void assertCursorValues(Cursor cursor, ContentValues expectedValues) { in assertCursorValues()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | JoinContactListAdapter.java | 117 public void setSuggestionsCursor(Cursor cursor) { in setSuggestionsCursor() 122 public void changeCursor(Cursor cursor) { in changeCursor() 143 protected View newHeaderView(Context context, int partition, Cursor cursor, in newHeaderView() 164 protected void bindHeaderView(View view, int partitionIndex, Cursor cursor) { in bindHeaderView() 170 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() 184 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() 205 public Uri getContactUri(int partitionIndex, Cursor cursor) { in getContactUri()
|
D | LegacyContactListAdapter.java | 70 Cursor cursor = ((Cursor)getItem(position)); in getPersonUri() local 77 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() 84 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() 92 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName() 98 protected void bindPresence(final ContactListItemView view, Cursor cursor) { in bindPresence()
|
D | LegacyPostalAddressListAdapter.java | 75 Cursor cursor = ((Cursor)getItem(position)); in getContactMethodUri() local 82 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() 89 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() 97 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName() 103 protected void bindPostalAddress(ContactListItemView view, Cursor cursor) { in bindPostalAddress()
|
D | LegacyPhoneNumberListAdapter.java | 74 Cursor cursor = ((Cursor)getItem(position)); in getPhoneUri() local 81 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() 89 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() 97 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName() 102 protected void bindPhoneNumber(ContactListItemView view, Cursor cursor) { in bindPhoneNumber()
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialCursorLoader.java | 96 final MatrixCursor cursor = new MatrixCursor(PhoneQuery.PROJECTION_PRIMARY); in loadInBackground() local 112 public void deliverResult(Cursor cursor) { in deliverResult() 176 public void onCanceled(Cursor cursor) { in onCanceled() 188 private void releaseResources(Cursor cursor) { in releaseResources()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationPositionTracker.java | 58 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); in conversationAtPosition() local 69 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); in getCount() local 135 private static boolean isDataLoaded(ConversationCursor cursor) { in isDataLoaded() 140 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); in isDataLoaded() local 168 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); in calculatePosition() local
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastCursorAdapter.java | 32 public CellBroadcastCursorAdapter(Context context, Cursor cursor) { in CellBroadcastCursorAdapter() 46 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() 65 public void bindView(View view, Context context, Cursor cursor) { in bindView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridAdapter.java | 36 public GalleryGridAdapter(final Context context, final Cursor cursor) { in GalleryGridAdapter() 48 public void bindView(final View view, final Context context, final Cursor cursor) { in bindView() 58 public View newView(final Context context, final Cursor cursor, final ViewGroup parent) { in newView()
|