OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dataCursor
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapUtils.java
370
Cursor
dataCursor
= mContext.getContentResolver().query(
373
if (
dataCursor
== null) {
378
while (
dataCursor
.moveToNext()) {
380
dataCursor
.getString(
dataCursor
.getColumnIndex(Data.MIMETYPE))))
384
dataCursor
.close();
399
Cursor
dataCursor
= mContext.getContentResolver().query(
402
if (
dataCursor
== null) {
407
int indexData =
dataCursor
.getColumnIndex(Data.DATA1);
408
int indexMimeType =
dataCursor
.getColumnIndex(Data.MIMETYPE)
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionEngine.java
329
Cursor
dataCursor
= contentResolver.query(Data.CONTENT_URI,
331
if (
dataCursor
!= null) {
333
mMainHandler.obtainMessage(MESSAGE_DATA_CURSOR,
dataCursor
));
364
protected void deliverNotification(Cursor
dataCursor
) {
368
mDataCursor =
dataCursor
;
/packages/apps/Contacts/src/com/android/contacts/database/
SimContactDaoImpl.java
204
final Cursor
dataCursor
= queryRawContactsForSimContacts(contacts);
207
while (
dataCursor
.moveToNext()) {
208
final String number = DataQuery.getPhoneNumber(
dataCursor
);
209
final String name = DataQuery.getDisplayName(
dataCursor
);
216
final long id = DataQuery.getRawContactId(
dataCursor
);
223
dataCursor
.close();
/packages/apps/Contacts/tests/src/com/android/contacts/database/
SimContactDaoTests.java
20
import static com.android.contacts.tests.ContactsMatchers.
DataCursor
.hasEmail;
21
import static com.android.contacts.tests.ContactsMatchers.
DataCursor
.hasName;
22
import static com.android.contacts.tests.ContactsMatchers.
DataCursor
.hasPhone;
205
final Cursor
dataCursor
= queryAllDataInAccount();
206
assertThat(
dataCursor
, ContactsMatchers.hasCount(1));
208
dataCursor
.close();
233
final Cursor
dataCursor
= queryAllDataInAccount();
235
assertThat(
dataCursor
, ContactsMatchers.hasCount(MAX_SIM_CONTACTS * 3));
237
dataCursor
.close();
[
all
...]
Completed in 127 milliseconds