HomeSort by relevance Sort by last modified time
    Searched refs:answer (Results 76 - 100 of 327) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/jmdns/src/javax/jmdns/impl/tasks/state/
Announcer.java 104 for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())) {
105 newOut = this.addAnswer(newOut, null, answer);
117 for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) {
118 newOut = this.addAnswer(newOut, null, answer);
Renewer.java 105 for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())) {
106 newOut = this.addAnswer(newOut, null, answer);
118 for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) {
119 newOut = this.addAnswer(newOut, null, answer);
  /external/mockito/src/org/mockito/internal/stubbing/answers/
Returns.java 10 import org.mockito.stubbing.Answer;
12 public class Returns implements Answer<Object>, Serializable {
21 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:Returns
ReturnsElementsOf.java 9 import org.mockito.stubbing.Answer;
33 public class ReturnsElementsOf implements Answer<Object> {
45 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ReturnsElementsOf
ThrowsException.java 10 import org.mockito.stubbing.Answer;
14 public class ThrowsException implements Answer<Object>, Serializable {
24 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ThrowsException
ThrowsExceptionClass.java 10 import org.mockito.stubbing.Answer;
15 public class ThrowsExceptionClass implements Answer<Object>, Serializable {
25 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ThrowsExceptionClass
  /external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
ForwardsInvocations.java 8 import org.mockito.stubbing.Answer;
14 * Internal answer to forward invocations on a real instance.
18 public class ForwardsInvocations implements Answer<Object>, Serializable {
28 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ForwardsInvocations
ReturnsDeepStubs.java 16 import org.mockito.stubbing.Answer;
27 * <p>Supports nested generic information, with this answer you can write code like this :
40 public class ReturnsDeepStubs implements Answer<Object>, Serializable {
47 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ReturnsDeepStubs
66 return stubbedInvocationMatcher.answer(invocation);
79 * {@link ReturnsDeepStubs} answer in which we will store the returned type generic metadata.
112 container.addAnswer(new Answer<Object>() {
113 public Object answer(InvocationOnMock invocation) throws Throwable {
  /hardware/libhardware_legacy/
qemu.h 77 /* sends a question to the hw-control channel, then receive an answer in
78 * a user-allocated buffer. returns the length of the answer, or -1
84 char* answer, int answersize );
  /cts/tests/tests/print/src/android/print/cts/
PrintDocumentAdapterContractTest.java 49 import org.mockito.stubbing.Answer;
70 new Answer<Void>() {
72 public Void answer(InvocationOnMock invocation) throws Throwable {
84 }, new Answer<Void>() {
86 public Void answer(InvocationOnMock invocation) throws Throwable {
98 }, new Answer<Void>() {
100 public Void answer(InvocationOnMock invocation) throws Throwable {
186 new Answer<Void>() {
188 public Void answer(InvocationOnMock invocation) throws Throwable {
199 }, new Answer<Void>()
1577 public Void answer(InvocationOnMock invocation) throws Throwable { method
    [all...]
PrinterDiscoverySessionLifecycleTest.java 46 import org.mockito.stubbing.Answer;
70 new Answer<PrinterDiscoverySessionCallbacks>() {
72 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) {
76 new Answer<Void>() {
78 public Void answer(InvocationOnMock invocation) {
164 new Answer<PrinterDiscoverySessionCallbacks>() {
166 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) {
170 new Answer<Void>() {
172 public Void answer(InvocationOnMock invocation) {
304 return createMockPrinterDiscoverySessionCallbacks(new Answer<Void>()
336 public Void answer(InvocationOnMock invocation) throws Throwable { method
384 public Void answer(InvocationOnMock invocation) throws Throwable { method
    [all...]
  /external/mockito/src/org/mockito/internal/stubbing/
StubberImpl.java 10 import org.mockito.stubbing.Answer;
19 final List<Answer> answers = new LinkedList<Answer>();
57 public Stubber doAnswer(Answer answer) {
58 answers.add(answer);
  /external/qemu/telephony/
simulator.c 77 const char* answer; local
80 answer = amodem_send( modem, cmd );
81 if (answer == NULL) /* not an AT command, ignored */ {
82 printf( "-- NO ANSWER\n" );
86 dump_line( answer, ">> " );
87 client_append( client, answer, -1 );
  /external/ipsec-tools/src/racoon/
getcertsbyname.c 208 unsigned char *answer = NULL, *p; local
229 p = realloc(answer, buflen);
237 answer = p;
239 anslen = res_query(name, C_IN, T_CERT, answer, buflen);
250 eom = answer + anslen;
252 hp = (HEADER *)answer;
265 len = dn_expand(answer, eom, cp, hostbuf, sizeof(hostbuf));
276 /* answer section */
278 len = dn_expand(answer, eom, cp, hostbuf, sizeof(hostbuf));
336 if (answer)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/session/media/
mediasession_unittest.cc 386 // |expected_direction_in_answer| in an answer if the offer direction is set
407 talk_base::scoped_ptr<SessionDescription> answer(
410 GetFirstAudioContentDescription(answer.get());
413 GetFirstVideoContentDescription(answer.get());
541 talk_base::scoped_ptr<SessionDescription> answer(
550 updated_opts, answer.get()));
638 // Create a typical audio answer, and ensure it matches what we expect.
645 talk_base::scoped_ptr<SessionDescription> answer(
647 const ContentInfo* ac = answer->GetContentByName("audio");
648 const ContentInfo* vc = answer->GetContentByName("video")
916 talk_base::scoped_ptr<SessionDescription> answer; local
1859 talk_base::scoped_ptr<SessionDescription> offer, answer; local
1980 talk_base::scoped_ptr<SessionDescription> offer, answer; local
    [all...]
  /external/chromium_org/v8/src/
serialize.h 149 int32_t answer;
150 ASSERT(position_ + sizeof(answer) <= length_ + 0u);
151 answer = *reinterpret_cast<const int32_t*>(data_ + position_);
153 int32_t answer = data_[position_];
154 answer |= data_[position_ + 1] << 8;
155 answer |= data_[position_ + 2] << 16;
156 answer |= data_[position_ + 3] << 24;
158 return answer;
274 uint32_t answer = GetUnalignedInt();
275 int bytes = answer & 3
    [all...]
  /external/chromium_org/sandbox/win/src/
sharedmem_ipc_client.cc 53 CrossCallReturn* answer) {
103 // The server has returned an answer, copy it and free the channel.
104 memcpy(answer, params->GetCallReturn(), sizeof(CrossCallReturn));
109 return answer->call_outcome;
  /external/lzma/CPP/7zip/UI/Common/
IFileExtractCallback.h 28 Int32 *answer) PURE;
  /external/mockito/src/org/mockito/internal/configuration/
MockAnnotationProcessor.java 31 // see @Mock answer default value
32 mockSettings.defaultAnswer(annotation.answer().get());
  /external/valgrind/main/exp-bbv/tests/amd64-linux/
rep_prefix.S 5 # The answer is validated to hw perf counters.
  /external/easymock/src/org/easymock/internal/
RecordState.java 112 public void andAnswer(IAnswer<?> answer) {
113 requireMethodCall("answer");
114 requireValidAnswer(answer);
118 lastResult = Result.createAnswerResult(answer);
195 public void andStubAnswer(IAnswer<?> answer) {
196 requireMethodCall("stub answer");
197 requireValidAnswer(answer);
201 behavior.addStub(lastInvocation, Result.createAnswerResult(answer));
311 private void requireValidAnswer(IAnswer<?> answer) {
312 if (answer == null)
    [all...]
MocksControl.java 159 public IExpectationSetters<Object> andAnswer(IAnswer<? extends Object> answer) {
161 state.andAnswer(answer);
168 public IExpectationSetters<Object> andDelegateTo(Object answer) {
170 state.andDelegateTo(answer);
193 public void andStubAnswer(IAnswer<? extends Object> answer) {
195 state.andStubAnswer(answer);
  /bionic/libc/dns/resolv/
res_data.c 202 u_char *answer, /* buffer to put answer */
203 int anslen) /* size of answer buffer */
209 return (res_nquery(&_nres, name, class, type, answer, anslen));
271 u_char *answer, /* buffer to put answer */
272 int anslen) /* size of answer */
279 return (res_nsearch(&_nres, name, class, type, answer, anslen));
286 u_char *answer, /* buffer to put answer */
    [all...]
  /hardware/libhardware_legacy/qemu/
qemu.c 98 char answer[2]; local
116 /* read answer from daemon */
117 if (qemu_fd_read(fd, answer, 2) != 2 ||
118 answer[0] != 'O' || answer[1] != 'K') {
351 char* answer, int answersize )
388 /* read the answer */
389 ret = qemu_fd_read( fd, answer, len );
391 D("%s: could not read all of answer %d < %d",
  /external/mdnsresponder/mDNSShared/
dnssd_clientshim.c 354 mDNSlocal void FoundInstance(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
365 if (answer->rrtype != kDNSType_PTR)
366 { LogMsg("FoundInstance: Should not be called with rrtype %d (not a PTR record)", answer->rrtype); return; }
368 if (!DeconstructServiceName(&answer->rdata->u.name, &name, &type, &domain))
371 answer->name->c, answer->rdata->u.name.c);
440 mDNSlocal void FoundServiceInfo(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
446 if (answer->rrtype == kDNSType_SRV && x->SRV == answer) x->SRV = mDNSNULL;
447 if (answer->rrtype == kDNSType_TXT && x->TXT == answer) x->TXT = mDNSNULL
    [all...]

Completed in 1447 milliseconds

1 2 34 5 6 7 8 91011>>