/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 | 337 results = "" 340 results += TestBpffsTypeViolations(pol) 342 results += TestDataTypeViolations(pol) 344 results += TestProcTypeViolations(pol) 346 results += TestSysfsTypeViolations(pol) 348 results += TestSystemTypeViolations(pol) 350 results += TestDebugfsTypeViolations(pol) 352 results += TestTracefsTypeViolations(pol) 354 results += TestVendorTypeViolations(pol) 356 results += TestCoreDataTypeViolations(pol) [all …]
|
D | sepolicy_freeze_test.py | 45 results = "" 52 results += "The following public types were removed:\n" + ", ".join(removed_types) + "\n" 55 results += "The following public types were added:\n" + ", ".join(added_types) + "\n" 58 …results += "The following public attributes were removed:\n" + ", ".join(removed_attributes) + "\n" 61 … results += "The following public attributes were added:\n" + ", ".join(added_attributes) + "\n" 63 if results:
|
D | treble_sepolicy_tests.py | 128 results = TestTrebleCompatMapping(base_pub_policy, old_pub_policy, mapping) 130 if len(results) > 0: 131 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 | 306 const bool returnsValue = !method->results().empty(); in generateInterfaceHeader() 476 const bool returnsValue = !method->results().empty(); in generatePassthroughMethod() 537 out.join(method->results().begin(), method->results().end(), ", ", [&](const auto &arg) { in generatePassthroughMethod() 551 for (const auto &arg : method->results()) { in generatePassthroughMethod() 734 const bool returnsValue = !method->results().empty(); in generateStubHeader() 994 const bool returnsValue = !method->results().empty(); in generateProxyMethodSource() 1059 const bool returnsValue = !method->results().empty(); in generateStaticProxyMethodSource() 1077 out, method->results(), true /* forResults */); in generateStaticProxyMethodSource() 1123 out, method->results(), true /* forResults */); in generateStaticProxyMethodSource() 1146 for (const auto &arg : method->results()) { in generateStaticProxyMethodSource() [all …]
|
/system/chre/apps/test/chqts/src/general_test/ |
D | basic_wifi_test.cc | 254 void validateRangingEventArray(const struct chreWifiScanResult *results, in validateRangingEventArray() argument 267 if (memcmp(results[i].bssid, event->results[j].macAddress, in validateRangingEventArray() 560 validateWifiScanResult(eventData->resultCount, eventData->results); in validateWifiScanEvent() 565 mLatestWifiScanResults.copy_array(eventData->results, in validateWifiScanEvent() 589 const chreWifiScanResult *results) { in validateWifiScanResult() argument 591 if (results[i].ssidLen > CHRE_WIFI_SSID_MAX_LEN) { in validateWifiScanResult() 593 results[i].ssidLen); in validateWifiScanResult() 598 if (results[i].band != CHRE_WIFI_BAND_2_4_GHZ && in validateWifiScanResult() 599 results[i].band != CHRE_WIFI_BAND_5_GHZ) { in validateWifiScanResult() 600 LOGE("Got unexpected band %d", results[i].band); in validateWifiScanResult() [all …]
|
/system/chre/chpp/common/ |
D | wifi_convert.c | 152 struct ChppWifiScanResult *results = in chppWifiConvertScanEventFromChre() local 154 out->results.length = in chppWifiConvertScanEventFromChre() 156 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre() 157 if (out->results.length > 0 && in chppWifiConvertScanEventFromChre() 158 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertScanEventFromChre() 160 chppWifiConvertScanResultFromChre(&in->results[i], &results[i]); in chppWifiConvertScanEventFromChre() 162 out->results.offset = *vlaOffset; in chppWifiConvertScanEventFromChre() 163 *vlaOffset += out->results.length; in chppWifiConvertScanEventFromChre() 165 out->results.offset = 0; in chppWifiConvertScanEventFromChre() 246 struct ChppWifiRangingResult *results = in chppWifiConvertRangingEventFromChre() local [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 | 245 std::vector<NamedReference<Type>*> results; in emitAidl() local 247 for (NamedReference<Type>* res : method->results()) { in emitAidl() 254 if (method->results().size() > 1 && shouldWarnOutParam(aidlType)) { in emitAidl() 259 results.push_back(res); in emitAidl() 268 if (results.size() == 1) { in emitAidl() 269 returnType = getAidlType(*results[0]->get(), interface.fqName()); in emitAidl() 272 << returnType << " " << results[0]->name() in emitAidl() 275 results[0]->name(), ResultTransformation::TransformType::MOVED}); in emitAidl() 276 results.clear(); in emitAidl() 324 if (results.empty()) { in emitAidl() [all …]
|
/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/platform/linux/ |
D | pal_wifi.cc | 83 event->results = result.release(); in sendScanResponse() 99 event->results = result.release(); in sendRangingResponse() 174 chre::memoryFree(const_cast<struct chreWifiScanResult *>(event->results)); in chrePalWifiApiReleaseScanEvent() 179 chre::memoryFree(const_cast<struct chreWifiRangingResult *>(event->results)); in chrePalWifiApiReleaseRangingEvent() 218 event->results = result; in chrePalWifiApiRequestNanRanging()
|
/system/chre/chpp/platform/linux/services/ |
D | platform_wifi.c | 57 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->results)); in wifiPalReleaseScanEvent() 68 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->results)); in wifiPalReleaseRangingEvent()
|
/system/chre/apps/wifi_world/ |
D | wifi_world.cc | 238 (event->results[i].flags & in prepareRanging() 240 chreWifiRangingTargetFromScanResult(&event->results[i], in prepareRanging() 252 chreWifiRangingTargetFromScanResult(&event->results[0], in prepareRanging() 306 const chreWifiScanResult &result = event->results[i]; in handleWifiScanEvent() 324 logChreRangingResult(event->results[i]); in handleWifiRangingEvent()
|
/system/chre/apps/power_test/common/ |
D | power_test.cc | 105 i, event->results[i].status, event->results[i].rssi, in nanoappHandleEvent() 106 event->results[i].distance); in nanoappHandleEvent()
|
/system/authgraph/wire/src/ |
D | cbor.rs | 157 let results: Result<Vec<_>, _> = arr.into_iter().map(<T>::from_cbor_value).collect(); in from_cbor_value() localVariable 158 let results: Vec<_> = results?; in from_cbor_value() localVariable 159 results.try_into().map_err(|_e| CborError::UnexpectedItem("arr other len", "arr fixed len")) in from_cbor_value()
|
/system/testing/gtest_extras/gtest_isolated/ |
D | Isolate.cpp | 472 void Isolate::PrintResults(size_t total, const ResultsType& results, std::string* footer) { in PrintResults() argument 473 ColoredPrintf(results.color, results.prefix); in PrintResults() 474 if (results.list_desc != nullptr) { in PrintResults() 475 printf(" %s %s, listed below:\n", PluralizeString(total, " test").c_str(), results.list_desc); in PrintResults() 481 if (results.match_func(*test)) { in PrintResults() 482 ColoredPrintf(results.color, results.prefix); in PrintResults() 484 if (results.print_func != nullptr) { in PrintResults() 485 results.print_func(options_, *test); in PrintResults() 491 if (results.title == nullptr) { in PrintResults() 499 PluralizeString(total, (std::string(" ") + results.title + " TEST").c_str(), true) + '\n'; in PrintResults()
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorWifi.java | 217 List<ScanResult> results = mWifiManager.getScanResults(); in sendWifiScanResultsToChre() local 218 Assert.assertTrue("No wifi scan results returned from AP", !results.isEmpty()); in sendWifiScanResultsToChre() 222 Iterator<ScanResult> iter = results.iterator(); in sendWifiScanResultsToChre() 234 for (int i = 0; i < results.size(); i++) { in sendWifiScanResultsToChre() 235 sendMessageToNanoApp(makeWifiScanResultMessage(results.get(i), results.size(), i)); in sendWifiScanResultsToChre()
|
/system/chre/chpp/clients/ |
D | wifi.c | 687 struct ChppWifiRangingResult *results = in chppWifiRangingEventNotification() local 688 (struct ChppWifiRangingResult *)&buf[event->results.offset]; in chppWifiRangingEventNotification() 691 results[i].timestamp - in chppWifiRangingEventNotification() 695 results[i].timestamp / CHPP_NSEC_PER_MSEC, in chppWifiRangingEventNotification() 697 results[i].timestamp = correctedTime; in chppWifiRangingEventNotification() 1012 void *results = CHPP_CONST_CAST_POINTER(event->results); in chppWifiClientReleaseScanEvent() local 1013 CHPP_FREE_AND_NULLIFY(results); in chppWifiClientReleaseScanEvent() 1059 void *results = CHPP_CONST_CAST_POINTER(event->results); in chppWifiClientReleaseRangingEvent() local 1060 CHPP_FREE_AND_NULLIFY(results); in chppWifiClientReleaseRangingEvent()
|
/system/extras/simpleperf/scripts/test/ |
D | do_test.py | 353 self.results: Dict[Tuple[str, str], Optional[TestResult]] = {} 357 self.results[(test, '%s_repeat_%d' % (device.name, repeat_index))] = None 359 self.results[(test, 'host')] = None 364 return len(self.results) 369 for result in self.results.values(): 382 if self.results[key] != result: 383 self.results[key] = result 391 for key in sorted(self.results.keys()): 393 result = self.results[key]
|
/system/keymint/common/src/keyblob/ |
D | legacy.rs | 283 let mut results = Vec::new(); in hidden() localVariable 285 results.try_push(KeyParam::ApplicationId(try_to_vec(app_id)?))?; in hidden() 288 results.try_push(KeyParam::ApplicationData(try_to_vec(app_data)?))?; in hidden() 291 results.try_push(KeyParam::RootOfTrust(try_to_vec(rot)?))?; in hidden() 293 Ok(results) in hidden()
|
/system/chre/apps/test/common/chre_cross_validator_wifi/src/ |
D | chre_cross_validator_wifi_manager.cc | 155 mChreScanResults.push_back(event->results[i]); in handleWifiScanResult() 284 const DynamicVector<WifiScanResult> &results, in getMatchingScanResultIndex() argument 286 for (size_t i = 0; i < results.size(); i++) { in getMatchingScanResultIndex() 287 if (WifiScanResult::bssidsAreEqual(results[i], queryResult)) { in getMatchingScanResultIndex()
|