/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 142 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) { in onWakeLockAcquired() argument 147 + ", workSource=" + workSource); in onWakeLockAcquired() 154 if (workSource != null) { in onWakeLockAcquired() 155 mBatteryStats.noteStartWakelockFromSource(workSource, ownerPid, tag, historyTag, in onWakeLockAcquired() 173 int ownerUid, int ownerPid, WorkSource workSource, String historyTag, in onWakeLockChanging() argument 177 if (workSource != null && newWorkSource != null) { in onWakeLockChanging() 189 mBatteryStats.noteChangeWakelockFromSource(workSource, ownerPid, tag, historyTag, in onWakeLockChanging() 196 onWakeLockReleased(flags, tag, packageName, ownerUid, ownerPid, workSource, historyTag); in onWakeLockChanging() 206 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) { in onWakeLockReleased() argument 211 + ", workSource=" + workSource); in onWakeLockReleased() [all …]
|
D | PowerManagerService.java | 2542 private static WorkSource copyWorkSource(WorkSource workSource) { in copyWorkSource() argument 2543 return workSource != null ? new WorkSource(workSource) : null; in copyWorkSource() 2640 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) { in WakeLock() argument 2645 mWorkSource = copyWorkSource(workSource); in WakeLock() 2656 public boolean hasSameProperties(int flags, String tag, WorkSource workSource, in hasSameProperties() argument 2660 && hasSameWorkSource(workSource) in hasSameProperties() 2666 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) { in updateProperties() argument 2681 updateWorkSource(workSource); in updateProperties() 2685 public boolean hasSameWorkSource(WorkSource workSource) { in hasSameWorkSource() argument 2686 return Objects.equal(mWorkSource, workSource); in hasSameWorkSource() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AlarmManager.java | 391 PendingIntent operation, WorkSource workSource) { in set() argument 392 setImpl(type, triggerAtMillis, windowMillis, intervalMillis, operation, workSource, null); in set() 396 PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) { in setImpl() argument 410 workSource, alarmClock); in setImpl()
|
D | IAlarmManager.aidl | 31 long interval, in PendingIntent operation, in WorkSource workSource, in set() argument
|
/frameworks/base/location/java/android/location/ |
D | LocationRequest.java | 520 public void setWorkSource(WorkSource workSource) { in setWorkSource() argument 521 mWorkSource = workSource; in setWorkSource() 601 WorkSource workSource = in.readParcelable(null); 602 if (workSource != null) request.setWorkSource(workSource);
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 527 a.repeatInterval, a.operation, batch.standalone, doValidate, a.workSource, in rebatchAllAlarmsLocked() 541 InFlight(AlarmManagerService service, PendingIntent pendingIntent, WorkSource workSource, in InFlight() argument 544 mWorkSource = workSource; in InFlight() 690 PendingIntent operation, boolean isStandalone, WorkSource workSource, in setImpl() argument 751 interval, operation, isStandalone, true, workSource, alarmClock, userId); in setImpl() 757 boolean doValidate, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, in setImplLocked() argument 760 operation, workSource, alarmClock, userId); in setImplLocked() 800 PendingIntent operation, WorkSource workSource, 802 if (workSource != null) { 809 windowLength == AlarmManager.WINDOW_EXACT, workSource, alarmClock); [all …]
|
D | LocationManagerService.java | 606 String packageName, WorkSource workSource, boolean hideFromAppOps) { in Receiver() argument 618 if (workSource != null && workSource.size() <= 0) { in Receiver() 619 workSource = null; in Receiver() 621 mWorkSource = workSource; in Receiver() 628 if (workSource == null) { in Receiver() 629 workSource = new WorkSource(mUid, mPackageName); in Receiver() 631 mWakeLock.setWorkSource(workSource); in Receiver() 1449 String packageName, WorkSource workSource, boolean hideFromAppOps) { in getReceiverLocked() argument 1453 receiver = new Receiver(listener, null, pid, uid, packageName, workSource, in getReceiverLocked() 1468 WorkSource workSource, boolean hideFromAppOps) { in getReceiverLocked() argument [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 393 public void startLocationRestrictedScan(WorkSource workSource) { in startLocationRestrictedScan() argument 407 if (workSource == null) { in startLocationRestrictedScan() 410 workSource = new WorkSource(WifiStateMachine.DFS_RESTRICTED_SCAN_REQUEST); in startLocationRestrictedScan() 412 startScan(settings, workSource); in startLocationRestrictedScan() 422 public void startScan(ScanSettings settings, WorkSource workSource) { in startScan() argument 431 if (workSource != null) { in startScan() 435 workSource.clearNames(); in startScan() 438 settings, workSource); in startScan() local 445 final WorkSource workSource; field in WifiServiceImpl.BatchedScanRequest 452 workSource = ws; in BatchedScanRequest() [all …]
|
D | WifiStateMachine.java | 1173 ScanSettings settings, WorkSource workSource) { in checkAndRestartDelayedScan() argument 1178 startDelayedScan(milli, settings, workSource); in checkAndRestartDelayedScan() 1182 private void startDelayedScan(int milli, ScanSettings settings, WorkSource workSource) { in startDelayedScan() argument 1198 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource); in startDelayedScan() 1295 ScanSettings settings, WorkSource workSource) { in startScan() argument 1298 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource); in startScan() 1307 WorkSource workSource) { in setBatchedScanSettings() argument 1310 bundle.putParcelable(BATCHED_WORKSOURCE, workSource); in setBatchedScanSettings() 1762 private void noteScanStart(int callingUid, WorkSource workSource) { in noteScanStart() argument 1768 if (workSource != null) { in noteScanStart() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 1004 public boolean startScan(WorkSource workSource) { in startScan() argument 1006 mService.startScan(null, workSource); in startScan() 1020 public boolean startLocationRestrictedScan(WorkSource workSource) { in startLocationRestrictedScan() argument 1022 mService.startLocationRestrictedScan(workSource); in startLocationRestrictedScan() 1055 public boolean startCustomizedScan(ScanSettings requested, WorkSource workSource) { in startCustomizedScan() argument 1057 mService.startScan(requested, workSource); in startCustomizedScan() 1081 public boolean requestBatchedScan(BatchedScanSettings requested, WorkSource workSource) { in requestBatchedScan() argument 1083 return mService.requestBatchedScan(requested, new Binder(), workSource); in requestBatchedScan()
|