Home
last modified time | relevance | path

Searched defs:ns (Results 1 – 25 of 45) sorted by relevance

12

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/
DNeighborSolicitationTest.java203 final ByteBuffer ns = NeighborSolicitation.build( in testNeighborSolicitation_build() local
210 private void assertNeighborSolicitation(final NeighborSolicitation ns, boolean hasSllaOption) { in assertNeighborSolicitation()
230 final NeighborSolicitation ns = NeighborSolicitation.parse(TEST_NEIGHBOR_SOLICITATION, in testNeighborSolicitation_parse() local
239 final NeighborSolicitation ns = in testNeighborSolicitation_parseWithoutSllaOption() local
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java46 public static @Nullable InterfaceSet getTetheringInterfaces(UpstreamNetworkState ns) { in getTetheringInterfaces()
62 public static @Nullable String getIPv6Interface(UpstreamNetworkState ns) { in getIPv6Interface()
DUpstreamNetworkMonitor.java403 final UpstreamNetworkState ns = new UpstreamNetworkState(newLp, prev.networkCapabilities, in updateLinkProperties() local
410 final UpstreamNetworkState ns = updateLinkProperties(network, newLp); in handleLinkProp() local
573 public UpstreamNetworkState ns = null; field in UpstreamNetworkMonitor.TypeStatePair
620 static boolean isCellular(UpstreamNetworkState ns) { in isCellular()
629 private static boolean hasCapability(UpstreamNetworkState ns, int netCap) { in hasCapability()
634 private static boolean isNetworkUsableAndNotCellular(UpstreamNetworkState ns) { in isNetworkUsableAndNotCellular()
648 static boolean isTestNetwork(UpstreamNetworkState ns) { in isTestNetwork()
DIPv6TetheringCoordinator.java123 public void updateUpstreamNetworkState(UpstreamNetworkState ns) { in updateUpstreamNetworkState()
148 private void setUpstreamNetworkState(UpstreamNetworkState ns) { in setUpstreamNetworkState()
319 private static String toDebugString(UpstreamNetworkState ns) { in toDebugString()
DTethering.java1646 private boolean pertainsToCurrentUpstream(UpstreamNetworkState ns) { in pertainsToCurrentUpstream()
1828 final UpstreamNetworkState ns = (config.chooseUpstreamAutomatically) in chooseUpstreamType() local
1858 protected void setUpstreamNetwork(UpstreamNetworkState ns) { in setUpstreamNetwork()
1917 protected void handleNewUpstreamNetworkState(UpstreamNetworkState ns) { in handleNewUpstreamNetworkState()
1986 final UpstreamNetworkState ns = (UpstreamNetworkState) o; in handleUpstreamNetworkMonitorCallback() local
2298 public void updateUpstreamNetworkState(UpstreamNetworkState ns) { in updateUpstreamNetworkState()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifier.java53 public WifiAwareAgentNetworkSpecifier(WifiAwareNetworkSpecifier ns) { in WifiAwareAgentNetworkSpecifier()
139 public boolean satisfiesAwareNetworkSpecifier(WifiAwareNetworkSpecifier ns) { in satisfiesAwareNetworkSpecifier()
159 private ByteArrayWrapper convert(WifiAwareNetworkSpecifier ns) { in convert()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/
DNSResponder.kt62 val ns = parseOrLog(NsHeader::class.java, buf) ?: return in replyToPacket() constant
/packages/modules/Bluetooth/android/pandora/test/
Dmain.py55 ns, argv = _parse_cli_args() variable
/packages/modules/DnsResolver/
Dres_stats.cpp149 for (int ns = 0; ns < nscount; ns++) { in android_net_res_stats_get_usable_servers() local
159 for (int ns = 0; ns < nscount; ns++) { in android_net_res_stats_get_usable_servers() local
Dres_send.cpp307 for (int ns = 0; ns < nscount; ns++) { in res_set_usable_server() local
317 int ns = 0; in res_ourserver_p() local
579 for (size_t ns = 0; ns < statp->nsaddrs.size(); ++ns) { in res_nsend() local
709 int* terrno, size_t ns, int* rcode) { in send_vc()
1086 int* terrno, size_t* ns, int* v_circuit, int* gotsomewhere, int* rcode) { in send_dg()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DEthernetNetworkSpecifierTest.java42 final EthernetNetworkSpecifier ns = new EthernetNetworkSpecifier(iface); in testConstructor() local
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/
DTetheringMetrics.java148 public void maybeUpdateUpstreamType(@Nullable final UpstreamNetworkState ns) { in maybeUpdateUpstreamType()
357 private UpstreamType transportTypeToUpstreamTypeEnum(final UpstreamNetworkState ns) { in transportTypeToUpstreamTypeEnum()
/packages/apps/Nfc/nci/jni/
DCondVar.cpp104 long ns = absoluteTime.tv_nsec + ((millisec % 1000) * 1000000); in wait() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java1583 NetworkScore ns = scoreCaptor.getValue(); in verifyNudCheckAndScoreIfToggleOffForAospScorer() local
1609 NetworkScore ns = scoreCaptor.getValue(); in verifyNudCheckAndScoreIfScoringDisabledForAospScorer() local
1732 NetworkScore ns = scoreCaptor.getValue(); in testFrameworkGetsNotifiedOfUpdatedStatus() local
1746 NetworkScore ns = scoreCaptor.getValue(); in testFrameworkGetsNotifiedOfUpdatedStatus() local
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DDadProxyTest.java309 ByteBuffer ns = createDadPacket(NeighborPacketForwarder.ICMPV6_NEIGHBOR_SOLICITATION); in testNsForwardingFromTetherToUpstream() local
320 ByteBuffer ns = createDadPacket(NeighborPacketForwarder.ICMPV6_NEIGHBOR_SOLICITATION); in testNsForwardingFromUpstreamToTether() local
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.cpp100 double lz,ms,ns,mn,m,n,lz_through2; in db_SolveQuartic() local
172 double lz,ms,ns,mn,m,n,lz_through2; in db_SolveQuarticForced() local
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmpDataParser.java119 final String ns = mParser.getNamespace(); in createXmpInterface() local
196 final String ns = mParser.getNamespace(); in getRedactedRanges() local
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkAgentSpecifier.java122 public boolean satisfiesNetworkSpecifier(@NonNull WifiNetworkSpecifier ns) { in satisfiesNetworkSpecifier()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java657 WifiAwareNetworkSpecifier ns = addNetworkInfoToCache(networkRequestCache, 11, uid2, in testDataPathMetrics() local
928 WifiAwareNetworkSpecifier ns = new WifiAwareNetworkSpecifier(0, 0, 0, index, 0, null, null, in addNetworkInfoToCache() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DFullScoreTest.kt118 val ns = FullScore(0L /* policy */, KEEP_CONNECTED_NONE) in <lambda>() constant
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkSpecifierTest.kt47 val ns: TestNetworkSpecifier = TestNetworkSpecifier() in canBeSatisfiedBy() constant
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifierTest.java81 WifiAwareNetworkSpecifier ns = getMockNetworkSpecifier(6); in testEmptyDoesntMatchAnything() local
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/util/
DTetheringUtilsTest.java175 final ByteBuffer ns = Ipv6Utils.buildNsPacket(mac1, mac2, ll1, ll2, ll1); in testIcmpSocketFilters() local
/packages/modules/Connectivity/clatd/
Dclatd.c213 struct nd_neighbor_solicit ns; in send_dad() member
/packages/modules/Bluetooth/system/gd/packet/parser/
Dgen_cpp.cc42 for (const auto& ns : token) { in generate_namespace_open() local

12