/development/samples/VoicemailProviderDemo/ |
_index.html | 2 This is a simple sample application that demonstrates how to use voicemail 3 content provider APIs to insert new voicemail records. 7 <a href="src/com/example/android/voicemail/AddVoicemailActivity.html"> 10 an activity that lets the user enter voicemail details and record voicemail audio, 11 which can then be stored with the voicemail content provider by tapping the "Send" 14 <img alt="Add voicemail" src="../images/VoicemailProviderDemo.png" 20 remote voicemail server and store them locally with the voicemail content 28 <a href="src/com/example/android/voicemail/common/core/VoicemailProviderHelper.html" [all...] |
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
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...] |
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...] |
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...] |
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
|
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
|
/frameworks/base/core/java/android/provider/ |
VoicemailContract.java | 28 * The contract between the voicemail provider and applications. Contains 33 * <li> Voicemails table: This stores the actual voicemail records. The 37 * <li> Status table: This provides a way for the voicemail source application 46 * <P>Voicemails are inserted by what is called as a "voicemail source" 47 * application, which is responsible for syncing voicemail data between a remote 48 * server and the local voicemail content provider. "voicemail source" 52 * <P>In addition to the {@link ContentObserver} notifications the voicemail 57 * <li> {@link #ACTION_NEW_VOICEMAIL} is generated for each new voicemail 61 * made into the database, including new voicemail [all...] |
/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/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailUriType.java | 21 * Defines the different URIs handled by the voicemail content provider. 25 VOICEMAILS("voicemail"), 26 VOICEMAILS_ID("voicemail/#"),
|
VoicemailTable.java | 29 * Defines interfaces for communication between voicemail content provider and voicemail table 34 * Interface that the voicemail content provider uses to delegate database level operations 35 * to the appropriate voicemail table implementation. 51 * functionality across different voicemail tables.
|
VoicemailCleanupService.java | 29 * A service that cleans up voicemail related data for packages that are uninstalled. 50 // Delete both voicemail content and voicemail status entries for this package.
|
CallLogProvider.java | 47 /** Selection clause to use to exclude voicemail records. */ 184 // Inserting a voicemail record through call_log requires the voicemail 185 // permission and also requires the additional voicemail param set. 210 // Request that involves changing record type to voicemail requires the 211 // voicemail param set in the uri. 283 * <p> If voicemail is requested, then check for voicemail permissions. Otherwise 284 * modify the selection to restrict to non-voicemail entries only. 305 * insert and update operations to check that ContentValues with voicemail [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
CallDetailActivityQueryHandler.java | 20 import com.android.contacts.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. 69 // Query voicemail status only if this voicemail record does not have audio [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
VoiceMailConstants.java | 42 static final String PARTNER_VOICEMAIL_PATH ="etc/voicemail-conf.xml"; 91 XmlUtils.beginDocument(parser, "voicemail"); 97 if (!"voicemail".equals(name)) { 110 Log.w(LOG_TAG, "Exception in Voicemail parser " + e); 112 Log.w(LOG_TAG, "Exception in Voicemail parser " + e);
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
voicemailjidrequester.h | 28 // VoicemailJidRequester wraps the requesting of voicemail jids for a user. 30 // To request a voicemail jid, we first set off a query to the user's bare jid 38 // node='voicemail '/> 41 // If foo@gmail.com's server supports voicemail, it'll return this, and forward 49 // node=' voicemail '> 50 // <item jid='bar@google.com/voicemail '/> 80 // Provides the target jid and the voicemail to reach it 90 // The first query (to node='voicemail' has returned an error) - we now spin 94 // The first query (to node='voicemail' has returned a successfully) 109 // Send a query to your own jid to get the voicemail jid. This is used afte [all...] |
/packages/apps/Contacts/src/com/android/contacts/voicemail/ |
VoicemailStatusHelper.java | 17 package com.android.contacts.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.
|
/packages/providers/ContactsProvider/res/values-tl/ |
strings.xml | 28 <string name="read_write_all_voicemail_label" msgid="4557216100818257560">"I-access ang lahat ng voicemail"</string> 29 <string name="read_write_all_voicemail_description" msgid="2249895806470926882">"Binibigyang-daan ang application upang maimbak at mabawi ang lahat ng voicemail na naa-access ng device na ito."</string> 30 <string name="voicemail_from_column" msgid="435732568832121444">"Voicemail mula sa/kay "</string>
|
/packages/apps/Contacts/tests/src/com/android/contacts/voicemail/ |
VoicemailStatusHelperImplTest.java | 17 package com.android.contacts.voicemail; 31 import com.android.contacts.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...] |
/development/samples/VoicemailProviderDemo/res/values/ |
strings.xml | 21 <string name="add_voicemail">Add voicemail</string> 26 <string name="voicemail_store_error">Error in storing voicemail!</string>
|
/frameworks/ex/variablespeed/tests/ |
AndroidManifest.xml | 31 <!-- The tests need these permissions to add test voicemail entries. --> 32 <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
VoicemailNotifier.java | 28 * If the given URI corresponds to a new voicemail, also notifies about it. 36 /** Clears the new voicemail notification. */
|
PhoneNumberHelper.java | 70 return mResources.getString(R.string.voicemail); 82 return Uri.parse("voicemail:x"); 90 /** Returns true if the given number is the number of the configured voicemail. */
|
/packages/apps/Contacts/res/values/ |
colors.xml | 40 <!-- Color of the text describing an unconsumed voicemail. --> 43 <!-- Colour background for the voicemail playback ui. --> 46 <!-- Colour of voicemail progress bar to the right of position indicator. --> 49 <!-- Colour of voicemail progress bar to the left of position indicator. --> 52 <!-- Colour of text that appears on the voicemail ui. -->
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallLogProviderTest.java | 53 "com.android.voicemail.permission.READ_WRITE_ALL_VOICEMAIL"; 55 "com.android.voicemail.permission.ADD_VOICEMAIL"; 57 /** Fields specific to voicemail provider that should not be exposed by call_log*/ 113 values.put(Calls.VOICEMAIL_URI, "content://foo/voicemail/2"); 115 // Should fail with the base content uri without the voicemail param. 123 // Now grant voicemail permission - should succeed. 198 // Test to check that the calls and voicemail uris returns expected results. 207 // With the voicemail uri all 3 should be returned. 212 // Test to check that none of the voicemail provider specific fields are 228 // Test to check that none of the voicemail provider specific fields ar [all...] |