Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java117 .getResponseCode()); in testPasswordMigration()
124 .getResponseCode()); in testPasswordMigration()
148 .getResponseCode()); in testSyntheticPasswordChangeCredential()
159 .getResponseCode()); in testSyntheticPasswordVerifyCredential()
163 .getResponseCode()); in testSyntheticPasswordVerifyCredential()
182 .getResponseCode()); in testSyntheticPasswordClearCredential()
197 .getResponseCode()); in testSyntheticPasswordChangeCredentialKeepsAuthSecret()
215 .getResponseCode()); in testSyntheticPasswordVerifyPassesPrimaryUserAuthSecret()
225 .getResponseCode()); in testSecondaryUserDoesNotPassAuthSecret()
279 .getResponseCode()); in testManagedProfileUnifiedChallengeMigration()
[all …]
DCachedSyntheticPasswordTests.java77 .getResponseCode()); in testSyntheticPasswordClearCredentialUntrusted()
95 LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID).getResponseCode()); in testSyntheticPasswordChangeCredentialUntrusted()
112 .getResponseCode()); in testUntrustedCredentialChangeMaintainsAuthSecret()
143 .getResponseCode()); in testUntrustedCredentialChangeBlockedIfSpNotCached()
146 .getResponseCode()); in testUntrustedCredentialChangeBlockedIfSpNotCached()
DLockSettingsServiceTests.java142 PRIMARY_USER_ID).getResponseCode()); in testManagedProfileUnifiedChallenge()
200 PRIMARY_USER_ID).getResponseCode()); in testManagedProfileSeparateChallenge()
206 MANAGED_PROFILE_USER_ID).getResponseCode()); in testManagedProfileSeparateChallenge()
217 MANAGED_PROFILE_USER_ID).getResponseCode()); in testManagedProfileSeparateChallenge()
475 assertEquals(GateKeeperResponse.RESPONSE_OK, response.getResponseCode()); in assertVerifyCredentials()
493 credential.getBytes(), incorrectType, challenge, userId).getResponseCode()); in assertVerifyCredentials()
496 ("0" + credential).getBytes(), type, 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.java373 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyCredential()
375 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in verifyCredential()
392 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in checkCredential()
394 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in checkCredential()
479 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyTiedProfileChallenge()
481 } 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.cpp225 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnectionTest.java123 when(mHttpsURLConnection.getResponseCode()).thenReturn(testResponseCode); in verifyGetResponseCode()
125 assertEquals(testResponseCode, mHttpsServiceConnection.getResponseCode()); in verifyGetResponseCode()
/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/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java469 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSyntheticPasswordAndSid()
490 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSidForUser()
664 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in createPasswordBasedSyntheticPassword()
882 if (result.gkResponse.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in unwrapPasswordBasedSyntheticPassword()
891 int responseCode = response.getResponseCode(); in unwrapPasswordBasedSyntheticPassword()
897 if (reenrollResponse.getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in unwrapPasswordBasedSyntheticPassword()
953 if (response.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK || in unwrapTokenBasedSyntheticPassword()
1041 int responseCode = response.getResponseCode(); in verifyChallenge()
1047 if (response.getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in verifyChallenge()
DLockSettingsService.java1627 if (vcr.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in setUserKeyProtection()
1629 + vcr.getResponseCode()); in setUserKeyProtection()
1777 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in doVerifyCredential()
1808 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in doVerifyCredential()
1836 if (parentResponse.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in verifyTiedProfileChallenge()
1924 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyCredential()
1963 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in verifyCredential()
2038 .getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in checkVoldPassword()
2049 .getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in checkVoldPassword()
2531 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in spBasedDoVerifyCredential()
[all …]
/frameworks/base/core/java/android/service/gatekeeper/
DGateKeeperResponse.java127 public int getResponseCode() { in getResponseCode() method in GateKeeperResponse
/frameworks/base/services/core/java/com/android/server/location/
DGpsPsdsDownloader.java133 int statusCode = connection.getResponseCode(); in doDownload()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java431 if (mServiceConnection.getResponseCode() != HttpURLConnection.HTTP_OK) { in getCert()
433 + " is not OK, but " + mServiceConnection.getResponseCode()); in getCert()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java361 when(mHttpsServiceConnection.getResponseCode()).thenReturn( in verifyRetrieveTrustRootCertsWithErrorInHTTPSResponse()
409 when(mHttpsServiceConnection.getResponseCode()).thenReturn( in verifyRetrieveTrustRootCertsWithoutError()
/frameworks/base/media/apex/java/android/media/
DMedia2HTTPConnection.java207 response = mConnection.getResponseCode(); in seekTo()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java284 response = mConnection.getResponseCode(); in seekTo()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java252 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal()

12