/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 | 156 results = "" variable 159 results += TestDataTypeViolations(pol) 161 results += TestProcTypeViolations(pol) 163 results += TestSysfsTypeViolations(pol) 165 results += TestSystemTypeViolations(pol) 167 results += TestDebugfsTypeViolations(pol) 169 results += TestVendorTypeViolations(pol) 171 results += TestCoreDataTypeViolations(pol) 173 results += TestPropertyTypeViolations(pol) 175 results += TestAppDataTypeViolations(pol) [all …]
|
/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() 730 const bool returnsValue = !method->results().empty(); in generateStubHeader() 989 const bool returnsValue = !method->results().empty(); in generateProxyMethodSource() 1054 const bool returnsValue = !method->results().empty(); in generateStaticProxyMethodSource() 1072 out, method->results(), true /* forResults */); in generateStaticProxyMethodSource() 1118 out, method->results(), true /* forResults */); in generateStaticProxyMethodSource() 1141 for (const auto &arg : method->results()) { in generateStaticProxyMethodSource() [all …]
|
/system/chre/chpp/common/ |
D | wifi_convert.c | 127 struct ChppWifiScanResult *results = in chppWifiConvertScanEventFromChre() local 129 out->results.length = in->resultCount * sizeof(struct ChppWifiScanResult); in chppWifiConvertScanEventFromChre() 130 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre() 131 if (out->results.length > 0 && in chppWifiConvertScanEventFromChre() 132 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertScanEventFromChre() 134 chppWifiConvertScanResultFromChre(&in->results[i], &results[i]); in chppWifiConvertScanEventFromChre() 136 out->results.offset = *vlaOffset; in chppWifiConvertScanEventFromChre() 137 *vlaOffset += out->results.length; in chppWifiConvertScanEventFromChre() 139 out->results.offset = 0; in chppWifiConvertScanEventFromChre() 218 struct ChppWifiRangingResult *results = in chppWifiConvertRangingEventFromChre() local [all …]
|
/system/core/init/ |
D | epoll_test.cpp | 64 auto results = epoll.Wait({}); in TEST() local 65 ASSERT_RESULT_OK(results); in TEST() 66 ASSERT_EQ(results->size(), size_t(1)); in TEST() 68 for (const auto& function : *results) { in TEST()
|
/system/chre/apps/test/chqts/src/general_test/ |
D | basic_wifi_test.cc | 247 void validateRangingEventArray(const struct chreWifiScanResult *results, in validateRangingEventArray() argument 260 if (memcmp(results[i].bssid, event->results[j].macAddress, in validateRangingEventArray() 516 validateWifiScanResult(eventData->resultCount, eventData->results); in validateWifiScanEvent() 521 mLatestWifiScanResults.copy_array(eventData->results, in validateWifiScanEvent() 534 const chreWifiScanResult *results) { in validateWifiScanResult() argument 536 if (results[i].ssidLen > CHRE_WIFI_SSID_MAX_LEN) { in validateWifiScanResult() 538 results[i].ssidLen); in validateWifiScanResult() 543 if (results[i].band != CHRE_WIFI_BAND_2_4_GHZ && in validateWifiScanResult() 544 results[i].band != CHRE_WIFI_BAND_5_GHZ) { in validateWifiScanResult() 545 chreLog(CHRE_LOG_ERROR, "Got unexpected band %d", results[i].band); in validateWifiScanResult() [all …]
|
/system/bt/main/shim/ |
D | btm_api.cc | 89 is_classic_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result() 93 p_i->inq_info.results.page_scan_rep_mode = page_scan_rep_mode; in btm_api_process_inquiry_result() 94 p_i->inq_info.results.page_scan_per_mode = 0; // RESERVED in btm_api_process_inquiry_result() 95 p_i->inq_info.results.page_scan_mode = 0; // RESERVED in btm_api_process_inquiry_result() 96 p_i->inq_info.results.dev_class[0] = device_class[0]; in btm_api_process_inquiry_result() 97 p_i->inq_info.results.dev_class[1] = device_class[1]; in btm_api_process_inquiry_result() 98 p_i->inq_info.results.dev_class[2] = device_class[2]; in btm_api_process_inquiry_result() 99 p_i->inq_info.results.clock_offset = clock_offset | BTM_CLOCK_OFFSET_VALID; in btm_api_process_inquiry_result() 100 p_i->inq_info.results.inq_result_type = BTM_INQ_RESULT_BR; in btm_api_process_inquiry_result() 101 p_i->inq_info.results.rssi = BTM_INQ_RES_IGNORE_RSSI; in btm_api_process_inquiry_result() [all …]
|
/system/media/camera/docs/ |
D | metadata-parser-validity-check | 35 local results 36 results="$(python3 "$file" 2>&1)" 40 echo "$results" >& 2
|
/system/tools/hidl/hidl2aidl/ |
D | AidlInterface.cpp | 244 std::vector<NamedReference<Type>*> results; in emitAidl() local 246 for (NamedReference<Type>* res : method->results()) { in emitAidl() 253 if (method->results().size() > 1 && shouldWarnOutParam(aidlType)) { in emitAidl() 258 results.push_back(res); in emitAidl() 267 if (results.size() == 1) { in emitAidl() 268 returnType = getAidlType(*results[0]->get(), interface.fqName()); in emitAidl() 271 << returnType << " " << results[0]->name() in emitAidl() 274 results[0]->name(), ResultTransformation::TransformType::MOVED}); in emitAidl() 275 results.clear(); in emitAidl() 323 if (results.empty()) { in emitAidl() [all …]
|
/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 | 113 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local 114 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F() 115 results.emplace_back(kConnectionlessCid, &mock_service_2); in TEST_F() 116 …LL(mock_le_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F() 177 results.emplace_back(kSmpBrCid + 1, &mock_service_3); in TEST_F() 178 …LL(mock_le_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F() 222 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local 223 …LL(mock_le_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F() 260 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local 261 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F() [all …]
|
D | dynamic_channel_service_manager_impl.cc | 68 std::vector<std::pair<Psm, DynamicChannelServiceImpl*>> results; in GetRegisteredServices() local 70 results.emplace_back(elem.first, &elem.second); in GetRegisteredServices() 72 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/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);
|
/system/chre/apps/test/common/proto/ |
D | chre_cross_validation_wifi.proto | 31 // the CHRE scan results size to be less than the AP scan results size. 40 // scan results threshold message is sent. 63 // The total number of results that will be sent from AP. 65 // The index of this result in relation to the entire set of results.
|
/system/chre/chpp/platform/linux/services/ |
D | platform_wifi.c | 56 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->results)); in wifiPalReleaseScanEvent() 68 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->results)); in wifiPalReleaseRangingEvent()
|
/system/chre/chpp/clients/ |
D | wifi.c | 595 struct ChppWifiRangingResult *results = in chppWifiRangingEventNotification() local 596 (struct ChppWifiRangingResult *)&buf[event->results.offset]; in chppWifiRangingEventNotification() 599 results[i].timestamp - in chppWifiRangingEventNotification() 603 results[i].timestamp / CHPP_NSEC_PER_MSEC, in chppWifiRangingEventNotification() 605 results[i].timestamp = correctedTime; in chppWifiRangingEventNotification() 791 void *results = CHPP_CONST_CAST_POINTER(event->results); in chppWifiClientReleaseScanEvent() local 792 CHPP_FREE_AND_NULLIFY(results); in chppWifiClientReleaseScanEvent() 838 void *results = CHPP_CONST_CAST_POINTER(event->results); in chppWifiClientReleaseRangingEvent() local 839 CHPP_FREE_AND_NULLIFY(results); in chppWifiClientReleaseRangingEvent()
|
/system/chre/chpp/test/ |
D | wifi_convert_test.cpp | 124 EXPECT_EQ(chppEvent->results.offset, baseOffset); in validateScanEvent() 125 EXPECT_EQ(chppEvent->results.length, in validateScanEvent() 127 baseOffset += chppEvent->results.length; in validateScanEvent() 131 chppEvent->results.offset); in validateScanEvent() 134 validateScanResult(chppAp[i], chreEvent.results[i], /*decodeMode=*/false); in validateScanEvent() 135 validateScanResult(chppAp[i], backEvent->results[i], /*decodeMode=*/true); in validateScanEvent() 138 EXPECT_EQ(chppEvent->results.offset, 0); in validateScanEvent() 139 EXPECT_EQ(chppEvent->results.length, 0); in validateScanEvent() 355 .results = nullptr, in TEST() 392 .results = &chreAp, in TEST() [all …]
|
/system/chre/apps/wifi_world/ |
D | wifi_world.cc | 240 (event->results[i].flags & in prepareRanging() 242 chreWifiRangingTargetFromScanResult(&event->results[i], in prepareRanging() 254 chreWifiRangingTargetFromScanResult(&event->results[0], in prepareRanging() 308 const chreWifiScanResult &result = event->results[i]; in handleWifiScanEvent() 326 logChreRangingResult(event->results[i]); in handleWifiRangingEvent()
|