Home
last modified time | relevance | path

Searched refs:results (Results 1 – 25 of 77) sorted by relevance

1234

/system/chre/apps/wifi_offload/
Dscan_result_message.cc22 void ScanResultMessage::SetScanResults(const Vector<ScanResult> &results) { in SetScanResults() argument
24 scan_results_.reserve(results.size()); in SetScanResults()
25 for (const auto &result : results) { in SetScanResults()
30 void ScanResultMessage::GetScanResults(Vector<ScanResult> *results) { in GetScanResults() argument
31 if (results == nullptr) { in GetScanResults()
36 results->clear(); in GetScanResults()
37 results->reserve(scan_results_.size()); in GetScanResults()
39 results->emplace_back(result); in GetScanResults()
45 auto results = SerializeVector(scan_results_, builder); in Serialize() local
46 return fbs::CreateScanResultMessage(*builder, results); in Serialize()
Dflatbuffers_serialization.cc45 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results, in Serialize() argument
48 msg.SetScanResults(results); in Serialize()
53 wifi_offload::Vector<wifi_offload::ScanResult> *results) { in Deserialize() argument
57 msg.GetScanResults(results); in Deserialize()
/system/sepolicy/tests/
Dsepolicy_tests.py102 results = "" variable
105 results += TestDataTypeViolations(pol)
107 results += TestProcTypeViolations(pol)
109 results += TestSysfsTypeViolations(pol)
111 results += TestSystemTypeViolations(pol)
113 results += TestDebugfsTypeViolations(pol)
115 results += TestVendorTypeViolations(pol)
117 results += TestCoreDataTypeViolations(pol)
119 if len(results) > 0:
120 sys.exit(results)
Dtreble_sepolicy_tests.py397 results = "" variable
401 results += t()
406 results += t()
414 if len(results) > 0:
415 sys.exit(results)
/system/chre/apps/chqts/src/general_test/
Dbasic_wifi_test.cc309 validateWifiScanResult(eventData->resultCount, eventData->results); in validateWifiScanEvent()
318 uint8_t count, const chreWifiScanResult *results) { in validateWifiScanResult() argument
320 if (results[i].ssidLen > CHRE_WIFI_SSID_MAX_LEN) { in validateWifiScanResult()
322 "Got unexpected ssidLen %d", results[i].ssidLen); in validateWifiScanResult()
327 if (results[i].band != CHRE_WIFI_BAND_2_4_GHZ in validateWifiScanResult()
328 && results[i].band != CHRE_WIFI_BAND_5_GHZ) { in validateWifiScanResult()
329 chreLog(CHRE_LOG_ERROR, "Got unexpected band %d", results[i].band); in validateWifiScanResult()
336 if (results[i].rssi >= 36) { in validateWifiScanResult()
338 results[i].rssi); in validateWifiScanResult()
341 validatePrimaryChannel(results[i]); in validateWifiScanResult()
[all …]
Dbasic_wifi_test.h117 const chreWifiScanResult *results);
/system/tools/hidl/
DgenerateJava.cpp245 const bool returnsValue = !method->results().empty(); in generateJava()
246 const bool needsCallback = method->results().size() > 1; in generateJava()
265 out << method->results()[0]->type().getJavaType(); in generateJava()
344 const bool returnsValue = !method->results().empty(); in generateJava()
345 const bool needsCallback = method->results().size() > 1; in generateJava()
349 out << method->results()[0]->type().getJavaType(); in generateJava()
422 for (const auto &arg : method->results()) { in generateJava()
435 for (const auto &arg : method->results()) { in generateJava()
446 const std::string returnName = method->results()[0]->name(); in generateJava()
479 CHECK_LE(method->results().size(), 1u); in generateJava()
[all …]
DMethod.cpp31 std::vector<NamedReference<Type>*>* results, bool oneway, in Method() argument
35 mResults(results), in Method()
64 const std::vector<NamedReference<Type>*>& Method::results() const { in results() function in android::Method
168 return args().empty() && (results().empty() || canElideCallback() != nullptr); in hasEmptyCppArgSignature()
222 const bool returnsValue = !results().empty(); in emitCppArgSignature()
233 emitCppArgResultSignature(out, results(), specifyNamespaces); in emitCppResultSignature()
239 emitJavaArgResultSignature(out, results()); in emitJavaResultSignature()
DgenerateCpp.cpp308 const bool returnsValue = !method->results().empty(); in generateInterfaceHeader()
476 const bool returnsValue = !method->results().empty(); in generatePassthroughMethod()
541 out.join(method->results().begin(), method->results().end(), ", ", [&](const auto &arg) { in generatePassthroughMethod()
555 for (const auto &arg : method->results()) { in generatePassthroughMethod()
730 const bool returnsValue = !method->results().empty(); in generateStubHeader()
1033 const bool returnsValue = !method->results().empty(); in generateProxyMethodSource()
1098 const bool returnsValue = !method->results().empty(); in generateStaticProxyMethodSource()
1116 out, method->results(), true /* forResults */); in generateStaticProxyMethodSource()
1175 for (const auto &arg : method->results()) { in generateStaticProxyMethodSource()
1187 for (const auto &arg : method->results()) { in generateStaticProxyMethodSource()
[all …]
DgenerateCppAdapter.cpp144 bool hasCallback = !method->canElideCallback() && !method->results().empty(); in generateAdapterMethod()
153 out.join(method->results().begin(), method->results().end(), ",\n", in generateAdapterMethod()
DMethod.h56 std::vector<NamedReference<Type>*>* results, bool oneway,
61 const std::vector<NamedReference<Type>*>& results() const;
/system/netd/resolv/
Ddns_tls_test.cpp204 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() local
207 results.reserve(num_queries); in TEST_F()
209 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F()
211 for (auto& result : results) { in TEST_F()
270 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() local
272 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
274 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F()
276 for (auto& result : results) { in TEST_F()
288 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() local
291 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
[all …]
/system/media/camera/docs/
Dmetadata-parser-sanity-check35 local results
36 results="$(python "$file" 2>&1)"
40 echo "$results" >& 2
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dscan_result_message.h38 void SetScanResults(const Vector<ScanResult> &results);
39 void GetScanResults(Vector<ScanResult> *results);
Dflatbuffers_serialization.h58 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results,
76 wifi_offload::Vector<wifi_offload::ScanResult> *results);
/system/netd/resolv/tests/
DTestMetrics.h39 TestOnDnsEvent(const std::vector<TestResult>& results) : mResults(results){}; in TestOnDnsEvent() argument
/system/testing/gtest_extras/
DIsolate.cpp434 void Isolate::PrintResults(size_t total, const ResultsType& results, std::string* footer) { in PrintResults() argument
435 ColoredPrintf(results.color, results.prefix); in PrintResults()
436 if (results.list_desc != nullptr) { in PrintResults()
437 printf(" %s %s, listed below:\n", PluralizeString(total, " test").c_str(), results.list_desc); in PrintResults()
443 if (results.match_func(*test)) { in PrintResults()
444 ColoredPrintf(results.color, results.prefix); in PrintResults()
446 if (results.print_func != nullptr) { in PrintResults()
447 results.print_func(options_, *test); in PrintResults()
453 if (results.title == nullptr) { in PrintResults()
461 PluralizeString(total, (std::string(" ") + results.title + " TEST").c_str(), true) + '\n'; in PrintResults()
/system/security/keystore/include/keystore/
Dkeystore_promises.h43 ::android::binder::Status onFinished(const Results&... results) override { in onFinished() argument
44 this->set_value({results...}); in onFinished()
/system/bt/stack/btm/
Dbtm_inq.cc1226 if (p_bda == NULL || (p_ent->inq_info.results.remote_bd_addr == *p_bda)) { in btm_clr_inq_db()
1304 if (p_ent->in_use && p_ent->inq_info.results.remote_bd_addr == p_bda) in btm_inq_db_find()
1332 p_ent->inq_info.results.remote_bd_addr = p_bda; in btm_inq_db_new()
1347 p_old->inq_info.results.remote_bd_addr = p_bda; in btm_inq_db_new()
1671 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0))) { in btm_process_inq_results()
1685 (i_rssi > p_i->inq_info.results.rssi || in btm_process_inq_results()
1686 p_i->inq_info.results.rssi == 0 in btm_process_inq_results()
1689 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)) { in btm_process_inq_results()
1690 p_cur = &p_i->inq_info.results; in btm_process_inq_results()
1699 p_cur = &p_i->inq_info.results; in btm_process_inq_results()
[all …]
/system/sepolicy/tools/
Dpost_process_mac_perms53 results = re.findall(PEM_CERT_RE, pem_string, re.DOTALL)
54 certs = [transform(i) for i in results]
/system/iorap/src/inode2filename/
Dsearch_directories.cc436 std::vector<DirectoryEntryResult> results; in ReadDirectoryEntriesFromDirectoryPath() local
452 results.push_back(DirectoryEntry{child_path(), in ReadDirectoryEntriesFromDirectoryPath()
459 results.push_back(DirectoryEntryError{kDtUnknown, /*errno*/0, child_path()}); in ReadDirectoryEntriesFromDirectoryPath()
462 results.push_back(DirectoryEntry{child_path(), in ReadDirectoryEntriesFromDirectoryPath()
472 results.push_back(DirectoryEntryError{kReadDir, errno, dirpath}); in ReadDirectoryEntriesFromDirectoryPath()
480 return results; in ReadDirectoryEntriesFromDirectoryPath()
720 auto/*obs<DirectoryEntryResult*/ results = sentinel.GetSubTreePreOrderEntries(system_call); in SearchDirectoriesForMatchingInodes() local
723 auto/*obs<DirectoryEntry*>*/ expected_drop_errors = MapExpectedOrLogError(std::move(results)); in SearchDirectoriesForMatchingInodes()
/system/bt/service/
Dgatt_server_old.h118 bool GetScanResults(ScanResults* results);
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h566 const struct chreWifiScanResult *results; member
718 const struct chreWifiRangingResult *results; member
/system/core/init/
Dresult.h161 Result(U&& result, V&&... results) in Result() argument
163 std::forward<V>(results)...) {} in Result()
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h566 const struct chreWifiScanResult *results; member
718 const struct chreWifiRangingResult *results; member

1234