HomeSort by relevance Sort by last modified time
    Searched full:worksource (Results 1 - 25 of 55) sorted by null

1 2 3

  /frameworks/base/core/java/com/android/internal/app/
IBatteryStats.aidl 22 import android.os.WorkSource;
71 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, String historyName,
73 void noteChangeWakelockFromSource(in WorkSource ws, int pid, String name, String histyoryName,
74 int type, in WorkSource newWs, int newPid, String newName,
76 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, String historyName,
97 void noteWifiRunning(in WorkSource ws);
98 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs);
99 void noteWifiStopped(in WorkSource ws);
109 void noteFullWifiLockAcquiredFromSource(in WorkSource ws)
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
WorkSourceTest.java 22 import android.os.WorkSource;
26 private Constructor<WorkSource> mConstructWS;
42 mConstructWS = WorkSource.class.getConstructor(new Class[] { int.class });
43 mAddUid = WorkSource.class.getMethod("add", new Class[] { int.class });
44 mAddUidName = WorkSource.class.getMethod("add", new Class[] { int.class, String.class });
45 mAddReturningNewbs = WorkSource.class.getMethod("addReturningNewbs", new Class[] { WorkSource.class });
46 mSetReturningDiffs = WorkSource.class.getMethod("setReturningDiffs", new Class[] { WorkSource.class });
47 mStripNames = WorkSource.class.getMethod("stripNames", new Class[] { })
    [all...]
  /frameworks/base/core/java/android/os/
WorkSource.java 12 public class WorkSource implements Parcelable {
13 static final String TAG = "WorkSource";
22 * The WorkSource object itself is not thread safe, but we need to
25 static final WorkSource sTmpWorkSource = new WorkSource(0);
29 static WorkSource sNewbWork;
33 static WorkSource sGoneWork;
38 public WorkSource() {
43 * Create a new WorkSource that is a copy of an existing one.
44 * If <var>orig</var> is null, an empty WorkSource is created
    [all...]
IPowerManager.aidl 20 import android.os.WorkSource;
28 void acquireWakeLock(IBinder lock, int flags, String tag, String packageName, in WorkSource ws,
36 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws, String historyTag);
WorkSource.aidl 18 parcelable WorkSource;
  /frameworks/base/core/java/android/app/
IAlarmManager.aidl 21 import android.os.WorkSource;
31 long interval, int flags, in PendingIntent operation, in WorkSource workSource,
  /frameworks/base/wifi/java/android/net/wifi/
IWifiManager.aidl 34 import android.os.WorkSource;
65 void startScan(in ScanSettings requested, in WorkSource ws);
67 void startLocationRestrictedScan(in WorkSource ws);
99 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws);
101 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws);
139 boolean requestBatchedScan(in BatchedScanSettings requested, IBinder binder, in WorkSource ws);
  /frameworks/base/location/java/com/android/internal/location/
ILocationProvider.aidl 22 import android.os.WorkSource;
37 void setRequest(in ProviderRequest request, in WorkSource ws);
  /frameworks/base/services/core/java/com/android/server/location/
