HomeSort by relevance Sort by last modified time
    Searched refs:ThrottleManager (Results 1 - 7 of 7) sorted by null

  /packages/apps/Phone/src/com/android/phone/
DataUsageListener.java 30 import android.net.ThrottleManager;
38 * Listener for broadcasts from ThrottleManager
42 private ThrottleManager mThrottleManager;
80 mThrottleManager = (ThrottleManager) mContext.getSystemService(Context.THROTTLE_SERVICE);
86 mFilter.addAction(ThrottleManager.THROTTLE_POLL_ACTION);
87 mFilter.addAction(ThrottleManager.THROTTLE_ACTION);
88 mFilter.addAction(ThrottleManager.POLICY_CHANGED_ACTION);
94 if (ThrottleManager.THROTTLE_POLL_ACTION.equals(action)) {
95 updateUsageStats(intent.getLongExtra(ThrottleManager.EXTRA_CYCLE_READ, 0),
96 intent.getLongExtra(ThrottleManager.EXTRA_CYCLE_WRITE, 0)
    [all...]
DataUsage.java 29 import android.net.ThrottleManager;
45 private ThrottleManager mThrottleManager;
51 mThrottleManager = (ThrottleManager) getSystemService(Context.THROTTLE_SERVICE);
MobileNetworkSettings.java 29 import android.net.ThrottleManager;
274 ThrottleManager tm = (ThrottleManager) getSystemService(Context.THROTTLE_SERVICE);
  /frameworks/base/core/java/android/net/
ThrottleManager.java 29 public class ThrottleManager
201 private ThrottleManager() {
207 public ThrottleManager(IThrottleManager service) {
210 "ThrottleManager() cannot be constructed with null service");
  /frameworks/base/services/tests/servicestests/src/com/android/server/
ThrottleServiceTest.java 36 import android.net.ThrottleManager;
194 mWatchingContext.nextBroadcastIntent(ThrottleManager.POLICY_CHANGED_ACTION).get();
315 ThrottleManager.POLICY_CHANGED_ACTION);
317 ThrottleManager.THROTTLE_POLL_ACTION);
333 ThrottleManager.THROTTLE_POLL_ACTION);
347 ThrottleManager.THROTTLE_POLL_ACTION);
  /frameworks/base/services/java/com/android/server/
ThrottleService.java 34 import android.net.ThrottleManager;
70 // TODO - add comments - reference the ThrottleManager for public API
101 private static final String ACTION_POLL = "com.android.server.ThrottleManager.action.POLL";
305 if ((period == ThrottleManager.PERIOD_CYCLE) && (mRecorder != null)) {
306 if (dir == ThrottleManager.DIRECTION_TX) return mRecorder.getPeriodTx(ago);
307 if (dir == ThrottleManager.DIRECTION_RX) return mRecorder.getPeriodRx(ago);
495 Intent broadcast = new Intent(ThrottleManager.POLICY_CHANGED_ACTION);
560 Intent broadcast = new Intent(ThrottleManager.THROTTLE_POLL_ACTION);
561 broadcast.putExtra(ThrottleManager.EXTRA_CYCLE_READ, periodRx);
562 broadcast.putExtra(ThrottleManager.EXTRA_CYCLE_WRITE, periodTx)
    [all...]
  /frameworks/base/core/java/android/app/
ContextImpl.java 63 import android.net.ThrottleManager;
443 return new ThrottleManager(IThrottleManager.Stub.asInterface(b));
    [all...]

Completed in 2837 milliseconds