/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CreateConnectionResponse.java | 25 * A callback for providing the result of creating a connection. 29 void handleCreateConnectionSuccess(CallIdMapper idMapper, ParcelableConnection connection); argument
|
H A D | CreateConnectionProcessor.java | 39 * call. In either case, this class cycles through a set of connection services until: 40 * - a connection service returns a newly created connection in which case the call is displayed 42 * - a connection service cancels the process, in which case the call is aborted 49 // The PhoneAccount describing the target connection service which we will 52 // The PhoneAccount which we will tell the target connection service to use 208 Log.i(this, "Found no connection service for attempt %s", attempt); 285 // If there exists a registered connection manager then use it. 299 // plain PSTN connection services are listed, and nothing else. 345 // Next, add the connection manage 388 handleCreateConnectionSuccess( CallIdMapper idMapper, ParcelableConnection connection) argument [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/ |
H A D | ClassScanner.java | 50 final URLConnection connection = url.openConnection(); 52 if (connection instanceof JarURLConnection) { 53 loadClassFromJar((JarURLConnection) connection, packageName, 97 private void loadClassFromJar(JarURLConnection connection, String packageName, argument 99 final JarFile jarFile = connection.getJarFile();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
H A D | BlockingHttpClient.java | 54 public BlockingHttpClient(HttpURLConnection connection) { argument 55 mConnection = connection;
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
H A D | Obd2LiveFrameGenerator.java | 37 public Obd2LiveFrameGenerator(Obd2Connection connection) argument 39 mConnection = connection; 40 Set<Integer> connectionPids = connection.getSupportedPIDs();
|
H A D | Obd2Command.java | 50 * connection and return a Java representation of a command's value. 130 public abstract Optional<ValueType> run(Obd2Connection connection) throws Exception; argument 157 public Optional<ValueType> run(Obd2Connection connection) argument 160 int[] data = connection.run(command); 184 public Optional<ValueType> run(Obd2Connection connection) argument 188 int[] data = connection.run(command);
|
H A D | Obd2Connection.java | 27 /** This class represents a connection between Java code and a "vehicle" that talks OBD2. */ 51 public Obd2Connection(UnderlyingTransport connection) { argument 52 mConnection = Objects.requireNonNull(connection); 159 if (responseValue.equals("UNABLETOCONNECT")) throw new IOException("connection failure");
|
/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | GsmConnection.java | 25 GsmConnection(Connection connection, String telecomCallId, boolean isOutgoing) { argument 26 super(connection, telecomCallId, isOutgoing); 34 * @return The cloned connection.
|
H A D | TelephonyConnectionServiceProxy.java | 33 void removeConnection(Connection connection); argument 35 Connection connection); 37 Connection connection, Conference conference); 38 void addConnectionToConferenceController(TelephonyConnection connection); argument 34 addExistingConnection(PhoneAccountHandle phoneAccountHandle, Connection connection) argument 36 addExistingConnection(PhoneAccountHandle phoneAccountHandle, Connection connection, Conference conference) argument
|
H A D | CdmaConferenceController.java | 89 /** The CDMA conference connection object. */ 92 void add(final CdmaConnection connection) { argument 93 if (mCdmaConnections.contains(connection)) { 95 Log.w(this, "add - connection already tracked; connection=%s", connection); 99 if (!mCdmaConnections.isEmpty() && connection.isOutgoing()) { 100 // There already exists a connection, so this will probably result in a conference once 101 // it is added. For outgoing connections which are added while another connection 106 connection 140 addInternal(CdmaConnection connection) argument 146 remove(CdmaConnection connection) argument [all...] |
H A D | CdmaConference.java | 70 public void onSeparate(Connection connection) { argument 102 final CdmaConnection connection = getFirstConnection(); 103 if (connection != null) { 104 connection.onPlayDtmfTone(c); 106 Log.w(this, "No CDMA connection found while trying to play dtmf tone."); 112 final CdmaConnection connection = getFirstConnection(); 113 if (connection != null) { 114 connection.onStopDtmfTone(); 116 Log.w(this, "No CDMA connection found while trying to stop dtmf tone."); 138 private Call getMultipartyCallForConnection(Connection connection) { argument 186 getOriginalConnection(Connection connection) argument [all...] |
H A D | ImsConferenceController.java | 58 * Ims conference controller connection listener. Used to respond to changes in state of the 75 public void onDestroyed(Connection connection) { 76 remove(connection); 113 * @param connectionService The current connection service. 122 * Adds a new connection to the IMS conference controller. 124 * @param connection 126 void add(TelephonyConnection connection) { argument 129 if ((connection.getConnectionProperties() & Connection.PROPERTY_IS_EXTERNAL_CALL) == 134 if (mTelephonyConnections.contains(connection)) { 136 Log.w(this, "add - connection alread 156 remove(Connection connection) argument 306 isMemberOfPeerConference(Connection connection) argument 350 startConference(TelephonyConnection connection) argument [all...] |
H A D | PstnIncomingCallNotifier.java | 58 /** New ringing connection event code. */ 133 Connection connection = (Connection) asyncResult.result; 134 if (connection != null) { 135 Call call = connection.getCall(); 139 sendIncomingCallIntent(connection); 149 Connection connection = call.getLatestConnection(); 150 if (connection != null) { 151 String number = connection.getAddress(); 153 sendIncomingCallIntent(connection); 165 Connection connection 183 addNewUnknownCall(Connection connection) argument 226 sendIncomingCallIntent(Connection connection) argument [all...] |
H A D | TelephonyConference.java | 50 for (Connection connection : getConnections()) { 51 if (disconnectCall(connection)) { 58 * Disconnect the underlying Telephony Call for a connection. 60 * @param connection The connection. 63 private boolean disconnectCall(Connection connection) { argument 64 Call call = getMultipartyCallForConnection(connection, "onDisconnect"); 80 * @param connection The connection to separate. 83 public void onSeparate(Connection connection) { argument 94 onMerge(Connection connection) argument 144 onConnectionAdded(Connection connection) argument 179 getMultipartyCallForConnection(Connection connection, String tag) argument 191 getOriginalConnection( Connection connection) argument [all...] |
H A D | TelephonyConferenceController.java | 51 Log.v(this, "onStateChange triggered in Conf Controller : connection = "+ c 63 public void onDestroyed(Connection connection) { 64 remove(connection); 77 /** The TelephonyConference connection object. */ 85 void add(TelephonyConnection connection) { argument 86 if (mTelephonyConnections.contains(connection)) { 88 Log.w(this, "add - connection already tracked; connection=%s", connection); 91 mTelephonyConnections.add(connection); 96 remove(Connection connection) argument 117 participatesInFullConference(Connection connection) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
H A D | HfpClientConference.java | 56 public void onMerge(Connection connection) { argument 57 Log.d(TAG, "onMerge " + connection); 58 addConnection(connection); 62 public void onSeparate(Connection connection) { argument 63 Log.d(TAG, "onSeparate " + connection); 64 ((HfpClientConnection) connection).enterPrivateMode(); 65 removeConnection(connection); 94 public void onConnectionAdded(Connection connection) { argument 95 Log.d(TAG, "onConnectionAdded " + connection); 96 if (connection [all...] |
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
H A D | UsbUtil.java | 35 UsbDeviceConnection connection = openConnection(usbManager, device); 36 if (AoapInterface.isSupported(connection)) { 39 connection.close(); 49 public static void sendAoapAccessoryStart(UsbDeviceConnection connection, String manufacturer, argument 52 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, 54 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, 56 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, 58 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, 60 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI, uri); 61 AoapInterface.sendString(connection, AoapInterfac [all...] |
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
H A D | WifiDownloadReceiver.java | 104 HttpURLConnection connection = null; 107 connection = (HttpURLConnection) url.openConnection(); 108 connection.connect(); 111 if (connection.getResponseCode() != HttpURLConnection.HTTP_OK) { 112 return "Server returned HTTP " + connection.getResponseCode() 113 + " " + connection.getResponseMessage(); 117 int fileLength = connection.getContentLength(); 118 int bytesRead = downloadFile(connection); 132 if (connection != null) { 133 connection 161 downloadFile(HttpURLConnection connection) argument [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | CallGatewayManager.java | 39 * proper number to dial. It also saves an association between the connection object and the gateway 100 * This function sets the current mapping from connection to gatewayInfo. 101 * @param connection The connection object for the placed outgoing call. 104 public void setGatewayInfoForConnection(Connection connection, RawGatewayInfo gatewayInfo) { argument 106 mMap.put(connection, gatewayInfo); 108 mMap.remove(connection); 115 public void clearGatewayData(Connection connection) { argument 116 setGatewayInfoForConnection(connection, EMPTY_INFO); 120 * If the parameter matches the connection objec 124 getGatewayInfo(Connection connection) argument [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/ |
H A D | MmsHttpClient.java | 119 HttpURLConnection connection = null; 126 // Now get the connection 127 connection = (HttpURLConnection) url.openConnection(proxy); 128 connection.setDoInput(true); 129 connection.setConnectTimeout( 134 connection.setRequestProperty(HEADER_ACCEPT, HEADER_VALUE_ACCEPT); 136 connection.setRequestProperty( 140 connection.setRequestProperty(HEADER_USER_AGENT, userAgent); 147 connection.setRequestProperty(uaProfUrlTagName, uaProfUrl); 150 addExtraHeaders(connection, mmsConfi 346 addExtraHeaders(HttpURLConnection connection, Bundle mmsConfig) argument [all...] |
/packages/services/Mms/src/com/android/mms/service/ |
H A D | MmsHttpClient.java | 120 HttpURLConnection connection = null; 129 // Now get the connection 130 connection = (HttpURLConnection) mNetwork.openConnection(url, proxy); 131 connection.setDoInput(true); 132 connection.setConnectTimeout( 136 connection.setRequestProperty(HEADER_ACCEPT, HEADER_VALUE_ACCEPT); 138 connection.setRequestProperty( 143 connection.setRequestProperty(HEADER_USER_AGENT, userAgent); 150 connection.setRequestProperty(uaProfUrlTagName, uaProfUrl); 153 // Some carriers require that the HTTP connection' 354 addExtraHeaders(HttpURLConnection connection, Bundle mmsConfig, int subId) argument [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | SelfManagedCallList.java | 73 public void onConnectionStateChanged(SelfManagedConnection connection) { 78 public void onConnectionRemoved(SelfManagedConnection connection) { 79 removeConnection(connection); 131 public void addConnection(SelfManagedConnection connection) { argument 132 Log.i(this, "addConnection %s", connection); 133 mConnections.add(connection); 135 Log.i(this, "addConnection calling onConnectionListChanged %s", connection); 140 public void removeConnection(SelfManagedConnection connection) { argument 141 Log.i(this, "removeConnection %s", connection); 142 mConnections.remove(connection); [all...] |
H A D | SelfManagedConnection.java | 41 public void onConnectionStateChanged(SelfManagedConnection connection) {} argument 42 public void onConnectionRemoved(SelfManagedConnection connection) {} argument 72 * Handles updates to the audio state of the connection. 73 * @param state The new connection audio state.
|
H A D | TestVideoProvider.java | 77 public TestVideoProvider(Context context, TestConnection connection) { argument 78 mConnection = connection; 187 log("Requested connection data usage");
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipConnection.java | 63 void initialize(com.android.internal.telephony.Connection connection) { argument 64 if (VERBOSE) log("init SipConnection, connection: " + connection); 65 mOriginalConnection = connection; 306 * Updates the handle on this connection based on the original connection.
|