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

12 3 4 5 6 7 8

  /packages/apps/Dialer/java/com/android/incallui/legacyblocking/
DeleteBlockedCallTask.java 83 CallLog.Calls.NUMBER + "= ?",
85 CallLog.Calls.DATE + " DESC LIMIT 1")) {
97 CallLog.Calls._ID + " IN (" + callLogEntryId + ")",
119 static final String[] PROJECTION = new String[] {CallLog.Calls._ID, CallLog.Calls.DATE};
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsTest.java 30 import android.provider.CallLog.Calls;
410 * Test case for the behavior of the ContactsProvider's calls table
415 Calls._ID, Calls.NUMBER, Calls.DATE, Calls.DURATION, Calls.TYPE,
416 Calls.NEW, Calls.CACHED_NAME, Calls.CACHED_NUMBER_TYPE
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
ContactInfoHelper.java 26 import android.provider.CallLog.Calls;
471 values.put(Calls.CACHED_NAME, updatedInfo.name);
476 values.put(Calls.CACHED_NUMBER_TYPE, updatedInfo.type);
481 values.put(Calls.CACHED_NUMBER_LABEL, updatedInfo.label);
486 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri));
493 values.put(Calls.CACHED_NORMALIZED_NUMBER, updatedInfo.normalizedNumber);
498 values.put(Calls.CACHED_MATCHED_NUMBER, updatedInfo.number);
503 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId);
509 values.put(Calls.CACHED_PHOTO_URI, UriUtils.uriToString(updatedPhotoUriContactsOnly));
514 values.put(Calls.CACHED_FORMATTED_NUMBER, updatedInfo.formattedNumber)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/calllogutils/
PhoneCallDetails.java 23 import android.provider.CallLog.Calls;
42 // The number presenting rules set by the network, e.g., {@link Calls#PRESENTATION_ALLOWED}
50 * The type of calls, as defined in the call log table, e.g., {@link Calls#INCOMING_TYPE}.
58 // The duration of the call in milliseconds, or 0 for missed calls.
112 * If this is a voicemail, whether the message is read. For other types of calls, this defaults to
197 if (callTypes[i] == CallLog.Calls.INCOMING_TYPE
198 || callTypes[i] == CallLog.Calls.MISSED_TYPE
199 || callTypes[i] == CallLog.Calls.VOICEMAIL_TYPE
200 || callTypes[i] == CallLog.Calls.REJECTED_TYP
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PhoneAccountTest.java 33 import android.provider.CallLog.Calls;
56 private static final String QUERY_CALL_THROUGH_OUR_CONNECTION_SERVICE = Calls.NUMBER
57 + " = ? AND " + Calls.PHONE_ACCOUNT_COMPONENT_NAME + " = ?";
109 context.getContentResolver().registerContentObserver(Calls.CONTENT_URI, false,
123 assertCalllogInserted(Calls.OUTGOING_TYPE);
161 context.getContentResolver().registerContentObserver(Calls.CONTENT_URI, false,
174 assertCalllogInserted(Calls.INCOMING_TYPE);
186 .query(Calls.CONTENT_URI, null, Calls.NUMBER + " = ?",
214 .query(Calls.CONTENT_URI, null
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/spam/
NumberInCallHistoryTask.java 26 import android.provider.CallLog.Calls;
70 String fieldToQuery = Calls.NUMBER;
77 fieldToQuery = Calls.CACHED_NORMALIZED_NUMBER;
84 new String[] {CallLog.Calls._ID},
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
CallLogManagerTest.java 35 import android.provider.CallLog.Calls;
246 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE),
247 Integer.valueOf(CallLog.Calls.OUTGOING_TYPE));
270 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE),
271 Integer.valueOf(CallLog.Calls.INCOMING_TYPE));
295 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE),
296 Integer.valueOf(CallLog.Calls.MISSED_TYPE));
323 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE),
324 Integer.valueOf(Calls.REJECTED_TYPE));
348 assertEquals(insertedValues.getAsLong(CallLog.Calls.DATE)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
AtPhonebook.java 28 import android.provider.CallLog.Calls;
50 * dialed calls respectively)
53 Calls._ID, Calls.NUMBER, Calls.NUMBER_PRESENTATION
67 private static final String OUTGOING_CALL_WHERE = Calls.TYPE + "=" + Calls.OUTGOING_TYPE;
68 private static final String INCOMING_CALL_WHERE = Calls.TYPE + "=" + Calls.INCOMING_TYPE;
69 private static final String MISSED_CALL_WHERE = Calls.TYPE + "=" + Calls.MISSED_TYPE
    [all...]
  /platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
