Searched refs:mQuickAccessWalletClient (Results 1 – 3 of 3) sorted by relevance
67 private QuickAccessWalletClient mQuickAccessWalletClient; field in QuickAccessWalletControllerTest92 when(mQuickAccessWalletClient.isWalletServiceAvailable()).thenReturn(true); in setUp()93 when(mQuickAccessWalletClient.isWalletFeatureAvailable()).thenReturn(true); in setUp()94 when(mQuickAccessWalletClient.isWalletFeatureAvailableWhenDeviceLocked()).thenReturn(true); in setUp()103 }).when(mQuickAccessWalletClient).getWalletPendingIntent(any(), any()); in setUp()110 mQuickAccessWalletClient, in setUp()142 when(mQuickAccessWalletClient.isWalletServiceAvailable()).thenReturn(false); in walletServiceUnavailable_walletNotEnabled()151 when(mQuickAccessWalletClient.isWalletFeatureAvailable()).thenReturn(false); in walletFeatureUnavailable_walletNotEnabled()160 when(mQuickAccessWalletClient.isWalletFeatureAvailableWhenDeviceLocked()).thenReturn(false); in walletFeatureWhenLockedUnavailable_walletNotEnabled()169 assertSame(mQuickAccessWalletClient, mController.getWalletClient()); in getWalletClient_NoRecreation_sameClient()[all …]
76 private QuickAccessWalletClient mQuickAccessWalletClient; field in QuickAccessWalletController101 mQuickAccessWalletClient = quickAccessWalletClient; in QuickAccessWalletController()121 return mQuickAccessWalletClient; in getWalletClient()175 mWalletEnabled = mQuickAccessWalletClient.isWalletServiceAvailable() in updateWalletPreference()176 && mQuickAccessWalletClient.isWalletFeatureAvailable() in updateWalletPreference()177 && mQuickAccessWalletClient.isWalletFeatureAvailableWhenDeviceLocked(); in updateWalletPreference()195 if (!mQuickAccessWalletClient.isWalletFeatureAvailable()) { in queryWalletCards()206 mQuickAccessWalletClient.getWalletCards(mBgExecutor, request, cardsRetriever); in queryWalletCards()226 mQuickAccessWalletClient = QuickAccessWalletClient.create(mContext, mBgExecutor); in reCreateWalletClient()251 mQuickAccessWalletClient.getWalletPendingIntent(mExecutor, in startQuickAccessUiIntent()[all …]
116 private QuickAccessWalletClient mQuickAccessWalletClient; field in QuickAccessWalletTileTest143 when(mQuickAccessWalletClient.getServiceLabel()).thenReturn(LABEL); in setUp()144 when(mQuickAccessWalletClient.getTileIcon()).thenReturn(mTileIcon); in setUp()145 when(mQuickAccessWalletClient.isWalletFeatureAvailable()).thenReturn(true); in setUp()146 when(mQuickAccessWalletClient.isWalletServiceAvailable()).thenReturn(true); in setUp()147 when(mQuickAccessWalletClient.isWalletFeatureAvailableWhenDeviceLocked()).thenReturn(true); in setUp()148 when(mController.getWalletClient()).thenReturn(mQuickAccessWalletClient); in setUp()184 when(mQuickAccessWalletClient.isWalletServiceAvailable()).thenReturn(false); in testWalletServiceUnavailable_recreateWalletClient()193 when(mQuickAccessWalletClient.isWalletFeatureAvailable()).thenReturn(false); in testWalletFeatureUnavailable_recreateWalletClient()260 when(mQuickAccessWalletClient.getTileIcon()).thenReturn(null); in testHandleUpdateState_updateLabelAndIcon_noIconFromApi()[all …]