/frameworks/base/core/tests/coretests/src/android/os/ |
D | WorkSourceTest.java | 19 import android.os.WorkSource.WorkChain; 95 WorkSource ws1 = new WorkSource(); in testDiff_workChains() 98 WorkSource ws2 = new WorkSource(); in testDiff_workChains() 108 WorkSource ws1 = new WorkSource(); in testEquals_workChains() 112 WorkSource ws2 = new WorkSource(); in testEquals_workChains() 123 WorkSource ws3 = new WorkSource(); in testEquals_workChains() 134 WorkSource ws1 = new WorkSource(); in testEquals_workChains_nullEmptyAreEquivalent() 139 WorkSource ws2 = new WorkSource(); in testEquals_workChains_nullEmptyAreEquivalent() 149 WorkSource ws = new WorkSource(); in testWorkSourceParcelling() 162 WorkSource unparcelled = WorkSource.CREATOR.createFromParcel(p); in testWorkSourceParcelling() [all …]
|
D | WorkSourceParcelTest.java | 89 WorkSource ws = WorkSource.CREATOR.createFromParcel(wsParcel); in unparcelWorkSourceFromNativeAndVerify() 116 WorkSource ws = new WorkSource(); in parcelWorkSourceToNativeAndVerify()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 25 import android.os.WorkSource; 112 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, String historyName, in noteStartWakelockFromSource() 115 void noteChangeWakelockFromSource(in WorkSource ws, int pid, String name, String histyoryName, in noteChangeWakelockFromSource() 116 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() 119 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, String historyName, in noteStopWakelockFromSource() 125 in WorkSource workSource); in noteLongPartialWakelockStartFromSource() 130 in WorkSource workSource); in noteLongPartialWakelockFinishFromSource() 137 void noteGpsChanged(in WorkSource oldSource, in WorkSource newSource); in noteGpsChanged() 169 void noteWifiRunning(in WorkSource ws); in noteWifiRunning() 171 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() [all …]
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 26 public class WorkSource implements Parcelable { class 49 static final WorkSource sTmpWorkSource = new WorkSource(0); 54 static WorkSource sNewbWork; 59 static WorkSource sGoneWork; 64 public WorkSource() { in WorkSource() method in WorkSource 73 public WorkSource(WorkSource orig) { in WorkSource() method in WorkSource 101 public WorkSource(int uid) { in WorkSource() method in WorkSource 115 public WorkSource(int uid, @NonNull String packageName) { in WorkSource() method in WorkSource 124 WorkSource(Parcel in) { in WorkSource() method in WorkSource 132 …in.readParcelableList(mChains, WorkChain.class.getClassLoader(), android.os.WorkSource.WorkChain.c… in WorkSource() [all …]
|
D | BatteryStatsManager.java | 269 public void reportWifiScanStartedFromSource(@NonNull WorkSource ws) { in reportWifiScanStartedFromSource() 283 public void reportWifiScanStoppedFromSource(@NonNull WorkSource ws) { in reportWifiScanStoppedFromSource() 298 public void reportWifiBatchedScanStartedFromSource(@NonNull WorkSource ws, in reportWifiBatchedScanStartedFromSource() 313 public void reportWifiBatchedScanStoppedFromSource(@NonNull WorkSource ws) { in reportWifiBatchedScanStoppedFromSource() 391 public void reportFullWifiLockAcquiredFromSource(@NonNull WorkSource ws) { in reportFullWifiLockAcquiredFromSource() 405 public void reportFullWifiLockReleasedFromSource(@NonNull WorkSource ws) { in reportFullWifiLockReleasedFromSource() 437 public void reportWifiMulticastEnabled(@NonNull WorkSource ws) { in reportWifiMulticastEnabled() 452 public void reportWifiMulticastDisabled(@NonNull WorkSource ws) { in reportWifiMulticastDisabled() 548 public void reportBleScanStarted(@NonNull WorkSource ws, boolean isUnoptimized) { in reportBleScanStarted() 563 public void reportBleScanStopped(@NonNull WorkSource ws, boolean isUnoptimized) { in reportBleScanStopped() [all …]
|
D | IPowerManager.aidl | 23 import android.os.WorkSource; 30 void acquireWakeLock(IBinder lock, int flags, String tag, String packageName, in WorkSource ws, in acquireWakeLock() 43 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws, String historyTag); in updateWakeLockWorkSource() 124 in WorkSource ws, String historyTag); in acquireWakeLockAsync()
|
/frameworks/base/location/java/android/location/provider/ |
D | ProviderRequest.java | 30 import android.os.WorkSource; 53 new WorkSource()); 61 private final WorkSource mWorkSource; 84 @NonNull WorkSource workSource) { in ProviderRequest() 170 public @NonNull WorkSource getWorkSource() { in getWorkSource() 188 /* workSource= */ in.readTypedObject(WorkSource.CREATOR)); 292 private WorkSource mWorkSource = new WorkSource(); 360 public @NonNull Builder setWorkSource(@NonNull WorkSource workSource) { in setWorkSource()
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | AlarmHelper.java | 20 import android.os.WorkSource; 33 WorkSource workSource) { in setDelayedAlarm() 40 WorkSource workSource); in setDelayedAlarmInternal()
|
D | SystemAlarmHelper.java | 25 import android.os.WorkSource; 44 WorkSource workSource) { in setDelayedAlarmInternal()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 78 import android.os.WorkSource; 1075 public void noteWakupAlarm(final String name, final int uid, final WorkSource workSource, in noteWakupAlarm() 1078 final WorkSource localWs = workSource != null ? new WorkSource(workSource) : null; in noteWakupAlarm() 1091 public void noteAlarmStart(final String name, final WorkSource workSource, final int uid) { in noteAlarmStart() 1093 final WorkSource localWs = workSource != null ? new WorkSource(workSource) : null; in noteAlarmStart() 1105 public void noteAlarmFinish(final String name, final WorkSource workSource, final int uid) { in noteAlarmFinish() 1107 final WorkSource localWs = workSource != null ? new WorkSource(workSource) : null; in noteAlarmFinish() 1157 public void noteStartWakelockFromSource(final WorkSource ws, final int pid, final String name, in noteStartWakelockFromSource() 1161 final WorkSource localWs = ws != null ? new WorkSource(ws) : null; in noteStartWakelockFromSource() 1176 public void noteChangeWakelockFromSource(final WorkSource ws, final int pid, final String name, in noteChangeWakelockFromSource() [all …]
|
/frameworks/native/services/powermanager/include/android/ |
D | WorkSource.h | 30 struct WorkSource : public android::Parcelable { struct 31 WorkSource( 39 bool operator == (const WorkSource &ws) const { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILRequest.java | 23 import android.os.WorkSource; 24 import android.os.WorkSource.WorkChain; 56 WorkSource mWorkSource; 125 public static RILRequest obtain(int request, Message result, WorkSource workSource) { in obtain() 148 public static RILRequest obtain(int request, Message result, WorkSource workSource, in obtain()
|
/frameworks/native/services/powermanager/tests/ |
D | WorkSourceTest.cpp | 34 os::WorkSource ws{uids, names}; in TEST() 40 os::WorkSource otherWs; in TEST()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
D | WakelockPowerCalculatorTest.java | 25 import android.os.WorkSource; 54 batteryStats.noteStartWakeFromSourceLocked(new WorkSource(APP_UID), APP_PID, "awake", "", in testTimerBasedModel() 56 batteryStats.noteStopWakeFromSourceLocked(new WorkSource(APP_UID), APP_PID, "awake", "", in testTimerBasedModel()
|
/frameworks/native/services/powermanager/ |
D | WorkSource.cpp | 25 status_t WorkSource::readFromParcel(const android::Parcel *parcel) { in readFromParcel() 45 status_t WorkSource::writeToParcel(android::Parcel *parcel) const { in writeToParcel()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/ |
D | IAlarmManager.aidl | 23 import android.os.WorkSource; 35 … String listenerTag, in WorkSource workSource, in AlarmManager.AlarmClockInfo alarmClock); in set()
|
D | AlarmManager.java | 42 import android.os.WorkSource; 705 @Nullable String tag, @NonNull Executor executor, @Nullable WorkSource workSource, in setWindow() 921 @Nullable WorkSource workSource) { in set() 939 @Nullable Handler targetHandler, @Nullable WorkSource workSource) { in set() 950 private static String makeTag(long triggerMillis, WorkSource ws) { in makeTag() 987 @Nullable WorkSource workSource) { in set() 1029 @NonNull Executor executor, @NonNull WorkSource workSource, in setExact() 1041 String listenerTag, Handler targetHandler, WorkSource workSource, in setImpl() 1050 String listenerTag, Executor targetExecutor, WorkSource workSource, in setImpl() 1344 @Nullable String tag, @NonNull Executor executor, @Nullable WorkSource workSource, in setExactAndAllowWhileIdle()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeAlarmHelper.java | 20 import android.os.WorkSource; 41 WorkSource workSource) { in setDelayedAlarmInternal()
|
/frameworks/base/location/java/android/location/ |
D | LocationRequest.java | 39 import android.os.WorkSource; 199 private @Nullable WorkSource mWorkSource; 293 WorkSource workSource) { in LocationRequest() 740 public void setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() 742 workSource = new WorkSource(); in setWorkSource() 756 public @NonNull WorkSource getWorkSource() { in getWorkSource() 779 /* workSource= */ in.readTypedObject(WorkSource.CREATOR)); 925 @Nullable private WorkSource mWorkSource; 1195 public @NonNull Builder setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() 1231 new WorkSource(mWorkSource)); in build()
|
/frameworks/base/location/java/android/location/util/identity/ |
D | CallerIdentity.java | 24 import android.os.WorkSource; 213 public WorkSource addToWorkSource(@Nullable WorkSource workSource) { in addToWorkSource() 215 return new WorkSource(mUid, mPackageName); in addToWorkSource()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePowerManager.java | 28 import android.os.WorkSource; 122 public void acquireWakeLock(IBinder arg0, int arg1, String arg2, String arg2_5, WorkSource arg3, in acquireWakeLock() 130 WorkSource arg3, String arg4) throws RemoteException { in acquireWakeLockAsync() 228 …public void updateWakeLockWorkSource(IBinder arg0, WorkSource arg1, String arg2) throws RemoteExce… in updateWakeLockWorkSource()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | TimeController.java | 25 import android.os.WorkSource; 120 WorkSource ws = in maybeStartTrackingJobLocked() 335 private void maybeUpdateDelayAlarmLocked(long delayExpiredElapsed, WorkSource ws) { in maybeUpdateDelayAlarmLocked() 341 private void maybeUpdateDeadlineAlarmLocked(long deadlineExpiredElapsed, WorkSource ws) { in maybeUpdateDeadlineAlarmLocked() 352 private void setDelayExpiredAlarmLocked(long alarmTimeElapsedMillis, WorkSource ws) { in setDelayExpiredAlarmLocked() 371 private void setDeadlineExpiredAlarmLocked(long alarmTimeElapsedMillis, WorkSource ws) { in setDeadlineExpiredAlarmLocked() 386 OnAlarmListener listener, long alarmTimeElapsed, WorkSource ws) { in updateAlarmWithListenerLocked()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ProviderRequestUnbundled.java | 23 import android.os.WorkSource; 130 public @NonNull WorkSource getWorkSource() { in getWorkSource()
|
/frameworks/base/core/tests/coretests/jni/ |
D | NativeWorkSourceParcelTest.cpp | 59 WorkSource ws = WorkSource(uids, names); in nativeObtainWorkSourceParcel() 76 WorkSource ws = {}; in nativeUnparcelAndVerifyWorkSource()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationThread.java | 27 import android.os.WorkSource; 234 WorkSource workSource = new WorkSource( in runCurrentVibrationWithWakeLock()
|