HomeSort by relevance Sort by last modified time
    Searched refs:Calls (Results 1 - 25 of 191) sorted by null

1 2 3 4 5 6 7 8

  /packages/apps/Dialer/java/com/android/dialer/compat/
AppCompatConstants.java 19 import android.provider.CallLog.Calls;
23 public static final int CALLS_INCOMING_TYPE = Calls.INCOMING_TYPE;
24 public static final int CALLS_OUTGOING_TYPE = Calls.OUTGOING_TYPE;
25 public static final int CALLS_MISSED_TYPE = Calls.MISSED_TYPE;
26 public static final int CALLS_VOICEMAIL_TYPE = Calls.VOICEMAIL_TYPE;
27 // Added to android.provider.CallLog.Calls in N+.
29 // Added to android.provider.CallLog.Calls in N+.
31 // Added to android.provider.CallLog.Calls in N+.
32 public static final int CALLS_ANSWERED_EXTERNALLY_TYPE = Calls.ANSWERED_EXTERNALLY_TYPE;
  /packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
CallLogQuery.java 22 import android.provider.CallLog.Calls;
65 Calls._ID, // 0
66 Calls.NUMBER, // 1
67 Calls.DATE, // 2
68 Calls.DURATION, // 3
69 Calls.TYPE, // 4
70 Calls.COUNTRY_ISO, // 5
71 Calls.VOICEMAIL_URI, // 6
72 Calls.GEOCODED_LOCATION, // 7
73 Calls.CACHED_NAME, //
    [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);
95 Uri uri = mResolver.insert(Calls.CONTENT_URI, values);
96 values.put(Calls.COUNTRY_ISO, "us");
98 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...]
CallLogInsertionHelperTest.java 20 import android.provider.CallLog.Calls;
69 values.put(Calls.NUMBER, number);
72 assertEquals(expectedNormalized, values.getAsString(Calls.CACHED_NORMALIZED_NUMBER));
CallLogProviderTestable.java 21 import android.provider.CallLog.Calls;
54 values.put(Calls.COUNTRY_ISO, "us");
55 values.put(Calls.GEOCODED_LOCATION, "usa");
  /packages/apps/Dialer/java/com/android/dialer/simulator/impl/
SimulatorCallLog.java 25 import android.provider.CallLog.Calls;
37 CallEntry.builder().setType(Calls.MISSED_TYPE).setNumber("+1-302-6365454"),
39 .setType(Calls.MISSED_TYPE)
41 .setPresentation(Calls.PRESENTATION_UNKNOWN),
42 CallEntry.builder().setType(Calls.REJECTED_TYPE).setNumber("+1-302-6365454"),
43 CallEntry.builder().setType(Calls.INCOMING_TYPE).setNumber("+1-302-6365454"),
45 .setType(Calls.MISSED_TYPE)
47 .setPresentation(Calls.PRESENTATION_RESTRICTED),
48 CallEntry.builder().setType(Calls.OUTGOING_TYPE).setNumber("+1-302-6365454"),
49 CallEntry.builder().setType(Calls.BLOCKED_TYPE).setNumber("+1-302-6365454")
    [all...]
  /external/clang/unittests/AST/
ExternalASTSourceTest.cpp 68 TestSource(unsigned &Calls) : Calls(Calls) {}
73 ++Calls;
77 unsigned &Calls;
80 unsigned Calls = 0;
81 ASSERT_TRUE(testExternalASTSource(new TestSource(Calls), "int j, k = j;"));
82 EXPECT_EQ(1u, Calls);
  /cts/tests/tests/provider/src/android/provider/cts/
CallLogTest.java 31 // Clear call log and ensure there are no outgoing calls
34 resolver.delete(CallLog.Calls.CONTENT_URI, null, null);
45 return CallLog.Calls.getLastOutgoingCall(context);
54 values.put(CallLog.Calls.NUMBER, TEST_NUMBER);
55 values.put(CallLog.Calls.TYPE, Integer.valueOf(CallLog.Calls.OUTGOING_TYPE));
56 values.put(CallLog.Calls.DATE, Long.valueOf(0 /*start time*/));
57 values.put(CallLog.Calls.DURATION, Long.valueOf(5 /*call duration*/));
59 resolver.insert(CallLog.Calls.CONTENT_URI, values);
70 return CallLog.Calls.getLastOutgoingCall(context)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CallLogProvider.java 39 import android.provider.CallLog.Calls;
68 /** Selection clause for selecting all calls that were made after a certain time */
69 private static final String MORE_RECENT_THAN_SELECTION = Calls.DATE + "> ?";
72 Calls.TYPE, Calls.VOICEMAIL_TYPE);
75 Calls.PHONE_ACCOUNT_HIDDEN, 0);
79 Calls.NUMBER,
80 Calls.NUMBER_PRESENTATION,
81 Calls.TYPE,
82 Calls.FEATURES
    [all...]
