/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 1138 verify(mFallbackConnection, times(1)).getResponseCode(); in testIsCaptivePortal_OtherFallbackProbeIsPortal() 1139 verify(mOtherFallbackConnection, never()).getResponseCode(); in testIsCaptivePortal_OtherFallbackProbeIsPortal() 1147 .getResponseCode(); in testIsCaptivePortal_OtherFallbackProbeIsPortal() 1158 verify(mFallbackConnection, times(1)).getResponseCode(); 1159 verify(mOtherFallbackConnection, never()).getResponseCode(); 1171 verify(mOtherFallbackConnection, times(1)).getResponseCode(); 1172 verify(mFallbackConnection, never()).getResponseCode(); 1191 verify(mCapportApiConnection).getResponseCode(); 1193 verify(mHttpConnection, times(1)).getResponseCode(); 1213 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/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/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/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/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/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/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/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/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()
|
D | PbapClientConnectionHandler.java | 353 (connectionResponse.getResponseCode() == ResponseCodes.OBEX_HTTP_OK); in connectObexSession()
|
/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/ |
D | ConnectivityTestActivity.java | 89 int respCode = urlConnection.getResponseCode(); in httpRequest()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfileModel.java | 174 .getResponseCode(); in checkPassword()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapStore.java | 164 public String getResponseCode() { in getResponseCode() method in ImapStore.ImapException
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
D | KeyChainTestActivity.java | 212 if (connection.getResponseCode() != 200) { in makeHttpsRequest()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiStatusTest.java | 368 if (urlConnection.getResponseCode() == 200) { in httpClientTest()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiStatusTest.java | 368 if (urlConnection.getResponseCode() == 200) { in httpClientTest()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMnsObexClient.java | 530 responseCode = putOperation.getResponseCode(); in sendEventHandler()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | DownloadService.java | 296 final int responseCode = httpConn.getResponseCode(); in processDownload()
|