Searched refs:callCursor (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 151 Cursor callCursor = null; in getCallHistorySize() local 153 callCursor = mResolver.query(myUri, null, selection, null, in getCallHistorySize() 155 if (callCursor != null) { in getCallHistorySize() 156 size = callCursor.getCount(); in getCallHistorySize() 159 if (callCursor != null) { in getCallHistorySize() 160 callCursor.close(); in getCallHistorySize() 175 Cursor callCursor = null; in loadCallHistoryList() local 178 callCursor = mResolver.query(myUri, projection, selection, null, in loadCallHistoryList() 180 if (callCursor != null) { in loadCallHistoryList() 181 for (callCursor.moveToFirst(); !callCursor.isAfterLast(); in loadCallHistoryList() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | CallDetailActivity.java | 590 Cursor callCursor = resolver.query(callUri, CALL_LOG_PROJECTION, null, null, null); in getPhoneCallDetailsForUri() local 592 if (callCursor == null || !callCursor.moveToFirst()) { in getPhoneCallDetailsForUri() 597 String number = callCursor.getString(NUMBER_COLUMN_INDEX); in getPhoneCallDetailsForUri() 598 long date = callCursor.getLong(DATE_COLUMN_INDEX); in getPhoneCallDetailsForUri() 599 long duration = callCursor.getLong(DURATION_COLUMN_INDEX); in getPhoneCallDetailsForUri() 600 int callType = callCursor.getInt(CALL_TYPE_COLUMN_INDEX); in getPhoneCallDetailsForUri() 601 String countryIso = callCursor.getString(COUNTRY_ISO_COLUMN_INDEX); in getPhoneCallDetailsForUri() 602 final String geocode = callCursor.getString(GEOCODED_LOCATION_COLUMN_INDEX); in getPhoneCallDetailsForUri() 641 if (callCursor != null) { in getPhoneCallDetailsForUri() 642 callCursor.close(); in getPhoneCallDetailsForUri()
|