Home
last modified time | relevance | path

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

12

/packages/apps/IM/src/com/android/im/service/
DStatusBarNotifier.java70 String username, String nickname, String msg, boolean lightWeightNotify) { in notifyChat() argument
72 if (DBG) log("notification for chat " + username + " is not enabled"); in notifyChat()
81 notify(username, title, snippet, msg, providerId, accountId, intent, lightWeightNotify); in notifyChat()
85 long contactId, String username, String nickname) { in notifySubscriptionRequest() argument
87 if (DBG) log("notification for subscription request " + username + " is not enabled"); in notifySubscriptionRequest()
95 intent.putExtra(ImServiceConstants.EXTRA_INTENT_FROM_ADDRESS, username); in notifySubscriptionRequest()
96 notify(username, title, message, message, providerId, accountId, intent, false); in notifySubscriptionRequest()
100 long invitationId, String username) { in notifyGroupInvitation() argument
107 R.string.group_chat_invite_notify_text, username); in notifyGroupInvitation()
108 notify(username, title, message, message, providerId, accountId, intent, false); in notifyGroupInvitation()
[all …]
DContactListManagerAdapter.java276 String username = c.getAddress().getFullName(); in queryOrInsertContact() local
278 String[] selectionArgs = { username }; in queryOrInsertContact()
613 String username = from.getAddress().getFullName(); in onSubScriptionRequest() local
615 Uri uri = insertOrUpdateSubscription(username, nickname, in onSubScriptionRequest()
619 ContentUris.parseId(uri), username, nickname); in onSubScriptionRequest()
702 String username = contact.getAddress().getFullName(); in insertBlockedContactToDataBase() local
704 values.put(Im.BlockedList.USERNAME, username); in insertBlockedContactToDataBase()
709 mValidatedBlockedContacts.add(username); in insertBlockedContactToDataBase()
756 Uri insertOrUpdateSubscription(String username, String nickname, int subscriptionType, in insertOrUpdateSubscription() argument
759 Im.Contacts.USERNAME + "=?", new String[]{username}, null); in insertOrUpdateSubscription()
[all …]
DChatSessionAdapter.java298 String getNickName(String username) { in getNickName() argument
304 if (username.equals(c.getAddress().getFullName())) { in getNickName()
309 return username; in getNickName()
478 String username = msg.getFrom().getFullName(); in onIncomingMessage() local
479 String nickname = getNickName(username); in onIncomingMessage()
501 mConnection.getAccountId(), getId(), username, nickname, body, N > 0); in onIncomingMessage() local
DRemoteImService.java245 String username = cursor.getString(ACCOUNT_USERNAME_COLUMN); in autoLogin() local
251 conn.login(accountId, username, password, true); in autoLogin()
489 public void dismissChatNotification(long providerId, String username) {
490 mStatusBarNotifier.dismissChatNotification(providerId, username);
/packages/apps/IM/src/com/android/im/app/
DAddContactActivity.java160 String username = recipient.getAddress(); in inviteBuddies() local
161 if (mDefaultDomain != null && username.indexOf('@') == -1) { in inviteBuddies()
162 username = username + "@" + mDefaultDomain; in inviteBuddies()
165 log("addContact:" + username); in inviteBuddies()
167 int res = list.addContact(username); in inviteBuddies()
171 ErrorResUtils.getErrorRes(getResources(), res, username)); in inviteBuddies()
DBlockedContactsActivity.java88 String username = c.getString(USERNAME_COLUMN); in onListItemClick() local
90 mApp.callWhenServiceConnected(mHandler, new UnblockAction(providerId, username, nickname)); in onListItemClick()
116 String username = accountCursor.getString( in resolveIntent() local
123 setTitle(getResources().getString(R.string.blocked_list_title, username)); in resolveIntent()
DContactListView.java180 String username = c.getString(c.getColumnIndexOrThrow(Im.Contacts.USERNAME)); in startChat() local
183 IChatSession session = manager.getChatSession(username); in startChat()
185 manager.createChatSession(username); in startChat()
218 String username = c.getString(c.getColumnIndexOrThrow(Im.Contacts.USERNAME)); in endChat() local
221 IChatSession session = manager.getChatSession(username); in endChat()
438 String username = cursor.getString(ContactView.COLUMN_CONTACT_USERNAME);
442 intent.putExtra(ImServiceConstants.EXTRA_INTENT_FROM_ADDRESS, username);
DBlockedContactView.java54 String username = cursor.getString(BlockedContactsActivity.USERNAME_COLUMN); in bind() local
69 mLine2.setText(ImpsAddressUtils.getDisplayableAddress(username)); in bind()
DDatabaseUtils.java71 int encodedDataColumn, String username, boolean updateBlobUseCursor, in getAvatarFromCursor() argument
109 updateAvatarBlob(resolver, updateBlobUri, rawData, username); in getAvatarFromCursor()
117 String username) { in updateAvatarBlob() argument
125 username in updateAvatarBlob()
DNewChatActivity.java370 String username = data.getStringExtra( in onActivityResult() local
375 chatSession.inviteContact(username); in onActivityResult()
376 showInvitationHasSent(username); in onActivityResult()
379 new ContactInvitor(chatSession, username).start(); in onActivityResult()
DContactPresenceActivity.java74 String username = c.getString(c.getColumnIndexOrThrow(Im.Contacts.USERNAME)); in onCreate() local
94 txtName.setText(ImpsAddressUtils.getDisplayableAddress(username)); in onCreate()
DAccountActivity.java188 String username = mEditName.getText().toString(); in onCreate()
194 long accountId = ImApp.insertOrUpdateAccount(cr, providerId, username, in onCreate()
198 if (!origUserName.equals(username) && shouldShowTermOfUse(brandingRes)) { in onCreate()
DContactView.java103 String username = cursor.getString(COLUMN_CONTACT_USERNAME); in bind() local
139 ImpsAddressUtils.getDisplayableAddress(username) : nickname; in bind()
DContactListActivity.java113 String username = c.getString(c.getColumnIndexOrThrow(Im.Account.USERNAME)); in onCreate() local
117 BrandingResourceIDs.STRING_BUDDY_LIST_TITLE, username)); in onCreate()
DImApp.java604 public void dismissChatNotification(long providerId, String username) { in dismissChatNotification() argument
607 mImService.dismissChatNotification(providerId, username); in dismissChatNotification()
/packages/apps/Settings/src/com/android/settings/vpn/
DAuthenticationActor.java107 String username = mProfile.getSavedUsername(); in createConnectView() local
108 if (!TextUtils.isEmpty(username)) { in createConnectView()
109 usernameView.setText(username); in createConnectView()
120 private void connect(final String username, final String password) { in connect() argument
127 .connect(mProfile, username, password); in connect()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupExchange.java136 String username = null; in onCreate() local
140 username = userInfoParts[0]; in onCreate()
146 if (username != null) { in onCreate()
147 mUsernameView.setText(username); in onCreate()
DAccountSetupOutgoing.java168 String username = null; in onCreate() local
172 username = userInfoParts[0]; in onCreate()
178 if (username != null) { in onCreate()
179 mUsernameView.setText(username); in onCreate()
DAccountSetupIncoming.java184 String username = null; in onCreate() local
188 username = userInfoParts[0]; in onCreate()
194 if (username != null) { in onCreate()
195 mUsernameView.setText(username); in onCreate()
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java311 private void saslAuthLogin(String username, String password) throws MessagingException, in saslAuthLogin() argument
315 executeSensitiveCommand(new String(Base64.encodeBase64(username.getBytes())), in saslAuthLogin()
328 private void saslAuthPlain(String username, String password) throws MessagingException, in saslAuthPlain() argument
330 byte[] data = ("\000" + username + "\000" + password).getBytes(); in saslAuthPlain()
/packages/apps/IM/src/com/android/im/imps/
DImpsSession.java111 String username = values.get(KEY_USERNAME); in ImpsSession() local
114 if (username == null || username.length() == 0 || password == null) { in ImpsSession()
118 setLoginInfo(new LoginInfo(username, password)); in ImpsSession()
/packages/apps/IM/src/com/android/im/
DIRemoteImService.aidl60 void dismissChatNotification(long providerId, String username); in dismissChatNotification() argument
/packages/providers/ImProvider/src/com/android/providers/im/
DImProvider.java1312 String username = usernames.get(i); in insertBulkContacts() local
1345 contactValues.put(Im.Contacts.USERNAME, username); in insertBulkContacts()
1449 String username = usernames.get(i); in updateBulkContacts() local
1468 username + ", nickname=" + nickname + ", type=" + type + in updateBulkContacts()
1472 contactValues.put(Im.Contacts.USERNAME, username); in updateBulkContacts()
1487 updateSelectionArgs[0] = username; in updateBulkContacts()
1675 String username = usernames.get(i); in updateBulkPresence() local
1722 selectionArgs[idx++] = username; in updateBulkPresence()
1729 Log.e(LOG_TAG, "[ImProvider] updateBulkPresence: failed for " + username); in updateBulkPresence()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider.java1085 String username = null; in fetchCalendarsFromServer() local
1092 username = loginHelper.getAccount(false); in fetchCalendarsFromServer()
1093 if (TextUtils.isEmpty(username)) { in fetchCalendarsFromServer()
1100 authToken = loginHelper.getAuthToken(username, in fetchCalendarsFromServer()
1104 + "authenticate user " + username, e); in fetchCalendarsFromServer()
1129 String feedUrl = mCalendarClient.getUserCalendarsUrl(username); in fetchCalendarsFromServer()
1130 feedUrl = CalendarSyncAdapter.rewriteUrlforAccount(username, feedUrl); in fetchCalendarsFromServer()
1133 processCalendars(username, parser, existingCalendarIds); in fetchCalendarsFromServer()
1192 private void processCalendars(String username, in processCalendars() argument
1204 String feedUrl = calendarEntryToContentValues(username, feed, calendarEntry, map); in processCalendars()
[all …]
/packages/apps/Browser/src/com/android/browser/
DBrowserActivity.java3347 String username = null;
3359 username = credentials[0];
3364 if (username != null && password != null) {
3365 handler.proceed(username, password);
4239 String username, in setHttpAuthUsernamePassword() argument
4243 w.setHttpAuthUsernamePassword(host, realm, username, password); in setHttpAuthUsernamePassword()

12