Home
last modified time | relevance | path

Searched refs:InvocationOnMock (Results 1 – 25 of 97) sorted by relevance

1234

/aosp12/packages/services/Car/car-test-lib/src/android/car/test/mocks/
H A DBlockingAnswer.java25 import org.mockito.invocation.InvocationOnMock;
56 private final Visitor<InvocationOnMock> mInvocator;
61 private BlockingAnswer(long timeoutMs, @NonNull Visitor<InvocationOnMock> invocator, in BlockingAnswer()
84 @NonNull Visitor<InvocationOnMock> invocator) { in forVoidReturn()
97 @NonNull Visitor<InvocationOnMock> invocator, @Nullable T value) { in forReturn()
102 public T answer(InvocationOnMock invocation) throws Throwable { in answer()
H A DSyncAnswer.java21 import org.mockito.invocation.InvocationOnMock;
77 public T answer(InvocationOnMock invocation) throws Throwable { in answer()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRulesTest.java42 import org.mockito.invocation.InvocationOnMock;
76 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
87 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
100 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
310 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
329 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
342 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
370 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
390 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
403 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
[all …]
H A DIccPhoneBookInterfaceManagerTest.java41 import org.mockito.invocation.InvocationOnMock;
81 public Void answer(InvocationOnMock invocation) throws Throwable { in setUp()
122 public Void answer(InvocationOnMock invocation) throws Throwable { in testAdnEFLoadWithFailure()
165 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAdnRecord()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
H A DWatchlistLoggingHandlerTests.java46 import org.mockito.invocation.InvocationOnMock;
104 doAnswer((InvocationOnMock invocation) -> { in setUp()
112 doAnswer((InvocationOnMock invocation) -> { in setUp()
126 doAnswer((InvocationOnMock invocation) -> { in setUp()
146 doAnswer((InvocationOnMock invocation) -> { in setUp()
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
H A DRecommendationUtils.java31 import org.mockito.invocation.InvocationOnMock;
44 public Integer answer(InvocationOnMock invocation) throws Throwable { in createMockRecommendationDataManager()
53 public Collection<ChannelRecord> answer(InvocationOnMock invocation) in createMockRecommendationDataManager()
63 public ChannelRecord answer(InvocationOnMock invocation) throws Throwable { in createMockRecommendationDataManager()
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/util/
H A DTvInputManagerHelperTest.java34 import org.mockito.invocation.InvocationOnMock;
225 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMockTvInputManager()
235 public String answer(InvocationOnMock invocation) throws Throwable { in createMockTvInputManager()
245 public String answer(InvocationOnMock invocation) throws Throwable { in createMockTvInputManager()
255 public TvInputInfo answer(InvocationOnMock invocation) in createMockTvInputManager()
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
H A DMockCameraFactory.java24 import org.mockito.invocation.InvocationOnMock;
53 public Camera answer(InvocationOnMock invocation) { in createCameraWrapper()
59 public Void answer(InvocationOnMock invocation) throws Throwable { in createCameraWrapper()
/aosp12/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/
H A DShadowCar.java28 import org.mockito.invocation.InvocationOnMock;
56 public Void answer(InvocationOnMock invocation) { in createCar()
64 public Void answer(InvocationOnMock invocation) { in createCar()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DLockSettingsStorageTestable.java27 import org.mockito.invocation.InvocationOnMock;
45 public Void answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable()
60 public byte[] answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable()
H A DBaseLockSettingsServiceTests.java63 import org.mockito.invocation.InvocationOnMock;
174 public Boolean answer(InvocationOnMock invocation) throws Throwable { in setUp_baseServices()
220 public Void answer(InvocationOnMock invocation) throws Throwable { in setUpStorageManagerMock()
232 public Void answer(InvocationOnMock invocation) throws Throwable { in setUpStorageManagerMock()
245 public Void answer(InvocationOnMock invocation) throws Throwable { in setUpStorageManagerMock()
261 public Void answer(InvocationOnMock invocation) throws Throwable { in mockBiometricsHardwareFingerprintsAndTemplates()
276 public Void answer(InvocationOnMock invocation) throws Throwable { in mockBiometricsHardwareFingerprintsAndTemplates()
/aosp12/packages/apps/Car/Dialer/framework/fake/src/com/android/car/dialer/framework/
H A DMockCallManager.java45 import org.mockito.invocation.InvocationOnMock;
543 public Void answer(InvocationOnMock inv) { in mockCallFunctions()
552 public Void answer(InvocationOnMock inv) { in mockCallFunctions()
561 public Void answer(InvocationOnMock inv) { in mockCallFunctions()
569 public Void answer(InvocationOnMock inv) { in mockCallFunctions()
577 public Void answer(InvocationOnMock inv) { in mockCallFunctions()
585 public Void answer(InvocationOnMock inv) { in mockCallFunctions()
593 public Void answer(InvocationOnMock inv) { in mockCallFunctions()
601 public Void answer(InvocationOnMock inv) { in mockCallFunctions()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/backup/restore/
H A DPerformUnifiedRestoreTaskTest.java43 import org.mockito.invocation.InvocationOnMock;
86 public Boolean answer(InvocationOnMock invocation) throws Throwable { in setUp()
92 public String answer(InvocationOnMock invocation) throws Throwable { in setUp()
103 public Void answer(InvocationOnMock invocation) throws Throwable { in setUp()
/aosp12/frameworks/base/services/tests/servicestests/utils-mockito/com/android/server/testutils/
H A DMockitoUtils.kt22 import org.mockito.invocation.InvocationOnMock
70 fun <Type : Any?> whenever(mock: Type, block: InvocationOnMock.() -> Any?) =
79 override fun answer(invocation: InvocationOnMock?): Any? {
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/data/
H A DTvInputNewComparatorTest.java33 import org.mockito.invocation.InvocationOnMock;
60 public Boolean answer(InvocationOnMock invocation) throws Throwable { in testComparator()
69 public Boolean answer(InvocationOnMock invocation) throws Throwable { in testComparator()
/aosp12/frameworks/base/tests/utils/testutils/java/android/app/test/
H A DMockAnswerUtil.java19 import org.mockito.invocation.InvocationOnMock;
38 public final Object answer(InvocationOnMock invocation) throws Throwable { in answer()
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/
H A DFakeFactory.java46 import org.mockito.invocation.InvocationOnMock;
92 public String answer(final InvocationOnMock invocation) throws Throwable { in registerWithFakeContext()
101 public String answer(final InvocationOnMock invocation) throws Throwable { in registerWithFakeContext()
110 public String answer(final InvocationOnMock invocation) throws Throwable { in registerWithFakeContext()
/aosp12/frameworks/base/tests/testables/src/android/testing/
H A DTestableResources.java25 import org.mockito.invocation.InvocationOnMock;
83 private Object answer(InvocationOnMock invocationOnMock) throws Throwable { in answer()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
H A DNotificationAssistantPickerTest.java43 import org.mockito.invocation.InvocationOnMock;
134 (InvocationOnMock invocation) -> { in noDialogOnNoAssistantSelected()
145 (InvocationOnMock invocation) -> { in dialogTextHasAssistantName()
/aosp12/frameworks/base/core/tests/uwbtests/src/android/uwb/
H A DAdapterStateListenerTest.java35 import org.mockito.invocation.InvocationOnMock;
52 public Object answer(InvocationOnMock invocation) {
174 public Object answer(InvocationOnMock invocation) throws Throwable {
254 public Object answer(InvocationOnMock invocation) {
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
H A DProvisioningManagerTest.java53 import org.mockito.invocation.InvocationOnMock;
89 (InvocationOnMock invocation) -> { in setUp()
180 doAnswer((InvocationOnMock invocation) -> { in testListener_preFinalizationCompleted()
H A DProfileOwnerProvisioningControllerTest.java38 import org.mockito.invocation.InvocationOnMock;
101 public Void answer(InvocationOnMock invocationOnMock) throws Throwable { in testCancel()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
H A DEuiccControllerTest.java75 import org.mockito.invocation.InvocationOnMock;
1205 public Void answer(InvocationOnMock invocation) throws Exception { in callGetEid()
1223 public Void answer(InvocationOnMock invocation) throws Exception { in callGetOtaStatus()
1240 public Void answer(InvocationOnMock invocation) throws Exception { in callStartOtaUpdatingIfNecessary()
1258 public Void answer(InvocationOnMock invocation) throws Exception { in callGetEuiccInfo()
1276 public Void answer(InvocationOnMock invocation) throws Exception { in prepareGetDownloadableSubscriptionMetadataCall()
1303 public Void answer(InvocationOnMock invocation) throws Exception { in callGetDefaultDownloadableSubscriptionList()
1327 public Void answer(InvocationOnMock invocation) throws Exception { in callDownloadSubscription()
1355 public Void answer(InvocationOnMock invocation) throws Exception { in callDeleteSubscription()
1375 public Void answer(InvocationOnMock invocation) throws Exception { in callSwitchToSubscription()
[all …]
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/data/
H A DChannelImplTest.java41 import org.mockito.invocation.InvocationOnMock;
104 public ActivityInfo answer(InvocationOnMock invocation) { in setUp()
264 public Boolean answer(InvocationOnMock invocation) throws Throwable { in testComparator()
318 public Boolean answer(InvocationOnMock invocation) throws Throwable { in testComparatorLabel()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
H A DTestNotificationManager.java29 import org.mockito.invocation.InvocationOnMock;
54 private Void invoke(InvocationOnMock invocation) { in invoke()

1234