/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 | 399 results = "" variable 403 results += t() 408 results += t() 416 if len(results) > 0: 417 sys.exit(results)
|
/system/tools/hidl/ |
D | generateJavaImpl.cpp | 66 const bool returnsValue = !method->results().empty(); in generateJavaImpl() 68 for (const auto& arg : method->results()) { in generateJavaImpl() 72 const bool needsCallback = method->results().size() > 1; in generateJavaImpl() 76 out.join(method->results().begin(), method->results().end(), ", ", in generateJavaImpl() 82 out << "return " << method->results().at(0)->name() << ";\n"; in generateJavaImpl()
|
D | Method.cpp | 36 std::vector<NamedReference<Type>*>* results, bool oneway, in Method() argument 40 mResults(results), in Method() 69 const std::vector<NamedReference<Type>*>& Method::results() const { in results() function in android::Method 156 return args().empty() && (results().empty() || canElideCallback() != nullptr); in hasEmptyCppArgSignature() 210 const bool returnsValue = !results().empty(); in emitCppArgSignature() 221 emitCppArgResultSignature(out, results(), specifyNamespaces); in emitCppResultSignature() 227 emitJavaArgResultSignature(out, results()); in emitJavaResultSignature() 231 const bool returnsValue = !results().empty(); in emitJavaSignature() 232 const bool needsCallback = results().size() > 1; in emitJavaSignature() 235 out << results()[0]->type().getJavaType(); in emitJavaSignature() [all …]
|
D | generateJava.cpp | 245 const bool needsCallback = method->results().size() > 1; in generateJava() 325 const bool returnsValue = !method->results().empty(); in generateJava() 326 const bool needsCallback = method->results().size() > 1; in generateJava() 385 for (const auto &arg : method->results()) { in generateJava() 398 for (const auto &arg : method->results()) { in generateJava() 409 const std::string returnName = method->results()[0]->name(); in generateJava() 442 CHECK_LE(method->results().size(), 1u); in generateJava() 443 std::string resultType = method->results().size() == 0 ? "void" : in generateJava() 444 method->results()[0]->type().getJavaType(); in generateJava() 504 const bool returnsValue = !method->results().empty(); in generateJava() [all …]
|
D | generateCpp.cpp | 305 const bool returnsValue = !method->results().empty(); in generateInterfaceHeader() 472 const bool returnsValue = !method->results().empty(); in generatePassthroughMethod() 533 out.join(method->results().begin(), method->results().end(), ", ", [&](const auto &arg) { in generatePassthroughMethod() 547 for (const auto &arg : method->results()) { in generatePassthroughMethod() 721 const bool returnsValue = !method->results().empty(); in generateStubHeader() 980 const bool returnsValue = !method->results().empty(); in generateProxyMethodSource() 1045 const bool returnsValue = !method->results().empty(); in generateStaticProxyMethodSource() 1063 out, method->results(), true /* forResults */); in generateStaticProxyMethodSource() 1107 out, method->results(), true /* forResults */); in generateStaticProxyMethodSource() 1130 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()
|
/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 …]
|
/system/extras/simpleperf/scripts/ |
D | test_monitor.py | 222 self.results = {} 225 results = self.results['%s_%s' % (device.name, python_interpreter)] = {} 229 results[test_name] = 'None' 233 results = self.results[config_name] 236 results[test_name] = status 242 for config_name in sorted(self.results): 244 results = self.results[config_name] 245 for test_name in sorted(results): 246 result = results[test_name] 250 for config_name in sorted(self.results): [all …]
|
/system/bt/main/shim/ |
D | btm_api.cc | 108 if (p_i == nullptr || !has_le_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result() 117 is_classic_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result() 121 p_i->inq_info.results.page_scan_rep_mode = page_scan_rep_mode; in btm_api_process_inquiry_result() 122 p_i->inq_info.results.page_scan_per_mode = 0; // RESERVED in btm_api_process_inquiry_result() 123 p_i->inq_info.results.page_scan_mode = 0; // RESERVED in btm_api_process_inquiry_result() 124 p_i->inq_info.results.dev_class[0] = device_class[0]; in btm_api_process_inquiry_result() 125 p_i->inq_info.results.dev_class[1] = device_class[1]; in btm_api_process_inquiry_result() 126 p_i->inq_info.results.dev_class[2] = device_class[2]; in btm_api_process_inquiry_result() 127 p_i->inq_info.results.clock_offset = clock_offset | BTM_CLOCK_OFFSET_VALID; in btm_api_process_inquiry_result() 128 p_i->inq_info.results.inq_result_type = BTM_INQ_RESULT_BR; in btm_api_process_inquiry_result() [all …]
|
/system/media/camera/docs/ |
D | metadata-parser-sanity-check | 35 local results 36 results="$(python "$file" 2>&1)" 40 echo "$results" >& 2
|
/system/tools/hidl/hidl2aidl/ |
D | AidlInterface.cpp | 215 std::vector<NamedReference<Type>*> results; in emitAidl() local 217 for (NamedReference<Type>* res : method->results()) { in emitAidl() 225 results.push_back(res); in emitAidl() 234 if (results.size() == 1) { in emitAidl() 235 returnType = getAidlType(*results[0]->get(), interface.fqName()); in emitAidl() 238 << returnType << " " << results[0]->name() in emitAidl() 241 results[0]->name(), ResultTransformation::TransformType::MOVED}); in emitAidl() 242 results.clear(); in emitAidl() 290 if (results.empty()) { in emitAidl() 302 emitAidlMethodParams(&wrappedOutput, results, /* prefix */ "out ", in emitAidl()
|
/system/bt/gd/l2cap/classic/internal/ |
D | link_manager_test.cc | 118 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local 119 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F() 120 results.emplace_back(kConnectionlessCid, &mock_service_2); in TEST_F() 121 …ck_classic_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F() 172 results.emplace_back(kSmpBrCid + 1, &mock_service_3); in TEST_F() 173 …ck_classic_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F() 206 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local 207 …ck_classic_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F() 241 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local 242 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F() [all …]
|
D | dynamic_channel_service_manager_impl.cc | 70 std::vector<std::pair<Psm, DynamicChannelServiceImpl*>> results; in GetRegisteredServices() local 72 results.emplace_back(elem.first, &elem.second); in GetRegisteredServices() 74 return results; in GetRegisteredServices()
|
D | fixed_channel_service_manager_impl.cc | 72 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in GetRegisteredServices() local 74 results.emplace_back(elem.first, &elem.second); in GetRegisteredServices() 76 return results; in GetRegisteredServices()
|
/system/bt/gd/l2cap/le/internal/ |
D | link_manager_test.cc | 109 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local 110 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F() 111 results.emplace_back(kConnectionlessCid, &mock_service_2); in TEST_F() 112 …LL(mock_le_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F() 166 results.emplace_back(kSmpBrCid + 1, &mock_service_3); in TEST_F() 167 …LL(mock_le_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F() 207 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local 208 …LL(mock_le_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F() 241 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local 242 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F() [all …]
|
D | fixed_channel_service_manager_impl.cc | 72 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in GetRegisteredServices() local 74 results.emplace_back(elem.first, &elem.second); in GetRegisteredServices() 76 return results; in GetRegisteredServices()
|
D | dynamic_channel_service_manager_impl.cc | 73 std::vector<std::pair<Psm, DynamicChannelServiceImpl*>> results; in GetRegisteredServices() local 75 results.emplace_back(elem.first, &elem.second); in GetRegisteredServices() 77 return results; in GetRegisteredServices()
|
/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/testing/gtest_extras/ |
D | Isolate.cpp | 469 void Isolate::PrintResults(size_t total, const ResultsType& results, std::string* footer) { in PrintResults() argument 470 ColoredPrintf(results.color, results.prefix); in PrintResults() 471 if (results.list_desc != nullptr) { in PrintResults() 472 printf(" %s %s, listed below:\n", PluralizeString(total, " test").c_str(), results.list_desc); in PrintResults() 478 if (results.match_func(*test)) { in PrintResults() 479 ColoredPrintf(results.color, results.prefix); in PrintResults() 481 if (results.print_func != nullptr) { in PrintResults() 482 results.print_func(options_, *test); in PrintResults() 488 if (results.title == nullptr) { in PrintResults() 496 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 | 1138 if (p_bda == NULL || (p_ent->inq_info.results.remote_bd_addr == *p_bda)) { in btm_clr_inq_db() 1216 if (p_ent->in_use && p_ent->inq_info.results.remote_bd_addr == p_bda) in btm_inq_db_find() 1244 p_ent->inq_info.results.remote_bd_addr = p_bda; in btm_inq_db_new() 1259 p_old->inq_info.results.remote_bd_addr = p_bda; in btm_inq_db_new() 1602 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0))) { in btm_process_inq_results() 1616 (i_rssi > p_i->inq_info.results.rssi || in btm_process_inq_results() 1617 p_i->inq_info.results.rssi == 0 in btm_process_inq_results() 1620 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)) { in btm_process_inq_results() 1621 p_cur = &p_i->inq_info.results; in btm_process_inq_results() 1630 p_cur = &p_i->inq_info.results; in btm_process_inq_results() [all …]
|