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

1 2

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailContentTable.java 33 import android.provider.VoicemailContract.Voicemails;
58 private static final String[] FILENAME_ONLY_PROJECTION = new String[] { Voicemails._DATA };
61 .add(Voicemails._ID)
62 .add(Voicemails.NUMBER)
63 .add(Voicemails.DATE)
64 .add(Voicemails.DURATION)
65 .add(Voicemails.IS_READ)
66 .add(Voicemails.TRANSCRIPTION)
67 .add(Voicemails.TRANSCRIPTION_STATE)
68 .add(Voicemails.STATE
    [all...]
CallLogDatabaseHelper.java 28 import android.provider.VoicemailContract.Voicemails;
152 Voicemails._DATA + " TEXT," +
153 Voicemails.HAS_CONTENT + " INTEGER," +
154 Voicemails.MIME_TYPE + " TEXT," +
155 Voicemails.SOURCE_DATA + " TEXT," +
156 Voicemails.SOURCE_PACKAGE + " TEXT," +
157 Voicemails.TRANSCRIPTION + " TEXT," +
158 Voicemails.TRANSCRIPTION_STATE + " INTEGER NOT NULL DEFAULT 0," +
159 Voicemails.STATE + " INTEGER," +
160 Voicemails.DIRTY + " INTEGER NOT NULL DEFAULT 0,"
    [all...]
DbModifierWithNotification.java 38 import android.provider.VoicemailContract.Voicemails;
69 Voicemails.DELETED + " == 0";
95 Status.CONTENT_URI : Voicemails.CONTENT_URI;
166 if (values.containsKey(Voicemails.DELETED)
167 && !values.getAsBoolean(Voicemails.DELETED)) {
178 Integer callerSetDirty = values.getAsInteger(Voicemails.DIRTY);
185 values.put(VoicemailContract.Voicemails.DIRTY, isDirty);
208 // trigger a rescan of new voicemails.
241 values.put(VoicemailContract.Voicemails.DIRTY, 1);
242 values.put(VoicemailContract.Voicemails.DELETED, 1)
    [all...]
VoicemailContentProvider.java 36 import android.provider.VoicemailContract.Voicemails;
233 case VOICEMAILS:
304 case VOICEMAILS:
459 return getEqualityClause(Voicemails.SOURCE_PACKAGE, getInjectedCallingPackage());
478 delete(Voicemails.buildSourceUri(packageName), null, null);
  /packages/apps/Dialer/java/com/android/voicemail/impl/utils/
VoicemailDatabaseUtil.java 23 import android.provider.VoicemailContract.Voicemails;
42 Voicemails.buildSourceUri(context.getPackageName()), contentValues);
46 * Inserts a list of voicemails into the voicemail content provider.
49 * @param voicemails Data to be inserted
50 * @return the number of voicemails inserted
53 public static int insert(Context context, List<Voicemail> voicemails) {
54 for (Voicemail voicemail : voicemails) {
57 return voicemails.size();
63 contentValues.put(Voicemails.DATE, String.valueOf(voicemail.getTimestampMillis()));
64 contentValues.put(Voicemails.NUMBER, voicemail.getNumber())
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/sync/
VoicemailsQueryHelper.java 27 import android.provider.VoicemailContract.Voicemails;
35 /** Construct queries to interact with the voicemails table. */
39 Voicemails._ID, // 0
40 Voicemails.SOURCE_DATA, // 1
41 Voicemails.IS_READ, // 2
42 Voicemails.DELETED, // 3
43 Voicemails.TRANSCRIPTION // 4
53 Voicemails.DIRTY + "=1 AND " + Voicemails.DELETED + "!=1 AND " + Voicemails.IS_READ + "=1"
109 List<Voicemail> voicemails = new ArrayList<Voicemail>(); local
283 List<Voicemail> voicemails = new ArrayList<>(); local
    [all...]
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
VoicemailProviderHelpers.java 30 import android.provider.VoicemailContract.Voicemails;
46 Voicemails._ID,
47 Voicemails.HAS_CONTENT,
48 Voicemails.NUMBER,
49 Voicemails.DURATION,
50 Voicemails.DATE,
51 Voicemails.SOURCE_PACKAGE,
52 Voicemails.SOURCE_DATA,
53 Voicemails.IS_READ
72 * Constructs a VoicemailProviderHelper with full access to all voicemails
    [all...]
VoicemailFilterFactory.java 23 import android.provider.VoicemailContract.Voicemails;
99 clauses.add(getEqualityClause(Voicemails.IS_READ, fieldMatch.isRead() ? "1" : "0"));
102 clauses.add(getEqualityClause(Voicemails.NUMBER, fieldMatch.getNumber()));
105 clauses.add(getEqualityClause(Voicemails.SOURCE_PACKAGE,
109 clauses.add(getEqualityClause(Voicemails.SOURCE_DATA, fieldMatch.getSourceData()));
112 clauses.add(getEqualityClause(Voicemails.DURATION,
116 clauses.add(getEqualityClause(Voicemails.DATE,
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
VoicemailContractTest.java 31 import android.provider.VoicemailContract.Voicemails;
69 mVoicemailContentUri = Voicemails.buildSourceUri(mSourcePackageName);
91 Voicemails._ID, Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION,
92 Voicemails.IS_READ, Voicemails.SOURCE_PACKAGE, Voicemails.SOURCE_DATA,
93 Voicemails.HAS_CONTENT, Voicemails.MIME_TYPE, Voicemails.TRANSCRIPTION
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
VoicemailProviderTest.java 30 import android.provider.VoicemailContract.Voicemails;
76 Voicemails.buildSourceUri(mActor.packageName) : Voicemails.CONTENT_URI;
91 assertSelection(uri, getTestVoicemailValues(), Voicemails._ID, ContentUris.parseId(uri));
100 String[] projection = {Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION,
101 Voicemails.TRANSCRIPTION, Voicemails.IS_READ, Voicemails.HAS_CONTENT
    [all...]
VoicemailCleanupTest.java 22 import android.provider.VoicemailContract.Voicemails;
76 mResolver.insert(Voicemails.buildSourceUri(sourcePackage), values);
88 Voicemails.buildSourceUri(sourcePackage), null, null, null, null);
97 Voicemails.buildSourceUri(sourcePackage), null,
98 "(ifnull(" + Voicemails.DELETED + ",0)==0)", null, null);
CallLogProviderTest.java 35 import android.provider.VoicemailContract.Voicemails;
55 Voicemails._DATA,
56 Voicemails.HAS_CONTENT,
57 Voicemails.MIME_TYPE,
58 Voicemails.SOURCE_PACKAGE,
59 Voicemails.SOURCE_DATA,
60 Voicemails.STATE,
61 Voicemails.DIRTY,
62 Voicemails.DELETED};
ContactsDatabaseHelperUpgradeTest.java 44 import android.provider.VoicemailContract.Voicemails;
478 new TableColumn(Voicemails._DATA, TEXT, false, null),
479 new TableColumn(Voicemails.HAS_CONTENT, INTEGER, false, null),
480 new TableColumn(Voicemails.MIME_TYPE, TEXT, false, null),
481 new TableColumn(Voicemails.SOURCE_DATA, TEXT, false, null),
482 new TableColumn(Voicemails.SOURCE_PACKAGE, TEXT, false, null),
483 new TableColumn(Voicemails.TRANSCRIPTION, TEXT, false, null),
484 new TableColumn(Voicemails.STATE, INTEGER, false, null),
485 new TableColumn(Voicemails.DIRTY, INTEGER, true, "0"),
486 new TableColumn(Voicemails.DELETED, INTEGER, true, "0")
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
DefaultDialerOperationsTest.java 23 import android.provider.VoicemailContract.Voicemails;
88 mContext.getContentResolver().query(Voicemails.CONTENT_URI, null, null, null, null);
89 fail("Reading voicemails should throw SecurityException if not default Dialer");
94 mContext.getContentResolver().delete(Voicemails.CONTENT_URI,
95 Voicemails._ID + "=999 AND 1=2", null);
96 fail("Deleting voicemails should throw SecurityException if not default Dialer");
102 Voicemails.CONTENT_URI.buildUpon().appendPath("999").build(),
106 fail("Updating voicemails should throw SecurityException if not default Dialer");
112 mContext.getContentResolver().query(Voicemails.CONTENT_URI, null, null, null, null);
113 mContext.getContentResolver().delete(Voicemails.CONTENT_URI
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/simulator/impl/
SimulatorVoicemail.java 23 import android.provider.VoicemailContract.Voicemails;
86 Voicemails.buildSourceUri(context.getPackageName()),
128 values.put(Voicemails.DATE, getTimeMillis());
129 values.put(Voicemails.NUMBER, getPhoneNumber());
130 values.put(Voicemails.DURATION, getDurationSeconds());
131 values.put(Voicemails.SOURCE_PACKAGE, context.getPackageName());
132 values.put(Voicemails.IS_READ, getIsRead() ? 1 : 0);
133 values.put(Voicemails.TRANSCRIPTION, getTranscription());
  /frameworks/base/core/java/android/provider/
VoicemailContract.java 42 * <li> Voicemails table: This stores the actual voicemail records. The
44 * {@link Voicemails} class.
55 * <P>Voicemails are inserted by what is called as a "voicemail source"
97 * the application should also set {@link Voicemails#HAS_CONTENT} to 1;
145 public static final class Voicemails implements BaseColumns, OpenableColumns {
147 private Voicemails() {
150 /** URI to insert/retrieve voicemails. */
154 /** The MIME type for a collection of voicemails. */
155 public static final String DIR_TYPE = "vnd.android.cursor.dir/voicemails";
278 * {@link PhoneAccount} of the voicemail is used to differentiate voicemails from differen
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/fetch/
VoicemailFetchedCallback.java 22 import android.provider.VoicemailContract.Voicemails;
67 Voicemails.TRANSCRIPTION,
95 values.put(Voicemails.MIME_TYPE, voicemailPayload.getMimeType());
96 values.put(Voicemails.HAS_CONTENT, true);
FetchVoicemailReceiver.java 29 import android.provider.VoicemailContract.Voicemails;
55 Voicemails.SOURCE_DATA, // 0
56 Voicemails.PHONE_ACCOUNT_ID, // 1
57 Voicemails.PHONE_ACCOUNT_COMPONENT_NAME, // 2
128 // can happen when trying to fetch voicemails from a SIM that is no longer on the
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
CallLogAsyncTaskUtil.java 27 import android.provider.VoicemailContract.Voicemails;
60 values.put(Voicemails.IS_READ, true);
63 values.put(Voicemails.DIRTY, 1);
66 .update(voicemailUri, values, Voicemails.IS_READ + " = 0", null)
105 values.put(Voicemails.DELETED, "1");
108 // to upload changes on foreign voicemails, they will get a PROVIDER_CHANGED
  /packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
TranscriptionDbHelper.java 25 import android.provider.VoicemailContract.Voicemails;
37 Voicemails.TRANSCRIPTION, // 0
92 values.put(Voicemails.TRANSCRIPTION, transcription);
  /packages/apps/Dialer/java/com/android/voicemail/impl/
VoicemailClientImpl.java 22 import android.provider.VoicemailContract.Voicemails;
50 * package anymore. For example, voicemails in OC will no longer be handled by telephony, but
51 * legacy voicemails might still exist in the database due to upgrading from NYC. Dialer will
52 * fetch these voicemails again so it should be ignored.
171 where.append(Voicemails.IS_OMTP_VOICEMAIL).append(" != 1");
177 where.append(Voicemails.SOURCE_PACKAGE).append(" = ?");
185 where.append("AND (").append(Voicemails.SOURCE_PACKAGE).append("!= ?)");
225 where.append(Voicemails.SOURCE_PACKAGE).append("!= ?");
  /packages/apps/Dialer/java/com/android/dialer/database/
CallLogQueryHandler.java 35 import android.provider.VoicemailContract.Voicemails;
67 /** The token for the query to fetch the number of unread voicemails. */
136 // Only count voicemails that have not been read and have not been deleted.
138 new StringBuilder(Voicemails.IS_READ + "=0" + " AND " + Voicemails.DELETED + "=0 ");
148 Voicemails.CONTENT_URI,
149 new String[] {Voicemails._ID},
165 // Ignore voicemails marked as deleted
167 where.append(" AND (").append(Voicemails.DELETED).append(" = 0)");
  /packages/apps/Dialer/java/com/android/voicemail/
VoicemailClient.java 22 import android.provider.VoicemailContract.Voicemails;
79 * Appends the selection to ignore voicemails from non-active OMTP voicemail package. In OC there
80 * can be multiple packages handling OMTP voicemails which represents the same source of truth.
81 * These packages should mark their voicemails as {@link Voicemails#IS_OMTP_VOICEMAIL} and only
82 * the voicemails from {@link TelephonyManager#getVisualVoicemailPackageName()} should be shown.
83 * For example, the user synced voicemails with DialerA, and then switched to DialerB, voicemails
84 * from DialerA should be ignored as they are no longer current. Voicemails from {@link
93 * known OMTP types. Voicemails from {@link #OMTP_VOICEMAIL_BLACKLIST} will also be ignored a
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/voicemail/
VoicemailPlaybackPresenter.java 36 import android.provider.VoicemailContract.Voicemails;
415 int duration = cursor.getInt(cursor.getColumnIndex(VoicemailContract.Voicemails.DURATION));
418 return cursor.getInt(cursor.getColumnIndex(VoicemailContract.Voicemails.HAS_CONTENT)) == 1;
469 new String[] {Voicemails.SOURCE_PACKAGE},
888 String number = contentInfo.getString(contentInfo.getColumnIndex(Voicemails.NUMBER));
889 long date = contentInfo.getLong(contentInfo.getColumnIndex(Voicemails.DATE));
890 String mimeType = contentInfo.getString(contentInfo.getColumnIndex(Voicemails.MIME_TYPE));
892 contentInfo.getString(contentInfo.getColumnIndex(Voicemails.TRANSCRIPTION));
    [all...]
  /frameworks/base/config/
compiled-classes-phone     [all...]

Completed in 1192 milliseconds

1 2