It's called in NetworkStatsService.setUidForeground(), but the counter
sets here are purely used for statistical accounting purposes.
NetworkPolicyManagerService.updateRulesForUidLocked() is the one that
actually enforces rules through setUidNetworkRules().

j

On Wed, Jan 9, 2013 at 6:22 AM, Aspire Belgrade
<[email protected]> wrote:
> What is the exact effect of setKernelCounterSet() in
> NetworkManagementSocketTagger ?
> Referenced in: http://source.android.com/tech/datausage/kernel-overview.html
>
> I was hoping to restrict Backgound Metered Data for a specific UID but
> results confuse me as an application was still able to acquire network
> connection. Secondly, I can not find usages of this method call in Android
> Framework by any higher level APIs.
>
> Finally, can I see the effects of executing this command by viewing ALOG
> from a android/base/core/jni/* functions? Or how should I infer the
> proc/net/xt_qtaguid/ctlr interface file?
>
> I am hoping that someone can point me to the right direction, thanks.
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting



--
Jeff Sharkey
[email protected]

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to