Home
last modified time | relevance | path

Searched refs:answer (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/net/jni/
DNativeDnsJni.c33 struct addrinfo *answer; in Java_android_net_cts_DnsTest_testNativeDns() local
35 int res = getaddrinfo(node, service, NULL, &answer); in Java_android_net_cts_DnsTest_testNativeDns()
43 struct addrinfo *current = answer; in Java_android_net_cts_DnsTest_testNativeDns()
60 freeaddrinfo(answer); in Java_android_net_cts_DnsTest_testNativeDns()
61 answer = NULL; in Java_android_net_cts_DnsTest_testNativeDns()
69 res = getaddrinfo(node, service, NULL, &answer); in Java_android_net_cts_DnsTest_testNativeDns()
76 struct addrinfo *current = answer; in Java_android_net_cts_DnsTest_testNativeDns()
93 freeaddrinfo(answer); in Java_android_net_cts_DnsTest_testNativeDns()
94 answer = NULL; in Java_android_net_cts_DnsTest_testNativeDns()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DTarget.java285 Floaty answer = new Floaty(a.mNumberOfBits, values); in sqrt() local
287 answer.ExpandRangeByUlpFactor(); in sqrt()
288 return answer; in sqrt()
518 double answer; in smallestNormal() local
520 answer = Float16Utils.MIN_NORMAL; in smallestNormal()
522 answer = Float.MIN_NORMAL; in smallestNormal()
524 answer = Double.MIN_NORMAL; in smallestNormal()
527 answer = -answer; in smallestNormal()
529 return answer; in smallestNormal()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DFileParser.java179 int answer = 0; in getIntLittleEndian() local
182 answer = (answer << 8) | (byteArray[i] & 0xff); in getIntLittleEndian()
184 return answer; in getIntLittleEndian()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DReadElf.java438 int answer = 0; in readX() local
441 answer = (answer << 8) | (mBuffer[i] & 0xff); in readX()
446 answer = (answer << 8) | (mBuffer[i] & 0xff); in readX()
450 return answer; in readX()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DReadElf.java438 int answer = 0; in readX() local
441 answer = (answer << 8) | (mBuffer[i] & 0xff); in readX()
446 answer = (answer << 8) | (mBuffer[i] & 0xff); in readX()
450 return answer; in readX()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java795 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaComponentName()
872 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetId()
959 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetIds()
1038 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetId()
1116 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetIds()
1140 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetIds()
1208 public Void answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets()
1249 public Integer answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets()
1255 public RemoteViews answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets()
1267 public Integer answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets()
[all …]
DCollectionAppWidgetTest.java155 public RemoteViews answer(InvocationOnMock invocation) throws Throwable { in setup()
/cts/tests/tests/net/src/android/net/cts/
DDnsResolverTest.java223 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer() argument
230 mDnsAnswer = new DnsAnswer(answer); in onAnswer()
234 Log.d(TAG, "Reported blob: " + byteArrayToHexString(answer)); in onAnswer()
482 for (InetAddress answer : mAnswers) { in hasIpv6Answer()
483 if (answer instanceof Inet6Address) return true; in hasIpv6Answer()
489 for (InetAddress answer : mAnswers) { in hasIpv4Answer()
490 if (answer instanceof Inet4Address) return true; in hasIpv4Answer()
/cts/tests/tests/telecom/src/android/telecom/cts/
DExtendedInCallServiceTest.java229 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testAnswerIncomingCallAudioOnly()
318 call1.answer(VideoProfile.STATE_AUDIO_ONLY); in testAcceptRingingCallTwoCalls()
350 call1.answer(VideoProfile.STATE_AUDIO_ONLY); in testAcceptRingingCallTwoCallsCarMode()
425 call.answer(VideoProfile.STATE_BIDIRECTIONAL); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
DMockConnection.java70 mRemoteConnection.answer(); in onAnswer()
DSelfManagedConnectionServiceTest.java281 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld()
DRemoteConnectionTest.java107 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testRemoteConnectionIncomingCallAccept()
/cts/tests/tests/net/native/dns/
DNativeDnsAsyncTest.cpp88 for (auto &answer : answers) { in expectAnswersValid() local
90 EXPECT_EQ(1, inet_pton(ipType, answer.c_str(), pton)); in expectAnswersValid()
/cts/tests/tests/slice/src/android/slice/cts/
DLocalSliceProvider.java53 return s.answer(invocation); in attachInfo()
/cts/tests/tests/widget/src/android/widget/cts/
DMultiAutoCompleteTextViewTest.java146 public CharSequence answer(InvocationOnMock invocation) throws Throwable { in testPerformValidation()