OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPaymentBackend
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DefaultPaymentSettingsPreferenceController.java
36
private PaymentBackend
mPaymentBackend
;
56
if (
mPaymentBackend
== null) {
58
mPaymentBackend
= new PaymentBackend(mContext);
60
mPaymentBackend
= null;
63
if (
mPaymentBackend
== null) {
66
mPaymentBackend
.refresh();
67
final PaymentBackend.PaymentAppInfo app =
mPaymentBackend
.getDefaultApp();
/packages/apps/Settings/src/com/android/settings/nfc/
NfcForegroundPreference.java
26
private final PaymentBackend
mPaymentBackend
;
29
mPaymentBackend
= backend;
30
mPaymentBackend
.registerCallback(this);
40
PaymentBackend.PaymentAppInfo defaultApp =
mPaymentBackend
.getDefaultApp();
41
boolean foregroundMode =
mPaymentBackend
.isForegroundMode();
60
mPaymentBackend
.setForegroundMode(Integer.parseInt(value) != 0);
PaymentSettings.java
47
private PaymentBackend
mPaymentBackend
;
58
mPaymentBackend
= new PaymentBackend(getActivity());
64
List<PaymentBackend.PaymentAppInfo> appInfos =
mPaymentBackend
.getPaymentAppInfos();
67
new NfcPaymentPreference(getPrefContext(),
mPaymentBackend
);
71
mPaymentBackend
);
90
mPaymentBackend
.onResume();
96
mPaymentBackend
.onPause();
NfcPaymentPreference.java
48
private final PaymentBackend
mPaymentBackend
;
55
mPaymentBackend
= backend;
80
List<PaymentAppInfo> appInfos =
mPaymentBackend
.getPaymentAppInfos();
81
PaymentAppInfo defaultApp =
mPaymentBackend
.getDefaultApp();
110
PaymentAppInfo defaultAppInfo =
mPaymentBackend
.getDefaultApp();
125
PaymentAppInfo defaultApp =
mPaymentBackend
.getDefaultApp();
211
mPaymentBackend
.setDefaultPaymentApp(appInfo.componentName);
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DefaultPaymentSettingsPreferenceControllerTest.java
57
private PaymentBackend
mPaymentBackend
;
97
when(
mPaymentBackend
.getDefaultApp()).thenReturn(defaultApp);
98
ReflectionHelpers.setField(mController, "
mPaymentBackend
",
mPaymentBackend
);
102
verify(
mPaymentBackend
).refresh();
Completed in 228 milliseconds