/frameworks/base/core/java/android/app/ |
H A D | IAlarmManager.aidl | 30 long interval, in PendingIntent operation, in WorkSource workSource);
|
H A D | AlarmManager.java | 345 PendingIntent operation, WorkSource workSource) { 346 setImpl(type, triggerAtMillis, windowMillis, intervalMillis, operation, workSource); 350 PendingIntent operation, WorkSource workSource) { 364 workSource); 344 set(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource) argument 349 setImpl(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource) argument
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | Notifier.java | 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); 169 if (workSource != null) { 170 mBatteryStats.noteStopWakelockFromSource(workSource, ownerPi 131 onWakeLockAcquired(int flags, String tag, String packageName, int ownerUid, int ownerPid, WorkSource workSource) argument 158 onWakeLockReleased(int flags, String tag, String packageName, int ownerUid, int ownerPid, WorkSource workSource) argument [all...] |
H A D | PowerManagerService.java | 2403 private static WorkSource copyWorkSource(WorkSource workSource) { argument 2404 return workSource != null ? new WorkSource(workSource) : null; 2516 WorkSource workSource, int ownerUid, int ownerPid) { 2521 mWorkSource = copyWorkSource(workSource); 2531 public boolean hasSameProperties(int flags, String tag, WorkSource workSource, argument 2535 && hasSameWorkSource(workSource) 2541 WorkSource workSource, int ownerUid, int ownerPid) { 2556 updateWorkSource(workSource); 2559 public boolean hasSameWorkSource(WorkSource workSource) { argument 2515 WakeLock(IBinder lock, int flags, String tag, String packageName, WorkSource workSource, int ownerUid, int ownerPid) argument 2540 updateProperties(int flags, String tag, String packageName, WorkSource workSource, int ownerUid, int ownerPid) argument 2563 updateWorkSource(WorkSource workSource) argument [all...] |
/frameworks/base/location/java/android/location/ |
H A D | LocationRequest.java | 508 * @param workSource WorkSource defining power blame for this location request. 511 public void setWorkSource(WorkSource workSource) { argument 512 mWorkSource = workSource; 589 WorkSource workSource = in.readParcelable(null); 590 if (workSource != null) request.setWorkSource(workSource);
|
/frameworks/base/services/java/com/android/server/ |
H A D | AlarmManagerService.java | 401 a.repeatInterval, a.operation, batch.standalone, doValidate, a.workSource); 413 InFlight(AlarmManagerService service, PendingIntent pendingIntent, WorkSource workSource) { argument 415 mWorkSource = workSource; 513 PendingIntent operation, WorkSource workSource) { 514 if (workSource != null) { 520 set(type, triggerAtTime, windowLength, interval, operation, false, workSource); 524 PendingIntent operation, boolean isStandalone, WorkSource workSource) { 569 interval, operation, isStandalone, true, workSource); 575 boolean doValidate, WorkSource workSource) { 577 operation, workSource); 512 set(int type, long triggerAtTime, long windowLength, long interval, PendingIntent operation, WorkSource workSource) argument 523 set(int type, long triggerAtTime, long windowLength, long interval, PendingIntent operation, boolean isStandalone, WorkSource workSource) argument 573 setImplLocked(int type, long when, long whenElapsed, long windowLength, long maxWhen, long interval, PendingIntent operation, boolean isStandalone, boolean doValidate, WorkSource workSource) argument 1090 public WorkSource workSource; field in class:AlarmManagerService.Alarm [all...] |
H A D | LocationManagerService.java | 494 String packageName, WorkSource workSource, boolean hideFromAppOps) { 506 if (workSource != null && workSource.size() <= 0) { 507 workSource = null; 509 mWorkSource = workSource; 516 if (workSource == null) { 517 workSource = new WorkSource(mUid, mPackageName); 519 mWakeLock.setWorkSource(workSource); 1327 String packageName, WorkSource workSource, boolean hideFromAppOps) { 1331 receiver = new Receiver(listener, null, pid, uid, packageName, workSource, 493 Receiver(ILocationListener listener, PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument 1326 getReceiverLocked(ILocationListener listener, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument 1345 getReceiverLocked(PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument 1411 checkListenerOrIntentLocked(ILocationListener listener, PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiManager.java | 771 final WorkSource workSource = null; 772 mService.startScan(workSource); 780 public boolean startScan(WorkSource workSource) { argument 782 mService.startScan(workSource); 806 public boolean requestBatchedScan(BatchedScanSettings requested, WorkSource workSource) { argument 808 return mService.requestBatchedScan(requested, new Binder(), workSource);
|
H A D | WifiStateMachine.java | 719 final WorkSource workSource = null; 720 startScan(UNKNOWN_SCAN_SOURCE, workSource); 841 * Initiate a wifi scan. If workSource is not null, blame is given to it, 845 * here unless workSource is specified. 846 * @param workSource If not null, blame is given to workSource. 848 public void startScan(int callingUid, WorkSource workSource) { argument 849 sendMessage(CMD_START_SCAN, callingUid, 0, workSource); 858 WorkSource workSource) { 861 bundle.putParcelable(BATCHED_WORKSOURCE, workSource); 857 setBatchedScanSettings(BatchedScanSettings settings, int callingUid, int csph, WorkSource workSource) argument 1169 noteScanStart(int callingUid, WorkSource workSource) argument [all...] |
/frameworks/base/services/java/com/android/server/wifi/ |
H A D | WifiService.java | 358 * <p>If workSource is null, all blame is given to the calling uid. 360 public void startScan(WorkSource workSource) { argument 362 if (workSource != null) { 366 workSource.clearNames(); 368 mWifiStateMachine.startScan(Binder.getCallingUid(), workSource); 375 final WorkSource workSource; field in class:WifiService.BatchedScanRequest 382 workSource = ws; 412 WorkSource workSource) { 414 if (workSource != null) { 418 workSource 411 requestBatchedScan(BatchedScanSettings requested, IBinder binder, WorkSource workSource) argument [all...] |