Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListViewHolderTest.java132 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(false); in testLabel_withMultipleNumbersAndNoPrimaryNumber_showMultipleLabel()
146 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testLabel_withMultipleNumbersAndHasPrimaryNumber_showPrimaryNumberLabel()
161 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testLabel_HasPrimaryNumberAndPrimaryNumberHasNullLabel_showPrimaryNumberLabel()
180 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testLabel_HasPrimaryNumberButGetNullLabel_showMultipleLabel()
214 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(false); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()
233 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testClickCallActionButton_HasMultipleNumbersAndPrimaryNumber_callPrimaryNumber()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/favorite/
DFavoriteFragmentTest.java93 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testOnItemClick_contactHasPrimaryNumber_placeCall()
105 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(false); in testOnItemClick_contactHasOnlyOneNumber_placeCall()
117 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(false); in testOnItemClick_contactHasMultiNumbers_notPlaceCall()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DFavoriteContactViewHolder.java75 if (contact.hasPrimaryPhoneNumber()) { in onBind()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerUtils.java112 if (contact.hasPrimaryPhoneNumber()) { in promptForPrimaryNumber()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewHolder.java94 readableLabel = contact.hasPrimaryPhoneNumber() in setLabelText()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DContact.java505 public boolean hasPrimaryPhoneNumber() { in hasPrimaryPhoneNumber() method in Contact