/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConferenceController.java | 59 public void onDestroyed(Connection connection) { 60 remove(connection); 76 void add(TelephonyConnection connection) { in add() argument 77 mTelephonyConnections.add(connection); in add() 78 connection.addConnectionListener(mConnectionListener); in add() 82 void remove(Connection connection) { in remove() argument 83 connection.removeConnectionListener(mConnectionListener); in remove() 84 mTelephonyConnections.remove(connection); in remove() 98 private boolean participatesInFullConference(Connection connection) { in participatesInFullConference() argument 99 return connection.getConference() != null && in participatesInFullConference() [all …]
|
D | ImsConferenceController.java | 68 public void onDestroyed(Connection connection) { 69 remove(connection); 109 void add(TelephonyConnection connection) { in add() argument 113 Log.v(this, "add connection %s", connection); in add() 116 mTelephonyConnections.add(connection); in add() 117 connection.addConnectionListener(mConnectionListener); in add() 126 void remove(Connection connection) { in remove() argument 128 Log.v(this, "remove connection: %s", connection); in remove() 131 mTelephonyConnections.remove(connection); in remove() 153 for (Connection connection : mTelephonyConnections) { in recalculateConferenceable() [all …]
|
D | TelephonyConnectionService.java | 184 final TelephonyConnection connection = in onCreateOutgoingConnection() local 186 if (connection == null) { in onCreateOutgoingConnection() 192 connection.setAddress(handle, PhoneConstants.PRESENTATION_ALLOWED); in onCreateOutgoingConnection() 193 connection.setInitializing(); in onCreateOutgoingConnection() 194 connection.setVideoState(request.getVideoState()); in onCreateOutgoingConnection() 204 if (connection.getState() == Connection.STATE_DISCONNECTED) { in onCreateOutgoingConnection() 207 connection.setInitialized(); in onCreateOutgoingConnection() 208 placeOutgoingConnection(connection, phone, request); in onCreateOutgoingConnection() 211 connection.setDisconnected( in onCreateOutgoingConnection() 215 connection.destroy(); in onCreateOutgoingConnection() [all …]
|
D | TelephonyConference.java | 50 for (Connection connection : getConnections()) { in onDisconnect() 51 if (disconnectCall(connection)) { in onDisconnect() 63 private boolean disconnectCall(Connection connection) { in disconnectCall() argument 64 Call call = getMultipartyCallForConnection(connection, "onDisconnect"); in disconnectCall() 83 public void onSeparate(Connection connection) { in onSeparate() argument 85 getOriginalConnection(connection); in onSeparate() 94 public void onMerge(Connection connection) { in onMerge() argument 96 Phone phone = ((TelephonyConnection) connection).getPhone(); in onMerge() 110 final TelephonyConnection connection = getFirstConnection(); in onHold() local 111 if (connection != null) { in onHold() [all …]
|
D | PstnIncomingCallNotifier.java | 171 Connection connection = (Connection) asyncResult.result; in handleNewRingingConnection() local 172 if (connection != null) { in handleNewRingingConnection() 173 Call call = connection.getCall(); in handleNewRingingConnection() 177 sendIncomingCallIntent(connection); in handleNewRingingConnection() 187 Connection connection = call.getLatestConnection(); in handleCdmaCallWaiting() local 188 if (connection != null) { in handleCdmaCallWaiting() 189 String number = connection.getAddress(); in handleCdmaCallWaiting() 191 sendIncomingCallIntent(connection); in handleCdmaCallWaiting() 203 Connection connection = (Connection) asyncResult.result; in handleNewUnknownConnection() local 204 if (connection != null) { in handleNewUnknownConnection() [all …]
|
D | CdmaConferenceController.java | 89 void add(final CdmaConnection connection) { in add() argument 90 if (!mCdmaConnections.isEmpty() && connection.isOutgoing()) { in add() 97 connection.forceAsDialing(true); in add() 108 connection.forceAsDialing(false); in add() 109 addInternal(connection); in add() 117 addInternal(connection); in add() 121 private void addInternal(CdmaConnection connection) { in addInternal() argument 122 mCdmaConnections.add(connection); in addInternal() 123 connection.addConnectionListener(mConnectionListener); in addInternal() 127 private void remove(CdmaConnection connection) { in remove() argument [all …]
|
D | ImsConference.java | 67 public void onDestroyed(Connection connection) { 69 (ConferenceParticipantConnection) connection; 126 public void onDestroyed(android.telecom.Connection connection) { 245 public void onSeparate(android.telecom.Connection connection) { in onSeparate() argument 256 public void onMerge(android.telecom.Connection connection) { in onMerge() argument 258 Phone phone = ((TelephonyConnection) connection).getPhone(); in onMerge() 320 public void onConnectionAdded(android.telecom.Connection connection) { in onConnectionAdded() argument 384 ConferenceParticipantConnection connection = in handleConferenceParticipantsUpdate() local 386 connection.updateState(participant.getState()); in handleConferenceParticipantsUpdate() 394 ConferenceParticipantConnection connection = in handleConferenceParticipantsUpdate() local [all …]
|
D | CdmaConference.java | 65 public void onSeparate(Connection connection) { in onSeparate() argument 97 final CdmaConnection connection = getFirstConnection(); in onPlayDtmfTone() local 98 if (connection != null) { in onPlayDtmfTone() 99 connection.onPlayDtmfTone(c); in onPlayDtmfTone() 107 final CdmaConnection connection = getFirstConnection(); in onStopDtmfTone() local 108 if (connection != null) { in onStopDtmfTone() 109 connection.onStopDtmfTone(); in onStopDtmfTone() 133 private Call getMultipartyCallForConnection(Connection connection) { in getMultipartyCallForConnection() argument 135 getOriginalConnection(connection); in getMultipartyCallForConnection() 178 private com.android.internal.telephony.Connection getOriginalConnection(Connection connection) { in getOriginalConnection() argument [all …]
|
D | CdmaConnection.java | 77 Connection connection, in CdmaConnection() argument 81 super(connection); in CdmaConnection() 85 mIsCallWaiting = connection != null && connection.getState() == Call.State.WAITING; in CdmaConnection() 113 Connection connection = getOriginalConnection(); in onReject() local 114 if (connection != null) { in onReject() 115 switch (connection.getState()) { in onReject()
|
D | TelephonyConnection.java | 61 com.android.internal.telephony.Connection connection = 63 if ((connection.getAddress() != null && 65 mOriginalConnection.getAddress().contains(connection.getAddress())) || 66 connection.getStateBeforeHandover() == mOriginalConnection.getState()) { 68 mOriginalConnection.toString() + " with " + connection.toString()); 69 setOriginalConnection(connection);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/ |
D | TestConnectionService.java | 103 public void onSeparate(Connection connection) { in onSeparate() argument 104 if (getConnections().contains(connection)) { in onSeparate() 105 connection.setConference(null); in onSeparate() 106 removeConnection(connection); in onSeparate() 107 connection.removeConnectionListener(mConnectionListener); in onSeparate() 269 final TestConnection connection = new TestConnection(false /* isIncoming */); in onCreateOutgoingConnection() local 270 connection.setAddress(handle, TelecomManager.PRESENTATION_ALLOWED); in onCreateOutgoingConnection() 285 addCall(connection); in onCreateOutgoingConnection() 286 connection.startOutgoing(); in onCreateOutgoingConnection() 294 return connection; in onCreateOutgoingConnection() [all …]
|
D | TestConnectionManager.java | 46 public void onStateChanged(RemoteConnection connection, int state) { 52 RemoteConnection connection, DisconnectCause disconnectCause) { 58 public void onRingbackRequested(RemoteConnection connection, boolean ringback) { 63 public void onConnectionCapabilitiesChanged(RemoteConnection connection, 69 public void onPostDialWait(RemoteConnection connection, String remainingDigits) { 74 public void onVoipAudioChanged(RemoteConnection connection, boolean isVoip) { 79 public void onStatusHintsChanged(RemoteConnection connection, StatusHints statusHints) { 84 public void onVideoStateChanged(RemoteConnection connection, int videoState) { 86 setVideoProvider(new TestManagedVideoProvider(connection.getVideoProvider())); 93 RemoteConnection connection, Uri address, int presentation) { [all …]
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 112 HttpURLConnection connection = null; in execute() local 120 connection = openConnection(url, proxy); in execute() 121 connection.setDoInput(true); in execute() 122 connection.setConnectTimeout(mmsConfig.getHttpSocketTimeout()); in execute() 125 connection.setRequestProperty(HEADER_ACCEPT, HEADER_VALUE_ACCEPT); in execute() 127 connection.setRequestProperty( in execute() 132 connection.setRequestProperty(HEADER_USER_AGENT, userAgent); in execute() 138 connection.setRequestProperty(uaProfUrlTagName, uaProfUrl); in execute() 141 addExtraHeaders(connection, mmsConfig); in execute() 148 connection.setDoOutput(true); in execute() [all …]
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapStore.java | 422 ImapConnection connection = getConnection(); in updateFolders() local 427 connection.executeSimpleCommand(ImapConstants.NOOP); in updateFolders() 432 List<ImapResponse> responses = connection.executeSimpleCommand(imapCommand); in updateFolders() 469 connection.close(); in updateFolders() 474 connection.destroyResponses(); in updateFolders() 475 connection = null; in updateFolders() 478 if (connection != null) { in updateFolders() 481 poolConnection(connection); in updateFolders() 493 ImapConnection connection = new ImapConnection(this); in checkSettings() local 495 connection.open(); in checkSettings() [all …]
|
D | ImapFolder.java | 189 ImapConnection connection = null; in exists() local 192 connection = mStore.getConnection(); in exists() 194 connection = mConnection; in exists() 198 connection.executeSimpleCommand(String.format(Locale.US, in exists() 212 throw ioExceptionHandler(connection, ioe); in exists() 215 connection.destroyResponses(); in exists() 217 mStore.poolConnection(connection); in exists() 235 ImapConnection connection = null; in create() local 238 connection = mStore.getConnection(); in create() 240 connection = mConnection; in create() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ContextMap.java | 189 Connection connection = i.next(); in removeConnection() local 190 if (connection.connId == connId) { in removeConnection() 231 Connection connection = i.next(); in getConnectedDevices() local 232 addresses.add(connection.address); in getConnectedDevices() 243 Connection connection = ii.next(); in getByConnId() local 244 if (connection.connId == connId){ in getByConnId() 245 return getById(connection.appId); in getByConnId() 260 Connection connection = i.next(); in connIdByAddress() local 261 if (connection.address.equals(address) && connection.appId == id) in connIdByAddress() 262 return connection.connId; in connIdByAddress() [all …]
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnectionService.java | 85 final SipConnection connection = new SipConnection(); in onCreateOutgoingConnection() local 86 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); in onCreateOutgoingConnection() 87 connection.setInitializing(); in onCreateOutgoingConnection() 88 connection.onAddedToCallService(); in onCreateOutgoingConnection() 93 connection.setDisconnected(new android.telecom.DisconnectCause( in onCreateOutgoingConnection() 104 connection.setDisconnected(new android.telecom.DisconnectCause( in onCreateOutgoingConnection() 118 connection.setDisconnected(DisconnectCauseUtil.toTelecomDisconnectCause( in onCreateOutgoingConnection() 120 connection.destroy(); in onCreateOutgoingConnection() 125 connection.setDisconnected(DisconnectCauseUtil.toTelecomDisconnectCause( in onCreateOutgoingConnection() 127 connection.destroy(); in onCreateOutgoingConnection() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Call.java | 778 ParcelableConnection connection) { in handleCreateConnectionSuccess() argument 779 Log.v(this, "handleCreateConnectionSuccessful %s", connection); in handleCreateConnectionSuccess() 780 setTargetPhoneAccount(connection.getPhoneAccount()); in handleCreateConnectionSuccess() 781 setHandle(connection.getHandle(), connection.getHandlePresentation()); in handleCreateConnectionSuccess() 783 connection.getCallerDisplayName(), connection.getCallerDisplayNamePresentation()); in handleCreateConnectionSuccess() 784 setConnectionCapabilities(connection.getConnectionCapabilities()); in handleCreateConnectionSuccess() 785 setVideoProvider(connection.getVideoProvider()); in handleCreateConnectionSuccess() 786 setVideoState(connection.getVideoState()); in handleCreateConnectionSuccess() 787 setRingbackRequested(connection.isRingbackRequested()); in handleCreateConnectionSuccess() 788 setIsVoipAudioMode(connection.getIsVoipAudioMode()); in handleCreateConnectionSuccess() [all …]
|
D | ConnectionServiceWrapper.java | 97 ParcelableConnection connection = (ParcelableConnection) args.arg3; 98 handleCreateConnectionComplete(callId, request, connection); 382 ParcelableConnection connection = (ParcelableConnection)args.arg2; 384 connection); 401 ParcelableConnection connection) { in handleCreateConnectionComplete() argument 407 args.arg3 = connection; in handleCreateConnectionComplete() 610 public void addExistingConnection(String callId, ParcelableConnection connection) { in addExistingConnection() argument 611 logIncoming("addExistingConnection %s %s", callId, connection); in addExistingConnection() 614 args.arg2 = connection; in addExistingConnection() 952 ParcelableConnection connection) { in handleCreateConnectionComplete() argument [all …]
|
D | CallsManager.java | 1396 Call createCallForExistingConnection(String callId, ParcelableConnection connection) { in createCallForExistingConnection() argument 1400 connection.getHandle() /* handle */, in createCallForExistingConnection() 1403 connection.getPhoneAccount(), /* targetPhoneAccountHandle */ in createCallForExistingConnection() 1407 setCallState(call, Call.getStateFromConnectionState(connection.getState())); in createCallForExistingConnection() 1408 call.setConnectionCapabilities(connection.getConnectionCapabilities()); in createCallForExistingConnection() 1409 call.setCallerDisplayName(connection.getCallerDisplayName(), in createCallForExistingConnection() 1410 connection.getCallerDisplayNamePresentation()); in createCallForExistingConnection()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallGatewayManager.java | 104 public void setGatewayInfoForConnection(Connection connection, RawGatewayInfo gatewayInfo) { in setGatewayInfoForConnection() argument 106 mMap.put(connection, gatewayInfo); in setGatewayInfoForConnection() 108 mMap.remove(connection); in setGatewayInfoForConnection() 115 public void clearGatewayData(Connection connection) { in clearGatewayData() argument 116 setGatewayInfoForConnection(connection, EMPTY_INFO); in clearGatewayData() 124 public RawGatewayInfo getGatewayInfo(Connection connection) { in getGatewayInfo() argument 125 final RawGatewayInfo info = mMap.get(connection); in getGatewayInfo()
|
D | PhoneUtils.java | 517 Connection connection) { in updateCdmaCallStateOnNewOutgoingCall() argument 588 Connection connection; in placeCall() local 613 connection = app.mCM.dial(phone, numberToDial, VideoProfile.VideoState.AUDIO_ONLY); in placeCall() 629 if (null == connection) { in placeCall() 634 callGateway.setGatewayInfoForConnection(connection, gatewayInfo); in placeCall() 638 updateCdmaCallStateOnNewOutgoingCall(app, connection); in placeCall() 649 Object userDataObject = connection.getUserData(); in placeCall() 651 connection.setUserData(contactRef); in placeCall() 666 startGetCallerInfo(context, connection, null, null, gatewayInfo); in placeCall()
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
D | KeyChainServiceTestSupport.java | 72 KeyChain.KeyChainConnection connection = null; 74 connection = KeyChain.bind(KeyChainServiceTestSupport.this); 75 connection.getService().setGrant(senderUid, alias, value); 81 if (connection != null) { 82 connection.close();
|
/packages/apps/Nfc/nci/jni/ |
D | PeerToPeer.cpp | 1671 sp<NfaConn> connection = allocateConnection(connJniHandle); in accept() local 1672 if (connection == NULL) { in accept() 1684 serverJniHandle, connJniHandle, connection->mNfaConnHandle); in accept() 1687 if (connection->mNfaConnHandle == NFA_HANDLE_INVALID) in accept() 1701 serverJniHandle, connJniHandle, connection->mNfaConnHandle); in accept() 1702 nfaStat = NFA_P2pAcceptConn (connection->mNfaConnHandle, maxInfoUnit, recvWindow); in accept() 1711 serverJniHandle, connJniHandle, connection->mNfaConnHandle); in accept()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | BitmapWorkerTask.java | 269 URLConnection connection = url.openConnection(); 270 connection.setConnectTimeout(SOCKET_TIMEOUT); 271 connection.setReadTimeout(READ_TIMEOUT); 272 InputStream in = new BufferedInputStream(connection.getInputStream());
|