Searched refs:results (Results 1 - 25 of 40) sorted by relevance

12

/system/chre/apps/wifi_offload/
H A Dscan_result_message.cc22 void ScanResultMessage::SetScanResults(const Vector<ScanResult> &results) { argument
24 scan_results_.reserve(results.size());
25 for (const auto &result : results) {
30 void ScanResultMessage::GetScanResults(Vector<ScanResult> *results) { argument
31 if (results == nullptr) {
36 results->clear();
37 results->reserve(scan_results_.size());
39 results->emplace_back(result);
45 auto results = SerializeVector(scan_results_, builder); local
46 return fbs::CreateScanResultMessage(*builder, results);
[all...]
H A Dflatbuffers_serialization.cc45 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results, argument
48 msg.SetScanResults(results);
53 wifi_offload::Vector<wifi_offload::ScanResult> *results) {
57 msg.GetScanResults(results);
52 Deserialize(const uint8_t *buffer, size_t buffer_len, wifi_offload::Vector<wifi_offload::ScanResult> *results) argument
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
H A Dscan_result_message.h27 * Container for vector of scan results that provides serialization methods
38 void SetScanResults(const Vector<ScanResult> &results);
39 void GetScanResults(Vector<ScanResult> *results);
H A Dflatbuffers_serialization.h43 * @param stats/config/results object to be serialized
58 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results,
66 * @param stats/config/results Pointer to the output object to hold the result
76 wifi_offload::Vector<wifi_offload::ScanResult> *results);
/system/media/camera/docs/
H A Dmetadata-parser-sanity-check35 local results
36 results="$(python "$file" 2>&1)"
40 echo "$results" >& 2
/system/sepolicy/tests/
H A Dsepolicy_tests.py75 results = "" variable
78 results += TestDataTypeViolations(pol)
80 results += TestSysfsTypeViolations(pol)
82 results += TestDebugfsTypeViolations(pol)
84 if len(results) > 0:
85 sys.exit(results)
H A Dtreble_sepolicy_tests.py330 results = "" variable
334 results += t()
339 results += t()
347 if len(results) > 0:
348 sys.exit(results)
/system/tools/hidl/
H A DgenerateJava.cpp271 const bool returnsValue = !method->results().empty();
272 const bool needsCallback = method->results().size() > 1;
289 out << method->results()[0]->type().getJavaType();
360 const bool returnsValue = !method->results().empty();
361 const bool needsCallback = method->results().size() > 1;
365 out << method->results()[0]->type().getJavaType();
438 for (const auto &arg : method->results()) {
451 for (const auto &arg : method->results()) {
462 const std::string returnName = method->results()[0]->name();
497 CHECK_LE(method->results()
[all...]
H A DMethod.cpp30 std::vector<TypedVar *> *results,
35 mResults(results),
64 const std::vector<TypedVar *> &Method::results() const { function in class:android::Method
120 return args().empty() && (results().empty() || canElideCallback() != nullptr);
173 const bool returnsValue = !results().empty();
184 emitCppArgResultSignature(out, results(), specifyNamespaces);
190 emitJavaArgResultSignature(out, results());
28 Method(const char *name, std::vector<TypedVar *> *args, std::vector<TypedVar *> *results, bool oneway, std::vector<Annotation *> *annotations) argument
H A DMethod.h51 std::vector<TypedVar *> *results,
57 const std::vector<TypedVar *> &results() const;
67 // Make a copy with the same name, args, results, oneway, annotations.
H A DgenerateCpp.cpp490 const bool returnsValue = !method->results().empty();
671 const bool returnsValue = !method->results().empty();
726 out.join(method->results().begin(), method->results().end(), ", ", [&](const auto &arg) {
738 for (const auto &arg : method->results()) {
750 out.join(method->results().begin(), method->results().end(), ", ", [&](const auto &arg) {
927 const bool returnsValue = !method->results().empty();
1306 const bool returnsValue = !method->results().empty();
1374 const bool returnsValue = !method->results()
[all...]
H A DInterface.cpp311 const VectorType *chainType = static_cast<const VectorType *>(&method->results()[0]->type());
404 const Type &refInfo = method->results().front()->type();
806 for (const auto &result : method->results()) {
/system/update_engine/
H A Dchrome_browser_proxy_resolver_unittest.cc109 deque<string> results = local
112 EXPECT_EQ(results.size(), expected.size()) << "i = " << i;
113 if (expected.size() != results.size())
116 EXPECT_EQ(expected[j], results[j]) << "i = " << i;
/system/sepolicy/tools/
H A Dpost_process_mac_perms53 results = re.findall(PEM_CERT_RE, pem_string, re.DOTALL)
54 certs = [transform(i) for i in results]
/system/bt/service/
H A Dgatt_server_old.h111 // Enable LE scan. Scan results will be cached internally.
117 // Copy out the cached scan results.
118 bool GetScanResults(ScanResults* results);
/system/bt/osi/include/
H A Dmetrics.h149 * results: number of results to be reported.
152 uint32_t results, uint64_t timestamp_ms);
/system/bt/stack/btm/
H A Dbtm_inq.cc394 * p_results_cb - callback returning pointer to results
448 p_inq->inq_cmpl_info.num_resp = 0; /* Clear the results counter */
793 p_inq->inq_cmpl_info.num_resp = 0; /* Clear the results counter */
1303 if (p_bda == NULL || (p_ent->inq_info.results.remote_bd_addr == *p_bda)) {
1381 if (p_ent->in_use && p_ent->inq_info.results.remote_bd_addr == p_bda)
1409 p_ent->inq_info.results.remote_bd_addr = p_bda;
1424 p_old->inq_info.results.remote_bd_addr = p_bda;
1496 /* Filter the inquiry results for the specified condition type and value */
1671 * Description This function is called when inquiry results are received
1706 /* Only process the results i
[all...]
H A Dbtm_dev.cc236 memcpy(p_dev_rec->dev_class, p_inq_info->results.dev_class, DEV_CLASS_LEN);
238 p_dev_rec->device_type = p_inq_info->results.device_type;
239 p_dev_rec->ble.ble_addr_type = p_inq_info->results.ble_addr_type;
/system/keymaster/include/keymaster/
H A Dandroid_keymaster_messages.h192 : KeymasterResponse(ver), results(nullptr), results_length(0) {}
193 ~SupportedResponse() { delete[] results; }
198 delete[] results;
200 results = dup_array(arr, n);
201 if (results == nullptr) {
213 return append_uint32_array_to_buf(buf, end, results, results_length);
216 delete[] results;
217 results = nullptr;
221 results = tmp.release();
225 T* results; member in struct:keymaster::SupportedResponse
[all...]
/system/chre/chre_api/include/chre_api/chre/
H A Dwifi.h53 //! Listening to scan results is supported, as enabled via
80 * Provides results of a WiFi scan.
249 //! results of a previous scan, and if so, the maximum age of the scan that
252 //! received, in milliseconds. If set to 0, no cached results may be
253 //! provided, and all scan results must come from a "fresh" WiFi scan, i.e.
373 //! The number of entries in the results array in this event. The CHRE
374 //! implementation may split scan results across multiple events for memory
378 //! The total number of results returned by the scan. Allows an event
385 //! this is monotonically increasing for the results of a single scan. Valid
388 //! ceil(resultTotal / <max results pe
418 const struct chreWifiScanResult *results; member in struct:chreWifiScanEvent
[all...]
/system/keymaster/
H A Dsoft_keymaster_device.cpp437 std::copy(response.results, response.results + response.results_length, *algorithms);
473 std::copy(response.results, response.results + response.results_length, *modes);
509 std::copy(response.results, response.results + response.results_length, *modes);
544 std::copy(response.results, response.results + response.results_length, *digests);
577 std::copy(response.results, response.results
[all...]
/system/libhwbinder/vts/performance/
H A DBenchmark_throughput.cpp133 // Calculate and report the final aggregated results.
221 ProcResults results; local
245 results.add_time(cur_time);
251 // Send results to master and wait for go to exit.
252 p.send(results);
380 // Collect all results from the workers.
381 cout << "collecting results" << endl;
/system/bt/osi/src/
H A Dmetrics_linux.cc154 scan_tech_t type, uint32_t results,
152 LogScanEvent(bool start, const std::string& initator, scan_tech_t type, uint32_t results, uint64_t timestamp_ms) argument
/system/chre/apps/wifi_world/
H A Dwifi_world.cc148 LOGI("Received Wifi scan event with %" PRIu8 " results at %" PRIu64 "ns",
152 const chreWifiScanResult& result = event->results[i];
/system/libhidl/transport/
H A DServiceManagement.cpp174 std::vector<std::string> results{};
182 results.push_back(name);
186 return results;

Completed in 469 milliseconds

12