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

/frameworks/base/core/java/android/app/
H A DIAlarmManager.aidl31 long interval, in PendingIntent operation, in WorkSource workSource,
H A DAlarmManager.java391 PendingIntent operation, WorkSource workSource) {
392 setImpl(type, triggerAtMillis, windowMillis, intervalMillis, operation, workSource, null);
396 PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) {
410 workSource, alarmClock);
390 set(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource) argument
395 setImpl(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) argument
/frameworks/base/services/core/java/com/android/server/power/
H A DNotifier.java142 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) {
147 + ", workSource=" + workSource);
154 if (workSource != null) {
155 mBatteryStats.noteStartWakelockFromSource(workSource, ownerPid, tag, historyTag,
173 int ownerUid, int ownerPid, WorkSource workSource, String historyTag,
177 if (workSource != null && newWorkSource != null) {
186 + ", workSource=" + newWorkSource);
189 mBatteryStats.noteChangeWakelockFromSource(workSource, ownerPid, tag, historyTag,
196 onWakeLockReleased(flags, tag, packageName, ownerUid, ownerPid, workSource, historyTa
141 onWakeLockAcquired(int flags, String tag, String packageName, int ownerUid, int ownerPid, WorkSource workSource, String historyTag) argument
172 onWakeLockChanging(int flags, String tag, String packageName, int ownerUid, int ownerPid, WorkSource workSource, String historyTag, int newFlags, String newTag, String newPackageName, int newOwnerUid, int newOwnerPid, WorkSource newWorkSource, String newHistoryTag) argument
205 onWakeLockReleased(int flags, String tag, String packageName, int ownerUid, int ownerPid, WorkSource workSource, String historyTag) argument
[all...]
H A DPowerManagerService.java2542 private static WorkSource copyWorkSource(WorkSource workSource) { argument
2543 return workSource != null ? new WorkSource(workSource) : null;
2640 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) {
2645 mWorkSource = copyWorkSource(workSource);
2656 public boolean hasSameProperties(int flags, String tag, WorkSource workSource, argument
2660 && hasSameWorkSource(workSource)
2666 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) {
2681 updateWorkSource(workSource);
2685 public boolean hasSameWorkSource(WorkSource workSource) { argument
2639 WakeLock(IBinder lock, int flags, String tag, String packageName, WorkSource workSource, String historyTag, int ownerUid, int ownerPid) argument
2665 updateProperties(int flags, String tag, String packageName, WorkSource workSource, String historyTag, int ownerUid, int ownerPid) argument
2689 updateWorkSource(WorkSource workSource) argument
[all...]
/frameworks/base/location/java/android/location/
H A DLocationRequest.java516 * @param workSource WorkSource defining power blame for this location request.
520 public void setWorkSource(WorkSource workSource) { argument
521 mWorkSource = workSource;
601 WorkSource workSource = in.readParcelable(null);
602 if (workSource != null) request.setWorkSource(workSource);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java393 public void startLocationRestrictedScan(WorkSource workSource) { argument
407 if (workSource == null) {
408 // Make sure we always have a workSource indicating the origin of the scan
410 workSource = new WorkSource(WifiStateMachine.DFS_RESTRICTED_SCAN_REQUEST);
412 startScan(settings, workSource);
420 * @param workSource If null, all blame is given to the calling uid.
422 public void startScan(ScanSettings settings, WorkSource workSource) { argument
431 if (workSource != null) {
435 workSource.clearNames();
438 settings, workSource);
445 final WorkSource workSource; field in class:WifiServiceImpl.BatchedScanRequest
486 requestBatchedScan(BatchedScanSettings requested, IBinder binder, WorkSource workSource) argument
[all...]
H A DWifiStateMachine.java1173 ScanSettings settings, WorkSource workSource) {
1178 startDelayedScan(milli, settings, workSource);
1182 private void startDelayedScan(int milli, ScanSettings settings, WorkSource workSource) { argument
1198 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource);
1286 * Initiate a wifi scan. If workSource is not null, blame is given to it, otherwise blame is
1290 * workSource is specified.
1291 * @param workSource If not null, blame is given to workSource.
1295 ScanSettings settings, WorkSource workSource) {
1298 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource);
1172 checkAndRestartDelayedScan(int counter, boolean restart, int milli, ScanSettings settings, WorkSource workSource) argument
1294 startScan(int callingUid, int scanCounter, ScanSettings settings, WorkSource workSource) argument
1306 setBatchedScanSettings(BatchedScanSettings settings, int callingUid, int csph, WorkSource workSource) argument
1762 noteScanStart(int callingUid, WorkSource workSource) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java527 a.repeatInterval, a.operation, batch.standalone, doValidate, a.workSource,
541 InFlight(AlarmManagerService service, PendingIntent pendingIntent, WorkSource workSource, argument
544 mWorkSource = workSource;
690 PendingIntent operation, boolean isStandalone, WorkSource workSource,
751 interval, operation, isStandalone, true, workSource, alarmClock, userId);
757 boolean doValidate, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock,
760 operation, workSource, alarmClock, userId);
800 PendingIntent operation, WorkSource workSource,
802 if (workSource != null) {
809 windowLength == AlarmManager.WINDOW_EXACT, workSource, alarmCloc
689 setImpl(int type, long triggerAtTime, long windowLength, long interval, PendingIntent operation, boolean isStandalone, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock) argument
755 setImplLocked(int type, long when, long whenElapsed, long windowLength, long maxWhen, long interval, PendingIntent operation, boolean isStandalone, boolean doValidate, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, int userId) argument
1500 public final WorkSource workSource; field in class:AlarmManagerService.Alarm
[all...]
H A DLocationManagerService.java606 String packageName, WorkSource workSource, boolean hideFromAppOps) {
618 if (workSource != null && workSource.size() <= 0) {
619 workSource = null;
621 mWorkSource = workSource;
628 if (workSource == null) {
629 workSource = new WorkSource(mUid, mPackageName);
631 mWakeLock.setWorkSource(workSource);
1449 String packageName, WorkSource workSource, boolean hideFromAppOps) {
1453 receiver = new Receiver(listener, null, pid, uid, packageName, workSource,
605 Receiver(ILocationListener listener, PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument
1448 getReceiverLocked(ILocationListener listener, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument
1467 getReceiverLocked(PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument
1533 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 DWifiManager.java1004 public boolean startScan(WorkSource workSource) { argument
1006 mService.startScan(null, workSource);
1020 public boolean startLocationRestrictedScan(WorkSource workSource) { argument
1022 mService.startLocationRestrictedScan(workSource);
1055 public boolean startCustomizedScan(ScanSettings requested, WorkSource workSource) { argument
1057 mService.startScan(requested, workSource);
1081 public boolean requestBatchedScan(BatchedScanSettings requested, WorkSource workSource) { argument
1083 return mService.requestBatchedScan(requested, new Binder(), workSource);

Completed in 1092 milliseconds