Home
last modified time | relevance | path

Searched refs:mock (Results 1 – 25 of 562) sorted by relevance

12345678910>>...23

/frameworks/base/test-mock/
DAndroid.mk23 $(call all-java-files-under, src/android/test/mock) \
35 LOCAL_DROIDDOC_SOURCE_PATH := $(LOCAL_PATH)/src/android/test/mock
37 …PI_FILE := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android.test.mock.stubs_intermediates…
38 …PI_FILE := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android.test.mock.stubs_intermediates…
40 ANDROID_TEST_MOCK_API_FILE := $(LOCAL_PATH)/api/android-test-mock-current.txt
41 ANDROID_TEST_MOCK_REMOVED_API_FILE := $(LOCAL_PATH)/api/android-test-mock-removed.txt
45 -stubpackages android.test.mock \
46 …-stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android.test.mock.stubs_intermediates/src…
52 LOCAL_MODULE := android-test-mock-api-stubs-gen
67 LOCAL_MODULE := android.test.mock.stubs
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerTest.java24 import static org.mockito.Mockito.mock;
94 return StatusBarIconHolder.fromMobileIconState(mock(MobileIconState.class)); in holderForType()
97 return StatusBarIconHolder.fromWifiIconState(mock(WifiIconState.class)); in holderForType()
101 return StatusBarIconHolder.fromIcon(mock(StatusBarIcon.class)); in holderForType()
120 StatusBarIconView mock = mock(StatusBarIconView.class); in addIcon() local
121 mGroup.addView(mock, index); in addIcon()
123 return mock; in addIcon()
128 StatusBarWifiView mock = mock(StatusBarWifiView.class); in addSignalIcon() local
129 mGroup.addView(mock, index); in addSignalIcon()
130 return mock; in addSignalIcon()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DRequestFocusTest.java20 import static org.mockito.Mockito.mock;
133 CombinedListeners mock = mock(CombinedListeners.class); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() local
134 clearingFocusButton.setOnFocusChangeListener(mock); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
135 gainingFocusButton.setOnFocusChangeListener(mock); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
136 clearingFocusButton.getViewTreeObserver().addOnGlobalFocusChangeListener(mock); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
142 InOrder inOrder = inOrder(mock); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
143 inOrder.verify(mock).onFocusChange(clearingFocusButton, false); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
144 inOrder.verify(mock).onGlobalFocusChanged(clearingFocusButton, gainingFocusButton); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
145 inOrder.verify(mock).onFocusChange(gainingFocusButton, true); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
176 CombinedListeners mock = mock(CombinedListeners.class); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable() local
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DAndroid.bp25 "mock/DisplayHardware/MockComposer.cpp",
26 "mock/DisplayHardware/MockDisplaySurface.cpp",
27 "mock/gui/MockGraphicBufferConsumer.cpp",
28 "mock/gui/MockGraphicBufferProducer.cpp",
29 "mock/MockEventControlThread.cpp",
30 "mock/MockEventThread.cpp",
31 "mock/MockMessageQueue.cpp",
32 "mock/MockNativeWindowSurface.cpp",
33 "mock/MockSurfaceInterceptor.cpp",
34 "mock/RenderEngine/MockRenderEngine.cpp",
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java22 import static org.mockito.Mockito.mock;
57 import android.test.mock.MockContentProvider;
58 import android.test.mock.MockContentResolver;
116 environment = mock(EnvironmentForMock.class); in MockSystemServices()
117 systemProperties = mock(SystemPropertiesForMock.class); in MockSystemServices()
118 userManager = mock(UserManager.class); in MockSystemServices()
119 userManagerInternal = mock(UserManagerInternal.class); in MockSystemServices()
120 usageStatsManagerInternal = mock(UsageStatsManagerInternal.class); in MockSystemServices()
121 networkPolicyManagerInternal = mock(NetworkPolicyManagerInternal.class); in MockSystemServices()
123 userManagerForMock = mock(UserManagerForMock.class); in MockSystemServices()
[all …]
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/
DConstraintTrackerTest.java20 import static org.mockito.Mockito.mock;
45 mMockContext = mock(Context.class); in setUp()
61 ConstraintListener<Boolean> constraintListener1 = mock(ConstraintListener.class); in testAddListener_manyListeners_doesNotCallGetInitialStateAndStartTrackingTwice()
62 ConstraintListener<Boolean> constraintListener2 = mock(ConstraintListener.class); in testAddListener_manyListeners_doesNotCallGetInitialStateAndStartTrackingTwice()
81 ConstraintListener<Boolean> constraintListener = mock(ConstraintListener.class); in testAddListener_sameListener_doesNotCallGetInitialStateAndStartTrackingTwice()
100 ConstraintListener<Boolean> constraintListener1 = mock(ConstraintListener.class); in testAddListener_notifiesAddedListener()
101 ConstraintListener<Boolean> constraintListener2 = mock(ConstraintListener.class); in testAddListener_notifiesAddedListener()
114 ConstraintListener<Boolean> constraintListener1 = mock(ConstraintListener.class); in testAddListener_constraintNotSet()
115 ConstraintListener<Boolean> constraintListener2 = mock(ConstraintListener.class); in testAddListener_constraintNotSet()
125 ConstraintListener<Boolean> constraintListener1 = mock(ConstraintListener.class); in testSetState_newState_notifiesAllListeners()
[all …]
/frameworks/support/lifecycle/runtime/src/test/java/androidx/lifecycle/
DLifecycleRegistryTest.java29 import static org.mockito.Mockito.mock;
51 mLifecycleOwner = mock(LifecycleOwner.class); in init()
52 mLifecycle = mock(Lifecycle.class); in init()
59 LifecycleObserver observer = mock(LifecycleObserver.class); in addRemove()
68 GenericLifecycleObserver generic = mock(GenericLifecycleObserver.class); in addGenericAndObserve()
79 TestObserver testObserver = mock(TestObserver.class); in addRegularClass()
89 TestObserver observer1 = mock(TestObserver.class); in add2RemoveOne()
90 TestObserver observer2 = mock(TestObserver.class); in add2RemoveOne()
91 TestObserver observer3 = mock(TestObserver.class); in add2RemoveOne()
113 final TestObserver observer2 = mock(TestObserver.class); in removeWhileTraversing()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconListTest.java8 import static org.mockito.Mockito.mock;
50 StatusBarIconHolder sbHolder = mock(StatusBarIconHolder.class); in testAddSlotSlidesIcons()
60 StatusBarIconHolder sbHolderA = mock(StatusBarIconHolder.class); in testGetAndSetIcon()
61 StatusBarIconHolder sbHolderB = mock(StatusBarIconHolder.class); in testGetAndSetIcon()
72 StatusBarIconHolder sbHolderA = mock(StatusBarIconHolder.class); in testRemoveIcon()
73 StatusBarIconHolder sbHolderB = mock(StatusBarIconHolder.class); in testRemoveIcon()
83 StatusBarIconHolder sbHolder = mock(StatusBarIconHolder.class); in testGetViewIndex_NoMultiples()
97 StatusBarIconHolder sbHolder = mock(StatusBarIconHolder.class); in testGetViewIndex_MultipleIconsPerSlot()
103 StatusBarIconHolder sbHolder2 = mock(StatusBarIconHolder.class); in testGetViewIndex_MultipleIconsPerSlot()
104 StatusBarIconHolder sbHolder3 = mock(StatusBarIconHolder.class); in testGetViewIndex_MultipleIconsPerSlot()
[all …]
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
DInitCallbackTest.java21 import static org.mockito.Mockito.mock;
41 final EmojiCompat.InitCallback initCallback1 = mock(EmojiCompat.InitCallback.class); in testRegisterInitCallback_callsSuccessCallback()
42 final EmojiCompat.InitCallback initCallback2 = mock(EmojiCompat.InitCallback.class); in testRegisterInitCallback_callsSuccessCallback()
58 final EmojiCompat.InitCallback initCallback1 = mock(EmojiCompat.InitCallback.class); in testRegisterInitCallback_callsFailCallback()
59 final EmojiCompat.InitCallback initCallback2 = mock(EmojiCompat.InitCallback.class); in testRegisterInitCallback_callsFailCallback()
60 final EmojiCompat.MetadataRepoLoader loader = mock(EmojiCompat.MetadataRepoLoader.class); in testRegisterInitCallback_callsFailCallback()
78 final EmojiCompat.InitCallback initCallback = mock(EmojiCompat.InitCallback.class); in testRegisterInitCallback_callsFailCallback_whenOnFailCalledByLoader()
97 final EmojiCompat.InitCallback initCallback = mock(EmojiCompat.InitCallback.class); in testRegisterInitCallback_callsFailCallback_whenMetadataRepoIsNull()
118 final EmojiCompat.InitCallback callback = mock(EmojiCompat.InitCallback.class); in testUnregisterInitCallback_doesNotInteractWithCallback()
120 final EmojiCompat.InitCallback callbackUnregister = mock(EmojiCompat.InitCallback.class); in testUnregisterInitCallback_doesNotInteractWithCallback()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationTest.java25 import static org.mockito.Mockito.mock;
228 Bitmap bitA = mock(Bitmap.class); in testBigPictureChange()
230 Bitmap bitB = mock(Bitmap.class); in testBigPictureChange()
246 "a", 100, mock(Person.class)))); in testMessagingChange_text()
250 "a", 100, mock(Person.class))) in testMessagingChange_text()
252 "b", 100, mock(Person.class))) in testMessagingChange_text()
263 "a", 100, mock(Person.class)) in testMessagingChange_data()
264 .setData("text", mock(Uri.class)))); in testMessagingChange_data()
268 "a", 100, mock(Person.class)))); in testMessagingChange_data()
275 Person a = mock(Person.class); in testMessagingChange_sender()
[all …]
/frameworks/support/lifecycle/livedata/src/test/java/androidx/lifecycle/
DMediatorLiveDataTest.java22 import static org.mockito.Mockito.mock;
54 mOwner = mock(LifecycleOwner.class); in setup()
70 mMediator.observe(mOwner, mock(Observer.class)); in setup()
82 Observer observer = mock(Observer.class); in testSingleDelivery()
93 Observer observer = mock(Observer.class); in testChangeWhileInactive()
95 mMediator.observe(mOwner, mock(Observer.class)); in testChangeWhileInactive()
109 Observer observer = mock(Observer.class); in testAddSourceToActive()
118 Observer observer = mock(Observer.class); in testAddSourceToInActive()
128 Observer observer = mock(Observer.class); in testRemoveSource()
139 Observer observer = mock(Observer.class); in testSourceInactive()
[all …]
/frameworks/support/room/runtime/src/test/java/androidx/room/
DBuilderTest.java24 import static org.mockito.Mockito.mock;
61 Room.databaseBuilder(mock(Context.class), RoomDatabase.class, null).build(); in nullName()
66 Room.databaseBuilder(mock(Context.class), RoomDatabase.class, " ").build(); in emptyName()
73 TestDatabase db = Room.databaseBuilder(mock(Context.class), TestDatabase.class, "foo") in migration()
89 TestDatabase db = Room.databaseBuilder(mock(Context.class), TestDatabase.class, "foo") in migrationOverride()
104 TestDatabase db = Room.databaseBuilder(mock(Context.class), TestDatabase.class, "foo") in migrationJump()
119 TestDatabase db = Room.databaseBuilder(mock(Context.class), TestDatabase.class, "foo") in migrationDowngrade()
129 Context context = mock(Context.class); in skipMigration()
141 Context context = mock(Context.class); in fallbackToDestructiveMigrationFrom_calledOnce_migrationsNotRequiredForValues()
153 Context context = mock(Context.class); in fallbackToDestructiveMigrationFrom_calledTwice_migrationsNotRequiredForValues()
[all …]
/frameworks/support/loader/src/androidTest/java/androidx/loader/app/
DLoaderObserverTest.java21 import static org.mockito.Mockito.mock;
39 DummyLoaderCallbacks callback = new DummyLoaderCallbacks(mock(Context.class)); in testOnChanged()
42 mock(Loader.class), callback); in testOnChanged()
58 DummyLoaderCallbacks callback = new DummyLoaderCallbacks(mock(Context.class)); in testReset()
61 mock(Loader.class), callback); in testReset()
72 DummyLoaderCallbacks callback = new DummyLoaderCallbacks(mock(Context.class)); in testResetWithOnChanged()
75 mock(Loader.class), callback); in testResetWithOnChanged()
DLoaderManagerTest.java22 import static org.mockito.Mockito.mock;
66 new DummyLoaderCallbacks(mock(Context.class)) { in testDestroyFromOnCreateLoader()
97 new DummyLoaderCallbacks(mock(Context.class)) { in testDestroyFromOnLoadFinished()
113 new DelayLoaderCallbacks(mock(Context.class), new CountDownLatch(1)); in testDestroyLoaderBeforeDeliverData()
132 new DelayLoaderCallbacks(mock(Context.class), countDownLatch); in testDestroyLoaderAfterDeliverData()
157 new DelayLoaderCallbacks(mock(Context.class), new CountDownLatch(1)); in testRestartLoaderBeforeDeliverData()
160 new DelayLoaderCallbacks(mock(Context.class), restartCountDownLatch); in testRestartLoaderBeforeDeliverData()
180 new DelayLoaderCallbacks(mock(Context.class), initialCountDownLatch); in testRestartLoaderAfterDeliverData()
191 new DelayLoaderCallbacks(mock(Context.class), restartCountDownLatch); in testRestartLoaderAfterDeliverData()
211 new DelayLoaderCallbacks(mock(Context.class), initialCountDownLatch); in testRestartLoaderMultiple()
[all …]
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableLooperTest.java22 import static org.mockito.Mockito.mock;
54 Runnable r = mock(Runnable.class); in testMessageExecuted()
65 Runnable r = mock(Runnable.class); in testMessageCallback()
66 MessageHandler messageHandler = mock(MessageHandler.class); in testMessageCallback()
84 Runnable r = mock(Runnable.class); in testProcessNumberOfMessages()
97 Runnable r = mock(Runnable.class); in testProcessAllMessages()
108 Runnable r = mock(Runnable.class); in test3Chain()
120 Runnable r = mock(Runnable.class); in testProcessAllMessages_2Messages()
121 Runnable r2 = mock(Runnable.class); in testProcessAllMessages_2Messages()
133 Runnable r = mock(Runnable.class); in testMainLooper()
[all …]
/frameworks/support/persistence/db/ktx/src/test/java/androidx/sqlite/db/
DSupportSQLiteDatabaseTest.kt21 import org.mockito.Mockito.mock
27 val db = mock(SupportSQLiteDatabase::class.java) in exclusiveDefault()
33 val db = mock(SupportSQLiteDatabase::class.java) in exclusiveFalse()
39 val db = mock(SupportSQLiteDatabase::class.java) in exclusiveTrue()
45 val db = mock(SupportSQLiteDatabase::class.java) in bodyNormalCallsSuccessAndEnd()
53 val db = mock(SupportSQLiteDatabase::class.java) in bodyThrowsDoesNotCallSuccess()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java20 import static org.mockito.Mockito.mock;
67 mMockDeviceManager = mock(CachedBluetoothDeviceManager.class); in setup()
70 mMockAdapter = mock(LocalBluetoothAdapter.class); in setup()
72 when(mMockBluetoothManager.getEventManager()).thenReturn(mock(BluetoothEventManager.class)); in setup()
74 .thenReturn(mock(LocalBluetoothProfileManager.class)); in setup()
82 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testNoConnectionWithDevices()
95 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testDefaultConnectionState()
103 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testAsyncBondState()
105 BluetoothController.Callback callback = mock(BluetoothController.Callback.class); in testAsyncBondState()
124 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testAsyncConnectionState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DSlashImageViewTest.java34 import static org.mockito.Mockito.mock;
48 SlashState mockState = mock(SlashState.class); in testSetNonNullSlashStateCreatesSlashDrawable()
49 Drawable mockDrawable = mock(Drawable.class); in testSetNonNullSlashStateCreatesSlashDrawable()
60 SlashState mockState = mock(SlashState.class); in testSetNullSlashStateRemovesSlashDrawable()
61 Drawable mockDrawable = mock(Drawable.class); in testSetNullSlashStateRemovesSlashDrawable()
74 SlashState mockState = mock(SlashState.class); in testSetNullDrawableRemovesSlashDrawable()
75 Drawable mockDrawable = mock(Drawable.class); in testSetNullDrawableRemovesSlashDrawable()
88 Drawable mockDrawable = mock(Drawable.class); in testSetImageDrawableUsesDrawableLevel()
/frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java25 import static org.mockito.Mockito.mock;
120 when(mFile.startWrite()).thenReturn(mock(FileOutputStream.class)); in setUp()
137 Ranking mockRanking = mock(Ranking.class); in generateRanking()
155 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class)); in dismissBadNotification()
156 mAssistant.setFakeRanking(mock(Ranking.class)); in dismissBadNotification()
161 sbn, mock(RankingMap.class), stats, NotificationListenerService.REASON_CANCEL); in dismissBadNotification()
169 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class)); in testNoAdjustmentForInitialPost()
181 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class)); in testTriggerAdjustment()
197 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class)); in testMinCannotTriggerAdjustment()
211 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class)); in testGroupChildCanTriggerAdjustment()
[all …]
/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/
DLiveDataTest.java31 import static org.mockito.Mockito.mock;
84 mActiveObserversChanged = mock(MethodExec.class); in init()
87 mOwner = mock(LifecycleOwner.class); in init()
91 mOwner2 = mock(LifecycleOwner.class); in init()
100 mOwner3 = mock(LifecycleOwner.class); in initNonLifecycleRegistry()
101 mLifecycle3 = mock(Lifecycle.class); in initNonLifecycleRegistry()
102 mObserver3 = (Observer<String>) mock(Observer.class); in initNonLifecycleRegistry()
105 mOwner4 = mock(LifecycleOwner.class); in initNonLifecycleRegistry()
106 mLifecycle4 = mock(Lifecycle.class); in initNonLifecycleRegistry()
107 mObserver4 = (Observer<String>) mock(Observer.class); in initNonLifecycleRegistry()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DClientTransactionTests.java19 import static org.mockito.Mockito.mock;
39 ClientTransactionItem callback1 = mock(ClientTransactionItem.class); in testPreExecute()
40 ClientTransactionItem callback2 = mock(ClientTransactionItem.class); in testPreExecute()
41 ActivityLifecycleItem stateRequest = mock(ActivityLifecycleItem.class); in testPreExecute()
42 ClientTransactionHandler clientTransactionHandler = mock(ClientTransactionHandler.class); in testPreExecute()
43 IBinder token = mock(IBinder.class); in testPreExecute()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DTelephonyUtilTest.java46 TelephonyManager tm = mock(TelephonyManager.class); in getSimIdentityEapSim()
47 TelephonyUtil telephonyUtil = mock(TelephonyUtil.class); in getSimIdentityEapSim()
66 TelephonyManager tm = mock(TelephonyManager.class); in getSimIdentityEapAka()
67 TelephonyUtil telephonyUtil = mock(TelephonyUtil.class); in getSimIdentityEapAka()
86 TelephonyManager tm = mock(TelephonyManager.class); in getSimIdentityEapAkaPrime()
87 TelephonyUtil telephonyUtil = mock(TelephonyUtil.class); in getSimIdentityEapAkaPrime()
112 TelephonyManager tm = mock(TelephonyManager.class); in getEncryptedIdentityImsi()
113 TelephonyUtil telephonyUtil = mock(TelephonyUtil.class); in getEncryptedIdentityImsi()
143 TelephonyManager tm = mock(TelephonyManager.class); in getEncryptedIdentityKeyIdentifier()
144 TelephonyUtil telephonyUtil = mock(TelephonyUtil.class); in getEncryptedIdentityKeyIdentifier()
[all …]
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/widget/
DEmojiEditTextHelperTest.java25 import static org.mockito.Mockito.mock;
55 EmojiCompat.reset(mock(EmojiCompat.class)); in setup()
68 mock(KeyListener.class)); in testGetKeyListener_returnsEmojiKeyListener()
75 KeyListener mockKeyListener = mock(KeyListener.class); in testGetKeyListener_doesNotCreateNewInstance()
84 mock(InputConnection.class), null); in testGetOnCreateInputConnection_withNullAttrs_returnsInputConnection()
99 mock(InputConnection.class), null); in testGetOnCreateInputConnection_returnsEmojiInputConnection()
107 mock(InputConnection.class), null); in testGetOnCreateInputConnection_doesNotCreateNewInstance()
115 mEditText = mock(EditText.class); in testAttachesTextWatcher()
127 mEditText = mock(EditText.class); in testSetMaxCount()
143 mEditText = mock(EditText.class); in testSetEmojiReplaceStrategy()
/frameworks/support/navigation/common/src/test/java/androidx/navigation/
DNavDestinationTest.java23 import static org.mockito.Mockito.mock;
45 NavDestination destination = new NavDestination(mock(Navigator.class)); in buildDeepLinkIds()
48 NavGraph parent = new NavGraph(mock(Navigator.class)); in buildDeepLinkIds()
59 NavDestination destination = new NavDestination(mock(Navigator.class)); in putActionByDestinationId()
68 NavDestination destination = new NavDestination(mock(Navigator.class)); in putActionWithInvalidDestinationId()
74 NavDestination destination = new NavDestination(mock(Navigator.class)); in putAction()
83 NavDestination destination = new NavDestination(mock(Navigator.class)); in removeAction()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockKeyStore.java5 import static org.mockito.Mockito.mock;
36 KeyStore mock = mock(KeyStore.class); in createMock() local
37 when(mock.state()).thenReturn(KeyStore.State.UNLOCKED); in createMock()
39 when(mock.put(anyString(), Matchers.any(byte[].class), anyInt(), anyInt())) in createMock()
50 when(mock.importKey(anyString(), Matchers.any(byte[].class), anyInt(), anyInt())) in createMock()
61 when(mock.delete(anyString(), anyInt())).thenAnswer(new Answer<Boolean>() { in createMock()
70 when(mock.contains(anyString(), anyInt())).thenAnswer(new Answer<Boolean>() { in createMock()
79 return mock; in createMock()

12345678910>>...23