Home | History | Annotate | Download | only in power

Lines Matching refs:workSource

51 import android.os.WorkSource;
847 WorkSource ws, String historyTag, int uid, int pid) {
983 private void updateWakeLockWorkSourceInternal(IBinder lock, WorkSource ws, String historyTag,
1032 String packageName, int uid, int pid, WorkSource ws, String historyTag) {
2901 private static WorkSource copyWorkSource(WorkSource workSource) {
2902 return workSource != null ? new WorkSource(workSource) : null;
2999 public WorkSource mWorkSource;
3007 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) {
3012 mWorkSource = copyWorkSource(workSource);
3023 public boolean hasSameProperties(int flags, String tag, WorkSource workSource,
3027 && hasSameWorkSource(workSource)
3033 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) {
3048 updateWorkSource(workSource);
3052 public boolean hasSameWorkSource(WorkSource workSource) {
3053 return Objects.equal(mWorkSource, workSource);
3056 public void updateWorkSource(WorkSource workSource) {
3057 mWorkSource = copyWorkSource(workSource);
3173 acquireWakeLock(lock, flags, tag, packageName, new WorkSource(uid), null);
3188 WorkSource ws, String historyTag) {
3237 WorkSource ws = null;
3240 ws = new WorkSource();
3241 // XXX should WorkSource have a way to set uids as an int[] instead of adding them
3251 public void updateWakeLockWorkSource(IBinder lock, WorkSource ws, String historyTag) {