Home
last modified time | relevance | path

Searched refs:setStatusCode (Results 1 – 25 of 88) sorted by relevance

1234

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/
DMeasurementErrorResponseTest.java66 .setStatusCode(STATUS_INVALID_ARGUMENT) in testAdServicesException_invalidArgument_expectIllegalArgumentException()
75 new MeasurementErrorResponse.Builder().setStatusCode(STATUS_INTERNAL_ERROR).build(); in testAdServicesException_internalError_expectIllegalStateException()
83 new MeasurementErrorResponse.Builder().setStatusCode(STATUS_IO_ERROR).build(); in testAdServicesException_ioError_expectIOException()
91 .setStatusCode(STATUS_PERMISSION_NOT_REQUESTED) in testAdServicesException_unauthorized_expectSecurityException()
100 new MeasurementErrorResponse.Builder().setStatusCode(Integer.MAX_VALUE).build(); in testAdServicesException_unrecognized_expectIllegalStateException()
113 .setStatusCode(RESULT_CODE) in createExample()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/
DFledgeErrorResponseTest.java36 .setStatusCode(AdServicesStatusUtils.STATUS_INTERNAL_ERROR) in testBuildFledgeErrorResponse()
50 .setStatusCode(AdServicesStatusUtils.STATUS_INTERNAL_ERROR) in testWriteToParcel()
68 .setStatusCode(AdServicesStatusUtils.STATUS_SUCCESS) in testWriteToParcelEmptyMessage()
96 .setStatusCode(AdServicesStatusUtils.STATUS_INTERNAL_ERROR) in testFledgeErrorResponseDescribeContents()
108 .setStatusCode(AdServicesStatusUtils.STATUS_INTERNAL_ERROR) in testToString()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/encryption/
DFederatedComputeKeyFetchManagerTest.java172 .setStatusCode(200) in testFetchAndPersistActiveKeys_scheduled_success()
192 .setStatusCode(200) in testFetchAndPersistActiveKeys_nonScheduled_success()
286 .setStatusCode(200) in testFetchAndPersistActiveKeys_scheduledNoDeletion()
320 .setStatusCode(200) in testFetchAndPersistActiveKeys_nonScheduledNoDeletion()
354 .setStatusCode(200) in testFetchAndPersistActiveKeys_scheduledWithDeletion()
393 .setStatusCode(200) in testFetchAndPersistActiveKeys_nonScheduledWithDeletion()
435 .setStatusCode(200) in testGetOrFetchActiveKeys_fetch()
464 .setStatusCode(200) in testGetOrFetchActiveKeys_noFetch()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/stats/
DMockingPlatformLoggerTest.java260 .setStatusCode(0) in testAddStatsToQueueLocked_zeroCapacity()
286 .setStatusCode(0) in testAddStatsToQueueLocked_negativeCapacity()
312 .setStatusCode(0) in testAddStatsToQueueLocked_oneApi()
321 .setStatusCode(0) in testAddStatsToQueueLocked_oneApi()
355 .setStatusCode(0) in testAddStatsToQueueLocked_capacityChanged()
364 .setStatusCode(0) in testAddStatsToQueueLocked_capacityChanged()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DFederatedComputeHttpResponseTest.java53 .setStatusCode(responseCode) in testBuildWithAllValues()
67 new FederatedComputeHttpResponse.Builder().setStatusCode(responseCode).build(); in testBuildWithMinimalRequiredValues()
90 .setStatusCode(200) in testGetBody_success()
DHttpFederatedProtocolTest.java191 new FederatedComputeHttpResponse.Builder().setStatusCode(200).build();
389 new FederatedComputeHttpResponse.Builder().setStatusCode(404).build(); in testCreateTaskAssignmentFailed()
486 .setStatusCode(200) in testCreateTaskAssignmentRejection()
506 new FederatedComputeHttpResponse.Builder().setStatusCode(404).build(); in testTaskAssignmentSuccessPlanFetchFailed()
539 new FederatedComputeHttpResponse.Builder().setStatusCode(404).build(); in testTaskAssignmentSuccessCheckpointDataFetchFailed()
711 new FederatedComputeHttpResponse.Builder().setStatusCode(503).build(); in testReportResultFailed()
902 new FederatedComputeHttpResponse.Builder().setStatusCode(503).build(); in testReportResultSuccessUploadFailed()
979 .setStatusCode(200) in createPlanHttpResponse()
996 .setStatusCode(200) in checkpointHttpResponse()
1052 .setStatusCode(200) in createReportResultHttpResponse()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/stats/
DAppSearchStatsTest.java43 .setStatusCode(TEST_STATUS_CODE) in testAppSearchStats_CallStats()
92 .setStatusCode(TEST_STATUS_CODE) in testAppSearchStats_PutDocumentStats()
153 .setStatusCode(TEST_STATUS_CODE) in testAppSearchStats_InitializeStats()
228 .setStatusCode(TEST_STATUS_CODE) in testAppSearchStats_SearchStats()
316 .setStatusCode(TEST_STATUS_CODE) in testAppSearchStats_SetSchemaStats()
394 .setStatusCode(TEST_STATUS_CODE) in testAppSearchStats_SchemaMigrationStats()
433 .setStatusCode(TEST_STATUS_CODE) in testAppSearchStats_RemoveStats()
463 .setStatusCode(TEST_STATUS_CODE) in testAppSearchStats_OptimizeStats()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraMulticastListUpdateStatusCode.java73 .setStatusCode(bundle.getInt(KEY_STATUS_CODE)) in parseVersion1()
81 public FiraMulticastListUpdateStatusCode.Builder setStatusCode(int statusCode) { in setStatusCode() method in FiraMulticastListUpdateStatusCode.Builder
DFiraStatusCode.java68 return new FiraStatusCode.Builder().setStatusCode(bundle.getInt(KEY_STATUS_CODE)).build(); in parseVersion1()
79 public FiraStatusCode.Builder setStatusCode(int statusCode) { in setStatusCode() method in FiraStatusCode.Builder
DFiraDataTransferPhaseConfigStatusCode.java74 .setStatusCode(bundle.getInt(KEY_STATUS_CODE)) in parseVersion1()
82 public FiraDataTransferPhaseConfigStatusCode.Builder setStatusCode(int statusCode) { in setStatusCode() method in FiraDataTransferPhaseConfigStatusCode.Builder
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DAdFilteringProcessAdSelectionReportedStats.java101 .setStatusCode(0) in builder()
120 public abstract Builder setStatusCode(int value); in setStatusCode() method in AdFilteringProcessAdSelectionReportedStats.Builder
DAdFilteringLoggerImpl.java87 public void setStatusCode(int statusCode) { in setStatusCode() method in AdFilteringLoggerImpl
262 .setStatusCode(mStatusCode) in getAdFilteringProcessAdSelectionReportedStats()
DAdFilteringLogger.java26 void setStatusCode(int statusCode); in setStatusCode() method
DAdCounterHistogramUpdaterReportedStats.java61 public abstract Builder setStatusCode(int value); in setStatusCode() method in AdCounterHistogramUpdaterReportedStats.Builder
DAdFilteringLoggerNoOp.java21 public void setStatusCode(int statusCode) {} in setStatusCode() method in AdFilteringLoggerNoOp
DGetAdSelectionDataApiCalledStats.java58 public abstract Builder setStatusCode(@AdServicesStatusUtils.StatusCode int statusCode); in setStatusCode() method in GetAdSelectionDataApiCalledStats.Builder
DAdFilteringProcessJoinCAReportedStats.java96 public abstract Builder setStatusCode(int value); in setStatusCode() method in AdFilteringProcessJoinCAReportedStats.Builder
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DGetAdSelectionDataApiCalledStatsTest.java45 .setStatusCode(STATUS_CODE) in testBuildGetAdSelectionDataApiCalledStats()
61 .setStatusCode(STATUS_CODE) in testBuildGetAdSelectionDataApiCalledStats_WithCoordinatorSource()
DAdCounterHistogramUpdaterReportedStatsTest.java35 .setStatusCode(STATUS_CODE) in testBuildAdCounterHistogramUpdaterReportedStats()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementHttpResponseTest.java35 new MeasurementHttpResponse.Builder().setStatusCode(responseCode).build(); in testBuildWithMinimalRequiredValues()
50 .setStatusCode(responseCode) in testBuildWithAllValues()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java524 .setStatusCode(statusCode) in setSchema()
535 .setStatusCode(statusCode) in setSchema()
623 .setStatusCode(statusCode) in getSchema()
694 .setStatusCode(statusCode) in getNamespaces()
838 .setStatusCode(statusCode) in putDocuments()
992 .setStatusCode(statusCode) in getDocuments()
1068 .setStatusCode(statusCode) in search()
1160 .setStatusCode(statusCode) in globalSearch()
1259 .setStatusCode(statusCode) in getNextPage()
1329 .setStatusCode(statusCode) in invalidateNextPageToken()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsetid/
DAppSetIdWorker.java102 .setStatusCode(STATUS_SUCCESS) in getAppSetId()
132 .setStatusCode(resultParcel.getStatusCode()) in getAppSetId()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DHttpClient.java159 .setStatusCode(responseCode) in performRequest()
168 .setStatusCode(responseCode) in performRequest()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarData.java106 .setStatusCode(bundle.getInt(KEY_STATUS_CODE)) in parseBundleVersion1()
161 public RadarData.Builder setStatusCode(@StatusCode int statusCode) { in setStatusCode() method in RadarData.Builder
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiChipHidlImpl.java812 capsResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getCapabilitiesBeforeIfacesExistInternal()
814 capsResp.setStatusCode( in getCapabilitiesBeforeIfacesExistInternal()
821 capsResp.setStatusCode(WifiHal.WIFI_STATUS_ERROR_REMOTE_EXCEPTION); in getCapabilitiesBeforeIfacesExistInternal()
835 capsResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getCapabilitiesAfterIfacesExistInternal()
837 capsResp.setStatusCode( in getCapabilitiesAfterIfacesExistInternal()
845 capsResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getCapabilitiesAfterIfacesExistInternal()
847 capsResp.setStatusCode( in getCapabilitiesAfterIfacesExistInternal()
855 capsResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getCapabilitiesAfterIfacesExistInternal()
857 capsResp.setStatusCode( in getCapabilitiesAfterIfacesExistInternal()
864 capsResp.setStatusCode(WifiHal.WIFI_STATUS_ERROR_REMOTE_EXCEPTION); in getCapabilitiesAfterIfacesExistInternal()
[all …]

1234