Home
last modified time | relevance | path

Searched refs:username (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DAuthenticationTest.java101 final View username = mActivity.getUsername(); in datasetAuthTwoFields() local
102 callback.assertUiShownEvent(username); in datasetAuthTwoFields()
108 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields()
115 callback.assertUiShownEvent(username); in datasetAuthTwoFields()
122 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields()
123 callback.assertUiShownEvent(username); in datasetAuthTwoFields()
128 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields()
135 callback.assertUiShownEvent(username); in datasetAuthTwoFields()
141 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields()
188 final View username = mActivity.getUsername(); in testDatasetAuthTwoFieldsReplaceResponse() local
[all …]
DLoginActivityTest.java322 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() local
323 assertTextAndValue(username, "malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
606 final View username = mActivity.getUsername(); in testDatasetPickerPosition() local
620 callback.assertUiShownEvent(username); in testDatasetPickerPosition()
657 callback.assertUiHiddenEvent(username); in testDatasetPickerPosition()
675 callback.assertUiShownEvent(username); in testDatasetPickerPosition()
682 callback.assertUiHiddenEvent(username); in testDatasetPickerPosition()
952 final View username = mActivity.getUsername(); in testAutofillTapOutside() local
954 callback.assertUiShownEvent(username); in testAutofillTapOutside()
959 callback.assertUiHiddenEvent(username); in testAutofillTapOutside()
[all …]
DVirtualContainerActivityTest.java211 final ViewNode username = findNodeByResourceId(request.structure, ID_USERNAME); in autofillTest() local
216 assertTextIsSanitized(username); in autofillTest()
222 assertThat(username.getClassName()).isEqualTo(TEXT_CLASS); in autofillTest()
226 assertThat(username.getIdEntry()).isEqualTo(ID_USERNAME); in autofillTest()
229 assertThat(username.getInputType()) in autofillTest()
236 final String[] autofillHints = username.getAutofillHints(); in autofillTest()
242 assertThat(username.getHtmlInfo()).isNull(); in autofillTest()
251 VirtualContainerView.assertHtmlInfo(username); in autofillTest()
260 assertWithMessage("Username node is not focused").that(username.isFocused()).isTrue(); in autofillTest()
616 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME); in saveTest() local
[all …]
DLoginWithStringsActivityTest.java138 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME);
139 assertTextAndValue(username, "dude");
DVirtualContainerActivityCompatModeTest.java225 final ViewNode username = findNodeByResourceId(saveRequest.structure, ID_USERNAME); in testUrlBarChangeIgnoredWhenServiceCanSave() local
229 assertTextAndValue(username, "foo"); in testUrlBarChangeIgnoredWhenServiceCanSave()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DLoginActivity.java84 public static String getWelcomeMessage(String username) { in getWelcomeMessage() argument
85 return String.format(sWelcomeTemplate, username); in getWelcomeMessage()
109 mUsernameEditText = findViewById(R.id.username); in onCreate()
135 final String username = mUsernameEditText.getText().toString(); in login() local
137 final boolean valid = username.equals(password) in login()
138 || (TextUtils.isEmpty(username) && TextUtils.isEmpty(password)) in login()
140 || username.equals(BACKDOOR_USERNAME); in login()
143 Log.d(TAG, "login ok: " + username); in login()
145 final String message = getWelcomeMessage(username); in login()
180 public void expectAutoFill(String username, String password) { in expectAutoFill() argument
[all …]
DMyWebView.java55 public void expectAutofill(String username, String password) { in expectAutofill() argument
56 mExpectation = new FillExpectation(username, password); in expectAutofill()
82 FillExpectation(String username, String password) { in FillExpectation() argument
83 this.mExpectedUsername = username; in FillExpectation()
87 void setUsername(String username) { in setUsername() argument
88 mActualUsername = username; in setUsername()
119 public void onUsernameChanged(String username) { in onUsernameChanged() argument
120 Log.d(TAG, "onUsernameChanged():" + username); in onUsernameChanged()
122 mExpectation.setUsername(username); in onUsernameChanged()
DUsernameOnlyActivity.java39 mUsernameEditText = findViewById(R.id.username); in onCreate()
52 public void setUsername(String username) { in setUsername() argument
53 syncRunOnUiThread(() -> mUsernameEditText.setText(username)); in setUsername()
69 final String username = mUsernameEditText.getText().toString(); in next() local
70 Log.v(TAG, "Going to next screen as user " + username + " and aid " + mPasswordAutofillId); in next()
72 .putExtra(PasswordOnlyActivity.EXTRA_USERNAME, username) in next()
DDialogLauncherActivity.java85 public void expectAutofill(String username, String password) { in expectAutofill() argument
88 mExpectation = new FillExpectation(username, password); in expectAutofill()
107 private FillExpectation(String username, String password) { in FillExpectation() argument
108 mCcUsernameWatcher = username == null ? null in FillExpectation()
109 : new OneTimeTextWatcher("username", mDialog.mUsernameEditText, username); in FillExpectation()
114 private FillExpectation(String username) { in FillExpectation() argument
115 this(username, null); in FillExpectation()
133 mUsernameEditText = findViewById(R.id.username); in onCreate()
DVirtualContainerActivity.java92 public void expectAutoFill(String username, String password) { in expectAutoFill() argument
93 mExpectation = new FillExpectation(username, password); in expectAutoFill()
115 private FillExpectation(String username, String password) { in FillExpectation() argument
116 ccUsernameWatcher = mUsername.new OneTimeLineWatcher(username); in FillExpectation()
DFieldsNoPasswordActivity.java46 mUsernameEditText = findViewById(R.id.username); in onCreate()
DMultipleStepsSignInActivity.java144 steps.add(newStep(R.layout.username)); in getStepsMap()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DAbstractLoginNotImportantForAutofillTestCase.java48 final EditText username = mActivity.getUsername(); in testAutofill_none() local
49 final AutofillValue expectedFocusedValue = username.getAutofillValue(); in testAutofill_none()
50 final AutofillId expectedFocusedId = username.getAutofillId(); in testAutofill_none()
74 final EditText username = mActivity.getUsername(); in testAutofill_oneField() local
75 final AutofillId usernameId = username.getAutofillId(); in testAutofill_oneField()
76 final AutofillValue expectedFocusedValue = username.getAutofillValue(); in testAutofill_oneField()
110 final EditText username = mActivity.getUsername(); in testAutofill_twoFields() local
111 final AutofillId usernameId = username.getAutofillId(); in testAutofill_twoFields()
112 final AutofillValue expectedFocusedValue = username.getAutofillValue(); in testAutofill_twoFields()
147 final EditText username = mActivity.getUsername(); in testAutofill_manualRequest() local
[all …]
DLoginActivityCommonTestCase.java129 final View username = mActivity.getUsername(); in testBasicLoginAutofill() local
151 callback.assertUiShownEvent(username); in testBasicLoginAutofill()
157 callback.assertUiHiddenEvent(username); in testBasicLoginAutofill()
DDatasetFilteringTest.java69 private void changeUsername(CharSequence username) { in changeUsername() argument
70 mActivity.onUsername((v) -> v.setText(username)); in changeUsername()
688 final EditText username = mActivity.getUsername(); in resetFilterTest() local
692 callback.assertUiShownEvent(username); in resetFilterTest()
701 callback.assertUiHiddenEvent(username); in resetFilterTest()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java115 final EditText username = mActivity.getUsername();
116 final AutofillValue expectedFocusedValue = username.getAutofillValue();
117 final AutofillId usernameId = username.getAutofillId();
144 final EditText username = mActivity.getUsername();
145 final AutofillValue expectedFocusedValue = username.getAutofillValue();
146 final AutofillId usernameId = username.getAutofillId();
178 final EditText username = mActivity.getUsername();
179 final AutofillValue expectedFocusedValue = username.getAutofillValue();
180 final AutofillId expectedFocusedId = username.getAutofillId();
247 final EditText username = mActivity.getUsername();
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAugmentedLoginActivityTest.java116 final EditText username = mActivity.getUsername();
118 final AutofillId usernameId = username.getAutofillId();
120 final AutofillValue usernameValue = username.getAutofillValue();
152 final EditText username = mActivity.getUsername();
154 final AutofillId usernameId = username.getAutofillId();
156 final AutofillValue usernameValue = username.getAutofillValue();
196 final EditText username = mActivity.getUsername();
198 final AutofillId usernameId = username.getAutofillId();
200 final AutofillValue usernameValue = username.getAutofillValue();
222 callback.assertUiShownEvent(username);
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/credman/
DCtsGetPasswordActivity.java39 String username = intent.getStringExtra("username"); in onCreate() local
40 if (username != null) { in onCreate()
43 PasswordCredential credential = new PasswordCredential(username, "defaultPassword"); in onCreate()
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DPccFieldClassificationTest.java588 final View username = activity.getUsername(); in datasetAuthTwoFields() local
589 callback.assertUiShownEvent(username); in datasetAuthTwoFields()
597 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields()
604 callback.assertUiShownEvent(username); in datasetAuthTwoFields()
611 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields()
612 callback.assertUiShownEvent(username); in datasetAuthTwoFields()
617 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields()
624 callback.assertUiShownEvent(username); in datasetAuthTwoFields()
630 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields()
694 final View username = activity.getUsername(); in fillResponseAuthBothFields() local
[all …]
DValidatorTest.java59 final String username = willSaveBeShown ? "7992739871-3" : "4815162342-108"; in integrationTest() local
69 assertValidator(validator, usernameId, username, willSaveBeShown); in integrationTest()
81 mActivity.onUsername((v) -> v.setText(username)); in integrationTest()
DWebViewMultiScreenLoginActivityTest.java110 .addChild(R.id.username, usernameTrans)
268 .addChild(R.id.username, usernameTrans)
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSessionLifecycleTest.java274 final AssistStructure.ViewNode username = findNodeByResourceId(saveRequest.structure, in testDatasetAuthResponseWhileAutofilledAppIsLifecycled() local
276 assertTextAndValue(username, "autofilled username"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
564 final AssistStructure.ViewNode username = findNodeByResourceId(saveRequest.structure, in testSaveRemainsWhenAutofilledAppIsKilled() local
566 assertTextAndValue(username, "dude"); in testSaveRemainsWhenAutofilledAppIsKilled()
/cts/tests/tests/wifi/src/android/net/wifi/passpoint/cts/
DPasspointConfigurationTest.java198 private static Credential createCredentialWithUserCredential(String username, String password) { in createCredentialWithUserCredential() argument
200 userCred.setUsername(username); in createCredentialWithUserCredential()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DDatasetTest.java496 String username = "username"; in testWriteToParcel_bothAutofillIdAndTypeSet() local
499 .setField(username, field1) in testWriteToParcel_bothAutofillIdAndTypeSet()
511 .containsAtLeast(username, AutofillManager.ANY_HINT); in testWriteToParcel_bothAutofillIdAndTypeSet()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21144/src/android/security/cts/CVE_2023_21144/
DDeviceTest.java82 new Person.Builder().setName(context.getString(R.string.username)).build(); in testPocCVE_2023_21144()

12