/system/chre/apps/wifi_offload/ |
H A D | scan_result_message.cc | 22 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 D | flatbuffers_serialization.cc | 45 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 D | scan_result_message.h | 27 * 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 D | flatbuffers_serialization.h | 43 * @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 D | metadata-parser-sanity-check | 35 local results 36 results="$(python "$file" 2>&1)" 40 echo "$results" >& 2
|
/system/sepolicy/tests/ |
H A D | sepolicy_tests.py | 98 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 D | treble_sepolicy_tests.py | 379 results = "" variable 383 results += t() 388 results += t() 396 if len(results) > 0: 397 sys.exit(results)
|
/system/tools/hidl/ |
H A D | generateJava.cpp | 223 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 D | Method.cpp | 31 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 D | generateCppAdapter.cpp | 151 bool hasCallback = !method->canElideCallback() && !method->results().empty(); 160 out.join(method->results().begin(), method->results().end(), ",\n",
|
H A D | generateCpp.cpp | 278 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 D | Method.h | 56 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 D | dns_tls_test.cpp | 172 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 D | post_process_mac_perms | 53 results = re.findall(PEM_CERT_RE, pem_string, re.DOTALL) 54 certs = [transform(i) for i in results]
|
/system/bt/service/ |
H A D | gatt_server_old.h | 111 // 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 D | provision-test.py | 356 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 D | wifi.h | 55 //! 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 D | metrics.h | 150 * results: number of results to be reported. 153 uint32_t results, uint64_t timestamp_ms);
|
/system/bt/stack/btm/ |
H A D | btm_inq.cc | 394 * 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 D | btm_dev.cc | 240 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 D | VintfObject.cpp | 276 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 D | wifi.h | 53 //! 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 D | result.h | 161 Result(U&& result, V&&... results) argument 163 std::forward<V>(results)...) {}
|
/system/keymaster/include/keymaster/ |
H A D | android_keymaster_messages.h | 200 : 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 D | soft_keymaster_device.cpp | 436 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...] |