/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 1195 verify(mFallbackConnection, times(1)).getResponseCode(); in testIsCaptivePortal_OtherFallbackProbeIsPortal() 1196 verify(mOtherFallbackConnection, never()).getResponseCode(); in testIsCaptivePortal_OtherFallbackProbeIsPortal() 1204 .getResponseCode(); in testIsCaptivePortal_OtherFallbackProbeIsPortal() 1215 verify(mFallbackConnection, times(1)).getResponseCode(); 1216 verify(mOtherFallbackConnection, never()).getResponseCode(); 1228 verify(mOtherFallbackConnection, times(1)).getResponseCode(); 1229 verify(mFallbackConnection, never()).getResponseCode(); 1248 verify(mCapportApiConnection).getResponseCode(); 1250 verify(mHttpConnection, times(1)).getResponseCode(); 1270 verify(mHttpConnection, never()).getResponseCode(); [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/ |
D | BlockingHttpClientTests.java | 64 when(mMockHttpConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_BAD_GATEWAY); in testError_badGateway() 79 when(mMockHttpConnection.getResponseCode()).thenReturn( in testError_clientTimeout() 96 when(mMockHttpConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_FORBIDDEN); in testError_forbiddenWithRequest() 115 when(mMockHttpConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_OK); in testSuccess_emptyRequest() 132 when(mMockHttpConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_OK); in testSuccess()
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | ServerInterface.java | 73 if (con.getResponseCode() != HttpURLConnection.HTTP_OK) { in requestSignedCertificates() 76 + con.getResponseCode() + "\nRepeated failure count: " + failures); in requestSignedCertificates() 124 if (con.getResponseCode() != HttpURLConnection.HTTP_OK) { in fetchGeek() 127 + con.getResponseCode() + "\nRepeated failure count: " + failures); in fetchGeek()
|
/packages/services/Telephony/src/com/android/phone/callcomposer/ |
D | CallComposerPictureTransfer.java | 162 if (conn.getResponseCode() != 200) { in downloadPicture() 175 if (conn.getResponseCode() == 200) { in downloadPicture() 282 responseCode = connection.getResponseCode(); in obtainAuthenticateHeader() 309 if (conn.getResponseCode() != 200) { in downloadImageFromConnection() 310 Log.w(TAG, "Got response code " + conn.getResponseCode() + " when trying" in downloadImageFromConnection() 312 if (conn.getResponseCode() == 401) { in downloadImageFromConnection() 442 int response = connection.getResponseCode();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipRequest.java | 85 mResponseCode = operation.getResponseCode(); in executeGet() 109 mResponseCode = operation.getResponseCode(); in executePut() 132 public final int getResponseCode() { in getResponseCode() method in BipRequest
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpBipClient.java | 267 int responseCode = headerSet.getResponseCode(); in connect() 304 int responseCode = headerSet.getResponseCode(); in refreshObexSession() 371 int responseCode = request.getResponseCode(); in notifyCaller()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | Request.java | 111 mResponseCode = op.getResponseCode(); in executeGet() 134 mResponseCode = op.getResponseCode(); in executePut()
|
D | RequestSetPath.java | 64 mResponseCode = hs.getResponseCode(); in execute()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | HttpsServiceConnection.java | 77 public int getResponseCode() throws IOException { in getResponseCode() method in HttpsServiceConnection 78 return mConnection.getResponseCode(); in getResponseCode()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | NetworkUriImageRequest.java | 62 if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) { in isGif() 94 if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) { in loadBitmapInternal()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | Http.java | 91 int responseCode = e.getResponseCode(); in getOrPost() 151 int responseCode = connection.getResponseCode(); in checkResponseCode() 306 public int getResponseCode() { in getResponseCode() method in Http.HttpError
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | JavaNetHttpHelper.java | 151 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/mapclient/ |
D | MasClient.java | 136 if (DBG) Log.d(TAG, "Connection results" + headerset.getResponseCode()); in connect() 138 if (headerset.getResponseCode() == ResponseCodes.OBEX_HTTP_OK) { in connect()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | HttpsServiceConnectionTest.java | 125 when(mHttpsURLConnection.getResponseCode()).thenReturn(testResponseCode); in verifyGetResponseCode() 127 assertEquals(testResponseCode, mHttpsServiceConnection.getResponseCode()); in verifyGetResponseCode()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | WifiDownloadReceiver.java | 111 if (connection.getResponseCode() != HttpURLConnection.HTTP_OK) { in doInBackground() 112 return "Server returned HTTP " + connection.getResponseCode() in doInBackground()
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | HttpFetcher.java | 73 int responseCode = conn.getResponseCode(); in sendRequestAsByteArray() 133 int responseCode = httpUrlConnection.getResponseCode(); in sendRequestAsInputStream()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexClientSession.java | 484 responseCode = putOperation.getResponseCode(); in sendFile() 516 responseCode = putOperation.getResponseCode(); in sendFile() 587 responseCode = putOperation.getResponseCode(); in sendFile()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | NetworkUtils.java | 47 if (connection.getResponseCode() == HttpURLConnection.HTTP_NO_CONTENT) { in isNetworkAvailable()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DSULoader.java | 97 int responseCode = connection.getResponseCode(); in readAll() 98 if (connection.getResponseCode() != HttpsURLConnection.HTTP_OK) { in readAll()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
D | BlockingHttpClient.java | 80 final int responseCode = mConnection.getResponseCode(); in execute()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapRequest.java | 90 mResponseCode = mOp.getResponseCode(); in execute()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/ |
D | CommonUtils.java | 76 if (HttpURLConnection.HTTP_OK == connection.getResponseCode()) { in connectToURL()
|
/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/ |
D | ConnectivityTestActivity.java | 89 int respCode = urlConnection.getResponseCode(); in httpRequest()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapStore.java | 164 public String getResponseCode() { in getResponseCode() method in ImapStore.ImapException
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuServerConnection.java | 488 if (mServiceConnection.getResponseCode() != HttpURLConnection.HTTP_OK) { in getCert() 490 + " is not OK, but " + mServiceConnection.getResponseCode()); in getCert()
|