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

  /frameworks/base/core/java/android/app/
IAlarmManager.aidl 20 import android.os.WorkSource;
30 long interval, in PendingIntent operation, in WorkSource workSource);
AlarmManager.java 23 import android.os.WorkSource;
345 PendingIntent operation, WorkSource workSource) {
346 setImpl(type, triggerAtMillis, windowMillis, intervalMillis, operation, workSource);
350 PendingIntent operation, WorkSource workSource) {
364 workSource);
  /frameworks/base/services/java/com/android/server/power/
Notifier.java 40 import android.os.WorkSource;
132 int ownerUid, int ownerPid, WorkSource workSource) {
137 + ", workSource=" + workSource);
142 if (workSource != null) {
143 mBatteryStats.noteStartWakelockFromSource(workSource, ownerPid, tag, monitorType);
159 int ownerUid, int ownerPid, WorkSource workSource) {
164 + ", workSource=" + workSource)
    [all...]
PowerManagerService.java 57 import android.os.WorkSource;
585 acquireWakeLock(lock, flags, tag, packageName, new WorkSource(uid));
590 WorkSource ws) {
618 WorkSource ws, int uid, int pid) {
    [all...]
  /frameworks/base/location/java/android/location/
LocationRequest.java 22 import android.os.WorkSource;
149 private WorkSource mWorkSource = null;
502 * Sets the WorkSource to use for power blaming of this location request.
508 * @param workSource WorkSource defining power blame for this location request.
511 public void setWorkSource(WorkSource workSource) {
512 mWorkSource = workSource;
516 public WorkSource getWorkSource() {
589 WorkSource workSource = in.readParcelable(null)
    [all...]
  /frameworks/base/services/java/com/android/server/
AlarmManagerService.java 39 import android.os.WorkSource;
401 a.repeatInterval, a.operation, batch.standalone, doValidate, a.workSource);
408 final WorkSource mWorkSource;
413 InFlight(AlarmManagerService service, PendingIntent pendingIntent, WorkSource workSource) {
415 mWorkSource = workSource;
513 PendingIntent operation, WorkSource workSource) {
514 if (workSource != null) {
520 set(type, triggerAtTime, windowLength, interval, operation, false, workSource);
    [all...]
LocationManagerService.java 58 import android.os.WorkSource;
480 final WorkSource mWorkSource; // WorkSource for battery blame, or null to assign to caller.
494 String packageName, WorkSource workSource, boolean hideFromAppOps) {
506 if (workSource != null && workSource.size() <= 0) {
507 workSource = null;
509 mWorkSource = workSource;
516 if (workSource == null)
1217 WorkSource worksource = new WorkSource(); local
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiManager.java 30 import android.os.WorkSource;
771 final WorkSource workSource = null;
772 mService.startScan(workSource);
780 public boolean startScan(WorkSource workSource) {
782 mService.startScan(workSource);
806 public boolean requestBatchedScan(BatchedScanSettings requested, WorkSource workSource) {
808 return mService.requestBatchedScan(requested, new Binder(), workSource);
    [all...]
WifiStateMachine.java 72 import android.os.WorkSource;
160 private WorkSource mScanWorkSource = null;
423 * obj = bundle with the new settings and the optional worksource
624 private final WorkSource mRunningWifiUids = new WorkSource();
629 private final WorkSource mLastRunningWifiUids = new WorkSource();
636 * Track the worksource/cost of the current settings and track what's been noted
639 private WorkSource mBatchedScanWorkSource = null;
641 private WorkSource mNotedBatchedScanWorkSource = null
    [all...]
  /frameworks/base/services/java/com/android/server/wifi/
WifiService.java 53 import android.os.WorkSource;
358 * <p>If workSource is null, all blame is given to the calling uid.
360 public void startScan(WorkSource workSource) {
362 if (workSource != null) {
365 // supplied WorkSource to allow future WorkSource combining.
366 workSource.clearNames();
368 mWifiStateMachine.startScan(Binder.getCallingUid(), workSource);
375 final WorkSource workSource
    [all...]

Completed in 159 milliseconds