/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 37 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, int type); in noteStartWakelockFromSource() argument 38 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, int type); in noteStopWakelockFromSource() argument 54 void noteWifiRunning(in WorkSource ws); in noteWifiRunning() argument 56 void noteWifiStopped(in WorkSource ws); in noteWifiStopped() argument 65 void noteFullWifiLockAcquiredFromSource(in WorkSource ws); in noteFullWifiLockAcquiredFromSource() argument 66 void noteFullWifiLockReleasedFromSource(in WorkSource ws); in noteFullWifiLockReleasedFromSource() argument 67 void noteScanWifiLockAcquiredFromSource(in WorkSource ws); in noteScanWifiLockAcquiredFromSource() argument 68 void noteScanWifiLockReleasedFromSource(in WorkSource ws); in noteScanWifiLockReleasedFromSource() argument 69 void noteWifiMulticastEnabledFromSource(in WorkSource ws); in noteWifiMulticastEnabledFromSource() argument 70 void noteWifiMulticastDisabledFromSource(in WorkSource ws); in noteWifiMulticastDisabledFromSource() argument
|
/frameworks/base/services/java/com/android/server/am/ |
D | BatteryStatsService.java | 119 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, int type) { in noteStartWakelockFromSource() argument 122 mStats.noteStartWakeFromSourceLocked(ws, pid, name, type); in noteStartWakelockFromSource() 126 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, int type) { in noteStopWakelockFromSource() argument 129 mStats.noteStopWakeFromSourceLocked(ws, pid, name, type); in noteStopWakelockFromSource() 272 public void noteWifiRunning(WorkSource ws) { in noteWifiRunning() argument 275 mStats.noteWifiRunningLocked(ws); in noteWifiRunning() 286 public void noteWifiStopped(WorkSource ws) { in noteWifiStopped() argument 289 mStats.noteWifiStoppedLocked(ws); in noteWifiStopped() 378 public void noteFullWifiLockAcquiredFromSource(WorkSource ws) { in noteFullWifiLockAcquiredFromSource() argument 381 mStats.noteFullWifiLockAcquiredFromSourceLocked(ws); in noteFullWifiLockAcquiredFromSource() [all …]
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 361 public void setWorkSource(WorkSource ws) { in setWorkSource() argument 363 if (ws != null && ws.size() == 0) { in setWorkSource() 364 ws = null; in setWorkSource() 367 if (ws == null) { in setWorkSource() 371 mWorkSource = new WorkSource(ws); in setWorkSource() 373 changed = mWorkSource.diff(ws); in setWorkSource() 375 mWorkSource.set(ws); in setWorkSource()
|
D | IPowerManager.aidl | 27 void acquireWakeLock(int flags, IBinder lock, String tag, in WorkSource ws); in acquireWakeLock() argument 28 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws); in updateWakeLockWorkSource() argument
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | LocationProvider.java | 112 public void setMinTime(long minTime, WorkSource ws) { 113 LocationProvider.this.onSetMinTime(minTime, ws); 311 public abstract void onSetMinTime(long minTime, WorkSource ws); in onSetMinTime() argument 349 public abstract void onAddListener(int uid, WorkSource ws); in onAddListener() argument 357 public abstract void onRemoveListener(int uid, WorkSource ws); in onRemoveListener() argument
|
/frameworks/base/services/java/com/android/server/ |
D | WifiService.java | 1225 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in WifiLock() argument 1226 super(lockMode, tag, binder, ws); in WifiLock() 1308 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { in acquireWifiLock() argument 1317 if (ws != null && ws.size() == 0) { in acquireWifiLock() 1318 ws = null; in acquireWifiLock() 1320 if (ws != null) { in acquireWifiLock() 1323 if (ws == null) { in acquireWifiLock() 1324 ws = new WorkSource(Binder.getCallingUid()); in acquireWifiLock() 1326 WifiLock wifiLock = new WifiLock(lockMode, tag, binder, ws); in acquireWifiLock() 1390 public void updateWifiLockWorkSource(IBinder lock, WorkSource ws) { in updateWifiLockWorkSource() argument [all …]
|
D | PowerManagerService.java | 762 WorkSource ws; field in PowerManagerService.WakeLock 796 public void acquireWakeLock(int flags, IBinder lock, String tag, WorkSource ws) { in acquireWakeLock() argument 802 if (ws != null) { in acquireWakeLock() 808 acquireWakeLockLocked(flags, lock, uid, pid, tag, ws); in acquireWakeLock() 815 void noteStartWakeLocked(WakeLock wl, WorkSource ws) { in noteStartWakeLocked() argument 819 if (ws != null) { in noteStartWakeLocked() 820 mBatteryStats.noteStartWakelockFromSource(ws, wl.pid, wl.tag, in noteStartWakeLocked() 833 void noteStopWakeLocked(WakeLock wl, WorkSource ws) { in noteStopWakeLocked() argument 837 if (ws != null) { in noteStopWakeLocked() 838 mBatteryStats.noteStopWakelockFromSource(ws, wl.pid, wl.tag, in noteStopWakeLocked() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 74 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws); in acquireWifiLock() argument 76 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws); in updateWifiLockWorkSource() argument
|
D | WifiManager.java | 1634 public void setWorkSource(WorkSource ws) { in setWorkSource() argument 1636 if (ws != null && ws.size() == 0) { in setWorkSource() 1637 ws = null; in setWorkSource() 1640 if (ws == null) { in setWorkSource() 1644 mWorkSource = new WorkSource(ws); in setWorkSource() 1646 changed = mWorkSource.diff(ws); in setWorkSource() 1648 mWorkSource.set(ws); in setWorkSource()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | DragState.java | 235 for (WindowState ws : mNotifiedWindows) { in sendDragStartedIfNeededLw() 236 if (ws == newWin) { in sendDragStartedIfNeededLw() 253 for (WindowState ws: mNotifiedWindows) { in broadcastDragEndedLw() 255 ws.mClient.dispatchDragEvent(evt); in broadcastDragEndedLw() 257 Slog.w(WindowManagerService.TAG, "Unable to drag-end window " + ws); in broadcastDragEndedLw()
|
D | WindowManagerService.java | 5405 final WindowState ws = mWindows.get(i); in showStrictModeViolation() local 5406 if (ws.mSession.mPid == pid && ws.isVisibleLw()) { in showStrictModeViolation() 5478 WindowState ws = mWindows.get(i); in screenshotApplications() local 5479 if (!ws.mHasSurface) { in screenshotApplications() 5482 if (ws.mLayer >= aboveAppLayer) { in screenshotApplications() 5492 if (!ws.mIsImWindow || !isImeTarget) { in screenshotApplications() 5495 if (ws.mAppToken == null || ws.mAppToken.token != appToken) { in screenshotApplications() 5503 including = !ws.mIsImWindow && !ws.isFullscreen(dw, dh); in screenshotApplications() 5505 if (maxLayer < ws.mWinAnimator.mSurfaceLayer) { in screenshotApplications() 5506 maxLayer = ws.mWinAnimator.mSurfaceLayer; in screenshotApplications() [all …]
|
D | WindowState.java | 546 WindowState ws = this; in getNeedsMenuLw() local 548 if ((ws.mAttrs.privateFlags in getNeedsMenuLw() 550 return (ws.mAttrs.flags & WindowManager.LayoutParams.FLAG_NEEDS_MENU_KEY) != 0; in getNeedsMenuLw() 554 if (ws == bottom) { in getNeedsMenuLw() 561 index = mService.mWindows.indexOf(ws); in getNeedsMenuLw() 567 ws = mService.mWindows.get(index); in getNeedsMenuLw()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Visibility.java | 49 public static native int visibilityTest(float[] ws, int wsOffset, in visibilityTest() argument
|
/frameworks/base/services/java/com/android/server/location/ |
D | LocationProviderProxy.java | 397 public void setMinTime(long minTime, WorkSource ws) { in setMinTime() argument 400 mMinTimeSource.set(ws); in setMinTime() 404 provider.setMinTime(minTime, ws); in setMinTime()
|
D | LocationProviderInterface.java | 51 void setMinTime(long minTime, WorkSource ws); in setMinTime() argument
|
D | PassiveProvider.java | 127 public void setMinTime(long minTime, WorkSource ws) { in setMinTime() argument
|
D | MockProvider.java | 205 public void setMinTime(long minTime, WorkSource ws) { in setMinTime() argument
|
D | GpsLocationProvider.java | 834 public void setMinTime(long minTime, WorkSource ws) { in setMinTime() argument
|
/frameworks/base/tests/CoreTests/android/core/ |
D | TestWebServer.java | 266 Worker ws = new Worker(); in run() local 267 ws.setSocket(s); in run() 268 activeThreads.addElement(ws); in run() 269 (new Thread(ws, "additional worker")).start(); in run()
|
/frameworks/base/location/java/android/location/ |
D | ILocationProvider.aidl | 47 void setMinTime(long minTime, in WorkSource ws); in setMinTime() argument
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1534 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { in noteStartWakeFromSourceLocked() argument 1535 int N = ws.size(); in noteStartWakeFromSourceLocked() 1537 noteStartWakeLocked(ws.get(i), pid, name, type); in noteStartWakeFromSourceLocked() 1541 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { in noteStopWakeFromSourceLocked() argument 1542 int N = ws.size(); in noteStopWakeFromSourceLocked() 1544 noteStopWakeLocked(ws.get(i), pid, name, type); in noteStopWakeFromSourceLocked() 2082 public void noteWifiRunningLocked(WorkSource ws) { in noteWifiRunningLocked() argument 2090 int N = ws.size(); in noteWifiRunningLocked() 2092 getUidStatsLocked(ws.get(i)).noteWifiRunningLocked(); in noteWifiRunningLocked() 2114 public void noteWifiStoppedLocked(WorkSource ws) { in noteWifiStoppedLocked() argument [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 359 fd_set ws; in onCompleteConnection() local 360 FD_ZERO(&ws); in onCompleteConnection() 361 FD_SET(mSocket, &ws); in onCompleteConnection() 363 int res = select(mSocket + 1, NULL, &ws, NULL, &tv); in onCompleteConnection()
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 444 FloatArrayHelper ws(env, ws_ref, wsOffset, 16); in util_visibilityTest() local 448 bool checkOK = ws.check() && positions.check() && indices.check(); in util_visibilityTest() 459 ws.bind(); in util_visibilityTest() 463 return visibilityTest(ws.mData, in util_visibilityTest()
|
/frameworks/base/docs/html/distribute/googleplay/promote/ |
D | badges.jd | 181 <input type="radio" name="buttonStyle" value="android_app_on_play_logo_small" id="ws" /> 182 … <label for="ws"><img src="http://www.android.com/images/brand/android_app_on_play_logo_small.png"
|
/frameworks/base/docs/html/tools/workflow/publishing/ |
D | publishing.jd | 644 <input type="radio" name="buttonStyle" value="android_app_on_play_logo_small" id="ws" /> 645 … <label for="ws"><img src="http://www.android.com/images/brand/android_app_on_play_logo_small.png"
|