DialerJankTests.java 223 values.put(CallLog.Calls.NUMBER, number);
224 values.put(CallLog.Calls.DATE, System.currentTimeMillis());
225 values.put(CallLog.Calls.DURATION, 0);
226 values.put(CallLog.Calls.TYPE, CallLog.Calls.OUTGOING_TYPE);
227 values.put(CallLog.Calls.NEW, 1);
228 values.put(CallLog.Calls.CACHED_NAME, "");
229 values.put(CallLog.Calls.CACHED_NUMBER_TYPE, 0);
230 values.put(CallLog.Calls.CACHED_NUMBER_LABEL, "");
232 .insert(CallLog.Calls.CONTENT_URI, values)
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsDatabaseHelperUpgradeTest.java 26 import android.provider.CallLog.Calls;
147 TableStructure calls = new TableStructure(mDb, "calls"); local
148 calls.assertHasColumn(Calls.LAST_MODIFIED, INTEGER, false, "0");
447 new TableColumn(Calls._ID, INTEGER, false, null),
448 new TableColumn(Calls.NUMBER, TEXT, false, null),
449 new TableColumn(Calls.NUMBER_PRESENTATION, INTEGER, true,
450 String.valueOf(Calls.PRESENTATION_ALLOWED)),
451 new TableColumn(Calls.POST_DIAL_DIGITS, TEXT, true, "''")
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/verification/
Calls.java 20 public class Calls implements VerificationMode, VerificationInOrderMode {
24 public Calls(int wantedNumberOfInvocations) {
33 throw new MockitoException( "calls is only intended to work with InOrder" );
  /packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
PhoneLoader.java 37 * All calls
38 * Missed calls
39 * speed dial calls
46 public final static int CALL_TYPE_MISSED = CallLog.Calls.MISSED_TYPE;
104 // We consider the calls that are not yet consumed (i.e. IS_READ = 0) as "new".
110 where.append(String.format("(%s = ?)", CallLog.Calls.TYPE));
119 Uri uri = CallLog.Calls.CONTENT_URI.buildUpon()
120 .appendQueryParameter(CallLog.Calls.LIMIT_PARAM_KEY,
124 selectionArgs.toArray(EMPTY_STRING_ARRAY), CallLog.Calls.DEFAULT_SORT_ORDER);
159 int numberColumn = cursor.getColumnIndex(CallLog.Calls.NUMBER)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
CallLogAsync.java 21 import android.provider.CallLog.Calls;
83 number = Calls.getLastOutgoingCall(args.context);
CallLogAsyncTaskUtil.java 127 where.append(CallLog.Calls.TYPE).append(" = ").append(CallLog.Calls.MISSED_TYPE);
135 .append(CallLog.Calls._ID)
139 values.put(CallLog.Calls.IS_READ, "1");
142 .update(CallLog.Calls.CONTENT_URI, values, where.toString(), null);
  /packages/apps/PhoneCommon/src/com/android/phone/common/
CallLogAsync.java 21 import android.provider.CallLog.Calls;
97 number = Calls.getLastOutgoingCall(args.context);
  /prebuilts/go/darwin-x86/src/runtime/cgo/
callbacks_traceback.go 11 // Calls the traceback function passed to SetCgoTraceback.
  /prebuilts/go/linux-x86/src/runtime/cgo/
callbacks_traceback.go 11 // Calls the traceback function passed to SetCgoTraceback.
  /packages/apps/Car/Stream/src/com/android/car/stream/telecom/
RecentCallStreamProducer.java 35 * Loads recent calls from the call log and produces a {@link StreamCard} for each entry.
88 int column = cursor.getColumnIndex(CallLog.Calls.NUMBER);
90 column = cursor.getColumnIndex(CallLog.Calls.DATE);
120 // We consider the calls that are not yet consumed (i.e. IS_READ = 0) as "new".
125 Uri uri = CallLog.Calls.CONTENT_URI.buildUpon()
126 .appendQueryParameter(CallLog.Calls.LIMIT_PARAM_KEY,
130 selectionArgs.toArray(EMPTY_STRING_ARRAY), CallLog.Calls.DEFAULT_SORT_ORDER);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailContentTable.java 31 import android.provider.CallLog.Calls;
154 copiedValues.put(Calls.TYPE, Calls.VOICEMAIL_TYPE);
156 boolean isRead = values.containsKey(Calls.IS_READ) ?
157 values.getAsBoolean(Calls.IS_READ) : false;
158 if (!values.containsKey(Calls.NEW)) {
159 copiedValues.put(Calls.NEW, !isRead);
194 values.put(Calls.VOICEMAIL_URI, newUri.toString());
298 return getEqualityClause(Calls.TYPE, Calls.VOICEMAIL_TYPE)
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/ui/
MissedCallNotifierImpl.java 56 import android.provider.CallLog.Calls;
79 * Creates a notification for calls that the user missed (neither answered nor rejected).
105 Calls._ID,
106 Calls.NUMBER,
107 Calls.NUMBER_PRESENTATION,
108 Calls.DATE,
109 Calls.DURATION,
110 Calls.TYPE,
113 private static final String CALL_LOG_WHERE_CLAUSE = "type=" + Calls.MISSED_TYPE +
134 // Used to track the number of missed calls
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/calldetails/
CallDetailsEntryViewHolder.java 21 import android.provider.CallLog.Calls;
92 (entry.getFeatures() & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO
95 (entry.getFeatures() & Calls.FEATURES_PULLED_EXTERNALLY)
96 == Calls.FEATURES_PULLED_EXTERNALLY;
101 callTypeIcon.setShowVideo((entry.getFeatures() & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO);
186 // It is possible for users to end up with calls with unknown call types in their
188 // distinguish between rejected and missed calls). Instead of crashing, just
189 // assume that all unknown call types are missed calls
    [all...]
  /cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
CallBlockingTest.java 40 private static final String QUERY_CALL_THROUGH_OUR_CONNECTION_SERVICE = CallLog.Calls.NUMBER
41 + " = ? AND " + CallLog.Calls.PHONE_ACCOUNT_COMPONENT_NAME + " = ?";
95 .delete(CallLog.Calls.CONTENT_URI, QUERY_CALL_THROUGH_OUR_CONNECTION_SERVICE,
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
Setup.py 21 from Calls import *
  /frameworks/rs/rsov/compiler/
RSAllocationUtils.h 60 llvm::SmallVectorImpl<RSAllocationCallInfo> &Calls);
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
TestDialerActivity.java 9 import android.provider.CallLog.Calls;
104 getContentResolver().query(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null, null, null);
107 values.put(Calls.CACHED_NAME, "hello world");
108 getContentResolver().update(Calls.CONTENT_URI_WITH_VOICEMAIL, values, "1=0", null);

Completed in 5868 milliseconds

12 3 4 5 6 7 8