/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailFilter.java | 17 package com.example.android.voicemail.common.core; 20 * An object that can be used to apply filter on voicemail queries made through the voicemail helper
|
VoicemailProviderHelpers.java | 17 package com.example.android.voicemail.common.core; 19 import com.example.android.voicemail.common.logging.Logger; 20 import com.example.android.voicemail.common.utils.CloseUtils; 21 import com.example.android.voicemail.common.utils.DbQueryUtils; 44 /** Full projection on the voicemail table, giving us all the columns. */ 75 * <code>com.android.providers.voicemail.permission.READ_WRITE_ALL_VOICEMAIL</code> and 76 * <code>com.android.providers.voicemail.permission.READ_WRITE_OWN_VOICEMAIL</code>. 87 * <code>com.android.providers.voicemail.permission.READ_WRITE_OWN_VOICEMAIL</code>. 95 public Uri insert(Voicemail voicemail) { 98 voicemail); local 99 check(voicemail.hasNumber(), "Inserted voicemails must have a number", voicemail); local 188 Voicemail voicemail = getVoicemailFromCursor(cursor); local 275 VoicemailImpl voicemail = VoicemailImpl local [all...] |
VoicemailProviderHelper.java | 17 package com.example.android.voicemail.common.core; 28 * Provides a simple interface to manipulate voicemails within the voicemail content provider. 49 * Clears all voicemails accessible to this voicemail content provider. 56 * Inserts a new voicemail into the voicemail content provider. 58 * @param voicemail data to be inserted 59 * @return {@link Uri} of the newly inserted {@link Voicemail} 62 * <li>your voicemail is missing a timestamp</li> 64 * <li>your voicemail is missing the provider id field</li> 65 * <li>voicemail has an id (which would indicate that it has already been inserted [all...] |
Voicemail.java | 17 package com.example.android.voicemail.common.core; 22 * Represents a single voicemail stored in the voicemail content provider. 26 public interface Voicemail { 28 * The identifier of the voicemail in the content provider. 30 * This may be missing in the case of a new {@link Voicemail} that we plan to insert into the 38 /** The number of the person leaving the voicemail, empty string if unknown, null if not set. */ 43 /** The timestamp the voicemail was received, in millis since the epoch, zero if not set. */ 48 /** Gets the duration of the voicemail in millis, or zero if the field is not set. */ 54 * Returns the package name of the source that added this voicemail, or null if this field i [all...] |
VoicemailFilterFactory.java | 17 package com.example.android.voicemail.common.core; 19 import static com.example.android.voicemail.common.utils.DbQueryUtils.concatenateClausesWithAnd; 20 import static com.example.android.voicemail.common.utils.DbQueryUtils.concatenateClausesWithOr; 21 import static com.example.android.voicemail.common.utils.DbQueryUtils.getEqualityClause; 33 * {@link #createWithMatchingFields(Voicemail)} can be used to create a voicemail filter that 41 * where clause. Using this method requires the knowledge of the name of columns used in voicemail 46 * Creates a voicemail filter with the specified where clause. Use this method only if you know 63 /** Creates a filter with fields matching the ones set in the supplied voicemail object. */ 64 public static VoicemailFilter createWithMatchingFields(Voicemail fieldMatch) [all...] |
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/ |
DialogHelper.java | 17 package com.example.android.voicemail.common.ui;
|
DialogHelperImpl.java | 17 package com.example.android.voicemail.common.ui;
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/ |
InjectView.java | 17 package com.example.android.voicemail.common.inject;
|
Injector.java | 17 package com.example.android.voicemail.common.inject;
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/ |
CloseUtils.java | 17 package com.example.android.voicemail.common.utils;
|
DbQueryUtils.java | 17 package com.example.android.voicemail.common.utils;
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
AddVoicemailActivity.java | 17 package com.example.android.voicemail; 19 import com.example.android.voicemail.common.core.Voicemail; 20 import com.example.android.voicemail.common.core.VoicemailImpl; 21 import com.example.android.voicemail.common.core.VoicemailProviderHelper; 22 import com.example.android.voicemail.common.core.VoicemailProviderHelpers; 23 import com.example.android.voicemail.common.inject.InjectView; 24 import com.example.android.voicemail.common.inject.Injector; 25 import com.example.android.voicemail.common.logging.Logger; 26 import com.example.android.voicemail.common.ui.DialogHelperImpl [all...] |
/frameworks/base/core/java/android/provider/ |
VoicemailContract.java | 33 import android.telecom.Voicemail; 38 * The contract between the voicemail provider and applications. Contains 43 * <li> Voicemails table: This stores the actual voicemail records. The 47 * <li> Status table: This provides a way for the voicemail source application 56 * <P>Voicemails are inserted by what is called as a "voicemail source" 57 * application, which is responsible for syncing voicemail data between a remote 58 * server and the local voicemail content provider. "voicemail source" 62 * <P>In addition to the {@link ContentObserver} notifications the voicemail 67 * <li> {@link #ACTION_NEW_VOICEMAIL} is generated for each new voicemail [all...] |
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/ |
VoicemailsQueryHelper.java | 27 import android.telecom.Voicemail; 69 public List<Voicemail> getReadVoicemails() { 78 public List<Voicemail> getDeletedVoicemails() { 87 public List<Voicemail> getAllVoicemails() { 92 * Utility method to make queries to the voicemail database. 97 private List<Voicemail> getLocalVoicemails(String selection) { 103 List<Voicemail> voicemails = new ArrayList<Voicemail>(); 109 Voicemail voicemail = Voicemai local [all...] |
OmtpVvmSyncService.java | 29 import android.telecom.Voicemail; 47 * Sync OMTP visual voicemail. 69 * Only download single voicemail transcription. 78 * The voicemail to fetch. 80 public static final String EXTRA_VOICEMAIL = "voicemail"; 103 PhoneAccountHandle phoneAccount, Voicemail voicemail, boolean firstAttempt) { 123 if (voicemail != null) { 124 serviceIntent.putExtra(EXTRA_VOICEMAIL, voicemail); 181 Voicemail voicemail = intent.getParcelableExtra(EXTRA_VOICEMAIL) local [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/ |
VoicemailPlaybackTest.java | 17 package com.android.dialer.voicemail; 26 import static com.android.dialer.voicemail.VoicemailAsyncTaskUtil.Tasks.ARCHIVE_VOICEMAIL_CONTENT; 27 import static com.android.dialer.voicemail.VoicemailPlaybackPresenter.Tasks.CHECK_FOR_CONTENT; 65 assertStateTextContains("Loading voicemail"); 107 fail("Voicemail was not archived: " + e.toString());
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
VoicemailStatusHelper.java | 17 package com.android.dialer.voicemail; 28 * Interface used by the call log UI to determine what user message, if any, related to voicemail 31 * The implementation of this interface interacts with the voicemail content provider to fetch 32 * statuses of all the registered voicemail sources and determines if any status message needs to 86 * Returns the number of active voicemail sources installed. 88 * The number of sources is counted by querying the voicemail status table.
|
VisualVoicemailEnabledChecker.java | 1 package com.android.dialer.voicemail; 13 * Helper class to check whether visual voicemail is enabled. 57 * @return whether visual voicemail is enabled. Result is cached, call asyncUpdate() to 65 * Perform an async query into the system to check the status of visual voicemail.
|
VoicemailArchivePlaybackPresenter.java | 17 package com.android.dialer.voicemail; 31 * Similar to the {@link VoicemailPlaybackPresenter}, but for the archive voicemail tab. It checks 32 * whether the voicemail file exists locally before preparing it. 58 // Check if the _data column of the archived voicemail is valid 64 Log.d(TAG, "Voicemail file not found for " + mVoicemailUri); 78 // If a user wants to share an archived voicemail, no need for archiving, just go straight 87 handleError(new FileNotFoundException("Voicemail archive file does not exist"));
|
WiredHeadsetManager.java | 16 package com.android.dialer.voicemail;
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
GroupingListAdapter.java | 88 public void changeCursor(Cursor cursor, boolean voicemail) { 104 if (voicemail) {
|
PhoneNumberDisplayUtil.java | 49 return context.getResources().getString(R.string.voicemail);
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/ |
OmtpMessageReceiver.java | 27 import android.telecom.Voicemail; 42 * Receive SMS messages and send for processing by the OMTP visual voicemail source. 110 * A sync message has two purposes: to signal a new voicemail message, and to indicate the 112 * message to the voicemail provider if it is the former case and perform a full sync in the 121 Voicemail.Builder builder = Voicemail.createForInsertion( 127 Voicemail voicemail = builder.build(); local 130 if (queryHelper.isVoicemailUnique(voicemail)) { 131 Uri uri = VoicemailContract.Voicemails.insert(mContext, voicemail); [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
VoicemailDialogUtil.java | 28 // Voicemail dialog identifiers. 51 titleId = R.string.voicemail; 59 titleId = R.string.voicemail;
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/logging/ |
Logger.java | 17 package com.example.android.voicemail.common.logging;
|