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.java136 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(false); in testLabel_withMultipleNumbersAndNoPrimaryNumber_showMultipleLabel()
150 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testLabel_withMultipleNumbersAndHasPrimaryNumber_showPrimaryNumberLabel()
165 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testLabel_HasPrimaryNumberAndPrimaryNumberHasNullLabel_showPrimaryNumberLabel()
184 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testLabel_HasPrimaryNumberButGetNullLabel_showMultipleLabel()
216 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(false); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()
235 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testClickCallActionButton_HasMultipleNumbersAndPrimaryNumber_callPrimaryNumber()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/favorite/
DFavoriteFragmentTest.java102 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(true); in testOnItemClick_contactHasPrimaryNumber_placeCall()
115 when(mMockContact.hasPrimaryPhoneNumber()).thenReturn(false); in testOnItemClick_contactHasOnlyOneNumber_placeCall()
128 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 bind()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerUtils.java116 if (contact.hasPrimaryPhoneNumber()) { in promptForPrimaryNumber()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewHolder.java106 readableLabel = contact.hasPrimaryPhoneNumber() in setLabelText()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DContact.java527 public boolean hasPrimaryPhoneNumber() { in hasPrimaryPhoneNumber() method in Contact