/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | FetchCustomAudienceImplTest.java | 330 assertEquals(STATUS_UNAUTHORIZED, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_invalidPackageName_throws() 360 assertEquals(STATUS_RATE_LIMIT_REACHED, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_throttled_throws() 392 assertEquals(STATUS_BACKGROUND_CALLER, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_failedForegroundCheck_throws() 425 assertEquals(STATUS_CALLER_NOT_ALLOWED, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_failedEnrollmentCheck_throws() 458 assertEquals(STATUS_CALLER_NOT_ALLOWED, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_appCannotUsePPAPI_throws() 527 assertEquals(STATUS_INVALID_ARGUMENT, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_invalidRequest_quotaExhausted_throws() 558 assertEquals(STATUS_INVALID_ARGUMENT, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_invalidRequest_invalidName_throws() 585 assertEquals(STATUS_INVALID_ARGUMENT, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_invalidRequest_invalidActivationTime_throws() 617 assertEquals(STATUS_INVALID_ARGUMENT, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_invalidRequest_invalidExpirationTime_throws() 654 assertEquals(STATUS_INVALID_ARGUMENT, callback.mFledgeErrorResponse.getStatusCode()); in testImpl_invalidRequest_invalidUserBiddingSignals_throws() [all …]
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/ |
D | HttpClientTest.java | 96 assertThat(response.getStatusCode()).isEqualTo(200); in testPerformGetRequestSuccess() 114 assertThat(response.getStatusCode()).isEqualTo(503); in testPerformGetRequestFails() 134 assertThat(response.getStatusCode()).isEqualTo(503); in testPerformGetRequestFailsWithRetry() 172 assertThat(response.getStatusCode()).isEqualTo(200); in testPerformGetRequestSuccessWithRetry() 193 assertThat(response.getStatusCode()).isEqualTo(200); in testPerformPostRequestSuccess()
|
D | FederatedComputeHttpResponseTest.java | 58 assertThat(response.getStatusCode()).isEqualTo(responseCode); in testBuildWithAllValues() 69 assertThat(response.getStatusCode()).isEqualTo(responseCode); in testBuildWithMinimalRequiredValues()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/ |
D | FledgeErrorResponseTest.java | 40 expect.that(response.getStatusCode()) in testBuildFledgeErrorResponse() 59 expect.that(fromParcel.getStatusCode()) in testWriteToParcel() 76 expect.that(AdServicesStatusUtils.isSuccess(fromParcel.getStatusCode())).isTrue(); in testWriteToParcelEmptyMessage()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/ |
D | ApiCallRecord.java | 51 mStatusCode = callStats.getStatusCode(); in ApiCallRecord() 62 mStatusCode = stats.getStatusCode(); in ApiCallRecord() 86 public int getStatusCode() { in getStatusCode() method in ApiCallRecord
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/stats/ |
D | AppSearchStatsTest.java | 53 assertThat(cStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_CallStats() 112 assertThat(pStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_PutDocumentStats() 174 assertThat(iStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_InitializeStats() 257 assertThat(sStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_SearchStats() 345 assertThat(sStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_SetSchemaStats() 410 assertThat(sStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_SchemaMigrationStats() 442 assertThat(rStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_RemoveStats() 477 assertThat(oStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_OptimizeStats()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/ |
D | GetAdSelectionDataApiCalledStatsTest.java | 50 expect.that(stats.getStatusCode()).isEqualTo(STATUS_CODE); in testBuildGetAdSelectionDataApiCalledStats() 67 expect.that(stats.getStatusCode()).isEqualTo(STATUS_CODE); in testBuildGetAdSelectionDataApiCalledStats_WithCoordinatorSource()
|
D | AdFilteringProcessAdSelectionReportedStatsTest.java | 77 expect.that(stats.getStatusCode()).isEqualTo(STATUS_CODE); in testBuildAdFilteringProcessAdSelectionReportedStats() 110 expect.that(stats.getStatusCode()).isEqualTo(0); in testBuildAdFilteringProcessAdSelectionReportedStatsWithEmptyValues()
|
D | AdCounterHistogramUpdaterReportedStatsTest.java | 42 expect.that(stats.getStatusCode()).isEqualTo(STATUS_CODE); in testBuildAdCounterHistogramUpdaterReportedStats()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | MeasurementHttpResponseTest.java | 38 Assert.assertEquals(responseCode, response.getStatusCode()); in testBuildWithMinimalRequiredValues() 59 Assert.assertEquals(responseCode, response.getStatusCode()); in testBuildWithAllValues()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/ |
D | HttpFederatedProtocol.java | 183 if (reportResp.getStatusCode() == HTTP_UNAUTHORIZED_STATUS) { 244 if (response.getStatusCode() == HTTP_UNAUTHORIZED_STATUS) { 511 if (!HTTP_OK_STATUS.contains(httpResponse.getStatusCode())) { 512 throw new IllegalStateException(stage + " failed: " + httpResponse.getStatusCode()); 520 if (!HTTP_OK_OR_UNAUTHENTICATED_STATUS.contains(httpResponse.getStatusCode())) { 521 throw new IllegalStateException(stage + " failed: " + httpResponse.getStatusCode());
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/ |
D | AdServicesResponse.java | 86 public int getStatusCode() { in getStatusCode() method in AdServicesResponse 95 return getStatusCode() == STATUS_SUCCESS; in isSuccess()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchLoggerTest.java | 390 assertThat(iStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_initializeWithoutDocuments_success() 453 assertThat(iStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_initializeWithDocuments_success() 527 assertThat(iStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_INTERNAL_ERROR); in testLoggingStats_initialize_failure() 579 assertThat(pStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_putDocument_success() 637 assertThat(pStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_NOT_FOUND); in testLoggingStats_putDocument_failure() 724 assertThat(sStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_search_success() 775 assertThat(sStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_SECURITY_ERROR); in testLoggingStats_search_failure() 925 assertThat(sStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_search_join() 980 assertThat(rStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_remove_success() 1031 assertThat(rStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_NOT_FOUND); in testLoggingStats_remove_failure() [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/stats/ |
D | PlatformLogger.java | 293 stats.getStatusCode(), in logStatsImplLocked() 328 stats.getStatusCode(), in logStatsImplLocked() 414 stats.getStatusCode(), in logStatsImplLocked() 453 stats.getStatusCode(), in logStatsImplLocked() 505 stats.getStatusCode(), in logStatsImplLocked() 533 stats.getStatusCode(), in logStatsImplLocked()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/ |
D | MeasurementErrorResponseTest.java | 44 expect.that(response.getStatusCode()).isEqualTo(0); in testDefaults() 119 expect.that(response.getStatusCode()).isEqualTo(RESULT_CODE); in verifyExample()
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/filetransfer/ |
D | FileUploadController.java | 106 if (initialResponse.getStatusLine().getStatusCode() in uploadFile() 210 Log.i(TAG, "statusCode:" + response.getStatusLine().getStatusCode()); in executeAuthenticatedPost() 236 int statusCode = response.getStatusLine().getStatusCode();
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ReportEventImplTest.java | 851 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_UNAUTHORIZED); in testImplFailsWithInvalidPackageName() 919 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_BACKGROUND_CALLER); in testImplFailsWhenForegroundCheckFails() 1027 callbackSubsequentCall.mFledgeErrorResponse.getStatusCode()); in testImplFailsWhenThrottled() 1093 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_CALLER_NOT_ALLOWED); in testImplFailsWhenAppNotInAllowList() 1204 assertEquals(STATUS_INVALID_ARGUMENT, callback.mFledgeErrorResponse.getStatusCode()); in testImplFailsWithUnknownAdSelectionId() 1278 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_INVALID_ARGUMENT); in testReportEventImplFailsWithUnknownAdSelectionId_serverAuctionEnabled() 1371 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_INVALID_ARGUMENT); in testImplFailsWhenInteractionDataExceedsMaxSize() 1502 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_INVALID_ARGUMENT); in testReportInteractionFailsWhenInteractionKeyExceedsMaxSize()
|
/packages/providers/MediaProvider/jni/ |
D | com_android_providers_media_leveldb_LevelDBInstance.cpp | 14 static std::string getStatusCode(leveldb::Status status) { in getStatusCode() function 37 std::string statusCode = getStatusCode(status); in createLevelDBResult()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsHttpException.java | 47 public int getStatusCode() { in getStatusCode() method in MmsHttpException
|
/packages/services/Mms/src/com/android/mms/service/exception/ |
D | MmsHttpException.java | 47 public int getStatusCode() { in getStatusCode() method in MmsHttpException
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/ |
D | AdCounterHistogramUpdaterReportedStats.java | 28 public abstract int getStatusCode(); in getStatusCode() method in AdCounterHistogramUpdaterReportedStats
|
D | GetAdSelectionDataApiCalledStats.java | 36 public abstract int getStatusCode(); in getStatusCode() method in GetAdSelectionDataApiCalledStats
|
D | AdFilteringProcessJoinCAReportedStats.java | 25 public abstract int getStatusCode(); in getStatusCode() method in AdFilteringProcessJoinCAReportedStats
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/ |
D | MinimalCpmChatService.java | 133 && msg.getStatusCode() == Response.OK) { in sendSipResponse() 189 && response.getStatusCode() == Response.OK) { in handleResponse()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | MeasurementHttpResponse.java | 39 public int getStatusCode() { in getStatusCode() method in MeasurementHttpResponse
|