Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java157 Connection connection = i.next(); in removeConnection() local
158 if (connection.connId == connId) { in removeConnection()
199 Connection connection = i.next(); in getConnectedDevices() local
200 addresses.add(connection.address); in getConnectedDevices()
211 Connection connection = ii.next(); in getByConnId() local
212 if (connection.connId == connId){ in getByConnId()
213 return getById(connection.appId); in getByConnId()
228 Connection connection = i.next(); in connIdByAddress() local
229 if (connection.address.equals(address) && connection.appId == id) in connIdByAddress()
230 return connection.connId; in connIdByAddress()
[all …]
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java387 ImapConnection connection = getConnection(); in updateFolders() local
392 connection.executeSimpleCommand(ImapConstants.NOOP); in updateFolders()
397 List<ImapResponse> responses = connection.executeSimpleCommand(imapCommand); in updateFolders()
428 connection.close(); in updateFolders()
433 connection.destroyResponses(); in updateFolders()
434 connection = null; in updateFolders()
437 if (connection != null) { in updateFolders()
438 poolConnection(connection); in updateFolders()
447 ImapConnection connection = new ImapConnection(this, mUsername, mPassword); in checkSettings() local
449 connection.open(); in checkSettings()
[all …]
DImapFolder.java181 ImapConnection connection = null; in exists() local
184 connection = mStore.getConnection(); in exists()
186 connection = mConnection; in exists()
190 connection.executeSimpleCommand(String.format(Locale.US, in exists()
204 throw ioExceptionHandler(connection, ioe); in exists()
207 connection.destroyResponses(); in exists()
209 mStore.poolConnection(connection); in exists()
227 ImapConnection connection = null; in create() local
230 connection = mStore.getConnection(); in create()
232 connection = mConnection; in create()
[all …]
/packages/apps/Phone/src/com/android/phone/
DManageConferenceUtils.java65 Connection connection = (Connection) cookie; in onQueryComplete() local
66 int presentation = connection.getNumberPresentation(); in onQueryComplete()
188 Connection connection = (Connection) connections.get(i); in updateManageConferencePanel() local
189 updateManageConferenceRow(i, connection, canSeparate); in updateManageConferencePanel()
209 final Connection connection, in updateManageConferenceRow() argument
211 if (DBG) log("updateManageConferenceRow(" + i + ")... connection = " + connection); in updateManageConferenceRow()
213 if (connection != null) { in updateManageConferenceRow()
234 endConferenceConnection(i, connection); in updateManageConferenceRow()
244 separateConferenceConnection(i, connection); in updateManageConferenceRow()
258 connection, listener, connection); in updateManageConferenceRow()
[all …]
DBluetoothPhoneService.java186 Connection connection = null;
188 connection = (Connection) ((AsyncResult) msg.obj).result;
190 handlePreciseCallStateChange(connection);
236 private void handlePreciseCallStateChange(Connection connection) { in handlePreciseCallStateChange() argument
263 mRingNumber = getCallNumber(connection, ringingCall); in handlePreciseCallStateChange()
413 private CallNumber getCallNumber(Connection connection, Call call) { in getCallNumber() argument
417 if (connection == null) { in getCallNumber()
418 connection = call.getEarliestConnection(); in getCallNumber()
419 if (connection == null) { in getCallNumber()
423 if (connection != null) { in getCallNumber()
[all …]
DContactsAsyncHelper.java147 public boolean isDifferentImageRequest(Connection connection) { in isDifferentImageRequest() argument
150 if (connection == null) { in isDifferentImageRequest()
154 Object o = connection.getUserData(); in isDifferentImageRequest()
DPhoneUtils.java602 Connection connection; in placeCall() local
627 connection = app.mCM.dial(phone, numberToDial); in placeCall()
643 if (null == connection) { in placeCall()
671 Object userDataObject = connection.getUserData(); in placeCall()
673 connection.setUserData(contactRef); in placeCall()
703 connection.setUserData(info); in placeCall()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
DUploader.java120 HttpURLConnection connection = null; in uploadFile() local
124 connection = (HttpURLConnection) mUrl.openConnection(); in uploadFile()
125 connection.setRequestMethod("PUT"); in uploadFile()
126 connection.setDoOutput(true); in uploadFile()
127 connection.setFixedLengthStreamingMode(contentLength); in uploadFile()
128 final OutputStream outputStream = connection.getOutputStream(); in uploadFile()
130 if (connection.getResponseCode() != HttpURLConnection.HTTP_OK) { in uploadFile()
131 Log.d(TAG, "upload failed: " + connection.getResponseCode()); in uploadFile()
132 final InputStream netInputStream = connection.getInputStream(); in uploadFile()
156 if (connection != null) { in uploadFile()
[all …]
DResearchLogger.java1223 final RichInputConnection connection) { in latinIME_onUpdateSelection() argument
1225 if (connection != null) { in latinIME_onUpdateSelection()
1226 Range range = connection.getWordRangeAtCursor(WHITESPACE_SEPARATORS, 1); in latinIME_onUpdateSelection()
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java72 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/
DPeerToPeer.cpp1634 sp<NfaConn> connection = allocateConnection(connJniHandle); in accept() local
1635 if (connection == NULL) { in accept()
1647 serverJniHandle, connJniHandle, connection->mNfaConnHandle); in accept()
1650 if (connection->mNfaConnHandle == NFA_HANDLE_INVALID) in accept()
1658 serverJniHandle, connJniHandle, connection->mNfaConnHandle); in accept()
1659 nfaStat = NFA_P2pAcceptConn (connection->mNfaConnHandle, maxInfoUnit, recvWindow); in accept()
1668 serverJniHandle, connJniHandle, connection->mNfaConnHandle); in accept()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPositionalInfoForUserDictPendingAddition.java78 public boolean tryReplaceWithActualWord(final RichInputConnection connection, in tryReplaceWithActualWord() argument
101 connection.setComposingRegion(currentCursorPosition - mOriginalWord.length(), in tryReplaceWithActualWord()
103 connection.commitText(wordWithCaseFixed, wordWithCaseFixed.length()); in tryReplaceWithActualWord()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DDefaultSoftKeyboardEN.java100 InputConnection connection = mWnn.getCurrentInputConnection(); in getShiftKeyState() local
101 if (connection != null) { in getShiftKeyState()
102 int caps = connection.getCursorCapsMode(editor.inputType); in getShiftKeyState()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java210 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in makeHttpsRequest() local
211 connection.setSSLSocketFactory(clientContext.getSocketFactory()); in makeHttpsRequest()
212 if (connection.getResponseCode() != 200) { in makeHttpsRequest()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java196 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); in openDeviceLocked() local
197 if (connection != null) { in openDeviceLocked()
199 if (mtpDevice.open(connection)) { in openDeviceLocked()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java399 KeyChain.KeyChainConnection connection = KeyChain.bind(KeyChainActivity.this); in doInBackground() local
401 connection.getService().setGrant(mSenderUid, mAlias, true); in doInBackground()
403 connection.close(); in doInBackground()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DDefaultSoftKeyboard.java321 InputConnection connection = mWnn.getCurrentInputConnection();
322 if (connection != null) {
323connection.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL));
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DDefaultSoftKeyboardJAJP.java1171 InputConnection connection = mWnn.getCurrentInputConnection(); in getShiftKeyState() local
1172 if (connection != null) { in getShiftKeyState()
1173 int caps = connection.getCursorCapsMode(editor.inputType); in getShiftKeyState()
/packages/apps/Browser/src/com/android/browser/
DEventLogTags.logtags11 # and how long it took to load the page. Could maybe also tell the kind of connection (2g, 3g, WiFi…
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1355802836, ...