Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailCleanupTest.java72 private void insertDataForPackage(String sourcePackage) { in insertDataForPackage() argument
74 values.put(VoicemailContract.SOURCE_PACKAGE_FIELD, sourcePackage); in insertDataForPackage()
75 mResolver.insert(Voicemails.buildSourceUri(sourcePackage), values); in insertDataForPackage()
76 mResolver.insert(Status.buildSourceUri(sourcePackage), values); in insertDataForPackage()
85 private void checkDataExistsForPackage(String sourcePackage) { in checkDataExistsForPackage() argument
87 Voicemails.buildSourceUri(sourcePackage), null, null, null, null); in checkDataExistsForPackage()
90 Status.buildSourceUri(sourcePackage), null, null, null, null); in checkDataExistsForPackage()
94 private void checkDataDoesNotExistForPackage(String sourcePackage) { in checkDataDoesNotExistForPackage() argument
96 Voicemails.buildSourceUri(sourcePackage), null, in checkDataDoesNotExistForPackage()
100 Status.buildSourceUri(sourcePackage), null, null, null, null); in checkDataDoesNotExistForPackage()
DVoicemailProviderTest.java884 private Uri insertVoicemailForSourcePackage(String sourcePackage) { in insertVoicemailForSourcePackage() argument
886 values.put(Voicemails.SOURCE_PACKAGE, sourcePackage); in insertVoicemailForSourcePackage()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailStatus.java43 public final String sourcePackage; field in VoicemailStatus
65 sourcePackage = getString(statusCursor, VoicemailStatusQuery.SOURCE_PACKAGE_INDEX, ""); in VoicemailStatus()
100 if (BuildCompat.isAtLeastO() && sourcePackage.equals(context.getPackageName())) { in VoicemailStatus()
119 sourcePackage = builder.sourcePackage; in VoicemailStatus()
155 private String sourcePackage = ""; field in VoicemailStatus.Builder
176 public Builder setSourcePackage(String sourcePackage) { in setSourcePackage() argument
177 this.sourcePackage = sourcePackage; in setSourcePackage()
239 if (context.getPackageName().equals(sourcePackage)) { in isActive()
266 + sourcePackage in toString()
DVoicemailErrorMessage.java186 intent.setPackage(status.sourcePackage);
201 intent.setPackage(status.sourcePackage);
227 intent.setPackage(status.sourcePackage);
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java445 String sourcePackage = booleanUriPair.first; in sendIntent() local
450 sourcePackage, in sendIntent()
453 intent.setPackage(sourcePackage); in sendIntent()
463 String sourcePackage; in queryVoicemailSourcePackage() local
474 sourcePackage = null; in queryVoicemailSourcePackage()
476 sourcePackage = cursor.getString(0); in queryVoicemailSourcePackage()
481 sourcePackage); in queryVoicemailSourcePackage()
487 sourcePackage); in queryVoicemailSourcePackage()
489 return new Pair<>(sourcePackage, uri); in queryVoicemailSourcePackage()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java293 private UriData(Uri uri, VoicemailUriType uriType, String id, String sourcePackage) { in UriData() argument
297 mSourcePackage = sourcePackage; in UriData()
340 String sourcePackage = uri.getQueryParameter( in createUriData() local
347 return new UriData(uri, uriType, null, sourcePackage); in createUriData()
350 return new UriData(uri, uriType, segments.get(1), sourcePackage); in createUriData()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemail.java132 public Builder setSourcePackage(String sourcePackage) { in setSourcePackage() argument
133 builderSourcePackage = sourcePackage; in setSourcePackage()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackPresenter.java472 String sourcePackage; in requestContent()
477 sourcePackage = null; in requestContent()
479 sourcePackage = cursor.getString(0); in requestContent()
483 intent.setPackage(sourcePackage); in requestContent()
486 "Sending ACTION_FETCH_VOICEMAIL to " + sourcePackage); in requestContent()
DVoicemailErrorManager.java108 if (!status.sourcePackage.equals(context.getPackageName())) { in addServiceStateListener()