Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
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 …]
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()
/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;
45 public Void answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable()
60 public byte[] answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable()
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()
/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 : Any?> whenever(mock: Type, block: InvocationOnMock.() -> Any?) = in whenever()
79 override fun answer(invocation: InvocationOnMock?): Any? { in answer()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/restore/
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()
/frameworks/base/tests/testables/src/android/testing/
DTestableResources.java25 import org.mockito.invocation.InvocationOnMock;
83 private Object answer(InvocationOnMock invocationOnMock) throws Throwable { in answer()
/frameworks/base/core/tests/uwbtests/src/android/uwb/
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) {
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DFakeDns.kt26 import org.mockito.invocation.InvocationOnMock
72 it: InvocationOnMock, in mockAnswer()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
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 …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DLogicalChannelMocker.java33 import org.mockito.invocation.InvocationOnMock;
71 public Object answer(InvocationOnMock invocation) throws Throwable { in mockSendToLogicalChannel()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBatteryServiceTest.java33 import org.mockito.invocation.InvocationOnMock;
110 private static void sendNotification(InvocationOnMock invocation, boolean preexisting)
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
DChunkEncryptorTest.java37 import org.mockito.invocation.InvocationOnMock;
85 public Void answer(InvocationOnMock invocation) { in setUp()
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHotspotControllerImplTest.java48 import org.mockito.invocation.InvocationOnMock;
89 doAnswer((InvocationOnMock invocation) -> { in setUp()
/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/
DOverlayConfigIterationRule.java37 import org.mockito.invocation.InvocationOnMock;
136 doAnswer((InvocationOnMock invocation) -> { in apply()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServicesSmsFilterTest.java50 import org.mockito.invocation.InvocationOnMock;
206 public Void answer(InvocationOnMock invocation) throws Throwable { in mockCarrierAppStubResults()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java41 import org.mockito.invocation.InvocationOnMock;
77 doAnswer((InvocationOnMock invocation) -> { in setUp()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTaskViewTest.java57 import org.mockito.invocation.InvocationOnMock;
95 doAnswer((InvocationOnMock invocationOnMock) -> { in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java108 import org.mockito.invocation.InvocationOnMock;
148 public Void answer(InvocationOnMock invocation) throws Throwable { in imsCallMocking()
159 public Void answer(InvocationOnMock invocation) throws Throwable { in imsCallMocking()
172 public Void answer(InvocationOnMock invocation) throws Throwable { in imsCallMocking()
184 public Void answer(InvocationOnMock invocation) throws Throwable { in imsCallMocking()
218 public ImsCall answer(InvocationOnMock invocation) throws Throwable { in setUp()
228 public ImsCall answer(InvocationOnMock invocation) throws Throwable { in setUp()
822 public ImsCall answer(InvocationOnMock invocation) throws Throwable { in testRewriteOutgoingNumber()
1414 public ImsCall answer(InvocationOnMock invocation) throws Throwable { in placeCallAndMakeActive()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverListControllerTest.java53 import org.mockito.invocation.InvocationOnMock;
107 public Void answer(InvocationOnMock invocation) throws Throwable { in reportChooserSelection()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java80 import org.mockito.invocation.InvocationOnMock;
353 public Void answer(InvocationOnMock invocation) throws Throwable { in mockCarrierAppStubResults()
368 public Void answer(InvocationOnMock invocation) throws Throwable { in mockCarrierAppStubResults()

12