OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:thenReturn
(Results
126 - 150
of
154
) sorted by null
1
2
3
4
5
6
7
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiCountryCodeTest.java
54
when(mWifiNative.setCountryCode(anyString())).
thenReturn
(true);
WifiNativeTest.java
131
when(mWifiNative.setNetworkVariable(anyInt(), anyString(), anyString())).
thenReturn
(true);
144
.
thenReturn
(NETWORK_EXTRAS_SERIALIZED);
ScanTestUtil.java
44
.
thenReturn
(channels24);
46
.
thenReturn
(channels5);
48
.
thenReturn
(channelsDfs);
AnqpCacheTest.java
116
when(mClock.currentTimeMillis()).
thenReturn
(mCurrentTimeMillis);
MockKeyStore.java
37
when(mock.state()).
thenReturn
(KeyStore.State.UNLOCKED);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
WapPushOverSmsTest.java
118
when(mIMmsStub.getCarrierConfigValues(anyInt())).
thenReturn
(new Bundle());
ContextFixture.java
529
when(mResources.getText(eq(id))).
thenReturn
(value);
530
when(mResources.getString(eq(id))).
thenReturn
(value);
541
when(mResources.getBoolean(eq(id))).
thenReturn
(value);
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
ConversationListFragmentTest.java
77
.
thenReturn
(true);
/packages/apps/TV/tests/unit/src/com/android/tv/data/
TvInputNewComparatorTest.java
76
Mockito.when(inputManager.getDefaultTvInputInfoComparator()).
thenReturn
(
ChannelDataManagerTest.java
89
Mockito.when(mockHelper.hasTvInputInfo(Matchers.anyString())).
thenReturn
(true);
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
MenuTest.java
43
.
thenReturn
(null);
/packages/services/Telephony/tests/src/com/android/phone/vvm/omtp/scheduling/
TaskSchedulerServiceTest.java
121
when(task.getId()).
thenReturn
(new TaskId(Task.TASK_INVALID, 0));
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/tethering/
TetherInterfaceStateMachineTest.java
74
when(mNMService.getInterfaceConfig(IFACE_NAME)).
thenReturn
(mInterfaceConfiguration);
84
when(mNMService.getInterfaceConfig(IFACE_NAME)).
thenReturn
(mInterfaceConfiguration);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ApplicationTest.java
58
when(resourceLoader1.getStringValue(R.id.title)).
thenReturn
("title from resourceLoader1");
63
when(resourceLoader2.getStringValue(R.id.title)).
thenReturn
("title from resourceLoader2");
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/
ProducerFactoryTest.java
52
when(componentMonitor.producerMonitorFor(any(ProducerToken.class))).
thenReturn
(monitor);
/packages/apps/Messaging/tests/src/com/android/messaging/
FakeFactory.java
115
Mockito.when(factory.mPhoneUtils.toLMr1()).
thenReturn
(
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractDownloadProviderFunctionalTest.java
189
when(params.getJobId()).
thenReturn
((int) id);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
NewOutgoingCallIntentBroadcasterTest.java
80
when(mCall.getInitiatingUser()).
thenReturn
(UserHandle.CURRENT);
81
when(mCallsManager.getLock()).
thenReturn
(new TelecomSystem.SyncRoot() { });
CallerInfoLookupHelperTest.java
79
.
thenReturn
(mock(CallerInfoAsyncQuery.class));
LogTest.java
467
when(call.getAnalytics()).
thenReturn
(mockCallInfo);
TelecomSystemTest.java
345
.
thenReturn
(TEST_TIMEOUT / 10L);
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
AccountManagerServiceTest.java
358
when(mUserManager.getUserInfo(eq(ui.id))).
thenReturn
(ui);
/cts/tests/tests/widget/src/android/widget/cts/
PopupWindowTest.java
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
BaseShortcutManagerTest.java
705
when(mMockActivityManagerInternal.getUidProcessState(anyInt())).
thenReturn
(
[
all
...]
/cts/tests/tests/view/src/android/view/cts/
ViewTest.java
[
all
...]
Completed in 757 milliseconds
1
2
3
4
5
6
7