/frameworks/base/core/java/android/os/ |
WorkSource.aidl | 18 parcelable WorkSource;
|
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);
|
PowerManager.java | [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
IBatteryStats.aidl | 22 import android.os.WorkSource; 62 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, String historyName, 64 void noteChangeWakelockFromSource(in WorkSource ws, int pid, String name, String histyoryName, 65 int type, in WorkSource newWs, int newPid, String newName, 67 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, String historyName, 88 void noteWifiRunning(in WorkSource ws); 89 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); 90 void noteWifiStopped(in WorkSource ws); 103 void noteFullWifiLockAcquiredFromSource(in WorkSource ws) [all...] |
/frameworks/base/core/java/android/app/ |
IAlarmManager.aidl | 21 import android.os.WorkSource; 31 long interval, in PendingIntent operation, in WorkSource workSource,
|
AlarmManager.java | 28 import android.os.WorkSource; 391 PendingIntent operation, WorkSource workSource) { 392 setImpl(type, triggerAtMillis, windowMillis, intervalMillis, operation, workSource, null); 396 PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) { 410 workSource, alarmClock);
|
/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/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) { }
|
GpsLocationProvider.java | 70 import android.os.WorkSource; 244 /** simpler wrapper for ProviderRequest + Worksource */ 247 public WorkSource source; 248 public GpsRequest(ProviderRequest request, WorkSource source) { 334 private WorkSource mWorkSource = null; 396 private WorkSource mClientSource = new WorkSource(); [all...] |
/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/wifi/java/android/net/wifi/ |
IWifiManager.aidl | 33 import android.os.WorkSource; 62 void startScan(in ScanSettings requested, in WorkSource ws); 92 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws); 94 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws); 130 boolean requestBatchedScan(in BatchedScanSettings requested, IBinder binder, in WorkSource ws);
|
/external/chromium_org/base/message_loop/ |
message_pump_glib.cc | 87 struct WorkSource : public GSource { 93 *timeout_ms = static_cast<WorkSource*>(source)->pump->HandlePrepare(); 102 return static_cast<WorkSource*>(source)->pump->HandleCheck(); 109 static_cast<WorkSource*>(source)->pump->HandleDispatch(); 197 work_source_ = g_source_new(&WorkSourceFuncs, sizeof(WorkSource)); 198 static_cast<WorkSource*>(work_source_)->pump = this;
|
/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) 129 public void updateWakeLockWorkSource(IBinder arg0, WorkSource arg1, String arg2) throws RemoteException {
|
/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; 111 public void setRequest(ProviderRequestUnbundled request, WorkSource source) {
|
/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/base/location/java/android/location/ |
LocationRequest.java | 23 import android.os.WorkSource; 151 private WorkSource mWorkSource = null; 510 * Sets the WorkSource to use for power blaming of this location request. 516 * @param workSource WorkSource defining power blame for this location request. 520 public void setWorkSource(WorkSource workSource) { 521 mWorkSource = workSource; 526 public WorkSource getWorkSource() { 601 WorkSource workSource = in.readParcelable(null) [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
BatteryStatsService.java | 36 import android.os.WorkSource; 255 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, 264 public void noteChangeWakelockFromSource(WorkSource ws, int pid, String name, 265 String historyName, int type, WorkSource newWs, int newPid, String newName, 274 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, String historyName, 465 public void noteWifiRunning(WorkSource ws) { 472 public void noteWifiRunningChanged(WorkSource oldWs, WorkSource newWs) { 479 public void noteWifiStopped(WorkSource ws) { 599 public void noteFullWifiLockAcquiredFromSource(WorkSource ws) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiServiceImpl.java | 49 import android.os.WorkSource; 395 * @param workSource If null, all blame is given to the calling uid. 397 public void startScan(ScanSettings settings, WorkSource workSource) { 409 if (workSource != null) { 412 // supplied WorkSource to allow future WorkSource combining. 413 workSource.clearNames(); 416 settings, workSource); 423 final WorkSource workSource [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
Notifier.java | 45 import android.os.WorkSource; 141 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) { 146 + ", workSource=" + workSource); 153 if (workSource != null) { 154 mBatteryStats.noteStartWakelockFromSource(workSource, ownerPid, tag, historyTag, 172 int ownerUid, int ownerPid, WorkSource workSource, String historyTag, 174 int newOwnerPid, WorkSource newWorkSource, String newHistoryTag) [all...] |
PowerManagerService.java | 60 import android.os.WorkSource; [all...] |