Home
last modified time | relevance | path

Searched refs:workSource (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java165 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 …]
DPowerManagerService.java2743 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/
DLocationRequest.java521 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/
DAlarmManager.java445 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()
DIAlarmManager.aidl31 long interval, int flags, in PendingIntent operation, in WorkSource workSource, in set() argument
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java736 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 …]
DLocationManagerService.java632 String packageName, WorkSource workSource, boolean hideFromAppOps) { in Receiver() argument
644 if (workSource != null && workSource.size() <= 0) { in Receiver()
645 workSource = null; in Receiver()
647 mWorkSource = workSource; in Receiver()
654 if (workSource == null) { in Receiver()
655 workSource = new WorkSource(mUid, mPackageName); in Receiver()
657 mWakeLock.setWorkSource(workSource); in Receiver()
1489 String packageName, WorkSource workSource, boolean hideFromAppOps) { in getReceiverLocked() argument
1493 receiver = new Receiver(listener, null, pid, uid, packageName, workSource, in getReceiverLocked()
1507 WorkSource workSource, boolean hideFromAppOps) { in getReceiverLocked() argument
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1124 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/
DWifiServiceImpl.java412 public void startLocationRestrictedScan(WorkSource workSource) { in startLocationRestrictedScan() argument
426 if (workSource == null) { in startLocationRestrictedScan()
429 workSource = new WorkSource(WifiStateMachine.DFS_RESTRICTED_SCAN_REQUEST); in startLocationRestrictedScan()
431 startScan(settings, workSource); in startLocationRestrictedScan()
441 public void startScan(ScanSettings settings, WorkSource workSource) { in startScan() argument
467 if (workSource != null) { in startScan()
471 workSource.clearNames(); in startScan()
474 settings, workSource); in startScan() local
492 WorkSource workSource) { in requestBatchedScan() argument
DWifiStateMachine.java1480 ScanSettings settings, WorkSource workSource) { in checkAndRestartDelayedScan() argument
1486 startDelayedScan(milli, settings, workSource); in checkAndRestartDelayedScan()
1490 private void startDelayedScan(int milli, ScanSettings settings, WorkSource workSource) { in startDelayedScan() argument
1506 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource); in startDelayedScan()
1606 ScanSettings settings, WorkSource workSource) { in startScan() argument
1609 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource); in startScan()
1787 private void noteScanStart(int callingUid, WorkSource workSource) { in noteScanStart() argument
1793 if (workSource != null) { in noteScanStart()
1794 if (DBG) logd(ts + " noteScanStart" + workSource.toString() in noteScanStart()
1804 || workSource != null)) { in noteScanStart()
[all …]