Searched defs:connection (Results 1 - 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DEditingUtils.java40 private static int getCursorPosition(InputConnection connection) { argument
41 if (null == connection) return INVALID_CURSOR_POSITION;
42 final ExtractedText extracted = connection.getExtractedText(new ExtractedTextRequest(), 0);
50 * @param connection connection to the current text field.
56 public static String getWordAtCursor(InputConnection connection, String separators) { argument
57 // getWordRangeAtCursor returns null if the connection is null
58 Range r = getWordRangeAtCursor(connection, separators);
88 private static Range getWordRangeAtCursor(InputConnection connection, String sep) { argument
89 if (connection
124 getPreviousWord(InputConnection connection, String sentenceSeperators) argument
156 getThisWord(InputConnection connection, String sentenceSeperators) argument
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DContactsAsyncHelper.java135 * Used to see if the requested call / connection has a
146 public boolean isDifferentImageRequest(Connection connection) { argument
147 // if the connection does not exist, see if the
149 if (connection == null) {
150 if (DBG) Log.d(LOG_TAG, "isDifferentImageRequest: connection is null");
153 Object o = connection.getUserData();
H A DManageConferenceUtils.java65 Connection connection = (Connection) cookie;
66 int presentation = connection.getNumberPresentation();
188 Connection connection = (Connection) connections.get(i);
189 updateManageConferenceRow(i, connection, canSeparate);
202 * @param connection the Connection corresponding to this caller.
209 final Connection connection,
211 if (DBG) log("updateManageConferenceRow(" + i + ")... connection = " + connection);
213 if (connection != null) {
234 endConferenceConnection(i, connection);
208 updateManageConferenceRow(final int i, final Connection connection, boolean canSeparate) argument
322 endConferenceConnection(int i, Connection connection) argument
338 separateConferenceConnection(int i, Connection connection) argument
[all...]
H A DBluetoothHandsfree.java122 // do not connect audio until service connection is established
265 * accept a connection. Even after a connection has been accepted, the Sco Server
290 Log.e(TAG, "BluetoothServerSocket could not accept connection");
304 Log.i(TAG, "Routing audio for incoming SCO connection");
316 Log.i(TAG, "Rejecting incoming SCO connection");
401 // since an incoming SCO connection can happen immediately with
433 * Signals when a Sco connection has been closed
456 // connection is closed
702 Connection connection
1007 handlePreciseCallStateChange(boolean sendUpdate, Connection connection) argument
[all...]
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapStore.java387 ImapConnection connection = getConnection();
390 // Establish a connection to the IMAP server; if necessary
392 connection.executeSimpleCommand(ImapConstants.NOOP);
397 List<ImapResponse> responses = connection.executeSimpleCommand(imapCommand);
428 connection.close();
431 // We do NOT want this connection pooled, or we will continue to send NOOP and SELECT
433 connection.destroyResponses();
434 connection = null;
437 if (connection != null) {
438 poolConnection(connection);
530 poolConnection(ImapConnection connection) argument
[all...]
H A DImapFolder.java97 // Make sure the connection is valid.
109 // Return the connection to the pool, if exists.
133 // Don't cache this connection, so we're forced to try connecting/login again
177 * so we must get the connection ourselves if it's not there. We are specifically
180 ImapConnection connection = null;
183 connection = mStore.getConnection();
185 connection = mConnection;
189 connection.executeSimpleCommand(String.format(
203 throw ioExceptionHandler(connection, ioe);
206 connection
1111 ioExceptionHandler(ImapConnection connection, IOException ioe) argument
[all...]

Completed in 143 milliseconds