Home
last modified time | relevance | path

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

/cts/tests/tests/net/jni/
DNativeDnsJni.c38 struct addrinfo *answer; in Java_android_net_cts_DnsTest_testNativeDns() local
40 int res = getaddrinfo(node, service, NULL, &answer); in Java_android_net_cts_DnsTest_testNativeDns()
48 struct addrinfo *current = answer; in Java_android_net_cts_DnsTest_testNativeDns()
65 freeaddrinfo(answer); in Java_android_net_cts_DnsTest_testNativeDns()
66 answer = NULL; in Java_android_net_cts_DnsTest_testNativeDns()
74 res = getaddrinfo(node, service, NULL, &answer); in Java_android_net_cts_DnsTest_testNativeDns()
81 struct addrinfo *current = answer; in Java_android_net_cts_DnsTest_testNativeDns()
98 freeaddrinfo(answer); in Java_android_net_cts_DnsTest_testNativeDns()
99 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-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/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/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.java218 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer() argument
227 mDnsAnswer = new DnsAnswer(answer); in onAnswer()
233 Log.d(TAG, "Reported blob: " + byteArrayToHexString(answer)); in onAnswer()
522 for (InetAddress answer : mAnswers) { in hasIpv6Answer()
523 if (answer instanceof Inet6Address) return true; in hasIpv6Answer()
529 for (InetAddress answer : mAnswers) { in hasIpv4Answer()
530 if (answer instanceof Inet4Address) return true; in hasIpv4Answer()
/cts/tests/tests/telecom/src/android/telecom/cts/
DAdhocConferenceTest.java103 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testAddNewIncomingConference_onAnswer()
134 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testConferenceCallAddConferenceParticipants()
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()
430 call.answer(VideoProfile.STATE_BIDIRECTIONAL); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
DBackgroundCallAudioTest.java483 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testLowerApiLevelCompatibility1()
560 call.answer(VideoProfile.STATE_AUDIO_ONLY); in verifySimulateRingAndUserPickup()
DMockConnection.java70 mRemoteConnection.answer(); in onAnswer()
DSelfManagedConnectionServiceTest.java282 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()