/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
Mocks.java | 62 public IClasspathEntry[] answer() throws Throwable { 84 public String answer() throws Throwable { 91 public String answer() throws Throwable { 98 public String answer() throws Throwable {
|
/external/autotest/utils/ |
check_patch.py | 192 @param confirm: Whether to answer yes to all questions asked without 296 answer = utils.ask("Would you like to execute %s?" % action, 298 if answer == "y": 323 answer = utils.ask("Would you like to revert them?", auto=self.confirm) 324 if answer == "n": 371 answer = utils.ask("Would you like to add them to VCS ?") 372 if answer == "y": 376 elif answer == "n": 405 help='Answer yes to all questions')
|
/external/mockito/src/test/java/org/mockitousage/basicapi/ |
MocksSerializationForAnnotationTest.java | 16 import org.mockito.stubbing.Answer; 231 CustomAnswersMustImplementSerializableForSerializationToWork answer = local 233 answer.string = "return value"; 234 when(imethodsMock.objectArgMethod(anyString())).thenAnswer(answer); 241 assertEquals(answer.string, readObject.objectArgMethod("")); 245 implements Answer<Object>, Serializable { 247 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:MocksSerializationForAnnotationTest.CustomAnswersMustImplementSerializableForSerializationToWork
|
/external/zopfli/src/zopflipng/ |
zopflipng_bin.cc | 365 char answer = 0; local 369 else if (!answer) answer = input; 371 confirmed = answer == 'y' || answer == 'Y';
|
/external/fio/ |
graph.c | 183 double answer = 0.0, tmp; local 195 answer = tmp; 198 answer = cmp(answer, tmp); 201 return answer; 209 double answer, tmp; local 218 answer = tmp; 221 answer = cmp(tmp, answer); 224 return answer; 504 double tmp, answer = 0.0; local [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
GuidedStepFragmentTest.java | 43 import org.mockito.stubbing.Answer; 59 doAnswer(new Answer<Void>() { 61 public Void answer(InvocationOnMock invocation) { 67 doAnswer(new Answer<Void>() { 69 public Void answer(InvocationOnMock invocation) { 136 doAnswer(new Answer<Void>() { 138 public Void answer(InvocationOnMock invocation) { 148 doAnswer(new Answer<Void>() { 150 public Void answer(InvocationOnMock invocation) { 204 doAnswer(new Answer<Void>() [all...] |
GuidedStepSupportFragmentTest.java | 46 import org.mockito.stubbing.Answer; 62 doAnswer(new Answer<Void>() { 64 public Void answer(InvocationOnMock invocation) { 70 doAnswer(new Answer<Void>() { 72 public Void answer(InvocationOnMock invocation) { 139 doAnswer(new Answer<Void>() { 141 public Void answer(InvocationOnMock invocation) { 151 doAnswer(new Answer<Void>() { 153 public Void answer(InvocationOnMock invocation) { 207 doAnswer(new Answer<Void>() [all...] |
/external/gptfdisk/ |
gpttext.cc | 65 int answer; local 77 answer = GetNumber(1, 3, 2, " 1 - MBR\n 2 - GPT\n 3 - Create blank GPT\n\nYour answer: "); 78 if (answer == 1) { 80 } else if (answer == 2) { 92 answer = GetNumber(1, 3, 2, " 1 - MBR\n 2 - GPT\n 3 - Create blank GPT\n\nYour answer: "); 93 if (answer == 1) { 95 } else if (answer == 2) { 101 answer = GetNumber(1, 2, 1, " 1 - Use current GPT\n 2 - Create blank GPT\n\nYour answer: ") [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
FloatTest.java | 853 String answer; local [all...] |
/external/e2fsprogs/e2fsck/ |
problem.c | 2080 int answer = -1; local 2141 int def_yn, answer, ans; local [all...] |
/external/v8/src/runtime/ |
runtime-strings.cc | 311 Handle<SeqOneByteString> answer; local 313 isolate, answer, isolate->factory()->NewRawOneByteString(length)); 314 StringBuilderConcatHelper(*special, answer->GetChars(), 317 return *answer; 319 Handle<SeqTwoByteString> answer; local 321 isolate, answer, isolate->factory()->NewRawTwoByteString(length)); 322 StringBuilderConcatHelper(*special, answer->GetChars(), 325 return *answer; 376 Handle<SeqTwoByteString> answer; 378 isolate, answer, isolate->factory()->NewRawTwoByteString(length)) [all...] |
/external/v8/tools/release/ |
common_includes.py | 535 answer = self.ReadLine(default="Y") 536 return answer == "" or answer == "Y" or answer == "y" 604 answer = "" 605 while answer != "LGTM": 607 answer = self.ReadLine(None if self._options.wait_for_lgtm else "LGTM") 608 if answer != "LGTM": 616 answer = "" 617 while answer != "RESOLVED" [all...] |
/external/autotest/client/common_lib/test_utils/ |
mock_demo.py | 115 answer = c.method5.run_original_function() 118 print "answer = %s" % (answer)
|
/external/google-breakpad/src/testing/gtest/scripts/ |
fuse_gtest_files.py | 124 answer = sys.stdin.readline().strip() 125 if answer not in ['y', 'Y']:
|
/external/googletest/googletest/scripts/ |
fuse_gtest_files.py | 127 answer = sys.stdin.readline().strip() 128 if answer not in ['y', 'Y']:
|
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
Prober.java | 118 for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.NOT_UNIQUE, this.getTTL())) { 119 newOut = this.addAuthoritativeAnswer(newOut, answer);
|
/external/mockito/src/main/java/org/mockito/internal/handler/ |
MockHandlerImpl.java | 22 import org.mockito.stubbing.Answer; 89 // look for existing answer for this invocation 95 return stubbedInvocation.answer(invocation); 97 Object ret = mockSettings.getDefaultAnswer().answer(invocation); 114 public void setAnswersForStubbing(List<Answer<?>> answers) {
|
/external/protobuf/gtest/scripts/ |
fuse_gtest_files.py | 124 answer = sys.stdin.readline().strip() 125 if answer not in ['y', 'Y']:
|
/external/v8/testing/gtest/scripts/ |
fuse_gtest_files.py | 124 answer = sys.stdin.readline().strip() 125 if answer not in ['y', 'Y']:
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/ |
fuse_gtest_files.py | 124 answer = sys.stdin.readline().strip() 125 if answer not in ['y', 'Y']:
|
/frameworks/base/tests/utils/testutils/java/android/app/test/ |
TestAlarmManager.java | 139 public void answer(int type, long triggerAtMillis, String tag, method in class:TestAlarmManager.SetListenerAnswer 147 public void answer(AlarmManager.OnAlarmListener listener) { method in class:TestAlarmManager.CancelListenerAnswer
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
ChannelsTest.java | 34 import org.mockito.stubbing.Answer; 82 new Answer<Integer>() { 83 public Integer answer(InvocationOnMock invocation) { 110 new Answer<Integer>() { 111 public Integer answer(InvocationOnMock invocation) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
BluetoothDeviceDetailsFragmentTest.java | 61 @Mock(answer = Answers.RETURNS_DEEP_STUBS) 64 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
UsbModePreferenceControllerTest.java | 32 @Mock(answer = RETURNS_DEEP_STUBS) 34 @Mock(answer = RETURNS_DEEP_STUBS)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
SuggestionDismissControllerTest.java | 51 @Mock(answer = Answers.RETURNS_DEEP_STUBS) 53 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
|