Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DLockscreenFrpTest.java56 .getResponseCode()); in testFrpCredential_setPin()
66 .getResponseCode()); in testFrpCredential_setPattern()
76 .getResponseCode()); in testFrpCredential_setPassword()
87 .getResponseCode()); in testFrpCredential_changeCredential()
106 .getResponseCode()); in testFrpCredential_cannotVerifyAfterProvsioning()
122 .getResponseCode()); in testFrpCredential_legacyPinTypePersistentData()
139 .getResponseCode()); in testFrpCredential_legacyPasswordTypePersistentData()
H A DSyntheticPasswordTests.java122 newPassword, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testSyntheticPasswordChangeCredential()
133 password, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testSyntheticPasswordVerifyCredential()
181 password, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testSyntheticPasswordVerifyPassesPrimaryUserAuthSecret()
191 password, SECONDARY_USER_ID, 0 /* flags */).getResponseCode()); in testSecondaryUserDoesNotPassAuthSecret()
243 password, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testTokenBasedResetPassword()
256 pattern, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testTokenBasedResetPassword()
272 password, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testTokenBasedClearPassword()
281 pattern, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testTokenBasedClearPassword()
298 password, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testTokenBasedResetPasswordAfterCredentialChanges()
353 password, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testEscrowTokenActivatedLaterWithUserPasswordNeedsMigration()
[all …]
H A DLockSettingsServiceTests.java133 .getResponseCode()); in testManagedProfileUnifiedChallenge()
190 .getResponseCode()); in testManagedProfileSeparateChallenge()
196 .getResponseCode()); in testManagedProfileSeparateChallenge()
207 .getResponseCode()); in testManagedProfileSeparateChallenge()
490 assertEquals(GateKeeperResponse.RESPONSE_OK, response.getResponseCode()); in assertVerifyCredentials()
510 badCredential, userId, 0 /* flags */).getResponseCode()); in assertVerifyCredentials()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
H A DBlockingHttpClientTests.java64 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()
/aosp12/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/
H A DServerInterface.java73 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()
/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
H A DNetworkMonitorTest.java1204 .getResponseCode(); in testIsCaptivePortal_OtherFallbackProbeIsPortal()
1248 verify(mCapportApiConnection).getResponseCode();
1271 verify(mCapportApiConnection).getResponseCode();
1332 verify(mCapportApiConnection).getResponseCode();
1399 verify(mHttpConnection).getResponseCode();
1414 verify(mHttpConnection).getResponseCode();
1446 verify(mHttpConnection).getResponseCode();
1558 verify(mHttpConnection).getResponseCode();
1571 verify(mHttpsConnection).getResponseCode();
1584 verify(mHttpsConnection).getResponseCode();
[all …]
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
H A DBipRequest.java85 mResponseCode = operation.getResponseCode(); in executeGet()
109 mResponseCode = operation.getResponseCode(); in executePut()
132 public final int getResponseCode() { in getResponseCode() method in BipRequest
/aosp12/packages/services/Telephony/src/com/android/phone/callcomposer/
H A DCallComposerPictureTransfer.java162 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();
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DRequest.java111 mResponseCode = op.getResponseCode(); in executeGet()
134 mResponseCode = op.getResponseCode(); in executePut()
H A DRequestSetPath.java64 mResponseCode = hs.getResponseCode(); in execute()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
H A DHttpsServiceConnection.java77 public int getResponseCode() throws IOException { in getResponseCode() method in HttpsServiceConnection
78 return mConnection.getResponseCode(); in getResponseCode()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DNetworkUriImageRequest.java62 if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) { in isGif()
94 if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) { in loadBitmapInternal()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DVerifyCredentialResponse.java170 public @ResponseCode int getResponseCode() { in getResponseCode() method in VerifyCredentialResponse
187 int responseCode = gateKeeperResponse.getResponseCode(); in fromGateKeeperResponse()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DAvrcpBipClient.java267 int responseCode = headerSet.getResponseCode(); in connect()
304 int responseCode = headerSet.getResponseCode(); in refreshObexSession()
371 int responseCode = request.getResponseCode(); in notifyCaller()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DJavaNetHttpHelper.java151 if (c.getResponseCode() != HttpURLConnection.HTTP_OK) { in getResponseFrom()
152 throw new HttpException(c.getResponseCode(), c.getResponseMessage()); in getResponseFrom()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordManager.java578 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSyntheticPasswordAndSid()
603 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSidForUser()
605 + " response: " + response.getResponseCode()); in newSidForUser()
780 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in createPasswordBasedSyntheticPassword()
1009 if (result.gkResponse.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in unwrapPasswordBasedSyntheticPassword()
1026 int responseCode = response.getResponseCode(); in unwrapPasswordBasedSyntheticPassword()
1039 if (reenrollResponse.getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in unwrapPasswordBasedSyntheticPassword()
1102 if (response.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK || in unwrapTokenBasedSyntheticPassword()
1201 int responseCode = response.getResponseCode(); in verifyChallengeInternal()
1213 if (response.getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in verifyChallengeInternal()
H A DBiometricDeferredQueue.java274 if (response.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in requestHatFromGatekeeperPassword()
276 + response.getResponseCode()); in requestHatFromGatekeeperPassword()
/aosp12/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
H A DHttp.java91 int responseCode = e.getResponseCode(); in getOrPost()
151 int responseCode = connection.getResponseCode(); in checkResponseCode()
306 public int getResponseCode() { in getResponseCode() method in Http.HttpError
/aosp12/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
H A DWifiDownloadReceiver.java111 if (connection.getResponseCode() != HttpURLConnection.HTTP_OK) { in doInBackground()
112 return "Server returned HTTP " + connection.getResponseCode() in doInBackground()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
H A DHttpsServiceConnectionTest.java125 when(mHttpsURLConnection.getResponseCode()).thenReturn(testResponseCode); in verifyGetResponseCode()
127 assertEquals(testResponseCode, mHttpsServiceConnection.getResponseCode()); in verifyGetResponseCode()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMasClient.java136 if (DBG) Log.d(TAG, "Connection results" + headerset.getResponseCode()); in connect()
138 if (headerset.getResponseCode() == ResponseCodes.OBEX_HTTP_OK) { in connect()
/aosp12/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DWebContent.java52 public int getResponseCode() { in getResponseCode() method in WebContent
/aosp12/frameworks/av/media/mtp/
H A DMtpResponsePacket.h43 inline MtpResponseCode getResponseCode() const { return getContainerCode(); } in getResponseCode() function
/aosp12/frameworks/base/obex/javax/obex/
H A DOperation.java160 int getResponseCode() throws IOException; in getResponseCode() method
/aosp12/packages/apps/TV/src/com/android/tv/util/
H A DNetworkUtils.java47 if (connection.getResponseCode() == HttpURLConnection.HTTP_NO_CONTENT) { in isNetworkAvailable()

123