Home
last modified time | relevance | path

Searched refs:makeSlice (Results 1 – 9 of 9) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_tls_unit_test.cpp44 using netdutils::makeSlice;
153 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F()
190 std::future<DnsTlsTransport::Result> f = transport.query(makeSlice(QUERY)); in TEST_F()
212 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F()
282 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F()
302 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F()
322 results.push_back(transport.query(makeSlice(queries[i]))); in TEST_F()
344 results.push_back(transport.query(makeSlice(queries[i]))); in TEST_F()
366 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F()
370 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F()
[all …]
Dresolv_integration_test.cpp123 using android::netdutils::makeSlice;
5709 SCOPED_TRACE(StringPrintf("Hex dump: %s", toHex(makeSlice(response)).c_str())); in TEST_P()
/packages/modules/DnsResolver/
DDnsTlsTransport.cpp180 const bool sent = mSocket->query(q.newId, netdutils::drop(netdutils::makeSlice(q.query), 2)); in sendQuery()
286 auto r = transport.query(netdutils::makeSlice(query)).get(); in validate()
343 auto r = transport.query(netdutils::makeSlice(query)).get(); in validate()
DDnsTlsSocket.cpp614 if (!sslWrite(netdutils::makeSlice(buf))) { in sendQuery()
638 if (sslRead(netdutils::makeSlice(response), true) != SSL_ERROR_NONE) { in readResponse()
646 if (sslRead(netdutils::makeSlice(discard), true) != SSL_ERROR_NONE) { in readResponse()
DDnsTlsDispatcher.cpp196 netdutils::copy(ans, netdutils::makeSlice(result.response)); in query()
/packages/modules/NeuralNetworks/common/include/
DMetaModel.h115 Slice makeSlice(Version version) const;
/packages/modules/NeuralNetworks/common/
DMetaModel.cpp106 slice = makeSlice(version); in getSlice()
355 MetaModel::Slice MetaModel::makeSlice(Version version) const { in makeSlice() function in android::nn::MetaModel
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java296 Path path = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, in layoutItems()
322 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() method in PieRenderer
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java297 Path path = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, outer, inner, center); in layoutItems()
321 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() method in PieRenderer