Home
last modified time | relevance | path

Searched refs:downstream (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Connectivity/Tethering/bpf_progs/
Doffload.c109 const bool downstream) {
168 if (!downstream && (src32 == dst32) && (ip6->saddr.s6_addr32[1] == ip6->daddr.s6_addr32[1]))
179 if (is_ethernet) __builtin_memcpy(downstream ? kd.dstMac : ku.dstMac, eth->h_dest, ETH_ALEN);
181 Tether6Value* v = downstream ? bpf_tether_downstream6_map_lookup_elem(&kd)
187 uint32_t stat_and_limit_k = downstream ? skb->ifindex : v->oif;
232 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1);
244 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1);
264 __sync_fetch_and_add(downstream ? &stat_v->rxPackets : &stat_v->txPackets, packets);
265 __sync_fetch_and_add(downstream ? &stat_v->rxBytes : &stat_v->txBytes, bytes);
356 const bool downstream, const bool updatetime) { in do_forward4() argument
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java128 void onUiEntitlementFailed(int downstream); in onUiEntitlementFailed() argument
262 for (int downstream = mCurrentDownstreams.nextSetBit(0); downstream >= 0; in maybeRunProvisioning()
263 downstream = mCurrentDownstreams.nextSetBit(downstream + 1)) { in maybeRunProvisioning()
264 if (mCurrentEntitlementResults.indexOfKey(downstream) < 0) { in maybeRunProvisioning()
267 runUiTetherProvisioning(downstream, config); in maybeRunProvisioning()
269 runSilentTetherProvisioning(downstream, config); in maybeRunProvisioning()
617 public void requestLatestTetheringEntitlementResult(int downstream, ResultReceiver receiver, in requestLatestTetheringEntitlementResult() argument
619 if (!isValidDownstreamType(downstream)) { in requestLatestTetheringEntitlementResult()
631 downstream, TETHER_ERROR_ENTITLEMENT_UNKNOWN); in requestLatestTetheringEntitlementResult()
635 ResultReceiver proxy = buildProxyReceiver(downstream, false/* notifyFail */, receiver); in requestLatestTetheringEntitlementResult()
[all …]
DPrivateAddressCoordinator.java136 for (IpServer downstream : mDownstreams) { in handleMaybePrefixConflict()
137 final IpPrefix target = getDownstreamPrefix(downstream); in handleMaybePrefixConflict()
141 downstream.sendMessage(IpServer.CMD_NOTIFY_PREFIX_CONFLICT); in handleMaybePrefixConflict()
365 final IpPrefix downstream = asIpPrefix(mCachedAddresses.valueAt(i)); in getInUseDownstreamPrefix() local
366 if (isConflictPrefix(prefix, downstream)) return downstream; in getInUseDownstreamPrefix()
371 for (IpServer downstream : mDownstreams) { in getInUseDownstreamPrefix()
372 final IpPrefix target = getDownstreamPrefix(downstream); in getInUseDownstreamPrefix()
381 private IpPrefix getDownstreamPrefix(final IpServer downstream) { in getDownstreamPrefix() argument
382 final LinkAddress address = downstream.getAddress(); in getDownstreamPrefix()
DBpfUtils.java61 private static String makeProgPath(boolean downstream, int ipVersion, boolean ether) { in makeProgPath() argument
63 + (downstream ? "downstream" : "upstream") in makeProgPath()
74 public static void attachProgram(@NonNull String iface, boolean downstream) in attachProgram() argument
92 makeProgPath(downstream, 6, ether)); in attachProgram()
102 makeProgPath(downstream, 4, ether)); in attachProgram()
DIPv6TetheringCoordinator.java86 public void addActiveDownstream(IpServer downstream, int mode) { in addActiveDownstream() argument
87 if (findDownstream(downstream) == null) { in addActiveDownstream()
92 if (mActiveDownstreams.offer(new Downstream(downstream, mode, mNextSubnetId))) { in addActiveDownstream()
102 public void removeActiveDownstream(IpServer downstream) { in removeActiveDownstream() argument
103 stopIPv6TetheringOn(downstream); in removeActiveDownstream()
104 if (mActiveDownstreams.remove(findDownstream(downstream))) { in removeActiveDownstream()
DBpfCoordinator.java123 private static String makeMapPath(boolean downstream, int ipVersion) { in makeMapPath() argument
124 return makeMapPath((downstream ? "downstream" : "upstream") + ipVersion); in makeMapPath()
553 final int downstream = rule.downstreamIfindex; in tetherOffloadRuleAdd() local
557 if (!mBpfCoordinatorShim.startUpstreamIpv6Forwarding(downstream, upstream, rule.srcMac, in tetherOffloadRuleAdd()
560 + mInterfaceNames.get(downstream) + " to " + mInterfaceNames.get(upstream)); in tetherOffloadRuleAdd()
596 final int downstream = rule.downstreamIfindex; in tetherOffloadRuleRemove() local
598 if (!mBpfCoordinatorShim.stopUpstreamIpv6Forwarding(downstream, upstream, in tetherOffloadRuleRemove()
601 + mInterfaceNames.get(downstream) + " to " + mInterfaceNames.get(upstream)); in tetherOffloadRuleRemove()
1060 private String ipv4RuleToString(long now, boolean downstream, in ipv4RuleToString() argument
1066 if (downstream) { in ipv4RuleToString()
[all …]
DTethering.java305 mEntitlementMgr.setOnUiEntitlementFailedListener((int downstream) -> { in Tethering() argument
307 stopTethering(downstream); in Tethering()
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java353 public boolean tetherOffloadRuleAdd(boolean downstream, @NonNull Tether4Key key, in tetherOffloadRuleAdd() argument
358 if (downstream) { in tetherOffloadRuleAdd()
379 public boolean tetherOffloadRuleRemove(boolean downstream, @NonNull Tether4Key key) { in tetherOffloadRuleRemove() argument
383 if (downstream) { in tetherOffloadRuleRemove()
412 public void tetherOffloadRuleForEach(boolean downstream, in tetherOffloadRuleForEach() argument
417 if (downstream) { in tetherOffloadRuleForEach()
428 public boolean attachProgram(String iface, boolean downstream) { in attachProgram() argument
432 BpfUtils.attachProgram(iface, downstream); in attachProgram()
/packages/modules/Connectivity/Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/
DBpfCoordinatorShim.java145 public abstract boolean tetherOffloadRuleAdd(boolean downstream, @NonNull Tether4Key key, in tetherOffloadRuleAdd() argument
155 public abstract boolean tetherOffloadRuleRemove(boolean downstream, @NonNull Tether4Key key); in tetherOffloadRuleRemove() argument
165 public abstract void tetherOffloadRuleForEach(boolean downstream, in tetherOffloadRuleForEach() argument
178 public abstract boolean attachProgram(@NonNull String iface, boolean downstream); in attachProgram() argument
/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/
DBpfCoordinatorShimImpl.java153 public boolean tetherOffloadRuleAdd(boolean downstream, @NonNull Tether4Key key, in tetherOffloadRuleAdd() argument
160 public boolean tetherOffloadRuleRemove(boolean downstream, @NonNull Tether4Key key) { in tetherOffloadRuleRemove() argument
166 public void tetherOffloadRuleForEach(boolean downstream, in tetherOffloadRuleForEach() argument
172 public boolean attachProgram(String iface, boolean downstream) { in attachProgram() argument
/packages/modules/RuntimeI18n/apex/
DAndroid.bp21 // to system/sepolicy in a downstream branch.
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...