Home
last modified time | relevance | path

Searched refs:afm (Results 1 – 6 of 6) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DServiceDisabledForSureTest.java75 final AutofillManager afm = mActivity.getAutofillManager();
76 Helper.assertAutofillEnabled(afm, false);
79 Helper.assertAutofillEnabled(afm, true);
82 Helper.assertAutofillEnabled(afm, false);
DServiceEnabledForSureTest.java73 final AutofillManager afm = mActivity.getAutofillManager();
74 Helper.assertAutofillEnabled(afm, true);
77 Helper.assertAutofillEnabled(afm, false);
80 Helper.assertAutofillEnabled(afm, true);
/cts/tests/autofillservice/TestAutofillService/src/android/autofill/cts2/
DQueryAutofillStatusActivity.java56 final AutofillManager afm = getSystemService(AutofillManager.class); in hasEnabledAutofillServicesAndFinish() local
57 final boolean enabled = afm.hasEnabledAutofillServices(); in hasEnabledAutofillServicesAndFinish()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCtsAugmentedAutofillService.java141 final AutofillManager afm = getApplication().getSystemService(AutofillManager.class); in onConnected() local
142 if (afm == null) { in onConnected()
146 afm.setAugmentedAutofillWhitelist(packages, /* activities= */ null); in onConnected()
DHelper.java1487 public static void assertAutofillEnabled(@NonNull AutofillManager afm, boolean expected) in assertAutofillEnabled() argument
1490 final boolean actual = afm.isEnabled(); in assertAutofillEnabled()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DLoginActivityTest.java2541 final AutofillManager afm = mActivity.getAutofillManager(); in testIsServiceEnabled() local
2542 assertThat(afm.hasEnabledAutofillServices()).isFalse(); in testIsServiceEnabled()
2545 assertThat(afm.hasEnabledAutofillServices()).isTrue(); in testIsServiceEnabled()
2554 final AutofillManager afm = mActivity.getAutofillManager(); in testGetAutofillServiceComponentName() local
2557 final ComponentName componentName = afm.getAutofillServiceComponentName(); in testGetAutofillServiceComponentName()
2562 assertThat(afm.getAutofillServiceComponentName()).isNull(); in testGetAutofillServiceComponentName()
2571 final AutofillManager afm = mActivity.getAutofillManager(); in testSetupComplete() local
2572 Helper.assertAutofillEnabled(afm, true); in testSetupComplete()
2577 Helper.assertAutofillEnabled(afm, false); in testSetupComplete()