/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
LoadingSpinnerControllerTest.java | 30 import org.mockito.stubbing.Answer; 54 new Answer() { 56 public Object answer(InvocationOnMock invocationOnMock)
|
/toolchain/binutils/binutils-2.25/opcodes/ |
z8kgen.c | 1311 int answer = 0; local [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/ |
FlexAntTasks.jar | |
/external/mdnsresponder/mDNSShared/ |
uds_daemon.c | [all...] |
/external/mockito/src/main/java/org/mockito/ |
Mockito.java | 75 * <a href="#37">37. Java 8 Custom Answer Support (Since 2.1.0)</a><br/> 474 * Allows stubbing with generic {@link Answer} interface. 479 * any clean & simple code. However, if you do have a need to stub with the generic Answer interface, here is an example: 482 * when(mock.someMethod(anyString())).thenAnswer(new Answer() { 483 * Object answer(InvocationOnMock invocation) { 531 * {@link Mockito#doAnswer(Answer)} 581 * Therefore when using spies please consider <code>doReturn</code>|<code>Answer</code>|<code>Throw()</code> family of 618 * It is the default answer so it will be used <b>only when you don't</b> stub the method call. 626 * Read more about this interesting implementation of <i>Answer</i>: {@link Mockito#RETURNS_SMART_NULLS} [all...] |
/external/skia/src/core/ |
SkLinearBitmapPipeline_core.h | 105 Span answer = *this; local 107 return answer;
|
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/ |
ZipExtractorTask.java | 177 Replace answer = showDialog(entry.getName()); local 178 switch (answer) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
UiccCarrierPrivilegeRulesTest.java | 39 import org.mockito.stubbing.Answer; 103 doAnswer(new Answer<Void>() { 105 public Void answer(InvocationOnMock invocation) throws Throwable { 114 doAnswer(new Answer<Void>() { 116 public Void answer(InvocationOnMock invocation) throws Throwable {
|
/libcore/ojluni/src/main/java/java/util/stream/ |
FindOps.java | 276 private void foundResult(O answer) { 278 shortCircuit(answer);
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
TwoButtonMethod.java | 17 package com.android.incallui.answer.impl.answermethod; 40 import com.android.incallui.answer.impl.answermethod.FlingUpDownTouchHandler.OnProgressChangedListener; 43 /** Answer method that shows two buttons for answer/reject. */
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
AccountDetailDashboardFragmentTest.java | 66 @Mock(answer = RETURNS_DEEP_STUBS) 68 @Mock(answer = RETURNS_DEEP_STUBS)
|
AccountTypePreferenceLoaderTest.java | 56 @Mock(answer = RETURNS_DEEP_STUBS) 58 @Mock(answer = RETURNS_DEEP_STUBS)
|
RemoveAccountPreferenceControllerTest.java | 69 @Mock(answer = RETURNS_DEEP_STUBS) 73 @Mock(answer = RETURNS_DEEP_STUBS)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
AppInfoWithHeaderTest.java | 62 @Mock(answer = Answers.RETURNS_DEEP_STUBS) 64 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
AppDataUsageTest.java | 65 @Mock(answer = Answers.RETURNS_DEEP_STUBS) 67 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
AutomaticStorageManagementSwitchPreferenceControllerTest.java | 66 @Mock(answer = Answers.RETURNS_DEEP_STUBS) 68 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
EnterpriseSetDefaultAppsPreferenceControllerTest.java | 65 @Mock(answer = Answers.RETURNS_DEEP_STUBS) 67 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
copyelim.go | 63 // The answer is w. Update all the copies we saw
|
/prebuilts/go/darwin-x86/src/net/ |
dnsclient.go | 38 // Find answer for name in dns message. 40 func answer(name, server string, dns *dnsMsg, qtype uint16) (cname string, addrs []dnsRR, err error) { func 41 addrs = make([]dnsRR, 0, len(dns.answer)) 67 for _, rr := range dns.answer {
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug120.go | 33 // The correct answer, of course, would be "1e23+8388608" = 1e23+8388608.
|
/prebuilts/go/darwin-x86/test/ken/ |
shift.go | 98 * set the 'correct' answer
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
copyelim.go | 63 // The answer is w. Update all the copies we saw
|
/prebuilts/go/linux-x86/src/net/ |
dnsclient.go | 38 // Find answer for name in dns message. 40 func answer(name, server string, dns *dnsMsg, qtype uint16) (cname string, addrs []dnsRR, err error) { func 41 addrs = make([]dnsRR, 0, len(dns.answer)) 67 for _, rr := range dns.answer {
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug120.go | 33 // The correct answer, of course, would be "1e23+8388608" = 1e23+8388608.
|
/prebuilts/go/linux-x86/test/ken/ |
shift.go | 98 * set the 'correct' answer
|