Home
last modified time | relevance | path

Searched refs:getStatusCode (Results 1 – 25 of 59) sorted by relevance

123

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/stats/
DAppSearchStatsTest.java53 assertThat(cStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_CallStats()
103 assertThat(pStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_PutDocumentStats()
157 assertThat(iStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_InitializeStats()
238 assertThat(sStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_SearchStats()
325 assertThat(sStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_SetSchemaStats()
390 assertThat(sStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_SchemaMigrationStats()
422 assertThat(rStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_RemoveStats()
457 assertThat(oStats.getStatusCode()).isEqualTo(TEST_STATUS_CODE); in testAppSearchStats_OptimizeStats()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/
DFledgeErrorResponseTest.java43 assertThat(response.getStatusCode()).isEqualTo(AdServicesStatusUtils.STATUS_INTERNAL_ERROR); in testBuildFledgeErrorResponse()
61 assertThat(fromParcel.getStatusCode()) in testWriteToParcel()
78 assertThat(AdServicesStatusUtils.isSuccess(fromParcel.getStatusCode())).isTrue(); in testWriteToParcelEmptyMessage()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DApiCallRecord.java57 mStatusCode = callStats.getStatusCode(); in ApiCallRecord()
68 mStatusCode = stats.getStatusCode(); in ApiCallRecord()
92 public int getStatusCode() { in getStatusCode() method in ApiCallRecord
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java373 assertThat(iStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_initializeWithoutDocuments_success()
436 assertThat(iStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_initializeWithDocuments_success()
509 assertThat(iStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_INTERNAL_ERROR); in testLoggingStats_initialize_failure()
561 assertThat(pStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_putDocument_success()
619 assertThat(pStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_NOT_FOUND); in testLoggingStats_putDocument_failure()
706 assertThat(sStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_search_success()
757 assertThat(sStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_SECURITY_ERROR); in testLoggingStats_search_failure()
907 assertThat(sStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_search_join()
962 assertThat(rStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_OK); in testLoggingStats_remove_success()
1013 assertThat(rStats.getStatusCode()).isEqualTo(AppSearchResult.RESULT_NOT_FOUND); in testLoggingStats_remove_failure()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/stats/
DPlatformLogger.java278 stats.getStatusCode(), in logStatsImplLocked()
312 stats.getStatusCode(), in logStatsImplLocked()
395 stats.getStatusCode(), in logStatsImplLocked()
432 stats.getStatusCode(), in logStatsImplLocked()
482 stats.getStatusCode(), in logStatsImplLocked()
509 stats.getStatusCode(), in logStatsImplLocked()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpClientTest.java96 assertThat(response.getStatusCode()).isEqualTo(200); in testPerformGetRequestSuccess()
121 assertThat(response.getStatusCode()).isEqualTo(503); in testPerformGetRequestFails()
144 assertThat(response.getStatusCode()).isEqualTo(200); in testPerformPostRequestSuccess()
DFederatedComputeHttpResponseTest.java56 assertThat(response.getStatusCode()).isEqualTo(responseCode); in testBuildWithAllValues()
67 assertThat(response.getStatusCode()).isEqualTo(responseCode); in testBuildWithMinimalRequiredValues()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementHttpResponseTest.java38 Assert.assertEquals(responseCode, response.getStatusCode()); in testBuildWithMinimalRequiredValues()
59 Assert.assertEquals(responseCode, response.getStatusCode()); in testBuildWithAllValues()
DMeasurementServiceImplTest.java177 Assert.assertEquals(status, errorContainer.get(0).getStatusCode()); in registerSourceAndAssertFailure()
282 Assert.assertEquals(status, errorContainer.get(0).getStatusCode()); in registerTriggerAndAssertFailure()
422 Assert.assertEquals(status, errorContainer.get(0).getStatusCode()); in deleteRegistrationsAndAssertFailure()
673 Assert.assertEquals(status, errorContainer.get(0).getStatusCode()); in registerWebSourceAndAssertFailure()
822 Assert.assertEquals(status, errorContainer.get(0).getStatusCode()); in registerWebTriggerAndAssertFailure()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesResponse.java86 public int getStatusCode() { in getStatusCode() method in AdServicesResponse
95 return getStatusCode() == STATUS_SUCCESS; in isSuccess()
DAdServicesStatusUtils.java198 return asException(adServicesResponse.getStatusCode()); in asException()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/
DMeasurementErrorResponseTest.java47 assertEquals(0, response.getStatusCode()); in testDefaults()
118 assertEquals(RESULT_CODE, response.getStatusCode()); in verifyExample()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/filetransfer/
DFileUploadController.java106 if (initialResponse.getStatusLine().getStatusCode() in uploadFile()
210 Log.i(TAG, "statusCode:" + response.getStatusLine().getStatusCode()); in executeAuthenticatedPost()
236 int statusCode = response.getStatusLine().getStatusCode();
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/
DMinimalCpmChatService.java133 && msg.getStatusCode() == Response.OK) { in sendSipResponse()
189 && response.getStatusCode() == Response.OK) { in handleResponse()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpException.java47 public int getStatusCode() { in getStatusCode() method in MmsHttpException
/packages/services/Mms/src/com/android/mms/service/exception/
DMmsHttpException.java47 public int getStatusCode() { in getStatusCode() method in MmsHttpException
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DInteractionReporterTest.java758 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_UNAUTHORIZED); in testReportInteractionFailsWithInvalidPackageName()
824 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_BACKGROUND_CALLER); in testReportInteractionFailsWhenForegroundCheckFails()
917 callbackSubsequentCall.mFledgeErrorResponse.getStatusCode()); in testReportInteractionFailsWhenThrottled()
980 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_CALLER_NOT_ALLOWED); in testReportInteractionFailsWhenAppNotInAllowList()
1088 assertEquals(callback.mFledgeErrorResponse.getStatusCode(), STATUS_INVALID_ARGUMENT); in testReportInteractionFailsWithUnknownAdSelectionId()
DUpdateAdCounterHistogramWorkerTest.java145 assertThat(callback.mFledgeErrorResponse.getStatusCode()) in testWorkerFeatureFlagDisabledStopsAndNotifiesFailure()
214 assertThat(callback.mFledgeErrorResponse.getStatusCode()) in testWorkerInvalidArgumentFailureStopsAndNotifiesFailure()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/
DFederatedComputeHttpResponse.java34 public int getStatusCode() { in getStatusCode() method in FederatedComputeHttpResponse
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementHttpResponse.java39 public int getStatusCode() { in getStatusCode() method in MeasurementHttpResponse
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraStatusCode.java42 public int getStatusCode() { in getStatusCode() method in FiraStatusCode
DFiraMulticastListUpdateStatusCode.java42 public int getStatusCode() { in getStatusCode() method in FiraMulticastListUpdateStatusCode
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/stats/
DMockingPlatformLoggerTest.java313 assertThat(apiCallRecord.getStatusCode()).isEqualTo(0); in testAddStatsToQueueLocked_oneApi()
357 assertThat(apiCallRecord.getStatusCode()).isEqualTo(0); in testAddStatsToQueueLocked_capacityChanged()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java88 public @WifiManager.AddNetworkResult.AddNetworkStatusCode int getStatusCode() { in getStatusCode() method in NetworkUpdateResult
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppInitiatorViewModel.java47 MutableLiveData<Integer> getStatusCode() { in getStatusCode() method in WifiDppInitiatorViewModel

123