HomeSort by relevance Sort by last modified time
    Searched refs:contactCursor (Results 1 - 2 of 2) sorted by null

  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapVcardManager.java 165 Cursor contactCursor = null;
167 contactCursor = mResolver.query(myUri, null, CLAUSE_ONLY_VISIBLE, null, null);
168 if (contactCursor != null) {
169 size = contactCursor.getCount() + 1; // always has the 0.vcf
172 if (contactCursor != null) {
173 contactCursor.close();
252 Cursor contactCursor = null;
256 contactCursor = mResolver.query(myUri, CONTACTS_PROJECTION, CLAUSE_ONLY_VISIBLE,
260 contactCursor = mResolver.query(myUri, CONTACTS_PROJECTION, CLAUSE_ONLY_VISIBLE,
263 if (contactCursor != null)
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/database/
SmartDialPrefixTest.java 137 private ContactNumber constructNewContactWithDummyIds(MatrixCursor contactCursor,
139 return constructNewContact(contactCursor, nameCursor, id, number, 0, "", displayName, 0, 0,
143 private ContactNumber constructNewContact(MatrixCursor contactCursor, MatrixCursor nameCursor,
147 assertNotNull(contactCursor);
150 contactCursor.addRow(new Object[]{id, "", "", number, contactId, lookupKey, displayName,
168 final MatrixCursor contactCursor = constructNewContactCursor();
169 final ContactNumber jasonsmith = constructNewContactWithDummyIds(contactCursor, nameCursor,
171 final ContactNumber jasonsmitt = constructNewContactWithDummyIds(contactCursor, nameCursor,
173 final ContactNumber alphabet = constructNewContactWithDummyIds(contactCursor, nameCursor,
176 mTestHelper.insertUpdatedContactsAndNumberPrefix(db, contactCursor, Long.valueOf(0))
    [all...]

Completed in 573 milliseconds