/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentTable.java | 36 import android.provider.VoicemailContract.Voicemails; 57 private static final String[] FILENAME_ONLY_PROJECTION = new String[] { Voicemails._DATA }; 60 .add(Voicemails._ID) 61 .add(Voicemails.NUMBER) 62 .add(Voicemails.DATE) 63 .add(Voicemails.DURATION) 64 .add(Voicemails.IS_READ) 65 .add(Voicemails.TRANSCRIPTION) 66 .add(Voicemails.STATE) 67 .add(Voicemails.SOURCE_DATA [all...] |
CallLogDatabaseHelper.java | 27 import android.provider.VoicemailContract.Voicemails; 145 Voicemails._DATA + " TEXT," + 146 Voicemails.HAS_CONTENT + " INTEGER," + 147 Voicemails.MIME_TYPE + " TEXT," + 148 Voicemails.SOURCE_DATA + " TEXT," + 149 Voicemails.SOURCE_PACKAGE + " TEXT," + 150 Voicemails.TRANSCRIPTION + " TEXT," + 151 Voicemails.STATE + " INTEGER," + 152 Voicemails.DIRTY + " INTEGER NOT NULL DEFAULT 0," + 153 Voicemails.DELETED + " INTEGER NOT NULL DEFAULT 0" [all...] |
VoicemailCleanupService.java | 23 import android.provider.VoicemailContract.Voicemails; 51 contentResolver.delete(Voicemails.buildSourceUri(packageUninstalled), null, null);
|
DbModifierWithNotification.java | 42 import android.provider.VoicemailContract.Voicemails; 96 Status.CONTENT_URI : Voicemails.CONTENT_URI; 173 values.put(VoicemailContract.Voicemails.DIRTY, isDirty); 203 values.put(VoicemailContract.Voicemails.DIRTY, 1); 204 values.put(VoicemailContract.Voicemails.DELETED, 1); 205 values.put(VoicemailContract.Voicemails.LAST_MODIFIED, System.currentTimeMillis());
|
VoicemailContentProvider.java | 33 import android.provider.VoicemailContract.Voicemails; 157 case VOICEMAILS: 228 case VOICEMAILS: 413 return getEqualityClause(Voicemails.SOURCE_PACKAGE, getCallingPackage_());
|
/cts/tests/tests/provider/src/android/provider/cts/ |
VoicemailContractTest.java | 27 import android.provider.VoicemailContract.Voicemails; 45 mVoicemailContentUri = Voicemails.buildSourceUri(mSourcePackageName); 64 Voicemails._ID, Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, 65 Voicemails.IS_READ, Voicemails.SOURCE_PACKAGE, Voicemails.SOURCE_DATA, 66 Voicemails.HAS_CONTENT, Voicemails.MIME_TYPE} [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,
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/ |
VoicemailsQueryHelper.java | 25 import android.provider.VoicemailContract.Voicemails; 33 * Construct queries to interact with the voicemails table. 37 Voicemails._ID, // 0 38 Voicemails.SOURCE_DATA, // 1 39 Voicemails.IS_READ, // 2 40 Voicemails.DELETED, // 3 41 Voicemails.TRANSCRIPTION // 4 50 final static String READ_SELECTION = Voicemails.DIRTY + "=1 AND " 51 + Voicemails.DELETED + "!=1 AND " + Voicemails.IS_READ + "=1" 103 List<Voicemail> voicemails = new ArrayList<Voicemail>(); local [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/ |
VoicemailActivityInstrumentationTestCase2.java | 146 getContentResolver().delete(VoicemailContract.Voicemails.CONTENT_URI, 155 values.put(VoicemailContract.Voicemails.DATE, String.valueOf(System.currentTimeMillis())); 156 values.put(VoicemailContract.Voicemails.NUMBER, CONTACT_NUMBER); 157 values.put(VoicemailContract.Voicemails.MIME_TYPE, MIME_TYPE); 158 values.put(VoicemailContract.Voicemails.HAS_CONTENT, 1); 161 VoicemailContract.Voicemails.buildSourceUri(packageName), values); 172 values.put(VoicemailContract.Voicemails.DATE, String.valueOf(System.currentTimeMillis())); 173 values.put(VoicemailContract.Voicemails.NUMBER, CONTACT_NUMBER); 174 values.put(VoicemailContract.Voicemails.MIME_TYPE, MIME_TYPE); 175 values.put(VoicemailContract.Voicemails.HAS_CONTENT, 0) [all...] |
VoicemailAsyncTaskUtilTest.java | 58 private static final Uri VOICEMAIL_URI = VoicemailContract.Voicemails.CONTENT_URI 87 VoicemailContract.Voicemails._ID, 88 VoicemailContract.Voicemails.NUMBER, 89 VoicemailContract.Voicemails.DATE, 90 VoicemailContract.Voicemails.DURATION, 91 VoicemailContract.Voicemails.MIME_TYPE, 92 VoicemailContract.Voicemails.TRANSCRIPTION, 297 values.put(VoicemailContract.Voicemails.NUMBER, TEST_NUMBER); 298 values.put(VoicemailContract.Voicemails.DATE, TEST_DATE); 299 values.put(VoicemailContract.Voicemails.DURATION, TEST_DURATION) [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/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VoicemailProviderTest.java | 28 import android.provider.VoicemailContract.Voicemails; 74 Voicemails.buildSourceUri(mActor.packageName) : Voicemails.CONTENT_URI; 88 assertSelection(uri, getTestVoicemailValues(), Voicemails._ID, ContentUris.parseId(uri)); 97 String[] projection = {Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, 98 Voicemails.TRANSCRIPTION, Voicemails.IS_READ, Voicemails.HAS_CONTENT [all...] |
VoicemailCleanupServiceTest.java | 25 import android.provider.VoicemailContract.Voicemails; 84 mResolver.insert(Voicemails.buildSourceUri(sourcePackage), values); 96 Voicemails.buildSourceUri(sourcePackage), null, null, null, null); 105 Voicemails.buildSourceUri(sourcePackage), null, null, 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 | 39 import android.provider.VoicemailContract.Voicemails; 402 new TableColumn(Voicemails._DATA, TEXT, false, null), 403 new TableColumn(Voicemails.HAS_CONTENT, INTEGER, false, null), 404 new TableColumn(Voicemails.MIME_TYPE, TEXT, false, null), 405 new TableColumn(Voicemails.SOURCE_DATA, TEXT, false, null), 406 new TableColumn(Voicemails.SOURCE_PACKAGE, TEXT, false, null), 407 new TableColumn(Voicemails.TRANSCRIPTION, TEXT, false, null), 408 new TableColumn(Voicemails.STATE, INTEGER, false, null), 409 new TableColumn(Voicemails.DIRTY, INTEGER, true, "0"), 410 new TableColumn(Voicemails.DELETED, INTEGER, true, "0") [all...] |
/frameworks/base/core/java/android/provider/ |
VoicemailContract.java | 43 * <li> Voicemails table: This stores the actual voicemail records. The 45 * {@link Voicemails} class. 56 * <P>Voicemails are inserted by what is called as a "voicemail source" 98 * the application should also set {@link Voicemails#HAS_CONTENT} to 1; 123 public static final class Voicemails implements BaseColumns, OpenableColumns { 125 private Voicemails() { 128 /** URI to insert/retrieve voicemails. */ 132 /** The MIME type for a collection of voicemails. */ 133 public static final String DIR_TYPE = "vnd.android.cursor.dir/voicemails"; 223 * {@link PhoneAccount} of the voicemail is used to differentiate voicemails from differen [all...] |
/packages/services/Telephony/src/com/android/phone/vvm/omtp/fetch/ |
VoicemailFetchedCallback.java | 22 import android.provider.VoicemailContract.Voicemails; 72 values.put(Voicemails.MIME_TYPE, voicemailPayload.getMimeType()); 73 values.put(Voicemails.HAS_CONTENT, true);
|
FetchVoicemailReceiver.java | 28 import android.provider.VoicemailContract.Voicemails; 48 Voicemails.SOURCE_DATA, // 0 49 Voicemails.PHONE_ACCOUNT_ID, // 1
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
VoicemailAsyncTaskUtil.java | 45 * Class containing asynchronous tasks for voicemails. 223 * @param voicemailUri a {@link android.provider.VoicemailContract.Voicemails#CONTENT_URI} URI. 241 * @param voicemailUri a {@link VoicemailContract.Voicemails#CONTENT_URI} URI. 286 VoicemailContract.Voicemails._ID))); 289 VoicemailContract.Voicemails.NUMBER))); 292 VoicemailContract.Voicemails.DATE))); 295 VoicemailContract.Voicemails.DURATION))); 298 VoicemailContract.Voicemails.MIME_TYPE))); 301 VoicemailContract.Voicemails.TRANSCRIPTION))); 328 VoicemailContract.Voicemails._ID [all...] |
VoicemailPlaybackPresenter.java | 114 VoicemailContract.Voicemails.HAS_CONTENT, 115 VoicemailContract.Voicemails.DURATION 432 VoicemailContract.Voicemails.DURATION)); 436 VoicemailContract.Voicemails.HAS_CONTENT)) == 1; [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogQueryHandler.java | 35 import android.provider.VoicemailContract.Voicemails; 64 /** The token for the query to fetch the number of unread voicemails. */ 68 /** The oken for the query to fetch the archived voicemails. */ 133 * Fetch all the voicemails in the voicemail archive. 171 // Only count voicemails that have not been read and have not been deleted. 172 startQuery(QUERY_VOICEMAIL_UNREAD_COUNT_TOKEN, null, Voicemails.CONTENT_URI, 173 new String[] { Voicemails._ID }, 174 Voicemails.IS_READ + "=0" + " AND " + Voicemails.DELETED + "=0", null, null); 187 // Ignore voicemails marked as delete [all...] |
CallLogAsyncTaskUtil.java | 29 import android.provider.VoicemailContract.Voicemails; 356 values.put(Voicemails.IS_READ, true); 358 voicemailUri, values, Voicemails.IS_READ + " = 0", null);
|
/packages/apps/Dialer/tests/src/com/android/dialer/ |
CallDetailActivityTest.java | 148 values.put(VoicemailContract.Voicemails.NUMBER, CONTACT_NUMBER); 149 values.put(VoicemailContract.Voicemails.HAS_CONTENT, 1); 150 // VoicemailContract.Voicemails._DATA 152 mVoicemailUri = contentResolver.insert(VoicemailContract.Voicemails.CONTENT_URI, values); 163 getContentResolver().delete(VoicemailContract.Voicemails.CONTENT_URI,
|
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
FillCallLogTestActivity.java | 39 import android.provider.VoicemailContract.Voicemails; 630 contentValues.put(Voicemails.DATE, time); 631 contentValues.put(Voicemails.NUMBER, mPhoneNumber.getText().toString()); 632 contentValues.put(Voicemails.DURATION, 5000); 633 contentValues.put(Voicemails.SOURCE_PACKAGE, getPackageName()); 634 contentValues.put(Voicemails.SOURCE_DATA, 500); 635 contentValues.put(Voicemails.IS_READ, 0); 637 getContentResolver().insert(VoicemailContract.Voicemails.buildSourceUri(getPackageName()),
|