/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | CallLogListItemHelperTest.java | 35 private static final String TEST_NUMBER = "14125555555"; field in CallLogListItemHelperTest 165 PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in testGetCallDescriptionID_KnownAnswered() 178 PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in testGetCallDescriptionID_KnownMissed() 191 PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in testGetCallDescriptionID_KnownVoicemail() 205 PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in testGetCallDescriptionID_OutgoingSingle() 219 PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in testGetCallDescriptionID_OutgoingMultiple() 232 PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in testGetCallDescription_NoVoicemailOutgoing() 246 PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in testGetCallDescription_NoVoicemailIncoming() 260 PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in testGetCallDescription_NoVoicemailMissed() 274 PhoneCallDetails details = new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in testGetCallDescription_Voicemail() [all …]
|
D | CallLogFragmentTest.java | 72 private static final String TEST_NUMBER = "12125551000"; field in CallLogFragmentTest 194 insert(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, NOW, 0, Calls.INCOMING_TYPE); in testBindView_NumberOnlyNoCache() 199 assertNameIs(views, TEST_NUMBER); in testBindView_NumberOnlyNoCache() 205 Object[] values = getValuesToInsert(TEST_NUMBER, in testBindView_NumberOnlyDbCachedFormattedNumber() 221 insertWithCachedValues(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE, in testBindView_WithCachedName() 249 insertWithCachedValues(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE, in testBindView_HomeLabel() 264 insertWithCachedValues(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE, in testBindView_WorkLabel() 278 insertWithCachedValues(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE, in testBindView_CustomLabel() 291 insertWithCachedValues(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE, in testBindView_WithQuickContactBadge() 303 insert(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, NOW, 0, Calls.INCOMING_TYPE); in testBindView_WithoutQuickContactBadge() [all …]
|
D | CallLogAdapterTest.java | 35 private static final String TEST_NUMBER = "12345678"; field in CallLogAdapterTest 95 assertEquals(TEST_NUMBER, request.number); in testBindView_NoCallLogCacheNorMemoryCache_EnqueueRequest() 121 mAdapter.injectContactInfoForTest(TEST_NUMBER, TEST_COUNTRY_ISO, createContactInfo()); in testBindView_NoCallLogButMemoryCache_EnqueueRequest() 136 mAdapter.injectContactInfoForTest(TEST_NUMBER, TEST_COUNTRY_ISO, createContactInfo()); in testBindView_BothCallLogAndMemoryCache_NoEnqueueRequest() 151 mAdapter.injectContactInfoForTest(TEST_NUMBER, TEST_COUNTRY_ISO, info); in testBindView_MismatchBetwenCallLogAndMemoryCache_EnqueueRequest() 167 info.number = TEST_NUMBER; in createContactInfo() 177 values[CallLogQuery.NUMBER] = TEST_NUMBER; in createCallLogEntry()
|
/packages/apps/Dialer/tests/src/com/android/dialer/ |
D | PhoneCallDetailsHelperTest.java | 46 private static final String TEST_NUMBER = "14125555555"; field in PhoneCallDetailsHelperTest 222 setCallDetailsHeaderWithNumber(TEST_NUMBER, Calls.PRESENTATION_ALLOWED); in testSetCallDetailsHeader_NumberOnly() 331 new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in setPhoneCallDetailsWithDate() 340 new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in setPhoneCallDetailsWithCallTypeIcons() 351 new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in setPhoneCallDetailsWithFeatures() 368 new PhoneCallDetails(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, in setCallDetailsHeader()
|