Home
last modified time | relevance | path

Searched refs:WorkSource (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl22 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/
DWorkSource.java12 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 …]
DIPowerManager.aidl20 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()
DWorkSource.aidl18 parcelable WorkSource;
DPowerManager.java1019 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/
DIWifiManager.aidl34 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()
DWifiManager.java39 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/
DFusedLocationProvider.java38 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()
DFusionEngine.java35 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/
DBridgePowerManager.java22 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/
DIAlarmManager.aidl21 import android.os.WorkSource;
31 long interval, int flags, in PendingIntent operation, in WorkSource workSource, in set()
DAlarmManager.java28 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/
DILocationProvider.aidl22 import android.os.WorkSource;
37 void setRequest(in ProviderRequest request, in WorkSource ws); in setRequest()
/frameworks/base/services/core/java/com/android/server/location/
DLocationProviderInterface.java27 import android.os.WorkSource;
39 public void setRequest(ProviderRequest request, WorkSource source); in setRequest()
DLocationProviderProxy.java27 import android.os.WorkSource;
53 private WorkSource mWorksource = new WorkSource();
104 WorkSource source;
199 public void setRequest(ProviderRequest request, WorkSource source) { in setRequest()
DPassiveProvider.java32 import android.os.WorkSource;
95 public void setRequest(ProviderRequest request, WorkSource source) { in setRequest()
DMockProvider.java24 import android.os.WorkSource;
155 public void setRequest(ProviderRequest request, WorkSource source) { } in setRequest()
DGpsLocationProvider.java68 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/
DBatteryStatsService.java41 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/
DLocationProviderBase.java31 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/
DLocationRequest.java23 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/
DWifiServiceImpl.java64 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/
DNotifier.java46 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()
DPowerManagerService.java63 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/
DPackageDexOptimizer.java25 import android.os.WorkSource;
85 mDexoptWakeLock.setWorkSource(new WorkSource(pkg.applicationInfo.uid)); in performDexOpt()

12