/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/ |
D | FederatedComputeManagingServiceDelegateTest.java | 298 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/ |
D | FledgeApiCallStatsMatcher.java | 32 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/ |
D | AppSetIdServiceImplTest.java | 281 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/ |
D | AdIdServiceImplTest.java | 323 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/ |
D | TopicsServiceImplTest.java | 1026 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/ |
D | AdServicesExtDataStorageServiceManagerTest.java | 468 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/ |
D | BaseUsePermissionTest.kt | 634 expectedResultCode: Int, in <lambda>() 646 expectedResultCode, in <lambda>()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestValidation.cpp | 3307 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()
|