Home
last modified time | relevance | path

Searched refs:mAutofillManager (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPreferenceControllerTest.java56 private AutofillManager mAutofillManager; field in DefaultAutofillPreferenceControllerTest
67 ReflectionHelpers.setField(mController, "mAutofillManager", mAutofillManager); in setUp()
75 when(mAutofillManager.hasAutofillFeature()).thenReturn(false); in isAvailableIfHasFeatureAndSupported()
78 when(mAutofillManager.hasAutofillFeature()).thenReturn(true); in isAvailableIfHasFeatureAndSupported()
79 when(mAutofillManager.isAutofillSupported()).thenReturn(false); in isAvailableIfHasFeatureAndSupported()
82 when(mAutofillManager.hasAutofillFeature()).thenReturn(true); in isAvailableIfHasFeatureAndSupported()
83 when(mAutofillManager.isAutofillSupported()).thenReturn(true); in isAvailableIfHasFeatureAndSupported()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPreferenceController.java30 private final AutofillManager mAutofillManager; field in DefaultAutofillPreferenceController
35 mAutofillManager = mContext.getSystemService(AutofillManager.class); in DefaultAutofillPreferenceController()
40 return mAutofillManager != null in isAvailable()
41 && mAutofillManager.hasAutofillFeature() in isAvailable()
42 && mAutofillManager.isAutofillSupported(); in isAvailable()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerEntryPreferenceController.java46 private final AutofillManager mAutofillManager; field in DefaultAutofillPickerEntryPreferenceController
51 mAutofillManager = context.getSystemService(AutofillManager.class); in DefaultAutofillPickerEntryPreferenceController()
56 if (mAutofillManager != null && mAutofillManager.isAutofillSupported()) { in getAvailabilityStatus()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerEntryPreferenceControllerTest.java74 private AutofillManager mAutofillManager; field in DefaultAutofillPickerEntryPreferenceControllerTest
80 Context.AUTOFILL_MANAGER_SERVICE, mAutofillManager); in setUp()
114 when(mAutofillManager.isAutofillSupported()).thenReturn(false); in getAvailabilityStatus_autofillNotSupported_unsupportedOnDevice()
121 when(mAutofillManager.isAutofillSupported()).thenReturn(true); in getAvailabilityStatus_autofillSupported_isAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputSettingsTest.java70 private AutofillManager mAutofillManager; field in LanguageAndInputSettingsTest
85 .thenReturn(mAutofillManager); in setUp()