OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nameCursor
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Dialer/tests/src/com/android/dialer/database/
SmartDialPrefixTest.java
99
final MatrixCursor
nameCursor
= constructNewNameCursor();
101
final ContactNumber jasonsmith = constructNewContactWithDummyIds(contactCursor,
nameCursor
,
103
final ContactNumber jasonsmitt = constructNewContactWithDummyIds(contactCursor,
nameCursor
,
105
final ContactNumber alphabet = constructNewContactWithDummyIds(contactCursor,
nameCursor
,
109
mTestHelper.insertNamePrefixes(db,
nameCursor
);
111
nameCursor
.close();
137
final MatrixCursor
nameCursor
= constructNewNameCursor();
139
final ContactNumber maryjane = constructNewContactWithDummyIds(contactCursor,
nameCursor
,
141
final ContactNumber sarahsmith = constructNewContactWithDummyIds(contactCursor,
nameCursor
,
143
final ContactNumber jasonsmitt = constructNewContactWithDummyIds(contactCursor,
nameCursor
,
[
all
...]
DialerDatabaseHelperTest.java
66
final MatrixCursor
nameCursor
= constructNewNameCursor();
70
mTestHelper.insertNamePrefixes(mDb,
nameCursor
);
74
constructNewContactWithDummyIds(contactCursor,
nameCursor
,
77
mTestHelper.insertNamePrefixes(mDb,
nameCursor
);
85
final MatrixCursor
nameCursor
= constructNewNameCursor();
87
constructNewContactWithDummyIds(contactCursor,
nameCursor
,
90
mTestHelper.insertNamePrefixes(mDb,
nameCursor
);
112
final MatrixCursor
nameCursor
= constructNewNameCursor();
114
constructNewContactWithDummyIds(contactCursor,
nameCursor
,
117
mTestHelper.insertNamePrefixes(mDb,
nameCursor
);
[
all
...]
DatabaseTestUtils.java
56
MatrixCursor
nameCursor
, String number, int id, String displayName) {
57
return constructNewContact(contactCursor,
nameCursor
, id, number, id, String.valueOf(id),
62
MatrixCursor
nameCursor
, int id, String number, int contactId, String lookupKey,
65
if (contactCursor == null ||
nameCursor
== null) {
78
nameCursor
.addRow(new Object[]{displayName, contactId});
/packages/apps/Messaging/src/com/android/messaging/util/
ContactUtil.java
448
Cursor
nameCursor
= null;
450
nameCursor
= ContactUtil.lookupStructuredName(context, contactId, true)
452
if (
nameCursor
!= null &&
nameCursor
.moveToFirst()) {
453
firstName =
nameCursor
.getString(ContactUtil.INDEX_STRUCTURED_NAME_GIVEN_NAME);
456
if (
nameCursor
!= null) {
457
nameCursor
.close();
/packages/apps/Dialer/src/com/android/dialer/database/
DialerDatabaseHelper.java
[
all
...]
Completed in 89 milliseconds