Home
last modified time | relevance | path

Searched refs:mAutofillManager (Results 1 – 6 of 6) 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/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerEntryPreferenceControllerTest.java76 private AutofillManager mAutofillManager; field in DefaultAutofillPickerEntryPreferenceControllerTest
82 Context.AUTOFILL_MANAGER_SERVICE, mAutofillManager); in setUp()
164 when(mAutofillManager.isAutofillSupported()).thenReturn(false); in getAvailabilityStatus_autofillNotSupported_unsupportedOnDevice()
171 when(mAutofillManager.isAutofillSupported()).thenReturn(false); in getAvailabilityStatus_autofillNotSupported_unsupportedOnDevice_zoneWrite()
179 when(mAutofillManager.isAutofillSupported()).thenReturn(false); in getAvailabilityStatus_autofillNotSupported_unsupportedOnDevice_zoneRead()
187 when(mAutofillManager.isAutofillSupported()).thenReturn(false); in getAvailabilityStatus_autofillNotSupported_unsupportedOnDevice_zoneHidden()
195 when(mAutofillManager.isAutofillSupported()).thenReturn(true); in getAvailabilityStatus_autofillSupported_isAvailable()
202 when(mAutofillManager.isAutofillSupported()).thenReturn(true); in getAvailabilityStatus_autofillSupported_isAvailable_zoneWrite()
210 when(mAutofillManager.isAutofillSupported()).thenReturn(true); in getAvailabilityStatus_autofillSupported_isAvailable_zoneRead()
218 when(mAutofillManager.isAutofillSupported()).thenReturn(true); in getAvailabilityStatus_autofillSupported_isAvailable_zoneHidden()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DAutofillManagerCompat.java21 mAutofillManager = autofillManager; in AutofillManagerCompat()
24 private final AutofillManager mAutofillManager; field in AutofillManagerCompat
27 return mAutofillManager.hasAutofillFeature(); in hasAutofillFeature()
/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 getDefaultAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DDefaultCombinedPreferenceController.java55 private final AutofillManager mAutofillManager; field in DefaultCombinedPreferenceController
63 mAutofillManager = mContext.getSystemService(AutofillManager.class); in DefaultCombinedPreferenceController()
74 return mAutofillManager != null in isAvailable()
76 && mAutofillManager.hasAutofillFeature() in isAvailable()
77 && mAutofillManager.isAutofillSupported(); in isAvailable()