/prebuilts/go/linux-x86/src/math/ |
log10.go | 21 // Make sure exact powers of two give an exact answer.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
tkMessageBox.py | 98 "Ask if operation should proceed; return true if the answer is ok" 103 "Ask a question; return true if the answer is yes" 108 "Ask a question; return true if the answer is yes, None if cancelled." 117 "Ask if operation should be retried; return true if the answer is yes"
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
tkMessageBox.py | 98 "Ask if operation should proceed; return true if the answer is ok" 103 "Ask a question; return true if the answer is yes" 108 "Ask a question; return true if the answer is yes, None if cancelled." 117 "Ask if operation should be retried; return true if the answer is yes"
|
/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);
|
/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...] |
/developers/samples/android/wearable/wear/Quiz/ |
template-params.xml | 40 by answers as actions. When an answer is selected, the corresponding question\'s DataItem is updated, 41 which allows the phone application to update the status of the question (i.e. did the user answer it
|
/external/clang/test/SemaObjC/ |
arc-cf.m | 57 NSString* answer = @"42"; 58 int ans = CFStringGetIntValue(answer); // expected-error {{incompatible pointer types passing retainable parameter of type 'NSString *__strong'to a CF function expecting 'CFStringRef'}}
|
/external/mockito/src/main/java/org/mockito/internal/handler/ |
InvocationNotifierHandler.java | 16 import org.mockito.stubbing.Answer; 70 public void setAnswersForStubbing(List<Answer<?>> answers) {
|
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
SdpObserver.java | 32 /** Called on success of Create{Offer,Answer}(). */ 38 /** Called on error of Create{Offer,Answer}(). */
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
AppLocationPermissionPreferenceControllerTest.java | 33 @Mock(answer = RETURNS_DEEP_STUBS) 38 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
/prebuilts/go/darwin-x86/ |
CONTRIBUTING.md | 13 The gophers there will answer or ask you to file an issue if you've tripped over a bug. 15 When filing an issue, make sure to answer these five questions:
|
/prebuilts/go/linux-x86/ |
CONTRIBUTING.md | 13 The gophers there will answer or ask you to file an issue if you've tripped over a bug. 15 When filing an issue, make sure to answer these five questions:
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSMessage.java | 232 for (DNSRecord answer : _answers) { 234 buf.append(answer); 237 for (DNSRecord answer : _authoritativeAnswers) { 239 buf.append(answer); 242 for (DNSRecord answer : _additionals) { 244 buf.append(answer);
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsEmptyValues.java | 13 import org.mockito.stubbing.Answer; 22 * Default answer of every Mockito mock. 50 public class ReturnsEmptyValues implements Answer<Object>, Serializable { 56 * @see org.mockito.stubbing.Answer#answer(org.mockito.invocation.InvocationOnMock) 58 public Object answer(InvocationOnMock invocation) { method in class:ReturnsEmptyValues
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
ARDWebSocketChannel.m | 217 // Change message to answer, send back to server. 223 withString:@"answer"]; 225 [[RTCSessionDescription alloc] initWithType:@"answer" sdp:dsc]; 226 ARDSignalingMessage *answer = 229 [self sendMessage:answer]; 233 // Should not receive answer in loopback scenario.
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
ResolverListControllerTest.java | 36 import org.mockito.stubbing.Answer; 104 Answer<Void> answer = new Answer<Void>() { local 106 public Void answer(InvocationOnMock invocation) throws Throwable { 111 doAnswer(answer).when(mMockService).reportChooserSelection(
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/res/layout/ |
fragment_incoming_call.xml | 17 <com.android.incallui.answer.impl.AffordanceHolderLayout 35 <com.android.incallui.answer.impl.FixedAspectSurfaceView 142 <!-- Space holder for answer method. This is used to get better scaling to make room for 159 <com.android.incallui.answer.impl.affordance.SwipeButtonView 169 <com.android.incallui.answer.impl.affordance.SwipeButtonView 178 </com.android.incallui.answer.impl.AffordanceHolderLayout>
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
ImsPhoneCallTrackerTest.java | 70 import org.mockito.stubbing.Answer; 105 doAnswer(new Answer<Void>() { 107 public Void answer(InvocationOnMock invocation) throws Throwable { 116 doAnswer(new Answer<Void>() { 118 public Void answer(InvocationOnMock invocation) throws Throwable { 129 doAnswer(new Answer<Void>() { 131 public Void answer(InvocationOnMock invocation) throws Throwable { 141 doAnswer(new Answer<Void>() { 143 public Void answer(InvocationOnMock invocation) throws Throwable { 169 doAnswer(new Answer<Integer>() [all...] |
/external/mdnsresponder/mDNSShared/ |
dnssd_clientshim.c | 369 mDNSlocal void FoundInstance(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) 380 if (answer->rrtype != kDNSType_PTR) 381 { LogMsg("FoundInstance: Should not be called with rrtype %d (not a PTR record)", answer->rrtype); return; } 383 if (!DeconstructServiceName(&answer->rdata->u.name, &name, &type, &domain)) 386 answer->name->c, answer->rdata->u.name.c); 455 mDNSlocal void FoundServiceInfo(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) 461 if (answer->rrtype == kDNSType_SRV && x->SRV == answer) x->SRV = mDNSNULL; 462 if (answer->rrtype == kDNSType_TXT && x->TXT == answer) x->TXT = mDNSNULL [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getnetbydns.c | 118 getnetanswer(querybuf *answer, int anslen, int net_i)
133 * find first satisfactory answer
135 * answer --> +------------+ ( MESSAGE )
140 * | Answer | RRs answering the question
146 eom = answer->buf + anslen;
147 hp = &answer->hdr;
148 ancount = ntohs(hp->ancount); /* #/records in the answer section */
152 cp = answer->buf + HFIXEDSZ;
167 n = dn_expand(answer->buf, eom, cp, bp, buflen);
179 n = dn_expand(answer->buf, eom, cp, bp, buflen); [all...] |
/external/webrtc/talk/session/media/ |
srtpfilter.h | 97 // Indicates which crypto algorithms and keys were contained in the answer. 165 ST_SENTPRANSWER_NO_CRYPTO, // Sent provisional answer without crypto. 166 // Received provisional answer without crypto. 168 ST_ACTIVE, // Offer and answer set. 170 // When the answer is set, the state transitions to ST_ACTIVE or ST_INIT. 173 // When the answer is set, the state transitions back to ST_ACTIVE. 175 // SRTP filter is active but the sent answer is only provisional. 176 // When the final answer is set, the state transitions to ST_ACTIVE or 179 // SRTP filter is active but the received answer is only provisional. 180 // When the final answer is set, the state transitions to ST_ACTIVE o [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiNetworkSelectorTestUtil.java | 184 public WifiConfiguration answer(int netId) { 195 public WifiConfiguration answer(String configKey) { 206 public List<WifiConfiguration> answer() { 216 public boolean answer(int netId) { 232 public boolean answer(int netId, ScanResult scanResult, int score) { 246 public boolean answer(int netId) { 261 public boolean answer(int netId, String configKey, long timestamp) { 377 public WifiConfiguration answer(int netId) { 384 public boolean answer(int netId, ScanResult scanResult, int score) { 395 public boolean answer(int netId, int status) [all...] |
/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/mockito/src/test/java/org/mockitousage/customization/ |
BDDMockitoTest.java | 16 import org.mockito.stubbing.Answer; 76 given(mock.simpleMethod(anyString())).willAnswer(new Answer<String>() { 77 public String answer(InvocationOnMock invocation) throws Throwable { 87 given(mock.simpleMethod(anyString())).will(new Answer<String>() { 88 public String answer(InvocationOnMock invocation) throws Throwable { 199 willAnswer(new Answer<String>() { 200 public String answer(InvocationOnMock invocation) throws Throwable {
|