Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockscreenFrpTest.java55 mService.verifyCredential(newPin("1234"), 0, USER_FRP).getResponseCode()); in testFrpCredential_setPin()
64 mService.verifyCredential(newPattern("4321"), 0, USER_FRP).getResponseCode()); in testFrpCredential_setPattern()
73 mService.verifyCredential(newPassword("4321"), 0, USER_FRP).getResponseCode()); in testFrpCredential_setPassword()
83 mService.verifyCredential(newPattern("5678"), 0, USER_FRP).getResponseCode()); in testFrpCredential_changeCredential()
101 mService.verifyCredential(newPin("1234"), 0, USER_FRP).getResponseCode()); in testFrpCredential_cannotVerifyAfterProvsioning()
116 mService.verifyCredential(newPin("1234"), 0, USER_FRP).getResponseCode()); in testFrpCredential_legacyPinTypePersistentData()
132 mService.verifyCredential(newPin("1234"), 0, USER_FRP).getResponseCode()); in testFrpCredential_legacyPasswordTypePersistentData()
DSyntheticPasswordTests.java123 .getResponseCode()); in testSyntheticPasswordChangeCredential()
135 .getResponseCode()); in testSyntheticPasswordVerifyCredential()
139 .getResponseCode()); in testSyntheticPasswordVerifyCredential()
157 .getResponseCode()); in testSyntheticPasswordClearCredential()
170 .getResponseCode()); in testSyntheticPasswordChangeCredentialKeepsAuthSecret()
187 .getResponseCode()); in testSyntheticPasswordVerifyPassesPrimaryUserAuthSecret()
198 .getResponseCode()); in testSecondaryUserDoesNotPassAuthSecret()
249 mService.verifyCredential(password, 0, PRIMARY_USER_ID).getResponseCode(); in testTokenBasedResetPassword()
263 .getResponseCode()); in testTokenBasedResetPassword()
278 mService.verifyCredential(password, 0, PRIMARY_USER_ID).getResponseCode(); in testTokenBasedClearPassword()
[all …]
DLockSettingsServiceTests.java133 .getResponseCode()); in testManagedProfileUnifiedChallenge()
190 .getResponseCode()); in testManagedProfileSeparateChallenge()
196 .getResponseCode()); in testManagedProfileSeparateChallenge()
207 .getResponseCode()); in testManagedProfileSeparateChallenge()
491 assertEquals(GateKeeperResponse.RESPONSE_OK, response.getResponseCode()); in assertVerifyCredentials()
511 badCredential, challenge, userId).getResponseCode()); in assertVerifyCredentials()
/frameworks/base/core/java/com/android/internal/widget/
DVerifyCredentialResponse.java120 public int getResponseCode() { in getResponseCode() method in VerifyCredentialResponse
139 int responseCode = gateKeeperResponse.getResponseCode(); in fromGateKeeperResponse()
DLockPatternUtils.java390 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyCredential()
392 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in verifyCredential()
422 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in checkCredential()
424 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in checkCredential()
456 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyTiedProfileChallenge()
458 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in verifyTiedProfileChallenge()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnection.java77 public int getResponseCode() throws IOException { in getResponseCode() method in HttpsServiceConnection
78 return mConnection.getResponseCode(); in getResponseCode()
/frameworks/av/media/mtp/
DMtpResponsePacket.h43 inline MtpResponseCode getResponseCode() const { return getContainerCode(); } in getResponseCode() function
DMtpDevice.cpp712 return mResponse.getResponseCode() == MTP_RESPONSE_OK; in readData()
894 return mResponse.getResponseCode(); in readResponse()
903 return mResponse.getResponseCode(); in readResponse()
DMtpServer.cpp227 ALOGV("sending response %04X", mResponse.getResponseCode()); in run()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DURLFetcher.java107 if (connection.getResponseCode() != HttpURLConnection.HTTP_OK) { in getWebContentFromUrl()
108 Log.e(TAG, "The responses code is not 200 but " + connection.getResponseCode()); in getWebContentFromUrl()
/frameworks/base/obex/javax/obex/
DOperation.java160 int getResponseCode() throws IOException; in getResponseCode() method
DHeaderSet.java703 public int getResponseCode() throws IOException { in getResponseCode() method in HeaderSet
DClientSession.java218 op.getResponseCode(); in delete()
DServerOperation.java696 public int getResponseCode() throws IOException { in getResponseCode() method in ServerOperation
DClientOperation.java209 public synchronized int getResponseCode() throws IOException { in getResponseCode() method in ClientOperation
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnectionTest.java125 when(mHttpsURLConnection.getResponseCode()).thenReturn(testResponseCode); in verifyGetResponseCode()
127 assertEquals(testResponseCode, mHttpsServiceConnection.getResponseCode()); in verifyGetResponseCode()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java575 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSyntheticPasswordAndSid()
600 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSidForUser()
602 + " response: " + response.getResponseCode()); in newSidForUser()
777 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in createPasswordBasedSyntheticPassword()
1006 if (result.gkResponse.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in unwrapPasswordBasedSyntheticPassword()
1022 int responseCode = response.getResponseCode(); in unwrapPasswordBasedSyntheticPassword()
1035 if (reenrollResponse.getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in unwrapPasswordBasedSyntheticPassword()
1098 if (response.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK || in unwrapTokenBasedSyntheticPassword()
1191 int responseCode = response.getResponseCode(); in verifyChallenge()
1202 if (response.getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in verifyChallenge()
DLockSettingsService.java1834 if (vcr.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in setUserKeyProtection()
1836 + vcr.getResponseCode()); in setUserKeyProtection()
2023 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in doVerifyCredential()
2044 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in doVerifyCredential()
2066 if (parentResponse.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in verifyTiedProfileChallenge()
2120 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyCredential()
2158 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in verifyCredential()
2271 .getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in checkVoldPassword()
2723 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in spBasedDoVerifyCredential()
2728 if (response.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in spBasedDoVerifyCredential()
[all …]
/frameworks/base/core/java/android/service/gatekeeper/
DGateKeeperResponse.java129 public int getResponseCode() { in getResponseCode() method in GateKeeperResponse
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGpsPsdsDownloader.java133 int statusCode = connection.getResponseCode(); in doDownload()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java488 if (mServiceConnection.getResponseCode() != HttpURLConnection.HTTP_OK) { in getCert()
490 + " is not OK, but " + mServiceConnection.getResponseCode()); in getCert()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java451 when(mHttpsServiceConnection.getResponseCode()).thenReturn( in verifyRetrieveTrustRootCertsWithErrorInHTTPSResponse()
499 when(mHttpsServiceConnection.getResponseCode()).thenReturn( in verifyRetrieveTrustRootCertsWithoutError()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java285 response = mConnection.getResponseCode(); in seekTo()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java250 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal()
/frameworks/base/config/
Dboot-image-profile.txt30773 HSPLcom/android/internal/widget/VerifyCredentialResponse;->getResponseCode()I
31185 HSPLcom/android/okhttp/internal/huc/DelegatingHttpsURLConnection;->getResponseCode()I
31210 HSPLcom/android/okhttp/internal/huc/HttpURLConnectionImpl;->getResponseCode()I
31234 HSPLcom/android/okhttp/internal/huc/HttpsURLConnectionImpl;->getResponseCode()I

12