Searched refs:preferForeground (Results 1 – 2 of 2) sorted by relevance
83 boolean preferForeground; // The current selection mode for this category field in PreferredServices.PaymentDefaults241 boolean preferForeground = false; in loadDefaultsFromSettings()244 preferForeground = mWalletRoleObserver.isWalletRoleFeatureEnabled() in loadDefaultsFromSettings()251 … paymentPreferForegroundChanged = (preferForeground != mPaymentDefaults.preferForeground); in loadDefaultsFromSettings()252 mPaymentDefaults.preferForeground = preferForeground; in loadDefaultsFromSettings()368 if (!mPaymentDefaults.preferForeground) { in isForegroundAllowedLocked()530 + mPaymentDefaults.preferForeground); in dump()591 mPaymentDefaults.preferForeground); in dumpDebug()
368 services.mPaymentDefaults.preferForeground = false; in testOnServicesUpdatedWithNonNullForegroundAndPaymentServiceInfo_CommitsChange()392 services.mPaymentDefaults.preferForeground = false; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_CommitsChange()416 services.mPaymentDefaults.preferForeground = false; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_NoChange()536 services.mPaymentDefaults.preferForeground = false; in testOnUserSwitchedWithChange()541 assertThat(services.mPaymentDefaults.preferForeground).isTrue(); in testOnUserSwitchedWithChange()555 services.mPaymentDefaults.preferForeground = false; in testOnUserSwitchedWithNoChange()561 assertThat(services.mPaymentDefaults.preferForeground).isTrue(); in testOnUserSwitchedWithNoChange()