/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 22 import android.os.WorkSource; 71 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, String historyName, in noteStartWakelockFromSource() 73 void noteChangeWakelockFromSource(in WorkSource ws, int pid, String name, String histyoryName, in noteChangeWakelockFromSource() 74 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() 76 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, String historyName, in noteStopWakelockFromSource() 97 void noteWifiRunning(in WorkSource ws); in noteWifiRunning() 98 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() 99 void noteWifiStopped(in WorkSource ws); in noteWifiStopped() 109 void noteFullWifiLockAcquiredFromSource(in WorkSource ws); in noteFullWifiLockAcquiredFromSource() 110 void noteFullWifiLockReleasedFromSource(in WorkSource ws); in noteFullWifiLockReleasedFromSource() [all …]
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 12 public class WorkSource implements Parcelable { class 25 static final WorkSource sTmpWorkSource = new WorkSource(0); 29 static WorkSource sNewbWork; 33 static WorkSource sGoneWork; 38 public WorkSource() { in WorkSource() method in WorkSource 46 public WorkSource(WorkSource orig) { in WorkSource() method in WorkSource 62 public WorkSource(int uid) { in WorkSource() method in WorkSource 69 public WorkSource(int uid, String name) { in WorkSource() method in WorkSource 78 WorkSource(Parcel in) { in WorkSource() method in WorkSource 132 return o instanceof WorkSource && !diff((WorkSource)o); in equals() [all …]
|
D | IPowerManager.aidl | 20 import android.os.WorkSource; 28 void acquireWakeLock(IBinder lock, int flags, String tag, String packageName, in WorkSource ws, in acquireWakeLock() 36 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws, String historyTag); in updateWakeLockWorkSource()
|
D | WorkSource.aidl | 18 parcelable WorkSource;
|
D | PowerManager.java | 1019 private WorkSource mWorkSource; 1184 public void setWorkSource(WorkSource ws) { in setWorkSource() 1196 mWorkSource = new WorkSource(ws); in setWorkSource()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 34 import android.os.WorkSource; 65 void startScan(in ScanSettings requested, in WorkSource ws); in startScan() 67 void startLocationRestrictedScan(in WorkSource ws); in startLocationRestrictedScan() 99 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws); in acquireWifiLock() 101 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws); in updateWifiLockWorkSource() 139 boolean requestBatchedScan(in BatchedScanSettings requested, IBinder binder, in WorkSource ws); in requestBatchedScan()
|
D | WifiManager.java | 39 import android.os.WorkSource; 1124 public boolean startScan(WorkSource workSource) { 1140 public boolean startLocationRestrictedScan(WorkSource workSource) { 1175 public boolean startCustomizedScan(ScanSettings requested, WorkSource workSource) { 1201 public boolean requestBatchedScan(BatchedScanSettings requested, WorkSource workSource) { 2327 private WorkSource mWorkSource; 2425 public void setWorkSource(WorkSource ws) { 2437 mWorkSource = new WorkSource(ws);
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 38 import android.os.WorkSource; 56 public WorkSource source; 57 public RequestWrapper(ProviderRequestUnbundled request, WorkSource source) { in RequestWrapper() 116 public void onSetRequest(ProviderRequestUnbundled request, WorkSource source) { in onSetRequest()
|
D | FusionEngine.java | 35 import android.os.WorkSource; 115 public void setRequest(ProviderRequestUnbundled request, WorkSource source) { in setRequest()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePowerManager.java | 22 import android.os.WorkSource; 52 …public void acquireWakeLock(IBinder arg0, int arg1, String arg2, String arg2_5, WorkSource arg3, S… in acquireWakeLock() 124 …public void updateWakeLockWorkSource(IBinder arg0, WorkSource arg1, String arg2) throws RemoteExce… in updateWakeLockWorkSource()
|
/frameworks/base/core/java/android/app/ |
D | IAlarmManager.aidl | 21 import android.os.WorkSource; 31 long interval, int flags, in PendingIntent operation, in WorkSource workSource, in set()
|
D | AlarmManager.java | 28 import android.os.WorkSource; 445 PendingIntent operation, WorkSource workSource) { in set() 451 int flags, PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) { in setImpl()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | ILocationProvider.aidl | 22 import android.os.WorkSource; 37 void setRequest(in ProviderRequest request, in WorkSource ws); in setRequest()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationProviderInterface.java | 27 import android.os.WorkSource; 39 public void setRequest(ProviderRequest request, WorkSource source); in setRequest()
|
D | LocationProviderProxy.java | 27 import android.os.WorkSource; 53 private WorkSource mWorksource = new WorkSource(); 104 WorkSource source; 199 public void setRequest(ProviderRequest request, WorkSource source) { in setRequest()
|
D | PassiveProvider.java | 32 import android.os.WorkSource; 95 public void setRequest(ProviderRequest request, WorkSource source) { in setRequest()
|
D | MockProvider.java | 24 import android.os.WorkSource; 155 public void setRequest(ProviderRequest request, WorkSource source) { } in setRequest()
|
D | GpsLocationProvider.java | 68 import android.os.WorkSource; 252 public WorkSource source; 253 public GpsRequest(ProviderRequest request, WorkSource source) { in GpsRequest() 347 private WorkSource mWorkSource = null; 402 private WorkSource mClientSource = new WorkSource(); 1027 updateClientUids(new WorkSource()); in handleDisable() 1069 public void setRequest(ProviderRequest request, WorkSource source) { in setRequest() 1073 private void handleSetRequest(ProviderRequest request, WorkSource source) { in handleSetRequest() 1126 updateClientUids(new WorkSource()); in updateRequirements() 1134 private void updateClientUids(WorkSource source) { in updateClientUids() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 41 import android.os.WorkSource; 411 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, in noteStartWakelockFromSource() 420 public void noteChangeWakelockFromSource(WorkSource ws, int pid, String name, in noteChangeWakelockFromSource() 421 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() 430 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, String historyName, in noteStopWakelockFromSource() 680 public void noteWifiRunning(WorkSource ws) { in noteWifiRunning() 687 public void noteWifiRunningChanged(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChanged() 694 public void noteWifiStopped(WorkSource ws) { in noteWifiStopped() 764 public void noteFullWifiLockAcquiredFromSource(WorkSource ws) { in noteFullWifiLockAcquiredFromSource() 771 public void noteFullWifiLockReleasedFromSource(WorkSource ws) { in noteFullWifiLockReleasedFromSource() [all …]
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | LocationProviderBase.java | 31 import android.os.WorkSource; 88 public void setRequest(ProviderRequest request, WorkSource ws) { in setRequest() 166 public abstract void onSetRequest(ProviderRequestUnbundled request, WorkSource source); in onSetRequest()
|
/frameworks/base/location/java/android/location/ |
D | LocationRequest.java | 23 import android.os.WorkSource; 151 private WorkSource mWorkSource = null; 521 public void setWorkSource(WorkSource workSource) { in setWorkSource() 527 public WorkSource getWorkSource() { in getWorkSource() 602 WorkSource workSource = in.readParcelable(null);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 64 import android.os.WorkSource; 412 public void startLocationRestrictedScan(WorkSource workSource) { in startLocationRestrictedScan() 429 workSource = new WorkSource(WifiStateMachine.DFS_RESTRICTED_SCAN_REQUEST); in startLocationRestrictedScan() 441 public void startScan(ScanSettings settings, WorkSource workSource) { in startScan() 492 WorkSource workSource) { in requestBatchedScan() 1512 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in WifiLock() 1554 synchronized void updateWorkSource(WorkSource ws) { in updateWorkSource() 1602 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { in acquireWifiLock() 1618 ws = new WorkSource(Binder.getCallingUid()); in acquireWifiLock() 1675 public void updateWifiLockWorkSource(IBinder lock, WorkSource ws) { in updateWifiLockWorkSource() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 46 import android.os.WorkSource; 165 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) { in onWakeLockAcquired() 198 int ownerUid, int ownerPid, WorkSource workSource, String historyTag, in onWakeLockChanging() 200 int newOwnerPid, WorkSource newWorkSource, String newHistoryTag) { in onWakeLockChanging() 233 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) { in onWakeLockReleased()
|
D | PowerManagerService.java | 63 import android.os.WorkSource; 774 WorkSource ws, String historyTag, int uid, int pid) { in acquireWakeLockInternal() 910 private void updateWakeLockWorkSourceInternal(IBinder lock, WorkSource ws, String historyTag, in updateWakeLockWorkSourceInternal() 959 String packageName, int uid, int pid, WorkSource ws, String historyTag) { in notifyWakeLockChangingLocked() 2743 private static WorkSource copyWorkSource(WorkSource workSource) { in copyWorkSource() 2744 return workSource != null ? new WorkSource(workSource) : null; in copyWorkSource() 2834 public WorkSource mWorkSource; 2842 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) { in WakeLock() 2858 public boolean hasSameProperties(int flags, String tag, WorkSource workSource, in hasSameProperties() 2868 WorkSource workSource, String historyTag, int ownerUid, int ownerPid) { in updateProperties() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 25 import android.os.WorkSource; 85 mDexoptWakeLock.setWorkSource(new WorkSource(pkg.applicationInfo.uid)); in performDexOpt()
|