Home
last modified time | relevance | path

Searched refs:voicemailUri (Results 1 – 9 of 9) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java70 private Uri voicemailUri() { in voicemailUri() method in VoicemailProviderTest
82 Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testInsert()
124 int count = mResolver.delete(voicemailUri(), Voicemails._ID + "=" in testDelete()
137 Uri uri = mResolver.insert(voicemailUri(), values); in testGetType_ItemUri()
184 assertEquals(2, getCount(voicemailUri(), null, null)); in testPermissions_InsertAndQuery()
188 assertEquals(1, getCount(voicemailUri(), null, null)); in testPermissions_InsertAndQuery()
205 assertEquals(2, getCount(voicemailUri(), null, null)); in testPermissions_UpdateAndDelete()
342 mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testNoPermissions()
348 mResolver.update(voicemailUri(), getTestVoicemailValues(), null, null); in testNoPermissions()
354 mResolver.query(voicemailUri(), null, null, null, null); in testNoPermissions()
[all …]
/packages/apps/Dialer/src/com/android/dialer/calllog/
DDefaultVoicemailNotifier.java141 if (newCallUri != null && newCallUri.equals(newCall.voicemailUri)) { in updateNotification()
171 newCalls[0].voicemailUri); in updateNotification()
175 newCalls[0].voicemailUri); in updateNotification()
212 public final Uri voicemailUri; field in DefaultVoicemailNotifier.NewCall
216 public NewCall(Uri callsUri, Uri voicemailUri, String number, in NewCall() argument
219 this.voicemailUri = voicemailUri; in NewCall()
283 Uri voicemailUri = voicemailUriString == null ? null : Uri.parse(voicemailUriString); in createNewCallsFromCursor() local
284 return new NewCall(callsUri, voicemailUri, cursor.getString(NUMBER_COLUMN_INDEX), in createNewCallsFromCursor()
DIntentProvider.java51 final String voicemailUri) {
58 if (voicemailUri != null) {
60 Uri.parse(voicemailUri));
85 String voicemailUri = cursor.getString(CallLogQuery.VOICEMAIL_URI);
86 if (voicemailUri != null) {
88 Uri.parse(voicemailUri));
DCallLogNotificationsService.java80 Uri voicemailUri = (Uri) intent.getParcelableExtra(EXTRA_NEW_VOICEMAIL_URI); in onHandleIntent() local
81 DefaultVoicemailNotifier.getInstance(this).updateNotification(voicemailUri); in onHandleIntent()
DCallLogAdapter.java557 String voicemailUri = c.getString(CallLogQuery.VOICEMAIL_URI); in bindView() local
560 IntentProvider.getPlayVoicemailIntentProvider(rowId, voicemailUri)); in bindView()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackFragment.java94 Uri voicemailUri = arguments.getParcelable(EXTRA_VOICEMAIL_URI); in onActivityCreated() local
95 Preconditions.checkNotNull(voicemailUri, "fragment must contain EXTRA_VOICEMAIL_URI"); in onActivityCreated()
103 getMediaPlayerInstance(), voicemailUri, in onActivityCreated()
391 public void sendFetchVoicemailRequest(Uri voicemailUri) { in sendFetchVoicemailRequest() argument
392 Intent intent = new Intent(VoicemailContract.ACTION_FETCH_VOICEMAIL, voicemailUri); in sendFetchVoicemailRequest()
397 public boolean queryHasContent(Uri voicemailUri) { in queryHasContent() argument
400 voicemailUri, HAS_CONTENT_PROJECTION, null, null, null); in queryHasContent()
DVoicemailPlaybackPresenter.java87 void sendFetchVoicemailRequest(Uri voicemailUri); in sendFetchVoicemailRequest() argument
88 boolean queryHasContent(Uri voicemailUri); in queryHasContent() argument
174 Uri voicemailUri, ScheduledExecutorService executorService, in VoicemailPlaybackPresenter() argument
179 mVoicemailUri = voicemailUri; in VoicemailPlaybackPresenter()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivityQueryHandler.java60 public void startVoicemailStatusQuery(Uri voicemailUri) { in startVoicemailStatusQuery() argument
61 startQuery(QUERY_VOICEMAIL_CONTENT_TOKEN, null, voicemailUri, VOICEMAIL_CONTENT_PROJECTION, in startVoicemailStatusQuery()
DCallDetailActivity.java376 private void markVoicemailAsRead(final Uri voicemailUri) { in markVoicemailAsRead() argument
382 getContentResolver().update(voicemailUri, values, in markVoicemailAsRead()
910 final Uri voicemailUri = getVoicemailUri(); in onMenuTrashVoicemail() local
915 getContentResolver().delete(voicemailUri, null, null); in onMenuTrashVoicemail()