/system/chre/apps/wifi_offload/ |
D | scan_result_message.cc | 22 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()
|
D | flatbuffers_serialization.cc | 45 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/ |
D | sepolicy_tests.py | 102 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)
|
D | treble_sepolicy_tests.py | 397 results = "" variable 401 results += t() 406 results += t() 414 if len(results) > 0: 415 sys.exit(results)
|
/system/chre/apps/chqts/src/general_test/ |
D | basic_wifi_test.cc | 309 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 …]
|
D | basic_wifi_test.h | 117 const chreWifiScanResult *results);
|
/system/tools/hidl/ |
D | generateJava.cpp | 245 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 …]
|
D | Method.cpp | 31 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()
|
D | generateCpp.cpp | 308 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 …]
|
D | generateCppAdapter.cpp | 144 bool hasCallback = !method->canElideCallback() && !method->results().empty(); in generateAdapterMethod() 153 out.join(method->results().begin(), method->results().end(), ",\n", in generateAdapterMethod()
|
D | Method.h | 56 std::vector<NamedReference<Type>*>* results, bool oneway, 61 const std::vector<NamedReference<Type>*>& results() const;
|
/system/netd/resolv/ |
D | dns_tls_test.cpp | 204 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/ |
D | metadata-parser-sanity-check | 35 local results 36 results="$(python "$file" 2>&1)" 40 echo "$results" >& 2
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | scan_result_message.h | 38 void SetScanResults(const Vector<ScanResult> &results); 39 void GetScanResults(Vector<ScanResult> *results);
|
D | flatbuffers_serialization.h | 58 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results, 76 wifi_offload::Vector<wifi_offload::ScanResult> *results);
|
/system/netd/resolv/tests/ |
D | TestMetrics.h | 39 TestOnDnsEvent(const std::vector<TestResult>& results) : mResults(results){}; in TestOnDnsEvent() argument
|
/system/testing/gtest_extras/ |
D | Isolate.cpp | 434 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/ |
D | keystore_promises.h | 43 ::android::binder::Status onFinished(const Results&... results) override { in onFinished() argument 44 this->set_value({results...}); in onFinished()
|
/system/bt/stack/btm/ |
D | btm_inq.cc | 1226 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/ |
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/iorap/src/inode2filename/ |
D | search_directories.cc | 436 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/ |
D | gatt_server_old.h | 118 bool GetScanResults(ScanResults* results);
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | wifi.h | 566 const struct chreWifiScanResult *results; member 718 const struct chreWifiRangingResult *results; member
|
/system/core/init/ |
D | result.h | 161 Result(U&& result, V&&... results) in Result() argument 163 std::forward<V>(results)...) {} in Result()
|
/system/chre/chre_api/include/chre_api/chre/ |
D | wifi.h | 566 const struct chreWifiScanResult *results; member 718 const struct chreWifiRangingResult *results; member
|