/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | PropertyHalServiceTest.java | 292 private Object deliverResult(InvocationOnMock invocation, Integer expectedServiceRequestId, in deliverResult() 303 private Object deliverResult(InvocationOnMock invocation, Integer expectedServiceRequestId, in deliverResult() 351 private Object deliverOkayGetResult(InvocationOnMock invocation) { in deliverOkayGetResult() 355 private Object deliverOkayGetResult(InvocationOnMock invocation, HalPropValue propValue) { in deliverOkayGetResult() 360 private Object deliverOkayGetResult(InvocationOnMock invocation, in deliverOkayGetResult() 366 private Object deliverOkaySetResult(InvocationOnMock invocation) { in deliverOkaySetResult() 370 private Object deliverOkaySetResult(InvocationOnMock invocation, in deliverOkaySetResult() 376 private Object deliverTryAgainGetResult(InvocationOnMock invocation) { in deliverTryAgainGetResult() 380 private Object deliverTryAgainGetResult(InvocationOnMock invocation, in deliverTryAgainGetResult() 386 private Object deliverTryAgainSetResult(InvocationOnMock invocation) { in deliverTryAgainSetResult() [all …]
|
/aosp_15_r20/packages/modules/Connectivity/thread/tests/unit/src/android/net/thread/ |
D | ThreadNetworkControllerTest.java | 105 private static IStateCallback getStateCallback(InvocationOnMock invocation) { in getStateCallback() 109 private static IOperationReceiver getOperationReceiver(InvocationOnMock invocation) { in getOperationReceiver() 113 private static IOperationReceiver getJoinReceiver(InvocationOnMock invocation) { in getJoinReceiver() 117 private static IOperationReceiver getScheduleMigrationReceiver(InvocationOnMock invocation) { in getScheduleMigrationReceiver() 122 InvocationOnMock invocation) { in getSetTestNetworkAsUpstreamReceiver() 126 private static IOperationReceiver getSetChannelMaxPowersReceiver(InvocationOnMock invocation) { in getSetChannelMaxPowersReceiver() 131 InvocationOnMock invocation) { in getCreateDatasetReceiver() 136 InvocationOnMock invocation) { in getOperationalDatasetCallback() 141 InvocationOnMock invocation) { in getActivateEphemeralKeyModeReceiver() 146 InvocationOnMock invocation) { in getDeactivateEphemeralKeyModeReceiver() [all …]
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/util/fipstools/acvp/acvptool/test/ |
H A D | check_expected.go | 42 type invocation struct { struct 43 toolPath string 44 wrapperPath string 45 inPath string 46 expectedPath string 47 configPath string 135 func worker(wg *sync.WaitGroup, work <-chan invocation, numFailed *uint32) { 146 func doTest(test invocation) error {
|
/aosp_15_r20/external/boringssl/src/util/fipstools/acvp/acvptool/test/ |
H A D | check_expected.go | 42 type invocation struct { struct 43 toolPath string 44 wrapperPath string 45 inPath string 46 expectedPath string 47 configPath string 135 func worker(wg *sync.WaitGroup, work <-chan invocation, numFailed *uint32) { 146 func doTest(test invocation) error {
|
/aosp_15_r20/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
H A D | ReturnsArgumentAt.java | 53 public Object answer(InvocationOnMock invocation) throws Throwable { in answer() 68 public void validateFor(InvocationOnMock invocation) { in validateFor() 74 private int inferWantedArgumentPosition(InvocationOnMock invocation) { in inferWantedArgumentPosition() 81 …private void validateIndexWithinInvocationRange(InvocationOnMock invocation, int argumentPosition)… in validateIndexWithinInvocationRange() 89 private void validateArgumentTypeCompatibility(Invocation invocation, int argumentPosition) { in validateArgumentTypeCompatibility() 109 …private boolean wantedArgumentPositionIsValidForInvocation(InvocationOnMock invocation, int argume… in wantedArgumentPositionIsValidForInvocation() 120 private Class<?> inferArgumentType(Invocation invocation, int argumentIndex) { in inferArgumentType()
|
/aosp_15_r20/external/mockito/src/test/java/org/mockito/internal/invocation/ |
H A D | InvocationMatcherTest.java | 45 Invocation invocation = new InvocationBuilder().toInvocation(); in should_be_a_citizen_of_hashes() local 103 …InvocationMatcher invocation = new InvocationBuilder().method(method).arg(sameArg).toInvocationMat… in should_not_be_similar_if_is_overloaded_but_used_with_the_same_arg() local 114 …InvocationMatcher invocation = new InvocationBuilder().mock(mock).method(method).arg("foo").toInvo… in should_be_similar_if_is_overloaded_but_used_with_different_arg() local 123 Invocation invocation = new InvocationBuilder().args("1", 100).toInvocation(); in should_capture_arguments_from_invocation() local 139 Invocation invocation = getLastInvocation(); in should_match_varargs_using_any_varargs() local 153 Invocation invocation = getLastInvocation(); in should_capture_varargs_as_vararg() local 168 Invocation invocation = getLastInvocation(); in should_capture_arguments_when_args_count_does_NOT_match() local
|
/aosp_15_r20/packages/modules/Uwb/framework/tests/src/android/uwb/ |
D | RangingSessionTest.java | 833 public Object answer(InvocationOnMock invocation) { in answer() 850 public Object answer(InvocationOnMock invocation) { in answer() 867 public Object answer(InvocationOnMock invocation) { in answer() 884 public Object answer(InvocationOnMock invocation) { in answer() 901 public Object answer(InvocationOnMock invocation) { in answer() 918 public Object answer(InvocationOnMock invocation) { in answer() 935 public Object answer(InvocationOnMock invocation) { in answer() 952 public Object answer(InvocationOnMock invocation) { in answer() 969 public Object answer(InvocationOnMock invocation) { in answer() 981 public Object answer(InvocationOnMock invocation) { in answer() [all …]
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/ |
D | MeasurementCompatibleManagerTest.java | 165 (invocation) -> { in testRegisterSource_adIdEnabled_register() argument 204 (invocation) -> { in testRegisterSource_adIdZeroOut_register() argument 242 (invocation) -> { in testRegisterSource_adIdDisabled_register() argument 281 (invocation) -> { in testRegisterSource_adIdTimeOut_register() argument 487 (invocation) -> { in testRegisterWebSource_adIdEnabled_register() argument 525 (invocation) -> { in testRegisterWebSource_adIdZeroOut_register() argument 562 (invocation) -> { in testRegisterWebSource_adIdDisabled_register() argument 600 (invocation) -> { in testRegisterWebSource_adIdTimeOut_register() argument 711 (invocation) -> { in testRegisterWebTrigger_adIdEnabled_register() argument 749 (invocation) -> { in testRegisterWebTrigger_adIdZeroOut_register() argument [all …]
|
/aosp_15_r20/tools/tradefederation/core/proto/resultdb/ |
D | recorder.proto | 117 Invocation invocation = 2; field 159 Invocation invocation = 1 [ (google.api.field_behavior) = REQUIRED ]; field 194 string invocation = 1 [ (google.api.field_behavior) = REQUIRED ]; field 201 string invocation = 1 [ (google.api.field_behavior) = REQUIRED ]; field 229 string invocation = 1 [ (google.api.field_behavior) = REQUIRED ]; field 257 string invocation = 1 [ (google.api.field_behavior) = REQUIRED ]; field 272 string invocation = 1 [ (google.api.field_behavior) = REQUIRED ]; field
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/fixture/ |
D | TestableSystemProperties.java | 80 private static String getStringValueWithoutDefault(InvocationOnMock invocation) { in getStringValueWithoutDefault() 87 private static String getStringValue(InvocationOnMock invocation) { in getStringValue() 95 private static Integer getIntValue(InvocationOnMock invocation) { in getIntValue() 106 private static Long getLongValue(InvocationOnMock invocation) { in getLongValue() 117 private static Boolean getBooleanValue(InvocationOnMock invocation) { in getBooleanValue() 128 private static <T> void logGetterCall(InvocationOnMock invocation, T valueToReturn) { in logGetterCall()
|
/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | AidlVehicleStubUnitTest.java | 297 doAnswer((invocation) -> { in testGetAidlSmallData() argument 324 doAnswer((invocation) -> { in testGetAidlLargeData() argument 361 doAnswer((invocation) -> { in testGetAidlError() argument 385 doAnswer((invocation) -> { in testGetAidlAsyncCallback() argument 432 doAnswer((invocation) -> { in testGetAsyncAidl() argument 469 doAnswer((invocation) -> { in testGetAsyncAidlError() argument 630 doAnswer((invocation) -> { in mockGetValues() argument 656 doAnswer((invocation) -> { in testGetAsyncAidlBinderDiedAfterRegisterCallback() argument 690 doAnswer((invocation) -> { in testGetAsyncAidlBinderDiedWhileRegisterCallback() argument 763 doAnswer((invocation) -> { in testGetAsyncAidlTimeoutMustNotTiggerAfterRequestFinished() argument [all …]
|
/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/ |
D | CarRemoteDeviceServiceTest.java | 501 doAnswer((invocation) -> { in testAppStateChanged() argument 562 doAnswer((invocation) -> { in testProcessObserverCallbackInvokedBeforeOccupantZoneCallback() argument 594 doAnswer((invocation) -> { in testOccupantZoneStateChanged() argument 649 doAnswer((invocation) -> { in testOccupantZonePowerStateChanged() argument 669 doAnswer((invocation) -> { in testUserStarting() argument 692 doAnswer((invocation) -> { in testUserBecameVisible() argument 715 doAnswer((invocation) -> { in testUserSwitching() argument 738 doAnswer((invocation) -> { in testUserAssigned() argument 761 doAnswer((invocation) -> { in testUserUnassigned() argument 785 doAnswer((invocation) -> { in testUserSwitched() argument
|
/aosp_15_r20/external/mockito/src/main/java/org/mockito/internal/invocation/ |
H A D | MatcherApplicationStrategy.java | 22 private final Invocation invocation; field in MatcherApplicationStrategy 28 …private MatcherApplicationStrategy(Invocation invocation, List<ArgumentMatcher<?>> matchers, Match… in MatcherApplicationStrategy() 52 …public static MatcherApplicationStrategy getMatcherApplicationStrategyFor(Invocation invocation, L… in getMatcherApplicationStrategyFor() 90 …private static MatcherApplicationType getMatcherApplicationType(Invocation invocation, List<Argume… in getMatcherApplicationType() 124 private static int varargLength(Invocation invocation) { in varargLength()
|
/aosp_15_r20/external/mockito/src/test/java/org/mockito/ |
H A D | StaticMockingExperimentTest.java | 61 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett… in verify_static_method() local 89 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett… in verification_failure_static_method() local 107 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett… in stubbing_static_method() local 130 Invocation invocation = Mockito.framework().getInvocationFactory() in do_answer_stubbing_static_method() local 150 …Invocation invocation = Mockito.framework().getInvocationFactory().createInvocation(mock, withSett… in verify_no_more_interactions() local
|
/aosp_15_r20/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
H A D | InvocationContainerImpl.java | 45 public void setInvocationForPotentialStubbing(MatchableInvocation invocation) { in setInvocationForPotentialStubbing() 67 Invocation invocation = invocationForStubbing.getInvocation(); in addAnswer() local 84 Object answerTo(Invocation invocation) throws Throwable { in answerTo() 88 public StubbedInvocationMatcher findAnswerFor(Invocation invocation) { in findAnswerFor() 118 public void setMethodForStubbing(MatchableInvocation invocation) { in setMethodForStubbing()
|
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | SatelliteRepositoryTest.kt | 79 .thenAnswer { invocation -> in <lambda>() method 96 ).thenAnswer { invocation -> in <lambda>() method 111 ).thenAnswer { invocation -> in <lambda>() method 162 .thenAnswer { invocation -> in <lambda>() method 193 .thenAnswer { invocation -> in <lambda>() method 221 ).thenAnswer { invocation -> in <lambda>() method 239 ).thenAnswer { invocation -> in <lambda>() method
|
/aosp_15_r20/external/mockito/src/test/java/org/mockito/internal/verification/ |
H A D | OnlyTest.java | 25 private final Invocation invocation; field in OnlyTest.VerificationDataStub 28 public VerificationDataStub(InvocationMatcher wanted, Invocation invocation) { in VerificationDataStub() 50 Invocation invocation = new InvocationBuilder().toInvocation(); in shouldMarkAsVerified() local 63 Invocation invocation = new InvocationBuilder().toInvocation(); in shouldNotMarkAsVerifiedWhenAssertionFailed() local
|
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/test/ |
D | c_interface_test.cpp | 113 int invocation = 0; in TEST() local 146 int invocation = 0; in TEST() local 183 int invocation = 0; in TEST() local 222 int invocation = 0; in TEST() local 248 int invocation = 0; in TEST() local 279 int invocation = 0; in TEST() local
|
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | c_interface_test.cpp | 113 int invocation = 0; in TEST() local 146 int invocation = 0; in TEST() local 183 int invocation = 0; in TEST() local 222 int invocation = 0; in TEST() local 248 int invocation = 0; in TEST() local 279 int invocation = 0; in TEST() local
|
/aosp_15_r20/external/angle/third_party/spirv-tools/src/test/ |
H A D | c_interface_test.cpp | 113 int invocation = 0; in TEST() local 146 int invocation = 0; in TEST() local 183 int invocation = 0; in TEST() local 222 int invocation = 0; in TEST() local 248 int invocation = 0; in TEST() local 279 int invocation = 0; in TEST() local
|
/aosp_15_r20/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
H A D | AtLeastXNumberOfInvocationsCheckerTest.java | 31 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldMarkActualInvocationsAsVerifiedInOrder() local 45 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldReportTooLittleInvocationsInOrder() local 62 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldMarkActualInvocationsAsVerified() local 75 Invocation invocation = new InvocationBuilder().simpleMethod().toInvocation(); in shouldReportTooLittleInvocations() local
|
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | BroadcastQueueTest.java | 155 doAnswer((invocation) -> { in setUp() argument 218 doAnswer((invocation) -> { in setUp() argument 230 doAnswer((invocation) -> { in setUp() argument 351 doAnswer((invocation) -> { in makeActiveProcessRecord() argument 362 doAnswer((invocation) -> { in makeActiveProcessRecord() argument 384 doAnswer((invocation) -> { in makeActiveProcessRecord() argument
|
/aosp_15_r20/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ |
D | TestUtils.java | 74 (invocation) -> { in makeSpyLogThrowExceptionForWtf() argument 81 (invocation) -> { in makeSpyLogThrowExceptionForWtf() argument 94 (invocation) -> { in makeSpyLogDoLogErrorForWtf() argument 104 (invocation) -> { in makeSpyLogDoLogErrorForWtf() argument
|
/aosp_15_r20/external/easymock/src/org/easymock/internal/ |
H A D | ExpectedInvocation.java | 31 private final Invocation invocation; field in ExpectedInvocation 38 public ExpectedInvocation(Invocation invocation, in ExpectedInvocation() 43 private ExpectedInvocation(Invocation invocation, in ExpectedInvocation() 52 private List<IArgumentMatcher> createMissingMatchers(Invocation invocation, in createMissingMatchers()
|
/aosp_15_r20/packages/services/Car/tests/CarServiceTest/src/com/android/car/telemetry/ |
D | CarTelemetryManagerSpyServiceTest.java | 116 doAnswer((invocation) -> { in testGetFinishedReport_multipleReports() argument 143 doAnswer((invocation) -> { in testGetFinishedReport_validFdButNoReport() argument 165 doAnswer((invocation) -> { in testGetFinishedReport_telemetryError() argument 186 doAnswer((invocation) -> { in testGetFinishedReport_badFd_shouldReturnRuntimeErrorStatus() argument
|