Home
last modified time | relevance | path

Searched refs:link (Results 1 – 25 of 224) sorted by relevance

123456789

/packages/modules/Wifi/service/java/com/android/server/wifi/
DExtendedWifiInfo.java68 for (WifiLinkLayerStats.LinkSpecificStats link : stats.links) { in updatePacketRates()
70 link.link_id, in updatePacketRates()
72 link.txmpdu_be + link.txmpdu_bk + link.txmpdu_vi + link.txmpdu_vo, in updatePacketRates()
73 link.retries_be + link.retries_bk + link.retries_vi + link.retries_vo, in updatePacketRates()
74 link.lostmpdu_be + link.lostmpdu_bk + link.lostmpdu_vi + link.lostmpdu_vo, in updatePacketRates()
75 link.rxmpdu_be + link.rxmpdu_bk + link.rxmpdu_vi + link.rxmpdu_vo, in updatePacketRates()
96 MloLink link = getAffiliatedMloLink(linkId); in updateMloRates() local
97 if (link == null) return; in updateMloRates()
99 && link.lastPacketCountUpdateTimeStamp != RESET_TIME_STAMP in updateMloRates()
100 && link.lastPacketCountUpdateTimeStamp < timeStamp in updateMloRates()
[all …]
DWifiLinkLayerStats.java523 for (WifiLinkLayerStats.LinkSpecificStats link : this.links) { in toString()
524 sbuf.append(" link id: ").append(link.link_id).append("\n"); in toString()
525 sbuf.append(" bss beacon rx: ").append(Integer.toString(link.beacon_rx)).append( in toString()
527 sbuf.append(" RSSI mgmt: ").append(Integer.toString(link.rssi_mgmt)).append('\n'); in toString()
528 sbuf.append(" BE : ").append(" rx=").append(Long.toString(link.rxmpdu_be)) in toString()
529 .append(" tx=").append(Long.toString(link.txmpdu_be)) in toString()
530 .append(" lost=").append(Long.toString(link.lostmpdu_be)) in toString()
531 .append(" retries=").append(Long.toString(link.retries_be)).append('\n') in toString()
533 .append(Long.toString(link.contentionTimeMinBeInUsec)) in toString()
535 .append(Long.toString(link.contentionTimeMaxBeInUsec)).append('\n') in toString()
[all …]
DWifiScoreCard.java1388 private void updateBandwidthSample(long bytesDelta, int link, int onTimeMs, in updateBandwidthSample() argument
1390 if (bytesDelta < mByteDeltaAccThr[link]) { in updateBandwidthSample()
1399 mBandwidthSampleValid[link] = true; in updateBandwidthSample()
1400 mBandwidthSampleKbps[link] = linkBandwidthKbps; in updateBandwidthSample()
1402 mBandwidthStatsValue[mBandIdx][link][mSignalLevel] += linkBandwidthKbps; in updateBandwidthSample()
1403 mBandwidthStatsCount[mBandIdx][link][mSignalLevel]++; in updateBandwidthSample()
1408 perBssid.bandwidthStatsValue[mBandIdx][link][mSignalLevel] += linkBandwidthKbps; in updateBandwidthSample()
1409 perBssid.bandwidthStatsCount[mBandIdx][link][mSignalLevel]++; in updateBandwidthSample()
1413 private int getByteDeltaAccThr(int link) { in getByteDeltaAccThr() argument
1415 int lowBytes = calculateByteCountThreshold(getAvgUsedLinkBandwidthKbps(link), in getByteDeltaAccThr()
[all …]
DWifiScoreReport.java214 for (MloLink link : mWifiInfo.getAffiliatedMloLinks()) { in triggerUpdateOfWifiUsabilityStats()
215 int linkId = link.getLinkId(); in triggerUpdateOfWifiUsabilityStats()
216 link.setRssi(pollResults.getRssi(linkId)); in triggerUpdateOfWifiUsabilityStats()
217 link.setTxLinkSpeedMbps(pollResults.getTxLinkSpeed(linkId)); in triggerUpdateOfWifiUsabilityStats()
218 link.setRxLinkSpeedMbps(pollResults.getRxLinkSpeed(linkId)); in triggerUpdateOfWifiUsabilityStats()
219 link.setChannel(ScanResult.convertFrequencyMhzToChannelIfSupported( in triggerUpdateOfWifiUsabilityStats()
221 link.setBand(ScanResult.toBand(pollResults.getFrequency(linkId))); in triggerUpdateOfWifiUsabilityStats()
894 for (MloLink link : mWifiInfo.getAffiliatedMloLinks()) { in logLinkMetrics()
896 mloStats.add(Integer.toString(link.getLinkId())); in logLinkMetrics()
897 mloStats.add(Integer.toString(link.getRssi())); in logLinkMetrics()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_acl_legacy_interface.cc36 .link.classic.on_authentication_complete = nullptr,
37 .link.classic.on_central_link_key_complete = nullptr,
38 .link.classic.on_change_connection_link_key_complete = nullptr,
39 .link.classic.on_encryption_change = nullptr,
40 .link.classic.on_flow_specification_complete = nullptr,
41 .link.classic.on_flush_occurred = nullptr,
42 .link.classic.on_mode_change = nullptr,
43 .link.classic.on_packet_type_changed = nullptr,
44 .link.classic.on_qos_setup_complete = nullptr,
45 .link.classic.on_read_afh_channel_map_complete = nullptr,
[all …]
/packages/modules/Bluetooth/system/main/shim/
Dacl_legacy_interface.cc62 .link.classic.on_authentication_complete = btm_sec_auth_complete, in GetAclInterface()
63 .link.classic.on_central_link_key_complete = nullptr, in GetAclInterface()
64 .link.classic.on_change_connection_link_key_complete = nullptr, in GetAclInterface()
65 .link.classic.on_encryption_change = nullptr, in GetAclInterface()
66 .link.classic.on_flow_specification_complete = nullptr, in GetAclInterface()
67 .link.classic.on_flush_occurred = nullptr, in GetAclInterface()
68 .link.classic.on_mode_change = btm_pm_on_mode_change, in GetAclInterface()
69 .link.classic.on_packet_type_changed = nullptr, in GetAclInterface()
70 .link.classic.on_qos_setup_complete = nullptr, in GetAclInterface()
71 .link.classic.on_read_afh_channel_map_complete = nullptr, in GetAclInterface()
[all …]
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec26 %define or_1.2 or {@link ANEURALNETWORKS_%{1}}
64 * {@link PaddingCode} values.
126 %define or_1.2 or {@link OperandType::%{1}}
326 * types. Most used are {@link %{OperandTypeLinkPfx}TENSOR_FLOAT32},
327 * {@link %{OperandTypeLinkPfx}TENSOR_QUANT8_ASYMM},
328 * and {@link %{OperandTypeLinkPfx}INT32}.
381 * Takes two input tensors of identical {@link %{OperandType}} and compatible
400 * Supported tensor {@link %{OperandType}}:
402 * * {@link %{OperandTypeLinkPfx}TENSOR_FLOAT16} (since %{NNAPILevel3})
404 * * {@link %{OperandTypeLinkPfx}TENSOR_FLOAT32}
[all …]
DNeuralNetworksTypes.t144 * releases. Outputs of {@link ANeuralNetworksDevice_getFeatureLevel} and
145 * {@link ANeuralNetworks_getRuntimeFeatureLevel} must be compared against
175 * currently documented. Any value other than {@link ANEURALNETWORKS_NO_ERROR}
279 * For {@link ANeuralNetworksModel_setOperandValue}, values with a
288 * For {@link ANeuralNetworksCompilation_setCaching}, specify the size
311 // than with {@link ANeuralNetworksExecution_startComputeWithDependencies}), the
319 // than with {@link ANeuralNetworksExecution_startComputeWithDependencies}), the
335 * {@link ANeuralNetworksModel_setOperandValueFromMemory}. An application
337 * needed to define a model. {@link ANeuralNetworksMemory_createFromFd} can be used to
339 * {@link ANeuralNetworksMemory_createFromAHardwareBuffer} can be used to
[all …]
DOperationTypes.t70 * Supported tensor {@link OperandType}:
71 * * {@link OperandType::TENSOR_FLOAT16}
72 * * {@link OperandType::TENSOR_FLOAT32}
73 * * {@link OperandType::TENSOR_QUANT8_SYMM}
74 * * {@link OperandType::TENSOR_QUANT8_ASYMM}
75 * * {@link OperandType::TENSOR_QUANT8_ASYMM_SIGNED}
76 * * {@link OperandType::TENSOR_BOOL8}
77 * * {@link OperandType::TENSOR_INT32}
78 * * {@link OperandType::TENSOR_QUANT16_SYMM}
79 * * {@link OperandType::TENSOR_QUANT16_ASYMM}
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiUsabilityStatsEntryTest.java336 for (int link : links) { in assertWifiUsabilityStatsEntryEquals()
337 assertEquals(expected.getRssi(link), actual.getRssi(link)); in assertWifiUsabilityStatsEntryEquals()
338 assertEquals(expected.getRadioId(link), actual.getRadioId(link)); in assertWifiUsabilityStatsEntryEquals()
339 assertEquals(expected.getTxLinkSpeedMbps(link), in assertWifiUsabilityStatsEntryEquals()
340 actual.getTxLinkSpeedMbps(link)); in assertWifiUsabilityStatsEntryEquals()
341 assertEquals(expected.getRxLinkSpeedMbps(link), in assertWifiUsabilityStatsEntryEquals()
342 actual.getRxLinkSpeedMbps(link)); in assertWifiUsabilityStatsEntryEquals()
343 assertEquals(expected.getTotalBeaconRx(link), in assertWifiUsabilityStatsEntryEquals()
344 actual.getTotalBeaconRx(link)); in assertWifiUsabilityStatsEntryEquals()
345 assertEquals(expected.getTimeSliceDutyCycleInPercent(link), in assertWifiUsabilityStatsEntryEquals()
[all …]
DWifiInfoTest.java83 MloLink link = new MloLink(); in addMloInfo() local
84 link.setStaMacAddress(MacAddress.fromString(MLO_LINK_STA_MAC_ADDRESS)); in addMloInfo()
85 link.setApMacAddress(MacAddress.fromString(MLO_LINK_AP_MAC_ADDRESS)); in addMloInfo()
86 links.add(link); in addMloInfo()
88 link.setRssi(TEST_RSSI); in addMloInfo()
89 link.setLinkId(TEST_MLO_LINK_ID); in addMloInfo()
90 link.setBand(WifiScanner.WIFI_BAND_5_GHZ); in addMloInfo()
91 link.setChannel(TEST_CHANNEL); in addMloInfo()
92 link.setRxLinkSpeedMbps(TEST_LINK_SPEED); in addMloInfo()
93 link.setTxLinkSpeedMbps(TEST_LINK_SPEED); in addMloInfo()
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dlink_manager.cc48 auto* link = GetLink(device); in ConnectFixedChannelServices() local
49 if (link != nullptr) { in ConnectFixedChannelServices()
54 if (link->IsFixedChannelAllocated(fixed_channel_service.first)) { in ConnectFixedChannelServices()
59 auto fixed_channel_impl = link->AllocateFixedChannel(fixed_channel_service.first); in ConnectFixedChannelServices()
92 auto* link = GetLink(device); in ConnectDynamicChannelServices() local
93 if (link == nullptr) { in ConnectDynamicChannelServices()
104link->SendConnectionRequest(psm, link->ReserveDynamicChannel(), std::move(pending_dynamic_channel_… in ConnectDynamicChannelServices()
108 auto* link = GetLink(remote); in InitiateConnectionForSecurity() local
109 if (link != nullptr) { in InitiateConnectionForSecurity()
148 auto link = GetLink(remote); in handle_link_security_hold() local
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dlink_manager.cc48 auto* link = GetLink(address_with_type); in ConnectFixedChannelServices() local
49 if (link != nullptr) { in ConnectFixedChannelServices()
54 if (link->IsFixedChannelAllocated(fixed_channel_service.first)) { in ConnectFixedChannelServices()
59 auto fixed_channel_impl = link->AllocateFixedChannel( in ConnectFixedChannelServices()
90 auto* link = GetLink(device); in ConnectDynamicChannelServices() local
91 if (link == nullptr) { in ConnectDynamicChannelServices()
96 link->SendConnectionRequest(psm, std::move(pending_dynamic_channel_connection)); in ConnectDynamicChannelServices()
117 auto* link = GetLink(connected_address_with_type); in OnLeConnectSuccess() local
125 link->GetRole()); in OnLeConnectSuccess()
131 link->ReadRemoteVersionInformation(); in OnLeConnectSuccess()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DMloLink.java568 MloLink link = new MloLink();
569 link.mBand = in.readInt();
570 link.mChannel = in.readInt();
571 link.mLinkId = in.readInt();
572 link.mState = in.readInt();
573 link.mRssi = in.readInt();
574 link.mRxLinkSpeed = in.readInt();
575 link.mTxLinkSpeed = in.readInt();
576 link.mApMacAddress = in.readParcelable(MacAddress.class.getClassLoader());
577 link.mStaMacAddress = in.readParcelable(MacAddress.class.getClassLoader());
[all …]
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/
Dmanager.rs114 self.links.iter().find(|link| link.peer.get() == peer) in get_link()
122 if let Some(link) = self.get_link(from) { in ingest_lmp()
123 link.ingest_lmp(packet); in ingest_lmp()
246 let link = hci::command_connection_handle(&command) in ingest_hci() localVariable
251 if let Some(link) = link { in ingest_hci()
252 link.ingest_hci(command); in ingest_hci()
260 let index = self.links.iter().position(|link| link.peer.get().is_empty()); in add_link()
273 let index = self.links.iter().position(|link| link.peer.get() == peer); in remove_link()
292 fn link(&self, idx: u8) -> &Link { in link() method
305 manager.link(self.index).poll_hci_command() in poll_hci_command()
[all …]
/packages/modules/StatsD/statsd/benchmark/
Dget_dimensions_for_condition_benchmark.cpp32 static void createLogEventAndLink(LogEvent* event, Metric2Condition *link) { in createLogEventAndLink() argument
47 link->conditionId = 1; in createLogEventAndLink()
56 translateFieldMatcher(field_matcher, &link->metricFields); in createLogEventAndLink()
58 translateFieldMatcher(field_matcher, &link->conditionFields); in createLogEventAndLink()
62 Metric2Condition link; in BM_GetDimensionInCondition() local
64 createLogEventAndLink(&event, &link); in BM_GetDimensionInCondition()
68 getDimensionForCondition(event.getValues(), link, &output); in BM_GetDimensionInCondition()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_test.cc174 .link.classic.on_authentication_complete = nullptr,
175 .link.classic.on_central_link_key_complete = nullptr,
176 .link.classic.on_change_connection_link_key_complete = nullptr,
177 .link.classic.on_encryption_change = nullptr,
178 .link.classic.on_flow_specification_complete = nullptr,
179 .link.classic.on_flush_occurred = nullptr,
180 .link.classic.on_mode_change = nullptr,
181 .link.classic.on_packet_type_changed = nullptr,
182 .link.classic.on_qos_setup_complete = nullptr,
183 .link.classic.on_read_afh_channel_map_complete = nullptr,
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller_test.cc77 testing::MockILink link; in TEST_F() local
78 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
100 testing::MockILink link; in TEST_F() local
101 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
117 testing::MockILink link; in TEST_F() local
118 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
143 testing::MockILink link; in TEST_F() local
144 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
158 EXPECT_CALL(link, SendDisconnectionRequest(1, 1)); in TEST_F()
168 testing::MockILink link; in TEST_F() local
[all …]
Dle_credit_based_channel_data_controller_test.cc75 testing::MockILink link; in TEST_F() local
76 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
95 testing::MockILink link; in TEST_F() local
96 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
127 testing::MockILink link; in TEST_F() local
128 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
144 testing::MockILink link; in TEST_F() local
145 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
154 EXPECT_CALL(link, SendLeCredit(0x41, 1)); in TEST_F()
166 testing::MockILink link; in TEST_F() local
[all …]
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Dpage.cc275 FPDF_LINK link = nullptr; in GetGotoLinks() local
277 while (FPDFLink_Enumerate(page_.get(), &pos, &link)) { in GetGotoLinks()
278 if (!IsGotoLink(link)) { in GetGotoLinks()
283 Rectangle_i rect = GetRect(link); in GetGotoLinks()
289 FPDF_DEST fpdf_dest = FPDFLink_GetDest(document_, link); in GetGotoLinks()
621 FPDF_LINK link = nullptr; in GetAnnotatedLinksUtf8() local
624 while (FPDFLink_Enumerate(page_.get(), &pos, &link)) { in GetAnnotatedLinksUtf8()
625 if (!IsUrlLink(link)) { in GetAnnotatedLinksUtf8()
629 std::string url = GetUrlUtf8(link); in GetAnnotatedLinksUtf8()
630 Rectangle_i rect = GetRect(link); in GetAnnotatedLinksUtf8()
[all …]
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/
Dgradlew76 link=${ls#*' -> '}
77 case $link in #(
78 /*) app_path=$link ;; #(
79 *) app_path=$APP_HOME$link ;;
/packages/apps/Calendar/
Dmkprojectfile39 <link>
43 </link>
44 <link>
48 </link>
/packages/apps/Car/Launcher/
Dgradlew76 link=${ls#*' -> '}
77 case $link in #(
78 /*) app_path=$link ;; #(
79 *) app_path=$APP_HOME$link ;;
/packages/apps/Settings/src/com/android/settings/utils/
DAnnotationSpan.java67 AnnotationSpan link = null; in linkify() local
70 link = new AnnotationSpan(linkInfo.mListener); in linkify()
74 if (link != null) { in linkify()
75 builder.setSpan(link, start, end, msg.getSpanFlags(link)); in linkify()
/packages/modules/Bluetooth/system/gd/security/channel/
Dsecurity_manager_channel.cc95 …urityManagerChannel::OnLinkConnected(std::unique_ptr<l2cap::classic::LinkSecurityInterface> link) { in OnLinkConnected() argument
97 auto remote = link->GetRemoteAddress(); in OnLinkConnected()
99 link->Hold(); in OnLinkConnected()
100 link->EnsureAuthenticated(); in OnLinkConnected()
103 link_map_.emplace(remote, std::move(link)); in OnLinkConnected()

123456789