Home
last modified time | relevance | path

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

/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
DVoicemailStatusHelperImplTest.java78 for (String sourcePackage : TEST_PACKAGES) { in tearDown()
79 deleteEntryForPackage(sourcePackage); in tearDown()
178 assertEquals(TEST_PACKAGES[0], messages.get(1).sourcePackage); in testMessageOrdering()
179 assertEquals(TEST_PACKAGES[1], messages.get(0).sourcePackage); in testMessageOrdering()
186 assertEquals(TEST_PACKAGES[0], messages.get(0).sourcePackage); in testMessageOrdering()
187 assertEquals(TEST_PACKAGES[1], messages.get(1).sourcePackage); in testMessageOrdering()
191 private void checkExpectedMessage(String sourcePackage, ContentValues values, in checkExpectedMessage() argument
196 checkMessageMatches(messages.get(0), sourcePackage, expectedCallLogMsg, in checkExpectedMessage()
200 private void checkExpectedMessage(String sourcePackage, ContentValues values, in checkExpectedMessage() argument
202 checkExpectedMessage(sourcePackage, values, expectedCallLogMsg, expectedCallDetailsMessage, in checkExpectedMessage()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailCleanupServiceTest.java73 private void sendIntent(String sourcePackage, String action, Boolean replacingExtra) { in sendIntent() argument
74 Intent packageIntent = new Intent(action, Uri.parse("package:" + sourcePackage)); in sendIntent()
81 private void insertDataForPackage(String sourcePackage) { in insertDataForPackage() argument
83 values.put(VoicemailContract.SOURCE_PACKAGE_FIELD, sourcePackage); in insertDataForPackage()
84 mResolver.insert(Voicemails.buildSourceUri(sourcePackage), values); in insertDataForPackage()
85 mResolver.insert(Status.buildSourceUri(sourcePackage), values); in insertDataForPackage()
89 for (String sourcePackage : sourcePackages) { in checkDataExistsForPackages()
90 checkDataExistsForPackage(sourcePackage); in checkDataExistsForPackages()
94 private void checkDataExistsForPackage(String sourcePackage) { in checkDataExistsForPackage() argument
96 Voicemails.buildSourceUri(sourcePackage), null, null, null, null); in checkDataExistsForPackage()
[all …]
DVoicemailProviderTest.java604 private Uri insertVoicemailForSourcePackage(String sourcePackage) { in insertVoicemailForSourcePackage() argument
606 values.put(Voicemails.SOURCE_PACKAGE, sourcePackage); in insertVoicemailForSourcePackage()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailStatusHelper.java37 public final String sourcePackage; field in VoicemailStatusHelper.StatusMessage
52 public StatusMessage(String sourcePackage, int callLogMessageId, int callDetailsMessageId, in StatusMessage() argument
54 this.sourcePackage = sourcePackage; in StatusMessage()
DVoicemailStatusHelperImpl.java207 final String sourcePackage = cursor.getString(SOURCE_PACKAGE_INDEX); in getMessageForStatusEntry() local
208 if (sourcePackage == null) { in getMessageForStatusEntry()
233 new StatusMessage(sourcePackage, overallState.getCallLogMessageId(), in getMessageForStatusEntry()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java170 public UriData(Uri uri, VoicemailUriType uriType, String id, String sourcePackage) { in UriData() argument
174 mSourcePackage = sourcePackage; in UriData()
217 String sourcePackage = uri.getQueryParameter( in createUriData() local
224 return new UriData(uri, uriType, null, sourcePackage); in createUriData()
227 return new UriData(uri, uriType, segments.get(1), sourcePackage); in createUriData()