/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 | 183 results = "" 186 results += TestBpffsTypeViolations(pol) 188 results += TestDataTypeViolations(pol) 190 results += TestProcTypeViolations(pol) 192 results += TestSysfsTypeViolations(pol) 194 results += TestSystemTypeViolations(pol) 196 results += TestDebugfsTypeViolations(pol) 198 results += TestTracefsTypeViolations(pol) 200 results += TestVendorTypeViolations(pol) 202 results += TestCoreDataTypeViolations(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/apps/test/chqts/src/general_test/ |
D | basic_wifi_test.cc | 256 void validateRangingEventArray(const struct chreWifiScanResult *results, in validateRangingEventArray() argument 269 if (memcmp(results[i].bssid, event->results[j].macAddress, in validateRangingEventArray() 562 validateWifiScanResult(eventData->resultCount, eventData->results); in validateWifiScanEvent() 567 mLatestWifiScanResults.copy_array(eventData->results, in validateWifiScanEvent() 591 const chreWifiScanResult *results) { in validateWifiScanResult() argument 593 if (results[i].ssidLen > CHRE_WIFI_SSID_MAX_LEN) { in validateWifiScanResult() 595 results[i].ssidLen); in validateWifiScanResult() 600 if (results[i].band != CHRE_WIFI_BAND_2_4_GHZ && in validateWifiScanResult() 601 results[i].band != CHRE_WIFI_BAND_5_GHZ) { in validateWifiScanResult() 602 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);
|
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/chre/platform/linux/ |
D | pal_wifi.cc | 71 event->results = result.release(); in sendScanResponse() 90 event->results = result.release(); in sendRangingResponse() 156 chre::memoryFree(const_cast<struct chreWifiScanResult *>(event->results)); in chrePalWifiApiReleaseScanEvent() 161 chre::memoryFree(const_cast<struct chreWifiRangingResult *>(event->results)); in chrePalWifiApiReleaseRangingEvent() 200 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/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/chre/chpp/clients/ |
D | wifi.c | 677 struct ChppWifiRangingResult *results = in chppWifiRangingEventNotification() local 678 (struct ChppWifiRangingResult *)&buf[event->results.offset]; in chppWifiRangingEventNotification() 681 results[i].timestamp - in chppWifiRangingEventNotification() 685 results[i].timestamp / CHPP_NSEC_PER_MSEC, in chppWifiRangingEventNotification() 687 results[i].timestamp = correctedTime; in chppWifiRangingEventNotification() 1000 void *results = CHPP_CONST_CAST_POINTER(event->results); in chppWifiClientReleaseScanEvent() local 1001 CHPP_FREE_AND_NULLIFY(results); in chppWifiClientReleaseScanEvent() 1047 void *results = CHPP_CONST_CAST_POINTER(event->results); in chppWifiClientReleaseRangingEvent() local 1048 CHPP_FREE_AND_NULLIFY(results); in chppWifiClientReleaseRangingEvent()
|
/system/extras/simpleperf/scripts/test/ |
D | do_test.py | 350 self.results: Dict[Tuple[str, str], Optional[TestResult]] = {} 354 self.results[(test, '%s_repeat_%d' % (device.name, repeat_index))] = None 356 self.results[(test, 'host')] = None 361 return len(self.results) 366 for result in self.results.values(): 379 if self.results[key] != result: 380 self.results[key] = result 388 for key in sorted(self.results.keys()): 390 result = self.results[key]
|
/system/keymint/common/src/keyblob/ |
D | legacy.rs | 253 let mut results = Vec::new(); in hidden() localVariable 255 results.try_push(KeyParam::ApplicationId(try_to_vec(app_id)?))?; in hidden() 258 results.try_push(KeyParam::ApplicationData(try_to_vec(app_data)?))?; in hidden() 261 results.try_push(KeyParam::RootOfTrust(try_to_vec(rot)?))?; in hidden() 263 Ok(results) in hidden()
|
/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() 491 .results = nullptr, in TEST() 528 .results = &chreAp, in TEST() [all …]
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorWifi.java | 220 List<ScanResult> results = mWifiManager.getScanResults(); in sendWifiScanResultsToChre() local 221 Assert.assertTrue("No wifi scan results returned from AP", !results.isEmpty()); in sendWifiScanResultsToChre() 222 for (int i = 0; i < results.size(); i++) { in sendWifiScanResultsToChre() 223 sendMessageToNanoApp(makeWifiScanResultMessage(results.get(i), results.size(), i)); in sendWifiScanResultsToChre()
|
/system/chre/apps/test/common/proto/ |
D | chre_cross_validation_wifi.proto | 35 // scan results threshold message is sent. 62 // The total number of results that will be sent from AP. 64 // The index of this result in relation to the entire set of results.
|