am eaec9f2e: am d99540d7: am 750f3211: am c9b6851a: Throttling framework addins

This commit is contained in:
Irfan Sheriff
2010-04-09 08:51:19 -07:00
committed by Android Git Automerger
5 changed files with 45 additions and 0 deletions

View File

@@ -157,6 +157,12 @@ public class ThrottleService extends IThrottleManager.Stub {
return 0;
}
public String getHelpUri() {
enforceAccessPermission();
return Settings.Secure.getString(mContext.getContentResolver(),
Settings.Secure.THROTTLE_HELP_URI);
}
public synchronized long getByteCount(String iface, int dir, int period, int ago) {
enforceAccessPermission();
if (iface.equals(mPolicyIface) &&