Searched refs:afm (Results 1 – 6 of 6) sorted by relevance
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | ServiceEnabledForSureTest.java | 73 final AutofillManager afm = mActivity.getAutofillManager(); 74 Helper.assertAutofillEnabled(afm, true); 77 Helper.assertAutofillEnabled(afm, false); 80 Helper.assertAutofillEnabled(afm, true);
|
D | ServiceDisabledForSureTest.java | 75 final AutofillManager afm = mActivity.getAutofillManager(); 76 Helper.assertAutofillEnabled(afm, false); 79 Helper.assertAutofillEnabled(afm, true); 82 Helper.assertAutofillEnabled(afm, false);
|
/cts/tests/autofillservice/TestAutofillService/src/android/autofill/cts2/ |
D | QueryAutofillStatusActivity.java | 56 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/ |
D | CtsAugmentedAutofillService.java | 141 final AutofillManager afm = getApplication().getSystemService(AutofillManager.class); in onConnected() local 142 if (afm == null) { in onConnected() 146 afm.setAugmentedAutofillWhitelist(packages, /* activities= */ null); in onConnected()
|
D | Helper.java | 1505 public static void assertAutofillEnabled(@NonNull AutofillManager afm, boolean expected) in assertAutofillEnabled() argument 1508 final boolean actual = afm.isEnabled(); in assertAutofillEnabled()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | LoginActivityTest.java | 2546 final AutofillManager afm = mActivity.getAutofillManager(); in testIsServiceEnabled() local 2547 assertThat(afm.hasEnabledAutofillServices()).isFalse(); in testIsServiceEnabled() 2550 assertThat(afm.hasEnabledAutofillServices()).isTrue(); in testIsServiceEnabled() 2559 final AutofillManager afm = mActivity.getAutofillManager(); in testGetAutofillServiceComponentName() local 2562 final ComponentName componentName = afm.getAutofillServiceComponentName(); in testGetAutofillServiceComponentName() 2567 assertThat(afm.getAutofillServiceComponentName()).isNull(); in testGetAutofillServiceComponentName() 2576 final AutofillManager afm = mActivity.getAutofillManager(); in testSetupComplete() local 2577 Helper.assertAutofillEnabled(afm, true); in testSetupComplete() 2582 Helper.assertAutofillEnabled(afm, false); in testSetupComplete()
|