Home
last modified time | relevance | path

Searched refs:cardType (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/util/
DWalletCardUtils.kt27 val atLeastOneKnownCardType = walletCards.any { it.cardType != WalletCard.CARD_TYPE_UNKNOWN } in getPaymentCards()
30 walletCards.filter { it.cardType == WalletCard.CARD_TYPE_PAYMENT } in getPaymentCards()
/frameworks/base/core/java/android/service/quickaccesswallet/
DWalletCard.java129 int cardType = source.readInt(); in readFromParcel() local
138 new Builder(cardId, cardType, cardImage, contentDesc, pendingIntent) in readFromParcel()
141 if (cardType == CARD_TYPE_NON_PAYMENT) { in readFromParcel()
305 @NonNull @CardType int cardType, in Builder() argument
311 mCardType = cardType; in Builder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/util/
DWalletCardUtilsTest.kt58 private fun createWalletCardWithType(cardType: Int): WalletCard { in createWalletCardWithType()
61 /*cardType= */ cardType, in createWalletCardWithType()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DQuickAccessWalletKeyguardQuickAffordanceConfigTest.kt101 setUpState(cardType = WalletCard.CARD_TYPE_NON_PAYMENT) in <lambda>()
111 setUpState(cardType = WalletCard.CARD_TYPE_PAYMENT) in <lambda>()
222 cardType: Int = WalletCard.CARD_TYPE_UNKNOWN in <lambda>()
242 /*cardType= */ cardType, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DWalletContextualSuggestionsControllerTest.kt86 whenever(CARD_1.cardType).thenReturn(WalletCard.CARD_TYPE_NON_PAYMENT) in <lambda>()
88 whenever(CARD_2.cardType).thenReturn(WalletCard.CARD_TYPE_NON_PAYMENT) in <lambda>()
90 whenever(CARD_3.cardType).thenReturn(WalletCard.CARD_TYPE_NON_PAYMENT) in <lambda>()
92 whenever(PAYMENT_CARD.cardType).thenReturn(WalletCard.CARD_TYPE_PAYMENT) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/
DWalletContextualSuggestionsController.kt126 card.cardType == WalletCard.CARD_TYPE_NON_PAYMENT && in <lambda>()
151 callback(cards.filter { card -> card.cardType == WalletCard.CARD_TYPE_NON_PAYMENT }) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTileTest.java468 private WalletCard createWalletCardWithType(Context context, int cardType) { in createWalletCardWithType() argument
471 return new WalletCard.Builder(CARD_ID, cardType, CARD_IMAGE, CARD_DESCRIPTION, in createWalletCardWithType()
475 private void setUpWalletCardWithType(boolean hasCard, int cardType) { in setUpWalletCardWithType() argument
480 createWalletCardWithType(mContext, cardType)) in setUpWalletCardWithType()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/ui/
DWalletScreenControllerTest.java501 private WalletCard createWalletCardWithType(Context context, int cardType) { in createWalletCardWithType() argument
504 return new WalletCard.Builder(CARD_ID_1, cardType, createIcon(), "•••• 1234", pendingIntent) in createWalletCardWithType()