/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 165 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) { in onWakeLockAcquired() argument 170 + ", workSource=" + workSource); in onWakeLockAcquired() 178 if (workSource != null) { in onWakeLockAcquired() 179 mBatteryStats.noteStartWakelockFromSource(workSource, ownerPid, tag, in onWakeLockAcquired() 198 int ownerUid, int ownerPid, WorkSource workSource, String historyTag, in onWakeLockChanging() argument 204 if (workSource != null && newWorkSource != null in onWakeLockChanging() 216 mBatteryStats.noteChangeWakelockFromSource(workSource, ownerPid, tag, historyTag, in onWakeLockChanging() 223 onWakeLockReleased(flags, tag, packageName, ownerUid, ownerPid, workSource, historyTag); in onWakeLockChanging() 233 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) { in onWakeLockReleased() argument 238 + ", workSource=" + workSource); in onWakeLockReleased() [all …]
|
D | PowerManagerService.java | 2743 private static WorkSource copyWorkSource(WorkSource workSource) { in copyWorkSource() argument 2744 return workSource != null ? new WorkSource(workSource) : null; in copyWorkSource() 2842 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) { in WakeLock() argument 2847 mWorkSource = copyWorkSource(workSource); in WakeLock() 2858 public boolean hasSameProperties(int flags, String tag, WorkSource workSource, in hasSameProperties() argument 2862 && hasSameWorkSource(workSource) in hasSameProperties() 2868 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) { in updateProperties() argument 2883 updateWorkSource(workSource); in updateProperties() 2887 public boolean hasSameWorkSource(WorkSource workSource) { in hasSameWorkSource() argument 2888 return Objects.equal(mWorkSource, workSource); in hasSameWorkSource() [all …]
|
/frameworks/base/location/java/android/location/ |
D | LocationRequest.java | 521 public void setWorkSource(WorkSource workSource) { in setWorkSource() argument 522 mWorkSource = workSource; in setWorkSource() 602 WorkSource workSource = in.readParcelable(null); 603 if (workSource != null) request.setWorkSource(workSource);
|
/frameworks/base/core/java/android/app/ |
D | AlarmManager.java | 445 PendingIntent operation, WorkSource workSource) { in set() argument 446 setImpl(type, triggerAtMillis, windowMillis, intervalMillis, 0, operation, workSource, in set() 451 int flags, PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) { in setImpl() argument 465 workSource, alarmClock); in setImpl()
|
D | IAlarmManager.aidl | 31 long interval, int flags, in PendingIntent operation, in WorkSource workSource, in set() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 736 InFlight(AlarmManagerService service, PendingIntent pendingIntent, WorkSource workSource, in InFlight() argument 739 mWorkSource = workSource; in InFlight() 894 PendingIntent operation, int flags, WorkSource workSource, in setImpl() argument 955 interval, operation, flags, true, workSource, alarmClock, callingUid); in setImpl() 961 boolean doValidate, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, in setImplLocked() argument 964 operation, workSource, flags, alarmClock, uid); in setImplLocked() 1072 PendingIntent operation, WorkSource workSource, 1075 if (workSource != null) { 1096 if (callingUid < Process.FIRST_APPLICATION_UID && workSource == null) { 1112 flags, workSource, alarmClock, callingUid); [all …]
|
D | LocationManagerService.java | 635 String packageName, WorkSource workSource, boolean hideFromAppOps) { in Receiver() argument 647 if (workSource != null && workSource.size() <= 0) { in Receiver() 648 workSource = null; in Receiver() 650 mWorkSource = workSource; in Receiver() 657 if (workSource == null) { in Receiver() 658 workSource = new WorkSource(mUid, mPackageName); in Receiver() 660 mWakeLock.setWorkSource(workSource); in Receiver() 1492 String packageName, WorkSource workSource, boolean hideFromAppOps) { in getReceiverLocked() argument 1496 receiver = new Receiver(listener, null, pid, uid, packageName, workSource, in getReceiverLocked() 1510 WorkSource workSource, boolean hideFromAppOps) { in getReceiverLocked() argument [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 1124 public boolean startScan(WorkSource workSource) { 1126 mService.startScan(null, workSource); 1140 public boolean startLocationRestrictedScan(WorkSource workSource) { 1142 mService.startLocationRestrictedScan(workSource); 1175 public boolean startCustomizedScan(ScanSettings requested, WorkSource workSource) { 1177 mService.startScan(requested, workSource); 1201 public boolean requestBatchedScan(BatchedScanSettings requested, WorkSource workSource) { 1203 return mService.requestBatchedScan(requested, new Binder(), workSource);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 430 public void startLocationRestrictedScan(WorkSource workSource) { in startLocationRestrictedScan() argument 444 if (workSource == null) { in startLocationRestrictedScan() 447 workSource = new WorkSource(WifiStateMachine.DFS_RESTRICTED_SCAN_REQUEST); in startLocationRestrictedScan() 449 startScan(settings, workSource); in startLocationRestrictedScan() 459 public void startScan(ScanSettings settings, WorkSource workSource) { in startScan() argument 485 if (workSource != null) { in startScan() 489 workSource.clearNames(); in startScan() 492 settings, workSource); in startScan() local 510 WorkSource workSource) { in requestBatchedScan() argument
|
D | WifiStateMachine.java | 1563 ScanSettings settings, WorkSource workSource) { in checkAndRestartDelayedScan() argument 1569 startDelayedScan(milli, settings, workSource); in checkAndRestartDelayedScan() 1573 private void startDelayedScan(int milli, ScanSettings settings, WorkSource workSource) { in startDelayedScan() argument 1589 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource); in startDelayedScan() 1689 ScanSettings settings, WorkSource workSource) { in startScan() argument 1692 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource); in startScan() 1899 private void noteScanStart(int callingUid, WorkSource workSource) { in noteScanStart() argument 1908 if (workSource != null) { in noteScanStart() 1909 if (DBG) logd(ts + " noteScanStart" + workSource.toString() in noteScanStart() 1919 || workSource != null)) { in noteScanStart() [all …]
|