Home
last modified time | relevance | path

Searched refs:mUsername (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DLoginTest.java33 private EditText mUsername; field in LoginTest
44 mUsername = root.findViewById(R.id.username); in onCreate()
59 mUsername.requestFocus(); in testFocus_noService()
76 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_serviceDoesNotAutofill()
84 mUsername.requestFocus(); in testFocus_serviceDoesNotAutofill()
96 .setUsername(mUsername.getAutofillId(), "user") in testFocus_autofillBothFields()
108 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields()
110 callback.expectEvent(mUsername, EVENT_INPUT_SHOWN); in testFocus_autofillBothFields()
114 callback.expectEvent(mUsername, EVENT_INPUT_HIDDEN); in testFocus_autofillBothFields()
123 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields()
[all …]
DMyAutofillService.java121 if (response.mUsername != null) { in handleRequest()
123 dataset.setValue(response.mUsername.first, in handleRequest()
124 AutofillValue.forText(response.mUsername.second)); in handleRequest()
154 private final Pair<AutofillId, String> mUsername; field in MyAutofillService.CannedResponse
159 mUsername = builder.mUsername; in CannedResponse()
165 private Pair<AutofillId, String> mUsername; field in MyAutofillService.CannedResponse.Builder
171 mUsername = new Pair<>(id, value); in setUsername()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DUpdateParameter.java140 private String mUsername = null; field in UpdateParameter
142 mUsername = username; in setUsername()
145 return mUsername; in getUsername()
225 mUsername = source.mUsername; in UpdateParameter()
246 dest.writeString(mUsername); in writeToParcel()
267 && TextUtils.equals(mUsername, that.mUsername) in equals()
278 mUsername, mBase64EncodedPassword, mTrustRootCertUrl, in hashCode()
289 builder.append("Username: ").append(mUsername).append("\n"); in toString()
333 if (TextUtils.isEmpty(mUsername)) { in validate()
337 if (mUsername.getBytes(StandardCharsets.UTF_8).length > MAX_USERNAME_BYTES) { in validate()
[all …]
DCredential.java174 private String mUsername = null; field in Credential.UserCredential
181 mUsername = username; in setUsername()
189 return mUsername; in getUsername()
327 mUsername = source.mUsername; in UserCredential()
344 dest.writeString(mUsername); in writeToParcel()
363 return TextUtils.equals(mUsername, that.mUsername) in equals()
374 return Objects.hash(mUsername, mPassword, mMachineManaged, mSoftTokenApp, in hashCode()
381 builder.append("Username: ").append(mUsername).append("\n"); in toString()
397 if (TextUtils.isEmpty(mUsername)) { in validate()
401 if (mUsername.getBytes(StandardCharsets.UTF_8).length > MAX_USERNAME_BYTES) { in validate()
[all …]