Searched refs:results (Results 1 - 25 of 45) 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.py98 results = "" variable
101 results += TestDataTypeViolations(pol)
103 results += TestProcTypeViolations(pol)
105 results += TestSysfsTypeViolations(pol)
107 results += TestDebugfsTypeViolations(pol)
109 results += TestVendorTypeViolations(pol)
111 results += TestCoreDataTypeViolations(pol)
113 if len(results) > 0:
114 sys.exit(results)
H A Dtreble_sepolicy_tests.py379 results = "" variable
383 results += t()
388 results += t()
396 if len(results) > 0:
397 sys.exit(results)
/system/tools/hidl/
H A DgenerateJava.cpp223 const bool returnsValue = !method->results().empty();
224 const bool needsCallback = method->results().size() > 1;
243 out << method->results()[0]->type().getJavaType();
326 const bool returnsValue = !method->results().empty();
327 const bool needsCallback = method->results().size() > 1;
331 out << method->results()[0]->type().getJavaType();
404 for (const auto &arg : method->results()) {
417 for (const auto &arg : method->results()) {
428 const std::string returnName = method->results()[0]->name();
465 CHECK_LE(method->results()
[all...]
H A DMethod.cpp31 std::vector<NamedReference<Type>*>* results, bool oneway,
35 mResults(results),
64 const std::vector<NamedReference<Type>*>& Method::results() const { function in class:android::Method
170 return args().empty() && (results().empty() || canElideCallback() != nullptr);
224 const bool returnsValue = !results().empty();
235 emitCppArgResultSignature(out, results(), specifyNamespaces);
241 emitJavaArgResultSignature(out, results());
30 Method(const char* name, std::vector<NamedReference<Type>*>* args, std::vector<NamedReference<Type>*>* results, bool oneway, std::vector<Annotation*>* annotations, const Location& location) argument
H A DgenerateCppAdapter.cpp151 bool hasCallback = !method->canElideCallback() && !method->results().empty();
160 out.join(method->results().begin(), method->results().end(), ",\n",
H A DgenerateCpp.cpp278 const bool returnsValue = !method->results().empty();
435 const bool returnsValue = !method->results().empty();
490 out.join(method->results().begin(), method->results().end(), ", ", [&](const auto &arg) {
502 for (const auto &arg : method->results()) {
514 out.join(method->results().begin(), method->results().end(), ", ", [&](const auto &arg) {
668 const bool returnsValue = !method->results().empty();
966 const bool returnsValue = !method->results().empty();
1031 const bool returnsValue = !method->results()
[all...]
H A DMethod.h56 std::vector<NamedReference<Type>*>* results, bool oneway,
61 const std::vector<NamedReference<Type>*>& results() const;
80 // Make a copy with the same name, args, results, oneway, annotations.
/system/netd/tests/
H A Ddns_tls_test.cpp172 std::vector<std::future<DnsTlsTransport::Result>> results; local
175 results.push_back(transport.query(makeSlice(QUERY)));
177 for (auto& result : results) {
235 std::vector<std::future<DnsTlsTransport::Result>> results; local
238 results.push_back(transport.query(makeSlice(QUERY)));
240 for (auto& result : results) {
252 std::vector<std::future<DnsTlsTransport::Result>> results; local
256 results.push_back(transport.query(makeSlice(QUERY)));
258 for (auto& result : results) {
271 std::vector<std::future<DnsTlsTransport::Result>> results; local
289 std::vector<std::future<DnsTlsTransport::Result>> results; local
310 std::vector<std::future<DnsTlsTransport::Result>> results; local
336 std::vector<std::future<DnsTlsTransport::Result>> results; local
354 std::vector<std::future<DnsTlsTransport::Result>> results; local
491 std::vector<std::future<DnsTlsTransport::Result>> results; local
512 std::vector<std::future<DnsTlsTransport::Result>> results; local
[all...]
/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/iot/attestation/partner-tools/
H A Dprovision-test.py356 results = parser.parse_args()
357 fastboot_device = results.serial
358 algorithm = _ALGORITHMS[results.algorithm]
359 operation = _OPERATIONS[results.operation]
/system/chre/chre_api/include/chre_api/chre/
H A Dwifi.h55 //! Listening to scan results is supported, as enabled via
91 * Provides results of a WiFi scan.
98 * Provides results of an RTT ranging request.
372 //! results of a previous scan, and if so, the maximum age of the scan that
375 //! received, in milliseconds. If set to 0, no cached results may be
376 //! provided, and all scan results must come from a "fresh" WiFi scan, i.e.
521 //! The number of entries in the results array in this event. The CHRE
522 //! implementation may split scan results across multiple events for memory
526 //! The total number of results returned by the scan. Allows an event
533 //! this is monotonically increasing for the results o
566 const struct chreWifiScanResult *results; member in struct:chreWifiScanEvent
718 const struct chreWifiRangingResult *results; member in struct:chreWifiRangingEvent
[all...]
/system/bt/osi/include/
H A Dmetrics.h150 * results: number of results to be reported.
153 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 */
782 p_inq->inq_cmpl_info.num_resp = 0; /* Clear the results counter */
1226 if (p_bda == NULL || (p_ent->inq_info.results.remote_bd_addr == *p_bda)) {
1304 if (p_ent->in_use && p_ent->inq_info.results.remote_bd_addr == p_bda)
1332 p_ent->inq_info.results.remote_bd_addr = p_bda;
1347 p_old->inq_info.results.remote_bd_addr = p_bda;
1419 /* Filter the inquiry results for the specified condition type and value */
1594 * Description This function is called when inquiry results are received
1629 /* Only process the results i
[all...]
H A Dbtm_dev.cc240 memcpy(p_dev_rec->dev_class, p_inq_info->results.dev_class, DEV_CLASS_LEN);
242 p_dev_rec->device_type = p_inq_info->results.device_type;
243 p_dev_rec->ble.ble_addr_type = p_inq_info->results.ble_addr_type;
/system/libvintf/
H A DVintfObject.cpp276 std::vector<Named<CompatibilityMatrix>> results; local
294 auto it = results.emplace(results.end());
299 results.erase(it);
304 if (results.empty()) {
316 return results;
/system/chre/chre_api/legacy/v1_1/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/core/init/
H A Dresult.h161 Result(U&& result, V&&... results) argument
163 std::forward<V>(results)...) {}
/system/keymaster/include/keymaster/
H A Dandroid_keymaster_messages.h200 : KeymasterResponse(ver), results(nullptr), results_length(0) {}
201 ~SupportedResponse() { delete[] results; }
206 delete[] results;
208 results = dup_array(arr, n);
209 if (results == nullptr) {
221 return append_uint32_array_to_buf(buf, end, results, results_length);
224 delete[] results;
225 results = nullptr;
228 results = tmp.release();
232 T* results; member in struct:keymaster::SupportedResponse
[all...]
/system/keymaster/contexts/
H A Dsoft_keymaster_device.cpp436 std::copy(response.results, response.results + response.results_length, *algorithms);
472 std::copy(response.results, response.results + response.results_length, *modes);
508 std::copy(response.results, response.results + response.results_length, *modes);
543 std::copy(response.results, response.results + response.results_length, *digests);
576 std::copy(response.results, response.results
[all...]

Completed in 3690 milliseconds

12