CallLogDatabaseHelper.java 25 import android.provider.CallLog.Calls;
60 String CALLS = "calls";
77 String CALLS_LEGACY = "calls";
102 // The CALLS and VOICEMAIL_STATUS table used to be in the contacts2.db. So we need to
115 db.execSQL("CREATE TABLE " + Tables.CALLS + " (" +
116 Calls._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," +
117 Calls.NUMBER + " TEXT," +
118 Calls.NUMBER_PRESENTATION + " INTEGER NOT NULL DEFAULT " +
119 Calls.PRESENTATION_ALLOWED + ","
    [all...]
DefaultCallLogInsertionHelper.java 21 import android.provider.CallLog.Calls;
69 values.put(Calls.COUNTRY_ISO, countryIso);
71 values.put(Calls.GEOCODED_LOCATION,
72 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso));
74 final String number = values.getAsString(Calls.NUMBER);
76 values.put(Calls.NUMBER_PRESENTATION, Calls.PRESENTATION_UNKNOWN);
77 values.put(Calls.NUMBER, "");
81 if (!values.containsKey(Calls.CACHED_NORMALIZED_NUMBER) &&
85 values.put(Calls.CACHED_NORMALIZED_NUMBER, normalizedNumber)
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
CallLogFacade.java 26 import android.provider.CallLog.Calls;
61 mContentResolver.registerContentObserver(Calls.CONTENT_URI, true, mCallLogStatusReceiver);
66 Uri uri = ContentUris.withAppendedId(Calls.CONTENT_URI, id);
73 mContentResolver.delete(Calls.CONTENT_URI, null, null);
77 @Rpc(description = "Adds a list of calls to call log.", returns = "Number of calls added")
85 values.put(Calls.TYPE, type);
86 values.put(Calls.NUMBER, number);
87 values.put(Calls.DATE, time);
88 mContentResolver.insert(Calls.CONTENT_URI, values)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
VoicemailQueryHandler.java 24 import android.provider.CallLog.Calls;
52 where.append(Calls.NEW);
54 where.append(Calls.TYPE);
58 where.append(" AND ").append(Calls.VOICEMAIL_URI).append(" = ?");
62 values.put(Calls.NEW, "0");
67 Calls.CONTENT_URI_WITH_VOICEMAIL,
71 ? new String[] {Integer.toString(Calls.VOICEMAIL_TYPE)}
72 : new String[] {Integer.toString(Calls.VOICEMAIL_TYPE), voicemailUri.toString()});
CallLogNotificationsQueryHelper.java 29 import android.provider.CallLog.Calls;
78 * Removes the missed call notifications and marks calls as read. If a callUri is provided, only
84 // new missed calls from the call log.
87 values.put(Calls.NEW, 0);
88 values.put(Calls.IS_READ, 1);
90 where.append(Calls.NEW);
92 where.append(Calls.TYPE);
98 callUri == null ? Calls.CONTENT_URI : callUri,
101 new String[] {Integer.toString(Calls.MISSED_TYPE)});
131 return mNewCallsQuery.query(Calls.VOICEMAIL_TYPE)
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/interactions/
CallLogInteractionsLoaderTest.java 4 import android.provider.CallLog.Calls;
22 interactionOneValues.put(Calls.DATE, 1L);
26 interactionTwoValues.put(Calls.DATE, 1L);
39 interactionOneValues.put(Calls.DATE, 1L);
43 interactionTwoValues.put(Calls.DATE, 5L);
56 interactionOneValues.put(Calls.DATE, 1L);
60 interactionTwoValues.put(Calls.DATE, 5L);
  /packages/apps/Contacts/src/com/android/contacts/interactions/
