Home
last modified time | relevance | path

Searched refs:PaymentAppInfo (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/nfc/
DNfcPaymentPreferenceController.java39 import com.android.settings.nfc.PaymentBackend.PaymentAppInfo;
92 final List<PaymentAppInfo> appInfos = mPaymentBackend.getPaymentAppInfos(); in getAvailabilityStatus()
117 final List<PaymentAppInfo> appInfos = mPaymentBackend.getPaymentAppInfos(); in updateState()
119 final PaymentAppInfo[] apps = appInfos.toArray(new PaymentAppInfo[appInfos.size()]); in updateState()
128 final PaymentAppInfo defaultApp = mPaymentBackend.getDefaultApp(); in getSummary()
149 final PaymentAppInfo defaultAppInfo = mPaymentBackend.getDefaultApp(); in onClick()
164 final PaymentAppInfo defaultApp = mPaymentBackend.getDefaultApp(); in updateSettingsVisibility()
178 private PaymentAppInfo[] appInfos;
185 public void updateApps(PaymentAppInfo[] appInfos) { in updateApps()
197 public PaymentAppInfo getItem(int i) { in getItem()
[all …]
DPaymentBackend.java46 public static class PaymentAppInfo { class in PaymentBackend
59 private ArrayList<PaymentAppInfo> mAppInfos;
60 private PaymentAppInfo mDefaultAppInfo;
84 ArrayList<PaymentAppInfo> appInfos = new ArrayList<PaymentAppInfo>(); in refresh()
92 PaymentAppInfo foundDefaultApp = null; in refresh()
94 PaymentAppInfo appInfo = new PaymentAppInfo(); in refresh()
128 public List<PaymentAppInfo> getPaymentAppInfos() { in getPaymentAppInfos()
132 public PaymentAppInfo getDefaultApp() { in getDefaultApp()
DPaymentDefaultDialog.java29 import com.android.settings.nfc.PaymentBackend.PaymentAppInfo;
86 PaymentAppInfo requestedPaymentApp = null; in buildDialog()
87 PaymentAppInfo defaultPaymentApp = null; in buildDialog()
89 List<PaymentAppInfo> services = mBackend.getPaymentAppInfos(); in buildDialog()
90 for (PaymentAppInfo service : services) { in buildDialog()
DNfcForegroundPreferenceController.java75 final List<PaymentBackend.PaymentAppInfo> appInfos = mPaymentBackend.getPaymentAppInfos(); in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcPaymentPreferenceControllerTest.java31 import com.android.settings.nfc.PaymentBackend.PaymentAppInfo;
99 final ArrayList<PaymentAppInfo> appInfos = new ArrayList<>(); in getAvailabilityStatus_hasPaymentApps_AVAILABLE()
100 appInfos.add(new PaymentAppInfo()); in getAvailabilityStatus_hasPaymentApps_AVAILABLE()
146 final PaymentAppInfo appInfo = new PaymentAppInfo(); in onPaymentAppsChanged_shouldRefreshSummary()
DPaymentSettingsTest.java151 private ArrayList<PaymentBackend.PaymentAppInfo> mAppInfos;
155 mAppInfos.add(new PaymentBackend.PaymentAppInfo()); in __constructor__()
159 protected List<PaymentBackend.PaymentAppInfo> getPaymentAppInfos() { in getPaymentAppInfos()
DNfcForegroundPreferenceControllerTest.java108 final ArrayList<PaymentBackend.PaymentAppInfo> appInfos = new ArrayList<>(); in initPaymentApps()
109 appInfos.add(new PaymentBackend.PaymentAppInfo()); in initPaymentApps()