Home
last modified time | relevance | path

Searched refs:expectedResultCode (Results 1 – 8 of 8) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/
DFederatedComputeManagingServiceDelegateTest.java298 TrainingOptions trainingOptions, int expectedResultCode) throws InterruptedException { in invokeScheduleAndVerifyLogging() argument
299 invokeScheduleAndVerifyLogging(trainingOptions, expectedResultCode, 100L); in invokeScheduleAndVerifyLogging()
303 TrainingOptions trainingOptions, int expectedResultCode, long latency) in invokeScheduleAndVerifyLogging() argument
326 assertThat(argument.getValue().getResponseCode()).isEqualTo(expectedResultCode); in invokeScheduleAndVerifyLogging()
332 private void invokeCancelAndVerifyLogging(String populationName, int expectedResultCode) in invokeCancelAndVerifyLogging() argument
334 invokeCancelAndVerifyLogging(populationName, expectedResultCode, 100); in invokeCancelAndVerifyLogging()
338 String populationName, int expectedResultCode, long latency) in invokeCancelAndVerifyLogging() argument
361 assertThat(argument.getValue().getResponseCode()).isEqualTo(expectedResultCode); in invokeCancelAndVerifyLogging()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/stats/
DFledgeApiCallStatsMatcher.java32 public FledgeApiCallStatsMatcher(int expectedApiName, int expectedResultCode) { in FledgeApiCallStatsMatcher() argument
34 mExpectedResultCode = expectedResultCode; in FledgeApiCallStatsMatcher()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/
DAppSetIdServiceImplTest.java281 Context context, int expectedResultCode, boolean checkLoggingStatus) in invokeGetAppSetIdAndVerifyError() argument
283 invokeGetAppSetIdAndVerifyError(context, expectedResultCode, mRequest, checkLoggingStatus); in invokeGetAppSetIdAndVerifyError()
288 int expectedResultCode, in invokeGetAppSetIdAndVerifyError() argument
317 callback.assertFailed(expectedResultCode); in invokeGetAppSetIdAndVerifyError()
331 assertThat(argument.getValue().getResultCode()).isEqualTo(expectedResultCode); in invokeGetAppSetIdAndVerifyError()
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/
DAdIdServiceImplTest.java323 Context context, int expectedResultCode, boolean checkLoggingStatus) in invokeGetAdIdAndVerifyError() argument
325 invokeGetAdIdAndVerifyError(context, expectedResultCode, mRequest, checkLoggingStatus); in invokeGetAdIdAndVerifyError()
330 int expectedResultCode, in invokeGetAdIdAndVerifyError() argument
348 callback.assertFailed(expectedResultCode); in invokeGetAdIdAndVerifyError()
366 assertThat(argument.getValue().getResultCode()).isEqualTo(expectedResultCode); in invokeGetAdIdAndVerifyError()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicsServiceImplTest.java1026 Context context, int expectedResultCode, boolean checkLoggingStatus) in invokeGetTopicsAndVerifyError() argument
1028 invokeGetTopicsAndVerifyError(context, expectedResultCode, mRequest, checkLoggingStatus); in invokeGetTopicsAndVerifyError()
1033 int expectedResultCode, in invokeGetTopicsAndVerifyError() argument
1054 callback.assertFailed(expectedResultCode); in invokeGetTopicsAndVerifyError()
1061 .isEqualTo(expectedResultCode); in invokeGetTopicsAndVerifyError()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceManagerTest.java468 private void verifyLogging(int apiName, int expectedResultCode) { in verifyLogging() argument
478 expect.that(stats.getResultCode()).isEqualTo(expectedResultCode); in verifyLogging()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DBaseUsePermissionTest.kt634 expectedResultCode: Int, in <lambda>()
646 expectedResultCode, in <lambda>()
/packages/modules/NeuralNetworks/runtime/test/
DTestValidation.cpp3307 int expectedResultCode = ANEURALNETWORKS_NO_ERROR; in TEST_F() local
3309 expectedResultCode = ANEURALNETWORKS_UNEXPECTED_NULL; in TEST_F()
3312 expectedResultCode = ANEURALNETWORKS_BAD_DATA; in TEST_F()
3316 expectedResultCode); in TEST_F()
3317 if (expectedResultCode == ANEURALNETWORKS_NO_ERROR) { in TEST_F()