/packages/apps/Dialer/src/com/android/dialer/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 | 20 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 | 33 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. */ 68 * Call type similar to Calls.INCOMING_TYPE used to specify all types instead of one particular 75 /** The cursor containing the old calls, or null if they have not yet been fetched. */ 78 * The identifier of the latest calls request. 80 * A request for the list of calls requires two queries and hence the two cursor 96 * Simple handler that wraps background calls to catch 136 * Fetches the list of calls from the call log for a given type. 156 /** Fetches the list of calls in the call log. * [all...] |
PhoneNumberDisplayHelper.java | 20 import android.provider.CallLog.Calls; 44 if (presentation == Calls.PRESENTATION_UNKNOWN) { 47 if (presentation == Calls.PRESENTATION_RESTRICTED) { 50 if (presentation == Calls.PRESENTATION_PAYPHONE) {
|
PhoneNumberUtilsWrapper.java | 36 return presentation == CallLog.Calls.PRESENTATION_ALLOWED 65 if (presentation == CallLog.Calls.PRESENTATION_UNKNOWN) { 68 if (presentation == CallLog.Calls.PRESENTATION_RESTRICTED) { 71 if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) {
|
CallLogListItemHelper.java | 21 import android.provider.CallLog.Calls; 65 boolean canPlay = details.callTypes[0] == Calls.VOICEMAIL_TYPE; 118 * {Voicemail Prefix}. {Number of Calls}. {Caller information}. 121 * If more than one call for the caller, {Number of Calls} is: 122 * "{number of calls} calls.", otherwise "". 125 * For incoming calls: 133 * For outgoing calls: 135 * Where {Last} is dropped if the number of calls for the caller is 1. 143 * 3 calls. New Voicemail. Return missed call from Joe Smith mobile 2 hours ago [all...] |
CallTypeIconsView.java | 22 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: 89 // It is possible for users to end up with calls with unknown call types in their 91 // distinguish between rejected and missed calls). Instead of crashing, just 92 // assume that all unknown call types are missed calls [all...] |
DefaultVoicemailNotifier.java | 29 import android.provider.CallLog.Calls; 153 // TODO: Use the photo of contact if all calls are from the same person. 183 contentIntent = new Intent(Intent.ACTION_VIEW, Calls.CONTENT_URI); 225 /** Allows determining the new calls for which a notification should be generated. */ 228 * Returns the new calls for which a notification should be generated. 239 * Default implementation of {@link NewCallsQuery} that looks up the list of new calls to 244 Calls._ID, Calls.NUMBER, Calls.VOICEMAIL_URI, Calls.NUMBER_PRESENTATIO [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogGroupBuilderTest.java | 22 import android.provider.CallLog.Calls; 67 addCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 73 addCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 74 addCallLogEntry(TEST_NUMBER2, Calls.INCOMING_TYPE); 80 addCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 81 addCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 82 addCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 89 addCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE); 90 addCallLogEntry(TEST_NUMBER1, Calls.OUTGOING_TYPE); 91 addCallLogEntry(TEST_NUMBER1, Calls.INCOMING_TYPE) [all...] |
CallLogListItemHelperTest.java | 21 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. */ 82 setPhoneCallDetailsWithNumber("12125551234", Calls.PRESENTATION_ALLOWED, 88 setPhoneCallDetailsWithNumberInFavorites("12125551234", Calls.PRESENTATION_ALLOWED, 94 setPhoneCallDetailsWithNumber("", Calls.PRESENTATION_UNKNOWN, ""); 99 setPhoneCallDetailsWithNumberInFavorites("", Calls.PRESENTATION_UNKNOWN, ""); 104 setPhoneCallDetailsWithNumber("", Calls.PRESENTATION_RESTRICTED, ""); 109 setPhoneCallDetailsWithNumberInFavorites("", Calls.PRESENTATION_RESTRICTED, "") [all...] |
CallLogQueryTestUtils.java | 21 import android.provider.CallLog.Calls; 31 0L, "", 0L, 0L, Calls.INCOMING_TYPE, "", "", "", null, 0, null, null, null, null, 32 0L, null, 0, Calls.PRESENTATION_ALLOWED,
|
CallLogFragmentTest.java | 29 import android.provider.CallLog.Calls; 86 // In memory array to hold the rows corresponding to the 'calls' table. 94 // Calls.INCOMING_TYPE, Calls.OUTGOING_TYPE and Calls.MISSED_TYPE. 198 insert(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, NOW, 0, Calls.INCOMING_TYPE); 210 Calls.PRESENTATION_ALLOWED, NOW, 0, Calls.INCOMING_TYPE); 225 insertWithCachedValues(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE [all...] |
/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...] |
/packages/services/Telephony/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); 50 values.put(Calls.IS_READ, 1); 52 where.append(Calls.NEW); 54 where.append(Calls.TYPE); 56 getContentResolver().update(Calls.CONTENT_URI, values, where.toString(), 57 new String[]{ Integer.toString(Calls.MISSED_TYPE) }) [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/ |
PhoneCallDetailsHelperTest.java | 21 import android.provider.CallLog.Calls; 44 /** A test duration value for phone calls. */ 91 setPhoneCallDetailsWithNumber("", Calls.PRESENTATION_UNKNOWN, ""); 96 setPhoneCallDetailsWithNumber("", Calls.PRESENTATION_RESTRICTED, ""); 101 setPhoneCallDetailsWithNumber("", Calls.PRESENTATION_PAYPHONE, ""); 107 Calls.PRESENTATION_ALLOWED, TEST_VOICEMAIL_NUMBER); 113 Calls.PRESENTATION_ALLOWED, "1-412-555-1212"); 151 setPhoneCallDetailsWithCallTypeIcons(Calls.INCOMING_TYPE); 152 assertCallTypeIconsEquals(Calls.INCOMING_TYPE); 154 setPhoneCallDetailsWithCallTypeIcons(Calls.OUTGOING_TYPE) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogProvider.java | 35 import android.provider.CallLog.Calls; 52 Calls.TYPE, Calls.VOICEMAIL_TYPE); 54 private static final int CALLS = 1; 62 sURIMatcher.addURI(CallLog.AUTHORITY, "calls", CALLS); 63 sURIMatcher.addURI(CallLog.AUTHORITY, "calls/#", CALLS_ID); 64 sURIMatcher.addURI(CallLog.AUTHORITY, "calls/filter/*", CALLS_FILTER); 70 // Calls projection map 72 sCallsProjectionMap.put(Calls._ID, Calls._ID) [all...] |
DefaultCallLogInsertionHelper.java | 21 import android.provider.CallLog.Calls; 67 values.put(Calls.COUNTRY_ISO, countryIso); 69 values.put(Calls.GEOCODED_LOCATION, 70 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso)); 72 final String number = values.getAsString(Calls.NUMBER); 74 values.put(Calls.NUMBER_PRESENTATION, Calls.PRESENTATION_UNKNOWN); 75 values.put(Calls.NUMBER, "");
|
/external/mockito/src/org/mockito/internal/verification/ |
VerificationModeFactory.java | 28 public static Calls calls(int wantedNumberOfInvocations) { method in class:VerificationModeFactory 29 return new Calls( wantedNumberOfInvocations );
|
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
FillCallLogTestActivity.java | 29 import android.provider.CallLog.Calls; 52 Calls.INCOMING_TYPE, Calls.OUTGOING_TYPE, Calls.MISSED_TYPE, 109 * Calls when the insertion has completed. 163 values[i].put(Calls.NUMBER, generateRandomNumber()); 164 values[i].put(Calls.NUMBER_PRESENTATION, Calls.PRESENTATION_ALLOWED); 165 values[i].put(Calls.DATE, System.currentTimeMillis()); // Will be randomized later 166 values[i].put(Calls.DURATION, 1); // Will be overwritten late [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
|
/external/chromium-libpac/test/js-unittest/ |
binding_from_global.js | 0 // Calls a bindings outside of FindProxyForURL(). This causes the code to
|
/external/chromium_org/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 | 26 import android.provider.CallLog.Calls; 61 Calls.NUMBER, Calls.DATE, Calls.TYPE, Calls.CACHED_NAME, Calls.CACHED_NUMBER_TYPE, 62 Calls.CACHED_NUMBER_LABEL, Calls.NUMBER_PRESENTATION 94 if (CallLog.Calls.CONTENT_URI.equals(contentUri)) { 147 if (numberPresentation != Calls.PRESENTATION_ALLOWED) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
AtPhonebook.java | 29 import android.provider.CallLog.Calls; 47 * dialed calls respectively) 50 Calls._ID, Calls.NUMBER, Calls.NUMBER_PRESENTATION 64 private static final String OUTGOING_CALL_WHERE = Calls.TYPE + "=" + Calls.OUTGOING_TYPE; 65 private static final String INCOMING_CALL_WHERE = Calls.TYPE + "=" + Calls.INCOMING_TYPE; 66 private static final String MISSED_CALL_WHERE = Calls.TYPE + "=" + Calls.MISSED_TYPE [all...] |