Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DMockExecutorHandler.kt27 import org.mockito.invocation.InvocationOnMock in <lambda>()
42 doAnswer { invocation: InvocationOnMock -> in <lambda>()
49 doAnswer { invocation: InvocationOnMock -> in <lambda>()
69 doAnswer { invocation: InvocationOnMock -> in <lambda>()
89 doAnswer { invocation: InvocationOnMock -> in <lambda>()
103 override fun answer(invocation: InvocationOnMock): Any { in answer()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java43 import org.mockito.invocation.InvocationOnMock;
77 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
88 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
101 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
311 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
330 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
343 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
371 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
391 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
404 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
[all …]
DIccPhoneBookInterfaceManagerTest.java42 import org.mockito.invocation.InvocationOnMock;
83 public Void answer(InvocationOnMock invocation) throws Throwable { in setUp()
128 public Void answer(InvocationOnMock invocation) throws Throwable { in testAdnEFLoadWithFailure()
171 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAdnRecord()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
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()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/
DShadowCar.java28 import org.mockito.invocation.InvocationOnMock;
56 public Void answer(InvocationOnMock invocation) { in createCar()
64 public Void answer(InvocationOnMock invocation) { in createCar()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTestable.java27 import org.mockito.invocation.InvocationOnMock;
46 public Void answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable()
61 public byte[] answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable()
DBaseLockSettingsServiceTests.java69 import org.mockito.invocation.InvocationOnMock;
329 public Void answer(InvocationOnMock invocation) throws Throwable { in mockBiometricsHardwareFingerprintsAndTemplates()
344 public Void answer(InvocationOnMock invocation) throws Throwable { in mockBiometricsHardwareFingerprintsAndTemplates()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java19 import org.mockito.invocation.InvocationOnMock;
38 public final Object answer(InvocationOnMock invocation) throws Throwable { in answer()
/frameworks/base/services/tests/servicestests/utils-mockito/com/android/server/testutils/
DMockitoUtils.kt22 import org.mockito.invocation.InvocationOnMock in <lambda>()
70 fun <Type> whenever(mock: Type, block: InvocationOnMock.() -> Type) = in whenever()
79 override fun answer(invocation: InvocationOnMock?): Any? { in answer()
/frameworks/base/tests/testables/src/android/testing/
DTestableResources.java27 import org.mockito.invocation.InvocationOnMock;
97 private Object answer(InvocationOnMock invocationOnMock) throws Throwable { in answer()
/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/
DOverlayConfigIterationRule.java39 import org.mockito.invocation.InvocationOnMock;
147 doAnswer((InvocationOnMock invocation) -> { in apply()
174 doAnswer((InvocationOnMock invocation) -> { in apply()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DInputManagerMockHelper.java33 import org.mockito.invocation.InvocationOnMock;
103 private long handleNativeOpenInputDevice(InvocationOnMock inv) { in handleNativeOpenInputDevice()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DLogicalChannelMocker.java34 import org.mockito.invocation.InvocationOnMock;
73 public Object answer(InvocationOnMock invocation) throws Throwable { in mockSendToLogicalChannel()
/frameworks/base/services/tests/servicestests/src/com/android/server/health/
DHealthServiceWrapperTest.java40 import org.mockito.invocation.InvocationOnMock;
166 private static void sendNotification(InvocationOnMock invocation, boolean preexisting)
176 InvocationOnMock invocation, android.hardware.health.IHealth service) throws Exception {
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java28 import org.mockito.invocation.InvocationOnMock;
228 public Void answer(InvocationOnMock invocation) throws Exception { in doCountDown()
242 public Object answer(InvocationOnMock invocation) throws Exception { in doCountDown()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServicesSmsFilterTest.java46 import org.mockito.invocation.InvocationOnMock;
203 public Void answer(InvocationOnMock invocation) throws Throwable { in mockCarrierAppStubResults()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHotspotControllerImplTest.java53 import org.mockito.invocation.InvocationOnMock;
98 doAnswer((InvocationOnMock invocation) -> { in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyboardShortcutsTest.java51 import org.mockito.invocation.InvocationOnMock;
83 public Object answer(InvocationOnMock invocation) { in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java41 import org.mockito.invocation.InvocationOnMock;
77 doAnswer((InvocationOnMock invocation) -> { in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java91 import org.mockito.invocation.InvocationOnMock;
2023 public Void answer(InvocationOnMock invocation) throws Exception { in callGetEid()
2045 public Void answer(InvocationOnMock invocation) throws Exception { in callGetAvailableMemoryInBytes()
2068 public Void answer(InvocationOnMock invocation) throws Exception { in callGetOtaStatus()
2085 public Void answer(InvocationOnMock invocation) throws Exception { in callStartOtaUpdatingIfNecessary()
2103 public Void answer(InvocationOnMock invocation) throws Exception { in callGetEuiccInfo()
2121 public Void answer(InvocationOnMock invocation) throws Exception { in prepareGetDownloadableSubscriptionMetadataCall()
2148 public Void answer(InvocationOnMock invocation) throws Exception { in callGetDefaultDownloadableSubscriptionList()
2172 public Void answer(InvocationOnMock invocation) throws Exception { in callDownloadSubscription()
2200 public Void answer(InvocationOnMock invocation) throws Exception { in callDeleteSubscription()
[all …]
DEuiccConnectorTest.java56 import org.mockito.invocation.InvocationOnMock;
245 public Void answer(InvocationOnMock invocation) throws Exception { in testCommandDispatch_success()
280 public Void answer(InvocationOnMock invocation) throws Exception { in testCommandDispatch_forAvailableMemory_success()
327 public Void answer(InvocationOnMock invocation) throws Exception { in testCommandDispatch_forAvailableMemory_unsupportedOperationException()
DEuiccCardControllerTest.java46 import org.mockito.invocation.InvocationOnMock;
91 public Void answer(InvocationOnMock invocation) throws Throwable { in setUp()
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DTestDreamEnvironment.java62 import org.mockito.invocation.InvocationOnMock;
303 doAnswer((InvocationOnMock invocation) -> { in TestDreamEnvironment()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/
DAvalancheControllerTest.kt41 import org.mockito.invocation.InvocationOnMock in <lambda>()
77 .then { i: InvocationOnMock -> i.getArgument(0) } in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxTest.java44 import org.mockito.invocation.InvocationOnMock;
293 InvocationOnMock::getMock); in get()

123