HomeSort by relevance Sort by last modified time
    Searched refs:mVoicemailUri (Results 1 - 9 of 9) sorted by null

  /packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
VoicemailArchiveTest.java 83 assertNull(mVoicemailUri);
89 mVoicemailUri = getContentResolver().insert(VoicemailArchive.CONTENT_URI, values);
94 assertNull(mVoicemailUri);
100 mVoicemailUri = getContentResolver().insert(VoicemailArchive.CONTENT_URI, values);
103 OutputStream outputStream = getContentResolver().openOutputStream(mVoicemailUri)) {
110 if (mVoicemailUri != null) {
112 "_ID = ?", new String[] { String.valueOf(ContentUris.parseId(mVoicemailUri)) });
113 mVoicemailUri = null;
VoicemailActivityInstrumentationTestCase2.java 57 protected Uri mVoicemailUri;
145 if (mVoicemailUri != null) {
147 "_ID = ?", new String[] { String.valueOf(ContentUris.parseId(mVoicemailUri)) });
148 mVoicemailUri = null;
153 assertNull(mVoicemailUri);
160 mVoicemailUri = getContentResolver().insert(
164 OutputStream outputStream = getContentResolver().openOutputStream(mVoicemailUri)) {
170 assertNull(mVoicemailUri);
177 mVoicemailUri = getContentResolver().insert(
182 assertNull(mVoicemailUri);
    [all...]
VoicemailPlaybackTest.java 76 mPresenter.archiveContent(mVoicemailUri, true);
93 mPresenter.archiveContent(mVoicemailUri, false);
105 assertEquals(ContentUris.parseId(mVoicemailUri), getRowServerId(cursor));
127 + ContentUris.parseId(mVoicemailUri),
  /packages/apps/Dialer/src/com/android/dialer/voicemail/
VoicemailArchivePlaybackPresenter.java 59 if (mVoicemailUri != null) {
60 mContext.getContentResolver().openInputStream(mVoicemailUri);
64 Log.d(TAG, "Voicemail file not found for " + mVoicemailUri);
VoicemailPlaybackPresenter.java 150 protected Uri mVoicemailUri;
227 mVoicemailUri = (Uri) savedInstanceState.getParcelable(VOICEMAIL_URI_KEY);
245 outState.putParcelable(VOICEMAIL_URI_KEY, mVoicemailUri);
263 if (mMediaPlayer != null && mIsPrepared && voicemailUri.equals(mVoicemailUri)) {
270 if (!voicemailUri.equals(mVoicemailUri)) {
271 mVoicemailUri = voicemailUri;
313 mVoicemailUri = null;
411 return queryHasContent(mVoicemailUri);
460 if (mContext == null || mVoicemailUri == null) {
465 new FetchResultHandler(new Handler(), mVoicemailUri, code)
    [all...]
VoicemailPlaybackLayout.java 213 final Uri deleteUri = mVoicemailUri;
217 if (Objects.equals(deleteUri, mVoicemailUri)) {
250 if (mPresenter == null || isArchiving(mVoicemailUri)) {
253 mIsArchiving.add(mVoicemailUri);
255 updateArchiveUI(mVoicemailUri);
257 mPresenter.archiveContent(mVoicemailUri, true);
264 if (mPresenter == null || isArchiving(mVoicemailUri)) {
268 mPresenter.archiveContent(mVoicemailUri, false);
274 private Uri mVoicemailUri;
317 mVoicemailUri = voicemailUri
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/database/
VoicemailArchiveProviderTest.java 43 private Uri mVoicemailUri;
68 assertNotNull(mVoicemailUri);
70 long id = ContentUris.parseId(mVoicemailUri);
138 mResolver.update(mVoicemailUri, values, null, null);
174 mResolver.delete(mVoicemailUri, null, null);
198 Cursor tempCursor = mResolver.query(mVoicemailUri, null, null, null, null);
230 mVoicemailUri = mResolver.insert(VoicemailArchive.CONTENT_URI, getTestValues());
236 mVoicemailUri = mResolver.insert(VoicemailArchive.CONTENT_URI, values);
240 mCursor = mResolver.query(mVoicemailUri, null, null, null, null);
246 mCursor = mResolver.query(mVoicemailUri, null, getIdQuery(), null, null)
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/
CallDetailActivityTest.java 50 private Uri mVoicemailUri;
133 assertNull(mVoicemailUri);
145 assertNull(mVoicemailUri);
152 mVoicemailUri = contentResolver.insert(VoicemailContract.Voicemails.CONTENT_URI, values);
155 ContentUris.parseId(mVoicemailUri));
157 intent.putExtra(CallDetailActivity.EXTRA_VOICEMAIL_URI, mVoicemailUri);
162 if (mVoicemailUri != null) {
164 "_ID = ?", new String[] { String.valueOf(ContentUris.parseId(mVoicemailUri)) });
165 mVoicemailUri = null;
  /packages/apps/Dialer/src/com/android/dialer/
CallDetailActivity.java 227 private Uri mVoicemailUri;
257 mVoicemailUri = getIntent().getParcelableExtra(EXTRA_VOICEMAIL_URI);
379 this, mVoicemailUri, mCallLogAsyncTaskListener);
505 return mVoicemailUri != null;

Completed in 1118 milliseconds