/packages/apps/IM/src/com/android/im/engine/ |
H A D | ChatSessionListener.java | 23 * created session so that it will be notified when new message arrived to the 24 * session. Listeners are registered with ChatSessionManager. 31 * @param session the created ChatSession. 33 public void onChatSessionCreated(ChatSession session); argument
|
H A D | ChatSessionManager.java | 25 * responsible to dispatch the new incoming message to the right session. 31 /** Map session to the participant communicate with. */ 67 for(ChatSession session : mSessions) { 68 if(session.getParticipant().equals(participant)) { 69 return session; 73 ChatSession session = new ChatSession(participant, this); 75 listener.onChatSessionCreated(session); 78 mSessions.add(session); 80 return session; 84 * Closes a ChatSession. This only removes the session fro 90 closeChatSession(ChatSession session) argument 100 sendMessageAsync(ChatSession session, Message message) argument [all...] |
/packages/apps/IM/src/com/android/im/imps/ |
H A D | ImpsTransaction.java | 53 ImpsSession session = mConnection.getSession(); 54 if (session != null) { 55 primitive.setSession(session.getID());
|
H A D | HttpCirChannel.java | 49 ImpsSession session = mConnection.getSession(); 51 if (session.getCirHttpAddress() != null) { 52 mCirUrl = new URL(session.getCirHttpAddress()); 57 mServerPollMin = session.getServerPollMin() * 1000;
|
H A D | ImpsChatSessionManager.java | 104 ChatSession session = findSession(recipentAddress); 105 if(session != null) { 106 session.onSendMessageError(msgId, error); 235 * @return the ChatSession or <code>null</code> if the session not exists. 238 for(ChatSession session : mSessions) { 239 ImEntity participant = session.getParticipant(); 241 return session;
|
/packages/apps/IM/src/com/android/im/ |
H A D | IChatSessionListener.aidl | 29 void onChatSessionCreated(IChatSession session);
|
/packages/apps/IM/src/com/android/im/app/adapter/ |
H A D | ChatSessionListenerAdapter.java | 31 public void onChatSessionCreated(IChatSession session) { argument 33 Log.d(TAG, "notifyChatSessionCreated(" + session + ")");
|
/packages/apps/IM/src/com/android/im/service/ |
H A D | ChatSessionManagerAdapter.java | 80 ChatSession session = mSessionManager.createChatSession(contact); 81 return getChatSessionAdapter(session); 86 ChatSession session = adapter.getAdaptee(); 87 mSessionManager.closeChatSession(session); 139 ChatSessionAdapter getChatSessionAdapter(ChatSession session) { argument 141 Address participantAddress = session.getParticipant().getAddress(); 145 adapter = new ChatSessionAdapter(session, mConnection); 154 public void onChatSessionCreated(ChatSession session) { argument 155 final IChatSession sessionAdapter = getChatSessionAdapter(session); 208 IChatSession session [all...] |
H A D | ContactListManagerAdapter.java | 150 // For temporary contact, just close the session and delete him in 307 * user is having a chat session with this contact. 1123 ChatSessionAdapter session = 1125 if(session != null) { 1126 session.leave(); 1135 // session. 1136 ChatSessionAdapter session = 1138 if(session != null) { 1139 session.insertPresenceUpdatesMsg(nickname, p);
|
H A D | ImConnectionAdapter.java | 124 Log.d(TAG, "re-establish session"); 128 Log.e(TAG, "Invalid session cookie, probably modified by others."); 373 for (ChatSessionAdapter session : mChatSessionManager.mActiveSessions.values()) { 374 session.sendPostponedMessages();
|
/packages/apps/IM/src/com/android/im/app/ |
H A D | ImUrlActivity.java | 157 IChatSession session = manager.getChatSession(mToAddress); 158 if(session == null) { 159 session = manager.createChatSession(mToAddress); 162 Uri data = ContentUris.withAppendedId(Imps.Chats.CONTENT_URI, session.getId());
|
H A D | SigningInActivity.java | 306 IChatSession session = manager.getChatSession(mToAddress); 307 if(session == null) { 308 session = manager.createChatSession(mToAddress); 310 Uri data = ContentUris.withAppendedId(Imps.Chats.CONTENT_URI, session.getId());
|
H A D | ContactListView.java | 183 IChatSession session = manager.getChatSession(username); 184 if(session == null) { 221 IChatSession session = manager.getChatSession(username); 222 if(session != null) { 223 session.leave();
|
H A D | NewChatActivity.java | 398 public ContactInvitor(IChatSession session, String data) { argument 399 mChatSession = session;
|
H A D | ChatView.java | 580 // register a chat session listener and wait for a group chat 581 // session to be created after we accept the invitation. 914 // We unregister the listener when the chat session we are 1018 public void onChatSessionCreated(IChatSession session) { argument 1020 if (session.isGroupChatSession()) { 1021 final long id = session.getId();
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
H A D | MailTransport.java | 237 SSLSession session = ssl.getSession(); 238 if (session == null) { 239 throw new SSLException("Cannot verify SSL socket without session"); 245 if (!HOSTNAME_VERIFIER.verify(hostname, session)) {
|
/packages/apps/IM/libwbxml/test/ |
H A D | imps_parser_test.cpp | 541 const DomElement &session = root.children[0]; local 542 TEST_ASSERT_EQUAL_INT(1, session.children.size()); 543 TEST_ASSERT_EQUAL_STRING("Session", session.name.c_str()); 544 TEST_ASSERT_EQUAL_INT(0, session.attribs.size()); 546 const DomElement &sessionDesc = session.children[0];
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppTransfer.java | 65 * This class run an actual Opp transfer session (from connect target device to 111 BluetoothOppBatch batch, BluetoothOppObexSession session) { 116 mSession = session; 189 * For outbound session, call session.addShare() to send next file, 190 * or call session.stop(). 191 * For inbounds session, do nothing. If there is next file to receive,it 202 if (V) Log.v(TAG, "continue session for info " + mCurrentShare.mId + 213 * Handle session completed status Set batch status to 226 /* Handle the error state of an Obex session */ 110 BluetoothOppTransfer(Context context, PowerManager powerManager, BluetoothOppBatch batch, BluetoothOppObexSession session) argument [all...] |