Home
last modified time | relevance | path

Searched refs:isWalletRoleAvailable (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTile.java190 if (isWalletRoleAvailable()) { in isAvailable()
199 private boolean isWalletRoleAvailable() { in isWalletRoleAvailable() method in QuickAccessWalletTile
200 return mHost.getUserId() == UserHandle.USER_SYSTEM && mController.isWalletRoleAvailable(); in isWalletRoleAvailable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DQuickAccessWalletControllerTest.java128 assertTrue(mController.isWalletRoleAvailable()); in walletRoleAvailable_isAvailable()
137 assertFalse(mController.isWalletRoleAvailable()); in walletRoleAvailable_isNotAvailable()
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletServiceInfo.java76 if (isWalletRoleAvailable(context)) { in tryCreate()
115 private static boolean isWalletRoleAvailable(Context context) { in isWalletRoleAvailable() method in QuickAccessWalletServiceInfo
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTileTest.java202 when(mController.isWalletRoleAvailable()).thenReturn(false); in testIsAvailable_qawFeatureAvailableWalletUnavailable()
213 when(mController.isWalletRoleAvailable()).thenReturn(true); in testIsAvailable_nfcUnavailableWalletAvailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/
DQuickAccessWalletController.java106 public boolean isWalletRoleAvailable() { in isWalletRoleAvailable() method in QuickAccessWalletController