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

1 2

  /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...]
VoicemailImpl.java 17 package com.example.android.voicemail.common.core;
22 * A simple immutable data object to represent a voicemail.
24 public final class VoicemailImpl implements Voicemail {
60 * Create a {@link Builder} for a new {@link Voicemail} to be inserted.
69 * Create a {@link Builder} for updating a {@link Voicemail}.
71 * Only the id of the voicemail to be updated is mandatory.
78 * Create a {@link Builder} for a new {@link Voicemail}, such as one suitable for returning from
  /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...]
  /packages/apps/Dialer/src/com/android/dialer/voicemail/
VoicemailStatusHelper.java 17 package com.android.dialer.voicemail;
26 * Interface used by the call log UI to determine what user message, if any, related to voicemail
29 * The implementation of this interface interacts with the voicemail content provider to fetch
30 * statuses of all the registered voicemail sources and determines if any status message needs to
81 * Returns the number of active voicemail sources installed.
83 * The number of sources is counted by querying the voicemail status table.
VoicemailStatusHelperImpl.java 17 package com.android.dialer.voicemail;
95 /** Invite user to set up voicemail. */
103 /** Visual voicemail not yet set up. No local action needed. */
242 // Voicemail is configured. Let's see how is the data channel.
263 // Voicemail not configured. data/notification channel states are irrelevant.
266 // Voicemail not configured. data/notification channel states are irrelevant.
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallTypeIconsView.java 87 return mResources.voicemail;
114 public final Drawable voicemail; field in class:CallTypeIconsView.Resources
122 voicemail = r.getDrawable(R.drawable.ic_call_voicemail_holo_dark);
PhoneNumberHelper.java 69 return mResources.getString(R.string.voicemail);
79 * Returns true if the given number is the number of the configured voicemail.
CallLogFragment.java 53 import com.android.dialer.voicemail.VoicemailStatusHelper;
54 import com.android.dialer.voicemail.VoicemailStatusHelper.StatusMessage;
55 import com.android.dialer.voicemail.VoicemailStatusHelperImpl;
78 /** Whether there is at least one voicemail source installed. */
172 * Called by {@link CallLogQueryHandler} after a successful query to voicemail status provider.
195 /** Sets whether there are any voicemail sources available in the platform. */
245 // and the voicemail status are fetched.
CallLogQueryHandler.java 39 import com.android.dialer.voicemail.VoicemailStatusHelperImpl;
65 /** The token for the query to fetch voicemail status messages. */
194 // Add a clause to fetch only items of type voicemail.
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/logging/
Logger.java 17 package com.example.android.voicemail.common.logging;
  /packages/apps/Dialer/src/com/android/dialer/
CallDetailActivityQueryHandler.java 27 import com.android.dialer.voicemail.VoicemailStatusHelperImpl;
52 * Fires a query to update voicemail status for the given voicemail record. On completion of the
55 * if this is a voicemail record then it makes up to two asynchronous content resolver queries.
56 * The first one to fetch voicemail content details and check if the voicemail record has audio.
57 * If the voicemail record does not have an audio yet then it fires the second query to get the
58 * voicemail status of the associated source.
70 // Query voicemail status only if this voicemail record does not have audio
    [all...]
CallDetailActivity.java 66 import com.android.dialer.voicemail.VoicemailPlaybackFragment;
67 import com.android.dialer.voicemail.VoicemailStatusHelper;
68 import com.android.dialer.voicemail.VoicemailStatusHelper.StatusMessage;
69 import com.android.dialer.voicemail.VoicemailStatusHelperImpl;
100 /** If we are started with a voicemail, we'll find the uri to play with this extra. */
102 /** If we should immediately start playback of the voicemail, this extra will be set to true. */
127 /** Helper to get voicemail status messages. */
129 // Views related to voicemail status message.
294 * Handle voicemail playback or hide voicemail ui
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/
CallDetailActivityTest.java 20 import static com.android.dialer.voicemail.VoicemailPlaybackPresenter.Tasks.CHECK_FOR_CONTENT;
21 import static com.android.dialer.voicemail.VoicemailPlaybackPresenter.Tasks.PREPARE_MEDIA_PLAYER;
99 // When the activity first starts, we will show "Fetching voicemail" on the screen.
101 assertHasOneTextViewContaining("Fetching voicemail");
113 assertZeroTextViewsContaining("Fetching voicemail");
124 assertHasOneTextViewContaining("Couldn't play voicemail");
147 * Test for bug where increase rate button with invalid voicemail causes a crash.
149 * The repro steps for this crash were to open a voicemail that does not have an attachment,
  /packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
VoicemailStatusHelperImplTest.java 17 package com.android.dialer.voicemail;
38 import com.android.dialer.voicemail.VoicemailStatusHelper.StatusMessage;
51 private static final Uri TEST_SETTINGS_URI = Uri.parse("http://www.visual.voicemail.setup");
104 // action: call voicemail
105 // msg: voicemail not available in call log page & none in call details page.
119 // action: call voicemail
120 // msg: voicemail not available in call log page & audio not available in call details page.
128 // action: call voicemail
129 // msg: voicemail not available in call log page & audio not available in call details page.
137 // action: call voicemail
    [all...]
  /external/chromium/third_party/libjingle/source/talk/examples/call/
callclient.h 147 void OnFoundVoicemailJid(const buzz::Jid& to, const buzz::Jid& voicemail);

Completed in 2277 milliseconds

1 2