CallLogInteraction.java 25 import android.provider.CallLog.Calls;
39 * {@link android.provider.CallLog.Calls}.
41 * This class does not return log entries related to voicemail or SIP calls. Additionally,
71 String number = mValues.getAsString(Calls.NUMBER);
132 case Calls.INCOMING_TYPE:
137 case Calls.MISSED_TYPE:
142 case Calls.OUTGOING_TYPE:
152 return mValues.getAsString(Calls.CACHED_NAME);
156 return mValues.getAsString(Calls.CACHED_NUMBER_LABEL);
160 return mValues.getAsInteger(Calls.CACHED_NUMBER_TYPE)
    [all...]
  /external/chromium-libpac/test/js-unittest/
binding_from_global.js 0 // Calls a bindings outside of FindProxyForURL(). This causes the code to
  /external/mockito/src/main/java/org/mockito/internal/verification/
VerificationModeFactory.java 28 public static Calls calls(int wantedNumberOfInvocations) { method in class:VerificationModeFactory
29 return new Calls( wantedNumberOfInvocations );
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/pbapclient/
PbapParserTest.java 22 import android.provider.CallLog.Calls;
91 // testUnknownCall should parse two calls with no phone number.
117 String[] query = new String[] {Calls.NUMBER, Calls.DATE, Calls.TYPE};
118 Cursor cursor = mContext.getContentResolver().query(Calls.CONTENT_URI, query,
119 Calls.TYPE + "= " + type, null, Calls.DATE + ", " + Calls.NUMBER);
122 String foundNumber = cursor.getString(cursor.getColumnIndex(Calls.NUMBER))
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/database/
CallLogQueryHandler.java 33 import android.provider.CallLog.Calls;
52 * Call type similar to Calls.INCOMING_TYPE used to specify all types instead of one particular
53 * type. Exception: excludes Calls.VOICEMAIL_TYPE.
61 /** The token for the query to mark all missed calls as old after seeing the call log. */
63 /** The token for the query to mark all missed calls as read after seeing the call log. */
69 /** The token for the query to fetch the number of missed calls. */
96 * Fetches the list of calls from the call log for a given type. This call ignores the new or old
156 /** Fetches the list of calls in the call log. */
161 // Always hide blocked calls.
162 where.append("(").append(Calls.TYPE).append(" != ?)")
    [all...]
  /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/providers/CallLogProvider/src/com/android/calllogbackup/
CallLogBackupAgent.java 30 import android.provider.CallLog.Calls;
120 CallLog.Calls._ID,
121 CallLog.Calls.DATE,
122 CallLog.Calls.DURATION,
123 CallLog.Calls.NUMBER,
124 CallLog.Calls.POST_DIAL_DIGITS,
125 CallLog.Calls.VIA_NUMBER,
126 CallLog.Calls.TYPE,
127 CallLog.Calls.COUNTRY_ISO,
128 CallLog.Calls.GEOCODED_LOCATION
229 List<Call> calls = new LinkedList<>(); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
CallLogPullRequest.java 66 type = CallLog.Calls.INCOMING_TYPE;
68 type = CallLog.Calls.OUTGOING_TYPE;
70 type = CallLog.Calls.MISSED_TYPE;
80 values.put(CallLog.Calls.TYPE, type);
84 values.put(CallLog.Calls.NUMBER, "");
86 values.put(CallLog.Calls.NUMBER, phones.get(0).getNumber());
95 values.put(CallLog.Calls.DATE, parser.parse(pair.second).getTime());
106 ops.add(ContentProviderOperation.newInsert(CallLog.Calls.CONTENT_URI)
  /packages/apps/Dialer/java/com/android/dialer/calllogutils/
PhoneNumberDisplayUtil.java 20 import android.provider.CallLog.Calls;
33 if (presentation == Calls.PRESENTATION_UNKNOWN) {
36 if (presentation == Calls.PRESENTATION_RESTRICTED) {
39 if (presentation == Calls.PRESENTATION_PAYPHONE) {
  /frameworks/rs/rsov/compiler/
GlobalAllocPass.cpp 49 // lowers calls to accessors of the following type:
78 SmallVector<RSAllocationCallInfo, 8> Calls;
80 getRSAllocAccesses(Allocs, Calls);
83 for (auto &C : Calls) {

Completed in 665 milliseconds

1 2 3 4 5 6 7 8