Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailCleanupTest.java73 private void insertDataForPackage(String sourcePackage) { in insertDataForPackage() argument
75 values.put(VoicemailContract.SOURCE_PACKAGE_FIELD, sourcePackage); in insertDataForPackage()
76 mResolver.insert(Voicemails.buildSourceUri(sourcePackage), values); in insertDataForPackage()
77 mResolver.insert(Status.buildSourceUri(sourcePackage), values); in insertDataForPackage()
86 private void checkDataExistsForPackage(String sourcePackage) { in checkDataExistsForPackage() argument
88 Voicemails.buildSourceUri(sourcePackage), null, null, null, null); in checkDataExistsForPackage()
91 Status.buildSourceUri(sourcePackage), null, null, null, null); in checkDataExistsForPackage()
95 private void checkDataDoesNotExistForPackage(String sourcePackage) { in checkDataDoesNotExistForPackage() argument
97 Voicemails.buildSourceUri(sourcePackage), null, in checkDataDoesNotExistForPackage()
101 Status.buildSourceUri(sourcePackage), null, null, null, null); in checkDataDoesNotExistForPackage()
DVoicemailProviderTest.java883 private Uri insertVoicemailForSourcePackage(String sourcePackage) { in insertVoicemailForSourcePackage() argument
885 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.java287 private UriData(Uri uri, VoicemailUriType uriType, String id, String sourcePackage) { in UriData() argument
291 mSourcePackage = sourcePackage; in UriData()
334 String sourcePackage = uri.getQueryParameter( in createUriData() local
341 return new UriData(uri, uriType, null, sourcePackage); in createUriData()
344 return new UriData(uri, uriType, segments.get(1), sourcePackage); in createUriData()
/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()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DImportDataTask.java316 String sourcePackage = devicePrefs.getString(KEY_DATA_IMPORT_SRC_PKG, ""); in performImportIfPossible() local
319 if (TextUtils.isEmpty(sourcePackage) || TextUtils.isEmpty(sourceAuthority)) { in performImportIfPossible()
336 if (sourcePackage.equals(info.packageName)) { in performImportIfPossible()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemail.java132 public Builder setSourcePackage(String sourcePackage) { in setSourcePackage() argument
133 builderSourcePackage = sourcePackage; in setSourcePackage()