/packages/apps/Contacts/src/com/android/contacts/calllog/ |
CallLogQuery.java | 20 import android.provider.CallLog.Calls; 29 Calls._ID, // 0 30 Calls.NUMBER, // 1 31 Calls.DATE, // 2 32 Calls.DURATION, // 3 33 Calls.TYPE, // 4 34 Calls.COUNTRY_ISO, // 5 35 Calls.VOICEMAIL_URI, // 6 36 Calls.GEOCODED_LOCATION, // 7 37 Calls.CACHED_NAME, // [all...] |
CallTypeHelper.java | 22 import android.provider.CallLog.Calls; 28 /** Name used to identify incoming calls. */ 30 /** Name used to identify outgoing calls. */ 32 /** Name used to identify missed calls. */ 34 /** Name used to identify voicemail calls. */ 36 /** Color used to identify new missed calls. */ 38 /** Color used to identify new voicemail calls. */ 54 case Calls.INCOMING_TYPE: 57 case Calls.OUTGOING_TYPE: 60 case Calls.MISSED_TYPE [all...] |
CallLogQueryHandler.java | 36 import android.provider.CallLog.Calls; 56 /** The token for the query to mark all missed calls as old after seeing the call log. */ 60 /** The token for the query to mark all missed calls as read after seeing the call log. */ 74 /** The cursor containing the new calls, or null if they have not yet been fetched. */ 76 /** The cursor containing the old calls, or null if they have not yet been fetched. */ 80 * Simple handler that wraps background calls to catch 127 /** Returns a cursor for the old calls header. */ 132 /** Returns a cursor for the new calls header. */ 138 * Fetches the list of calls from the call log. 150 * Fetches the list of calls from the call log but include only the voicemail [all...] |
CallLogGroupBuilder.java | 23 import android.provider.CallLog.Calls; 27 * Groups together calls in the call log. 45 * calls {@link GroupCreator#addGroup(int, int, boolean)} on {@link #mGroupCreator} for each of 77 // Should only group with calls from the same number. 79 } else if (firstCallType == Calls.VOICEMAIL_TYPE 80 || firstCallType == Calls.MISSED_TYPE) { 81 // Voicemail and missed calls should only be grouped with subsequent missed calls. 82 shouldGroup = callType == Calls.MISSED_TYPE; 84 // Incoming and outgoing calls group together [all...] |
CallTypeIconsView.java | 26 import android.provider.CallLog.Calls; 33 * View that draws one or more symbols for different types of calls (missed calls, outgoing etc). 80 case Calls.INCOMING_TYPE: 82 case Calls.OUTGOING_TYPE: 84 case Calls.MISSED_TYPE: 86 case Calls.VOICEMAIL_TYPE:
|
DefaultVoicemailNotifier.java | 34 import android.provider.CallLog.Calls; 147 // TODO: Use the photo of contact if all calls are from the same person. 169 contentIntent = new Intent(Intent.ACTION_VIEW, Calls.CONTENT_URI); 207 /** Allows determining the new calls for which a notification should be generated. */ 210 * Returns the new calls for which a notification should be generated. 221 * Default implementation of {@link NewCallsQuery} that looks up the list of new calls to 226 Calls._ID, Calls.NUMBER, Calls.VOICEMAIL_URI 240 final String selection = String.format("%s = 1 AND %s = ?", Calls.NEW, Calls.TYPE) [all...] |
IntentProvider.java | 26 import android.provider.CallLog.Calls; 62 Calls.CONTENT_URI_WITH_VOICEMAIL, rowId)); 105 Calls.CONTENT_URI_WITH_VOICEMAIL, id));
|
ClearCallLogDialog.java | 31 import android.provider.CallLog.Calls; 55 resolver.delete(Calls.CONTENT_URI, null, null);
|
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/ |
CallLogGroupBuilderTest.java | 22 import android.provider.CallLog.Calls; 65 addOldCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 71 addOldCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 72 addOldCallLogEntry(TEST_NUMBER2, Calls.INCOMING_TYPE); 78 addOldCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 79 addOldCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 80 addOldCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 87 addOldCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 88 addOldCallLogEntry(TEST_NUMBER1, Calls.OUTGOING_TYPE); 89 addOldCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE) [all...] |
CallLogQueryTestUtils.java | 21 import android.provider.CallLog.Calls; 31 0L, "", 0L, 0L, Calls.INCOMING_TYPE, "", "", "", null, 0, null, null, null, null, 40 0L, "", 0L, 0L, Calls.INCOMING_TYPE, "", "", "", null, 0, null, null, null, null,
|
CallLogFragmentTest.java | 34 import android.provider.CallLog.Calls; 85 // In memory array to hold the rows corresponding to the 'calls' table. 93 // Calls.INCOMING_TYPE, Calls.OUTGOING_TYPE and Calls.MISSED_TYPE. 168 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); 169 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); 170 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); 179 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); 188 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE) [all...] |
CallLogListItemHelperTest.java | 25 import android.provider.CallLog.Calls; 33 /** A test phone number for phone calls. */ 37 /** A test date value for phone calls. */ 39 /** A test duration value for phone calls. */ 101 setPhoneCallDetailsWithTypes(Calls.VOICEMAIL_TYPE); 106 setUnreadPhoneCallDetailsWithTypes(Calls.VOICEMAIL_TYPE); 112 Calls.VOICEMAIL_TYPE); 124 setPhoneCallDetailsWithNumberAndType(number, formattedNumber, Calls.INCOMING_TYPE);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogProvider.java | 38 import android.provider.CallLog.Calls; 49 Calls.TYPE, Integer.toString(Calls.VOICEMAIL_TYPE)); 51 private static final int CALLS = 1; 59 sURIMatcher.addURI(CallLog.AUTHORITY, "calls", CALLS); 60 sURIMatcher.addURI(CallLog.AUTHORITY, "calls/#", CALLS_ID); 61 sURIMatcher.addURI(CallLog.AUTHORITY, "calls/filter/*", CALLS_FILTER); 67 // Calls projection map 69 sCallsProjectionMap.put(Calls._ID, Calls._ID) [all...] |
DefaultCallLogInsertionHelper.java | 26 import android.provider.CallLog.Calls; 62 values.put(Calls.COUNTRY_ISO, countryIso); 64 values.put(Calls.GEOCODED_LOCATION, 65 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso));
|
/packages/apps/Phone/src/com/android/phone/ |
ClearMissedCallsService.java | 22 import android.provider.CallLog.Calls; 25 * Handles the intent to clear the missed calls that is triggered when a notification is dismissed. 28 /** This action is used to clear missed calls. */ 47 // Clear the list of new missed calls. 49 values.put(Calls.NEW, 0); 51 where.append(Calls.NEW); 53 where.append(Calls.TYPE); 55 getContentResolver().update(Calls.CONTENT_URI, values, where.toString(), 56 new String[]{ Integer.toString(Calls.MISSED_TYPE) });
|
BluetoothAtPhonebook.java | 30 import android.provider.CallLog.Calls; 48 * dialed calls respectively) 51 Calls._ID, Calls.NUMBER 65 private static final String OUTGOING_CALL_WHERE = Calls.TYPE + "=" + Calls.OUTGOING_TYPE; 66 private static final String INCOMING_CALL_WHERE = Calls.TYPE + "=" + Calls.INCOMING_TYPE; 67 private static final String MISSED_CALL_WHERE = Calls.TYPE + "=" + Calls.MISSED_TYPE [all...] |
CallLogAsync.java | 22 import android.provider.CallLog.Calls; 151 * AsyncTask to save calls in the DB. 162 result[i] = Calls.addCall( 202 number = Calls.getLastOutgoingCall(args.context);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallLogProviderTest.java | 32 import android.provider.CallLog.Calls; 87 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); 93 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); 94 values.put(Calls.COUNTRY_ISO, "us"); 96 assertSelection(uri, values, Calls._ID, ContentUris.parseId(uri)); 112 values.put(Calls.TYPE, Calls.VOICEMAIL_TYPE); 113 values.put(Calls.VOICEMAIL_URI, "content://foo/voicemail/2"); 119 mResolver.insert(Calls.CONTENT_URI, values); 124 Uri uri = mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, values) [all...] |
LegacyContactImporterTest.java | 26 import android.provider.CallLog.Calls; 230 assertQueryResults(folder + "/expected_calls.txt", Calls.CONTENT_URI, new String[]{ 231 Calls._ID, 232 Calls.NUMBER, 233 Calls.DATE, 234 Calls.DURATION, 235 Calls.NEW, 236 Calls.TYPE, 237 Calls.CACHED_NAME, 238 Calls.CACHED_NUMBER_LABEL [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
PhoneCallDetailsHelperTest.java | 27 import android.provider.CallLog.Calls; 46 /** A test duration value for phone calls. */ 150 setPhoneCallDetailsWithCallTypeIcons(Calls.INCOMING_TYPE); 151 assertCallTypeIconsEquals(Calls.INCOMING_TYPE); 153 setPhoneCallDetailsWithCallTypeIcons(Calls.OUTGOING_TYPE); 154 assertCallTypeIconsEquals(Calls.OUTGOING_TYPE); 156 setPhoneCallDetailsWithCallTypeIcons(Calls.MISSED_TYPE); 157 assertCallTypeIconsEquals(Calls.MISSED_TYPE); 159 setPhoneCallDetailsWithCallTypeIcons(Calls.VOICEMAIL_TYPE); 160 assertCallTypeIconsEquals(Calls.VOICEMAIL_TYPE) [all...] |
/external/chromium/net/data/proxy_resolver_v8_unittest/ |
binding_from_global.js | 0 // Calls a bindings outside of FindProxyForURL(). This causes the code to
|
/frameworks/base/core/java/android/provider/ |
VoicemailContract.java | 25 import android.provider.CallLog.Calls; 126 public static final String NUMBER = Calls.NUMBER; 131 public static final String DATE = Calls.DATE; 136 public static final String DURATION = Calls.DURATION; 141 public static final String IS_READ = Calls.IS_READ;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapCallLogComposer.java | 27 import android.provider.CallLog.Calls; 62 Calls.NUMBER, Calls.DATE, Calls.TYPE, Calls.CACHED_NAME, Calls.CACHED_NUMBER_TYPE, 63 Calls.CACHED_NUMBER_LABEL 94 if (CallLog.Calls.CONTENT_URI.equals(contentUri)) { 222 case Calls.INCOMING_TYPE: { 226 case Calls.OUTGOING_TYPE: [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/calllog/ |
FillCallLogTestActivity.java | 31 import android.provider.CallLog.Calls; 86 * Calls when the insertion has completed. 148 return new CursorLoader(FillCallLogTestActivity.this, Calls.CONTENT_URI, 227 values.putNull(Calls._ID); 230 values.put(Calls.DATE, 231 values.getAsLong(Calls.DATE) 234 if (values.getAsLong(Calls.DURATION) > 0) { 235 values.put(Calls.DURATION, mRandom.nextInt(30 * 60 * 60 * 1000)); 240 Calls.CONTENT_URI); 243 contentProvider.insert(Calls.CONTENT_URI, values) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 32 import android.provider.CallLog.Calls; 411 * Test case for the behavior of the ContactsProvider's calls table 416 Calls._ID, Calls.NUMBER, Calls.DATE, Calls.DURATION, Calls.TYPE, 417 Calls.NEW, Calls.CACHED_NAME, Calls.CACHED_NUMBER_TYPE [all...] |