Lines Matching defs:workSource
52 import android.os.WorkSource;
855 final WorkSource mWorkSource;
863 WorkSource workSource, int uid, String alarmPkg, int alarmType, String tag,
868 mWorkSource = workSource;
889 + ", workSource=" + mWorkSource
1111 int flags, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock,
1176 interval, operation, directReceiver, listenerTag, flags, true, workSource,
1183 String listenerTag, int flags, boolean doValidate, WorkSource workSource,
1186 operation, directReceiver, listenerTag, workSource, flags, alarmClock,
1332 WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock) {
1346 if (workSource != null) {
1377 } else if (workSource == null && (callingUid < Process.FIRST_APPLICATION_UID
1386 listenerTag, flags, workSource, alarmClock, callingUid, callingPackage);
2272 alarm.workSource, alarm.alarmClock, alarm.uid, alarm.packageName);
2326 public final WorkSource workSource;
2342 WorkSource _ws, int _flags, AlarmManager.AlarmClockInfo _info,
2357 workSource = _ws;
2513 if (alarm.workSource != null && alarm.workSource.size() > 0) {
2514 for (int wi=0; wi<alarm.workSource.size(); wi++) {
2516 alarm.operation, alarm.workSource.get(wi), alarm.statsTag);
2664 * @param ws WorkSource to attribute blame.
2667 void setWakelockWorkSource(PendingIntent pi, WorkSource ws, int type, String tag,
2687 mWakeLock.setWorkSource(new WorkSource(uid));
2789 final WorkSource workSource = null; // Let system take blame for time tick events.
2791 0, mTimeTickSender, null, null, AlarmManager.FLAG_STANDALONE, workSource,
2804 final WorkSource workSource = null; // Let system take blame for date change events.
2806 AlarmManager.FLAG_STANDALONE, workSource, null,
3172 setWakelockWorkSource(alarm.operation, alarm.workSource,
3179 alarm.operation, alarm.listener, alarm.workSource, alarm.uid,
3218 if (alarm.workSource != null && alarm.workSource.size() > 0) {
3219 for (int wi=0; wi<alarm.workSource.size(); wi++) {
3220 final String wsName = alarm.workSource.getName(wi);
3222 alarm.operation, alarm.workSource.get(wi),