OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:contactCursor
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapVcardManager.java
173
Cursor
contactCursor
= null;
175
contactCursor
= mResolver.query(
177
if (
contactCursor
== null) {
180
return getDistinctContactIdSize(
contactCursor
) + 1; // always has the 0.vcf
184
if (
contactCursor
!= null) {
185
contactCursor
.close();
270
Cursor
contactCursor
= null;
277
contactCursor
= mResolver.query(myUri, PHONES_CONTACTS_PROJECTION, null, null, orderBy);
278
if (
contactCursor
!= null) {
281
contactCursor
);
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/editor/
PickRawContactLoader.java
64
final Cursor
contactCursor
= resolver.query(
68
if (
contactCursor
== null) {
72
if (
contactCursor
.getCount() < 1) {
73
contactCursor
.close();
79
contactCursor
.moveToFirst();
80
result.contactId =
contactCursor
.getLong(/* Contacts._ID */ 0);
81
result.isUserProfile =
contactCursor
.getInt(/* Contacts.IS_USER_PROFILE */ 1) == 1;
83
contactCursor
.close();
/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
CalendarQueryService.java
163
Cursor
contactCursor
= contentResolver.query(Data.CONTENT_URI,
165
int ownerIdIdx =
contactCursor
.getColumnIndex(Data.CONTACT_ID);
167
if (
contactCursor
.moveToFirst()) {
168
ownerId =
contactCursor
.getLong(ownerIdIdx);
170
contactCursor
.close();
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
CalendarQueryService.java
163
Cursor
contactCursor
= contentResolver.query(Data.CONTENT_URI,
165
int ownerIdIdx =
contactCursor
.getColumnIndex(Data.CONTACT_ID);
167
if (
contactCursor
.moveToFirst()) {
168
ownerId =
contactCursor
.getLong(ownerIdIdx);
170
contactCursor
.close();
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
CalendarQueryService.java
163
Cursor
contactCursor
= contentResolver.query(Data.CONTENT_URI,
165
int ownerIdIdx =
contactCursor
.getColumnIndex(Data.CONTACT_ID);
167
if (
contactCursor
.moveToFirst()) {
168
ownerId =
contactCursor
.getLong(ownerIdIdx);
170
contactCursor
.close();
Completed in 723 milliseconds