/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/ |
D | MockExecutorHandler.kt | 27 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/ |
D | UiccCarrierPrivilegeRulesTest.java | 43 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 …]
|
D | IccPhoneBookInterfaceManagerTest.java | 42 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/ |
D | WatchlistLoggingHandlerTests.java | 46 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/ |
D | ShadowCar.java | 28 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/ |
D | LockSettingsStorageTestable.java | 27 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()
|
D | BaseLockSettingsServiceTests.java | 69 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/ |
D | MockAnswerUtil.java | 19 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/ |
D | MockitoUtils.kt | 22 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/ |
D | TestableResources.java | 27 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/ |
D | OverlayConfigIterationRule.java | 39 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/ |
D | InputManagerMockHelper.java | 33 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/ |
D | LogicalChannelMocker.java | 34 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/ |
D | HealthServiceWrapperTest.java | 40 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/ |
D | TextToSpeechTests.java | 28 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/ |
D | CarrierServicesSmsFilterTest.java | 46 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/ |
D | HotspotControllerImplTest.java | 53 import org.mockito.invocation.InvocationOnMock; 98 doAnswer((InvocationOnMock invocation) -> { in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutsTest.java | 51 import org.mockito.invocation.InvocationOnMock; 83 public Object answer(InvocationOnMock invocation) { in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | AppCollectorTest.java | 41 import org.mockito.invocation.InvocationOnMock; 77 doAnswer((InvocationOnMock invocation) -> { in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccControllerTest.java | 91 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 …]
|
D | EuiccConnectorTest.java | 56 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()
|
D | EuiccCardControllerTest.java | 46 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/ |
D | TestDreamEnvironment.java | 62 import org.mockito.invocation.InvocationOnMock; 303 doAnswer((InvocationOnMock invocation) -> { in TestDreamEnvironment()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/ |
D | AvalancheControllerTest.kt | 41 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/ |
D | LetterboxTest.java | 44 import org.mockito.invocation.InvocationOnMock; 293 InvocationOnMock::getMock); in get()
|