Searched refs:username (Results 1 - 19 of 19) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
H A DAccountTestCase.java54 protected android.accounts.Account makeAccountManagerAccount(String username) { argument
55 return new android.accounts.Account(username, TEST_ACCOUNT_TYPE);
58 protected void createAccountManagerAccount(String username) { argument
59 final android.accounts.Account account = makeAccountManagerAccount(username);
63 protected Account setupProviderAndAccountManagerAccount(String username) { argument
64 // Note that setupAccount creates the email address username@android.com, so that's what
66 createAccountManagerAccount(username + TEST_ACCOUNT_SUFFIX);
67 return ProviderTestUtils.setupAccount(username, true, getMockContext());
/packages/apps/Email/src/com/android/email/mail/store/
H A DServiceStore.java82 public Bundle autoDiscover(Context context, String username, String password) { argument
84 return getService().autoDiscover(username, password);
/packages/apps/OMA-DM/engine/javaplugin/api/com/android/omadm/plugin/
H A DIDMClientService.aidl45 * @param username the username for digest authentication, or null
50 String alertType, String redirectURI, String username, String password);
/packages/apps/Email/src/com/android/email/mail/transport/
H A DSmtpSender.java292 private void saslAuthLogin(String username, String password) throws MessagingException, argument
297 Base64.encodeToString(username.getBytes(), Base64.NO_WRAP),
298 "/username redacted/");
311 private void saslAuthPlain(String username, String password) throws MessagingException, argument
313 byte[] data = ("\000" + username + "\000" + password).getBytes();
326 private void saslAuthOAuth(String username) throws MessagingException, argument
331 saslAuthOAuth(username, accessToken);
334 saslAuthOAuth(username, accessToken);
338 private void saslAuthOAuth(final String username, final String accessToken) throws IOException, argument
340 final String authPhrase = "user=" + username
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DHttpAuthenticationDialog.java91 String username = getUsername();
97 if (username != null) {
98 mUsernameView.setText(username);
157 void onOk(String host, String realm, String username, String password); argument
H A DPageDialogsHandler.java92 public void onOk(String host, String realm, String username, String password) {
93 setHttpAuthUsernamePassword(host, realm, username, password);
94 handler.proceed(username, password);
113 * @param username The username for the password. If it is null, it means
118 String username,
122 w.setHttpAuthUsernamePassword(host, realm, username, password);
117 setHttpAuthUsernamePassword(String host, String realm, String username, String password) argument
H A DController.java1004 String username = null;
1013 username = credentials[0];
1018 if (username != null && password != null) {
1019 handler.proceed(username, password);
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasService.java154 public Bundle autoDiscover(final String username, final String password) {
155 final String domain = EasAutoDiscover.getDomain(username);
159 Bundle result = autoDiscoverInternal(uri, attempt, username, password, true);
171 final String username, final String password,
174 username, password);
179 return autoDiscoverInternal(redirectUri, attempt, username, password, canRetry);
181 if (canRetry && username.contains("@")) {
183 final int atSignIndex = username.indexOf('@');
184 final String bareUsername = username.substring(0, atSignIndex);
185 LogUtils.d(TAG, "%d received; trying username
[all...]
/packages/apps/Settings/tests/src/com/android/settings/vpn2/
H A DVpnProfileParser.java47 boolean username;
82 if (tagName.equalsIgnoreCase("username")) {
83 username = true;
153 if (username) {
154 profile.username = strValue;
155 username = false;
H A DVpnTests.java73 * <username></username>
165 Log.v(TAG, "username: " + profile.username);
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
H A DAccountTest.java65 * @param username a given username
67 * @return a HostAuth that includes the given username and password
69 private static HostAuth getHostAuthJSON(String username, String password) { argument
71 ha.setLogin(username, password);
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DContactInfoHelper.java74 // Check whether the "username" part of the SIP address is
76 String username = PhoneNumberHelper.getUsernameFromUriNumber(number);
77 if (PhoneNumberUtils.isGlobalPhoneNumber(username)) {
78 sipInfo = queryContactInfoForPhoneNumber(username, countryIso);
/packages/apps/InCallUI/src/com/android/incallui/
H A DCallerInfo.java284 * and the peer's username is all numeric. Look up the username as it
296 String username = PhoneNumberHelper.getUsernameFromUriNumber(number);
297 if (PhoneNumberUtils.isGlobalPhoneNumber(username)) {
300 Uri.encode(username)));
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupOutgoingFragment.java236 final String username = sendAuth.mLogin;
237 if (username != null) {
238 mUsernameView.setText(username);
H A DAccountSetupIncomingFragment.java356 final String username = recvAuth.mLogin;
357 if (username != null) {
359 // Add a backslash to the start of the username, but only if the username has no
364 mUsernameView.setText(username);
529 // Set the username and password for the outgoing settings to the username and
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnDialog.java88 mUsername = (TextView) mView.findViewById(R.id.username);
107 mUsername.setText(mProfile.username);
164 // Not editing, just show username and password.
341 profile.username = mUsername.getText().toString();
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasAutoDiscover.java72 final String username, final String password) {
78 mUsername = username;
71 EasAutoDiscover(final Context context, final String uri, final int attemptNumber, final String username, final String password) argument
/packages/apps/OMA-DM/DMService/src/com/android/omadm/service/
H A DDMClientService.java140 String alertType, String redirectURI, String username, String password)
144 + "\", \"" + username + "\", \"" + password + "\") called");
139 startClientSession(String path, String clientCert, String privateKey, String alertType, String redirectURI, String username, String password) argument
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
H A DSipEditor.java72 Username(R.string.username, 0, R.string.default_preference_summary),

Completed in 597 milliseconds