/packages/apps/IM/src/com/android/im/service/ |
D | RemoteImService.java | 162 IImConnection conn = createConnection(providerId); in autoLogin() local 165 conn.login(accountId, username, password, true); in autoLogin() 209 for (ImConnectionAdapter conn : mConnections) { in onDestroy() 210 conn.logout(); in onDestroy() 259 ImConnection conn = factory.createConnection(config); in createConnection() local 261 conn, this); in createConnection() 300 for (ImConnectionAdapter conn : mConnections) { in handleBackgroundDataSettingChange() 301 conn.logout(); in handleBackgroundDataSettingChange() 323 for (ImConnectionAdapter conn : mConnections) { in networkStateChanged() 324 conn.networkTypeChanged(); in networkStateChanged() [all …]
|
D | ContactListManagerAdapter.java | 89 public ContactListManagerAdapter(ImConnectionAdapter conn) { in ContactListManagerAdapter() argument 90 mAdaptee = conn.getAdaptee().getContactListManager(); in ContactListManagerAdapter() 91 mConn = conn; in ContactListManagerAdapter() 92 mContext = conn.getContext(); in ContactListManagerAdapter()
|
/packages/apps/IM/src/com/android/im/app/adapter/ |
D | ConnectionListenerAdapter.java | 55 final public void onStateChanged(final IImConnection conn, in onStateChanged() argument 59 onConnectionStateChange(conn, state, error); in onStateChanged() 64 final public void onUpdatePresenceError(final IImConnection conn, in onUpdatePresenceError() argument 68 onUpdateSelfPresenceError(conn, error); in onUpdatePresenceError() 73 final public void onUserPresenceUpdated(final IImConnection conn) { in onUserPresenceUpdated() argument 76 onSelfPresenceUpdated(conn); in onUserPresenceUpdated()
|
/packages/apps/Phone/src/com/android/phone/ |
D | CallCard.java | 414 Connection conn = null; in displayMainCallStatus() local 417 conn = call.getLatestConnection(); in displayMainCallStatus() 419 conn = call.getEarliestConnection(); in displayMainCallStatus() 424 if (conn == null) { in displayMainCallStatus() 433 if (DBG) log(" - CONN: " + conn + ", state = " + conn.getState()); in displayMainCallStatus() 434 int presentation = conn.getNumberPresentation(); in displayMainCallStatus() 439 Object o = conn.getUserData(); in displayMainCallStatus() 444 runQuery = mPhotoTracker.isDifferentImageRequest(conn); in displayMainCallStatus() 450 Object obj = conn.getUserData(); in displayMainCallStatus() 451 String updatedNumber = conn.getAddress(); in displayMainCallStatus() [all …]
|
D | CallNotifier.java | 1805 private String getLogNumber(Connection conn, CallerInfo callerInfo) { in getLogNumber() argument 1808 if (conn.isIncoming()) { in getLogNumber() 1809 number = conn.getAddress(); in getLogNumber() 1820 number = conn.getOrigDialString(); in getLogNumber() 1822 number = conn.getAddress(); in getLogNumber() 1832 int presentation = conn.getNumberPresentation(); in getLogNumber() 1849 private CallerInfo getCallerInfoFromConnection(Connection conn) { in getCallerInfoFromConnection() argument 1851 Object o = conn.getUserData(); in getCallerInfoFromConnection() 1869 private int getPresentation(Connection conn, CallerInfo callerInfo) { in getPresentation() argument 1873 presentation = conn.getNumberPresentation(); in getPresentation() [all …]
|
D | PhoneUtils.java | 1231 Connection conn = null; in startGetCallerInfo() local 1234 conn = call.getLatestConnection(); in startGetCallerInfo() 1236 conn = call.getEarliestConnection(); in startGetCallerInfo() 1241 return startGetCallerInfo(context, conn, listener, cookie); in startGetCallerInfo() 1435 Connection conn = (Connection) cookie; 1458 ci.numberPresentation = conn.getNumberPresentation(); 1461 CallerInfo newCi = getCallerInfo(null, conn); 1467 conn.setUserData(ci);
|
D | InCallScreen.java | 1835 for (Connection conn : connections) { in onDisconnect() 1836 if (conn.getState() == Call.State.ACTIVE) { in onDisconnect()
|
/packages/apps/IM/src/com/android/im/app/ |
D | ImApp.java | 465 IImConnection conn = getConnection(providerId); in createConnection() local 466 if (conn == null) { in createConnection() 467 conn = mImService.createConnection(providerId); in createConnection() 469 return conn; in createConnection() 480 for (IImConnection conn : mConnections.values()) { in getConnectionByAccount() 482 if (conn.getAccountId() == accountId) { in getConnectionByAccount() 483 return conn; in getConnectionByAccount() 607 IImConnection conn = IImConnection.Stub.asInterface(binder); in fetchActiveConnections() local 608 long providerId = conn.getProviderId(); in fetchActiveConnections() 610 mConnections.put(providerId, conn); in fetchActiveConnections() [all …]
|
D | ChatView.java | 443 IImConnection conn = mApp.getConnection(mProviderId); in updateChat() local 444 if (conn == null) { in updateChat() 578 IImConnection conn = mApp.getConnection(mProviderId); in acceptInvitation() local 579 if (conn != null) { in acceptInvitation() 583 conn.acceptInvitation(mInvitationId); in acceptInvitation() 592 IImConnection conn = mApp.getConnection(mProviderId); in declineInvitation() local 593 if (conn != null) { in declineInvitation() 594 conn.rejectInvitation(mInvitationId); in declineInvitation() 603 IImConnection conn = mApp.getConnection(mProviderId); in approveSubscription() local 605 IContactListManager manager = conn.getContactListManager(); in approveSubscription() [all …]
|
D | SignoutActivity.java | 88 IImConnection conn = mApp.getConnection(providerId); in signOut() local 89 if (conn != null) { in signOut() 90 conn.logout(); in signOut()
|
D | ContactListView.java | 120 public void setConnection(IImConnection conn) { in setConnection() argument 121 if (mConn != conn) { in setConnection() 125 mConn = conn; in setConnection() 127 if (conn != null) { in setConnection() 129 mPresenceView.setConnection(conn); in setConnection() 132 mAdapter = new ContactListTreeAdapter(conn, mScreen); in setConnection() 145 mAdapter.changeConnection(conn); in setConnection() 148 IContactListManager listMgr = conn.getContactListManager(); in setConnection()
|
D | SigningInActivity.java | 164 IImConnection conn = mApp.getConnection(mProviderId); in signInAccount() local 165 if (conn != null) { in signInAccount() 166 mConn = conn; in signInAccount() 169 conn.registerConnectionListener(mListener); in signInAccount() 170 int state = conn.getState(); in signInAccount() 173 conn.unregisterConnectionListener(mListener); in signInAccount()
|
D | AddContactActivity.java | 151 IImConnection conn = mApp.getConnection(mProviderId); in inviteBuddies() local 152 IContactList list = getContactList(conn); in inviteBuddies() 184 private IContactList getContactList(IImConnection conn) { in getContactList() argument 185 if (conn == null) { in getContactList() 190 IContactListManager contactListMgr = conn.getContactListManager(); in getContactList()
|
D | UserPresenceView.java | 129 public void setConnection(IImConnection conn) { in setConnection() argument 130 mConn = conn; in setConnection() 132 mPresence = conn.getUserPresence(); in setConnection() 133 mProviderId = conn.getProviderId(); in setConnection()
|
D | BlockedContactsActivity.java | 166 final IImConnection conn = mApp.getConnection(mProviderId); in run() local 167 if (conn == null) { in run() 174 IContactListManager manager = conn.getContactListManager(); in run()
|
D | ContactListTreeAdapter.java | 143 public ContactListTreeAdapter(IImConnection conn, Activity activity) { in ContactListTreeAdapter() argument 155 changeConnection(conn); in ContactListTreeAdapter() 158 public void changeConnection(IImConnection conn) { in changeConnection() argument 178 if (conn != null) { in changeConnection() 180 mProviderId = conn.getProviderId(); in changeConnection() 181 mAccountId = conn.getAccountId(); in changeConnection()
|
D | LandingPage.java | 199 IImConnection conn = mApp.getConnectionByAccount(accountId); in signOut() local 200 if (conn != null) { in signOut() 201 conn.logout(); in signOut()
|
/packages/apps/IM/src/com/android/im/imps/ |
D | ImpsTransaction.java | 38 void setTransactionInfo(String id, ImpsConnection conn) { in setTransactionInfo() argument 40 mConnection = conn; in setTransactionInfo()
|
/packages/apps/Email/src/com/android/exchange/ |
D | SyncManager.java | 34 import org.apache.http.conn.ClientConnectionManager; 35 import org.apache.http.conn.params.ConnManagerPNames; 36 import org.apache.http.conn.params.ConnPerRoute; 37 import org.apache.http.conn.routing.HttpRoute; 38 import org.apache.http.conn.scheme.PlainSocketFactory; 39 import org.apache.http.conn.scheme.Scheme; 40 import org.apache.http.conn.scheme.SchemeRegistry; 41 import org.apache.http.conn.ssl.SSLSocketFactory; 42 import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
|
D | EasSyncService.java | 49 import org.apache.http.conn.ClientConnectionManager;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | TestActivity.java | 565 Socket conn = null; field in TestTcpSessionNotifier 576 conn = server.accept(); in acceptAndOpen() 582 TestTcpTransport tt = new TestTcpTransport(conn); in acceptAndOpen()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | HttpUtils.java | 27 import org.apache.http.conn.params.ConnRouteParams;
|