/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | PositionalInfoForUserDictPendingAddition.java | 68 * @param connection The RichInputConnection through which to contact the editor. 73 public boolean tryReplaceWithActualWord(final RichInputConnection connection, argument 93 connection.setComposingRegion(currentCursorPosition - mOriginalWord.length(), 95 connection.commitText(mActualWordBeingAdded, mActualWordBeingAdded.length());
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
H A 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/Phone/src/com/android/phone/ |
H A D | ManageConferenceUtils.java | 65 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 D | BluetoothPhoneService.java | 130 // avoid situation such as no cell or wifi connection but still 186 Connection connection = null; 188 connection = (Connection) ((AsyncResult) msg.obj).result; 190 handlePreciseCallStateChange(connection); 236 private void handlePreciseCallStateChange(Connection connection) { argument 263 mRingNumber = getCallNumber(connection, ringingCall); 413 private CallNumber getCallNumber(Connection connection, Call call) { argument 417 if (connection == null) { 418 connection = call.getEarliestConnection(); 419 if (connection 541 sendClccResponseGsm(int index, Connection connection) argument 618 sendClccResponseCdma(int index, Connection connection) argument [all...] |
H A D | ContactsAsyncHelper.java | 135 * 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 D | PhoneUtils.java | 98 /** Speaker state, persisting between wired headset connection events */ 101 /** Hash table to store mute (Boolean) values based upon the connection.*/ 105 /** Static handler for the connection/mute tracking */ 119 * Mute settings for each connection as needed. 127 if (DBG) log("ConnectionHandler: updating mute state for each connection"); 135 // Otherwise the connection may get deleted. 148 // mute is connection based operation, we need loop over 171 if (DBG) log("connection '" + cn + "' not accounted for, removing."); 179 // the mute state with the earliest connection on the foreground 194 * Register the ConnectionHandler with the phone, to receive connection event [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
H A D | UploaderService.java | 147 HttpURLConnection connection = null; 151 connection = (HttpURLConnection) mUrl.openConnection(); 152 connection.setRequestMethod("PUT"); 153 connection.setDoOutput(true); 154 connection.setFixedLengthStreamingMode(contentLength); 155 final OutputStream os = connection.getOutputStream(); 161 if (connection.getResponseCode() != HttpURLConnection.HTTP_OK) { 162 Log.d(TAG, "upload failed: " + connection.getResponseCode()); 163 InputStream netInputStream = connection.getInputStream(); 185 if (connection ! [all...] |
H A D | ResearchLogger.java | 959 final RichInputConnection connection) { 961 if (connection != null) { 962 Range range = connection.getWordRangeAtCursor(WHITESPACE_SEPARATORS, 1); 954 latinIME_onUpdateSelection(final int lastSelectionStart, final int lastSelectionEnd, final int oldSelStart, final int oldSelEnd, final int newSelStart, final int newSelEnd, final int composingSpanStart, final int composingSpanEnd, final boolean expectingUpdateSelection, final boolean expectingUpdateSelectionFromLogger, final RichInputConnection connection) argument
|
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | ImapStore.java | 387 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 D | ImapFolder.java | 97 // 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...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
H A D | DefaultSoftKeyboardEN.java | 100 InputConnection connection = mWnn.getCurrentInputConnection(); 101 if (connection != null) { 102 int caps = connection.getCursorCapsMode(editor.inputType);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MtpClient.java | 196 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); 197 if (connection != null) { 199 if (mtpDevice.open(connection)) {
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
H A D | KeyChainTestActivity.java | 210 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 211 connection.setSSLSocketFactory(clientContext.getSocketFactory()); 212 if (connection.getResponseCode() != 200) {
|
/packages/apps/KeyChain/src/com/android/keychain/ |
H A D | KeyChainActivity.java | 405 KeyChain.KeyChainConnection connection = KeyChain.bind(KeyChainActivity.this); 407 connection.getService().setGrant(mSenderUid, mAlias, true); 409 connection.close();
|
/packages/apps/Nfc/nci/jni/ |
H A D | PeerToPeer.cpp | 116 ** Description: Find a PeerToPeer object by connection handle. 143 ** Description: Find a PeerToPeer object by connection handle. 194 ** Description: Let a server start listening for peer's connection request. 497 ** Description: Create a P2pClient object for a new out-bound connection. 559 ** Description: Free resources related to a connection. 571 // If the connection is a for a client, delete the client itself 585 // If the connection is for a server, just delete the connection 604 ** Description: Estabish a connection-oriented connection t 1631 sp<NfaConn> connection = allocateConnection(connJniHandle); local [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | DefaultSoftKeyboard.java | 321 InputConnection connection = mWnn.getCurrentInputConnection(); 322 if (connection != null) { 323 connection.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL));
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | DefaultSoftKeyboardJAJP.java | 1171 InputConnection connection = mWnn.getCurrentInputConnection(); 1172 if (connection != null) { 1173 int caps = connection.getCursorCapsMode(editor.inputType);
|