Searched refs:mPaymentDefaults (Results 1 – 2 of 2) sorted by relevance
91 PaymentDefaults mPaymentDefaults = new PaymentDefaults(); field in PreferredServices251 … paymentPreferForegroundChanged = (preferForeground != mPaymentDefaults.preferForeground); in loadDefaultsFromSettings()252 mPaymentDefaults.preferForeground = preferForeground; in loadDefaultsFromSettings()254 mPaymentDefaults.settingsDefault = newDefault; in loadDefaultsFromSettings()255 if (newDefault != null && (!newDefault.equals(mPaymentDefaults.currentPreferred) in loadDefaultsFromSettings()256 || mPaymentDefaults.mUserHandle.getIdentifier() != newUser.getIdentifier())) { in loadDefaultsFromSettings()258 mPaymentDefaults.currentPreferred = newDefault; in loadDefaultsFromSettings()259 mPaymentDefaults.mUserHandle = newUser; in loadDefaultsFromSettings()260 } else if (newDefault == null && mPaymentDefaults.currentPreferred != null) { in loadDefaultsFromSettings()262 mPaymentDefaults.currentPreferred = newDefault; in loadDefaultsFromSettings()[all …]
367 services.mPaymentDefaults.currentPreferred = null; in testOnServicesUpdatedWithNonNullForegroundAndPaymentServiceInfo_CommitsChange()368 services.mPaymentDefaults.preferForeground = false; in testOnServicesUpdatedWithNonNullForegroundAndPaymentServiceInfo_CommitsChange()390 services.mPaymentDefaults.currentPreferred = null; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_CommitsChange()391 services.mPaymentDefaults.mUserHandle = mUserHandle; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_CommitsChange()392 services.mPaymentDefaults.preferForeground = false; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_CommitsChange()414 services.mPaymentDefaults.currentPreferred = null; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_NoChange()415 services.mPaymentDefaults.mUserHandle = mUserHandle; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_NoChange()416 services.mPaymentDefaults.preferForeground = false; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_NoChange()430 services.mPaymentDefaults.currentPreferred = TEST_COMPONENT; in testRegisterPreferredForegroundServiceWithSuccess()443 services.mPaymentDefaults.currentPreferred = TEST_COMPONENT; in testRegisterPreferredForegroundServiceWithFailure()[all …]