Home
last modified time | relevance | path

Searched refs:getResponseCode (Results 1 – 25 of 26) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DBlockingHttpClientTests.java57 when(mMockHttpConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_BAD_GATEWAY); in testError_badGateway()
71 when(mMockHttpConnection.getResponseCode()).thenReturn( in testError_clientTimeout()
87 when(mMockHttpConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_FORBIDDEN); in testError_forbiddenWithRequest()
105 when(mMockHttpConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_OK); in testSuccess_emptyRequest()
121 when(mMockHttpConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_OK); in testSuccess()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DNetworkUriImageRequest.java62 if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) { in isGif()
94 if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) { in loadBitmapInternal()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DObexTest.java290 if(headers.getResponseCode() != ResponseCodes.OBEX_HTTP_OK) { in validateHeaderSet()
291 Log.e(TAG,"Wrong ResponseCode: " + headers.getResponseCode()); in validateHeaderSet()
302 if(op.getResponseCode() != ResponseCodes.OBEX_HTTP_OK) { in validate()
303 Log.e(TAG,"Wrong ResponseCode: " + op.getResponseCode()); in validate()
328 int responseCode = op.getResponseCode(); in validate()
DMapStepsFolder.java131 int responseCode = op.getResponseCode(); in validate()
DMapStepsConvo.java230 int responseCode = op.getResponseCode(); in validate()
DSdpManagerTest.java201 int response = op.getResponseCode(); in testSdpSearchClient()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java151 if (c.getResponseCode() != HttpURLConnection.HTTP_OK) { in getResponseFrom()
152 throw new HttpException(c.getResponseCode(), c.getResponseMessage()); in getResponseFrom()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java424 responseCode = putOperation.getResponseCode(); in sendFile()
446 responseCode = putOperation.getResponseCode(); in sendFile()
506 responseCode = putOperation.getResponseCode(); in sendFile()
/packages/apps/TV/src/com/android/tv/util/
DNetworkUtils.java52 if (connection.getResponseCode() == HttpURLConnection.HTTP_NO_CONTENT) { in isNetworkAvailable()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapRequestSetPath.java68 mResponseCode = hs.getResponseCode(); in execute()
DBluetoothPbapRequest.java88 mResponseCode = mOp.getResponseCode(); in execute()
DBluetoothPbapObexSession.java149 if (hs.getResponseCode() != ResponseCodes.OBEX_HTTP_OK) { in connect()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DBlockingHttpClient.java80 final int responseCode = mConnection.getResponseCode(); in execute()
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapStore.java152 public String getResponseCode() { in getResponseCode() method in ImapStore.ImapException
DImapConnection.java144 final String code = ie.getResponseCode(); in doLogin()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java212 if (connection.getResponseCode() != 200) { in makeHttpsRequest()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java480 responseCode = putOperation.getResponseCode(); in sendEventHandler()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java364 if (urlConnection.getResponseCode() == 200) { in httpClientTest()
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/
DVpnTests.java242 Log.i(TAG, "Response from httpget: " + urlConnection.getResponseCode()); in getIpAddress()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java185 final int responseCode = connection.getResponseCode(); in execute()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java334 return getLockSettings().checkPassword(password, userId).getResponseCode() in checkPassword()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapConnection.java510 final String code = ie.getResponseCode(); in doLogin()
DImapStore.java684 public String getResponseCode() { in getResponseCode() method in ImapStore.ImapException
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java183 final int responseCode = connection.getResponseCode(); in execute()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java455 final int responseCode = conn.getResponseCode(); in executeDownload()

12