LocationProviderInterface.java 27 import android.os.WorkSource;
39 public void setRequest(ProviderRequest request, WorkSource source);
PassiveProvider.java 32 import android.os.WorkSource;
95 public void setRequest(ProviderRequest request, WorkSource source) {
LocationProviderProxy.java 27 import android.os.WorkSource;
53 private WorkSource mWorksource = new WorkSource();
104 WorkSource source;
199 public void setRequest(ProviderRequest request, WorkSource source) {
MockProvider.java 24 import android.os.WorkSource;
155 public void setRequest(ProviderRequest request, WorkSource source) { }
  /frameworks/base/packages/FusedLocation/src/com/android/location/fused/
FusedLocationProvider.java 38 import android.os.WorkSource;
56 public WorkSource source;
57 public RequestWrapper(ProviderRequestUnbundled request, WorkSource source) {
116 public void onSetRequest(ProviderRequestUnbundled request, WorkSource source) {
FusionEngine.java 35 import android.os.WorkSource;
115 public void setRequest(ProviderRequestUnbundled request, WorkSource source) {
  /frameworks/base/services/core/java/com/android/server/power/
Notifier.java 46 import android.os.WorkSource;
165 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) {
170 + ", workSource=" + workSource);
178 if (workSource != null) {
179 mBatteryStats.noteStartWakelockFromSource(workSource, ownerPid, tag,
198 int ownerUid, int ownerPid, WorkSource workSource, String historyTag,
200 int newOwnerPid, WorkSource newWorkSource, String newHistoryTag)
    [all...]
PowerManagerService.java 63 import android.os.WorkSource;
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgePowerManager.java 22 import android.os.WorkSource;
52 public void acquireWakeLock(IBinder arg0, int arg1, String arg2, String arg2_5, WorkSource arg3, String arg4)
124 public void updateWakeLockWorkSource(IBinder arg0, WorkSource arg1, String arg2) throws RemoteException {
  /frameworks/base/services/core/java/com/android/server/am/
BatteryStatsService.java 41 import android.os.WorkSource;
411 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name,
420 public void noteChangeWakelockFromSource(WorkSource ws, int pid, String name,
421 String historyName, int type, WorkSource newWs, int newPid, String newName,
430 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, String historyName,
680 public void noteWifiRunning(WorkSource ws) {
687 public void noteWifiRunningChanged(WorkSource oldWs, WorkSource newWs) {
694 public void noteWifiStopped(WorkSource ws) {
764 public void noteFullWifiLockAcquiredFromSource(WorkSource ws)
    [all...]
  /frameworks/base/location/java/android/location/
LocationRequest.java 23 import android.os.WorkSource;
151 private WorkSource mWorkSource = null;
511 * Sets the WorkSource to use for power blaming of this location request.
517 * @param workSource WorkSource defining power blame for this location request.
521 public void setWorkSource(WorkSource workSource) {
522 mWorkSource = workSource;
527 public WorkSource getWorkSource() {
602 WorkSource workSource = in.readParcelable(null)
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiServiceImpl.java 64 import android.os.WorkSource;
412 public void startLocationRestrictedScan(WorkSource workSource) {
426 if (workSource == null) {
427 // Make sure we always have a workSource indicating the origin of the scan
429 workSource = new WorkSource(WifiStateMachine.DFS_RESTRICTED_SCAN_REQUEST);
431 startScan(settings, workSource);
439 * @param workSource If null, all blame is given to the calling uid.
441 public void startScan(ScanSettings settings, WorkSource workSource)
    [all...]
  /frameworks/base/services/core/java/com/android/server/
AlarmManagerService.java 44 import android.os.WorkSource;
730 final WorkSource mWorkSource;
736 InFlight(AlarmManagerService service, PendingIntent pendingIntent, WorkSource workSource,
739 mWorkSource = workSource;
    [all...]
LocationManagerService.java 88 import android.os.WorkSource;
618 final WorkSource mWorkSource; // WorkSource for battery blame, or null to assign to caller.
632 String packageName, WorkSource workSource, boolean hideFromAppOps) {
644 if (workSource != null && workSource.size() <= 0) {
645 workSource = null;
647 mWorkSource = workSource;
654 if (workSource == null)
1366 WorkSource worksource = new WorkSource(); local
    [all...]
  /frameworks/base/location/lib/java/com/android/location/provider/
LocationProviderBase.java 31 import android.os.WorkSource;
88 public void setRequest(ProviderRequest request, WorkSource ws) {
166 public abstract void onSetRequest(ProviderRequestUnbundled request, WorkSource source);
  /frameworks/native/services/powermanager/
IPowerManager.cpp 57 data.writeInt32(0); // no WorkSource
  /frameworks/base/services/core/java/com/android/server/pm/
PackageDexOptimizer.java 25 import android.os.WorkSource;
85 mDexoptWakeLock.setWorkSource(new WorkSource(pkg.applicationInfo.uid));

Completed in 1083 milliseconds

1 2 3