Searched refs:ws (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
H A DIBatteryStats.aidl37 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, int type);
38 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, int type);
54 void noteWifiRunning(in WorkSource ws);
56 void noteWifiStopped(in WorkSource ws);
65 void noteFullWifiLockAcquiredFromSource(in WorkSource ws);
66 void noteFullWifiLockReleasedFromSource(in WorkSource ws);
67 void noteScanWifiLockAcquiredFromSource(in WorkSource ws);
68 void noteScanWifiLockReleasedFromSource(in WorkSource ws);
69 void noteWifiMulticastEnabledFromSource(in WorkSource ws);
70 void noteWifiMulticastDisabledFromSource(in WorkSource ws);
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DVisibility.java29 * @param ws the world space to screen space transform matrix, as an OpenGL
31 * @param wsOffset an index into the ws array where the data starts.
45 * @throws IllegalArgumentException if ws is null, wsOffset < 0,
49 public static native int visibilityTest(float[] ws, int wsOffset, argument
/frameworks/base/core/java/android/os/
H A DPowerManager.java337 public void setWorkSource(WorkSource ws) { argument
339 if (ws != null && ws.size() == 0) {
340 ws = null;
343 if (ws == null) {
347 mWorkSource = new WorkSource(ws);
349 changed = mWorkSource.diff(ws);
351 mWorkSource.set(ws);
H A DIPowerManager.aidl27 void acquireWakeLock(int flags, IBinder lock, String tag, in WorkSource ws);
28 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws);
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java119 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, int type) { argument
122 mStats.noteStartWakeFromSourceLocked(ws, pid, name, type);
126 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, int type) { argument
129 mStats.noteStopWakeFromSourceLocked(ws, pid, name, type);
272 public void noteWifiRunning(WorkSource ws) { argument
275 mStats.noteWifiRunningLocked(ws);
286 public void noteWifiStopped(WorkSource ws) { argument
289 mStats.noteWifiStoppedLocked(ws);
378 public void noteFullWifiLockAcquiredFromSource(WorkSource ws) { argument
381 mStats.noteFullWifiLockAcquiredFromSourceLocked(ws);
385 noteFullWifiLockReleasedFromSource(WorkSource ws) argument
392 noteScanWifiLockAcquiredFromSource(WorkSource ws) argument
399 noteScanWifiLockReleasedFromSource(WorkSource ws) argument
406 noteWifiMulticastEnabledFromSource(WorkSource ws) argument
413 noteWifiMulticastDisabledFromSource(WorkSource ws) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DIWifiManager.aidl74 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws);
76 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws);
H A DWifiManager.java1338 public void setWorkSource(WorkSource ws) { argument
1340 if (ws != null && ws.size() == 0) {
1341 ws = null;
1344 if (ws == null) {
1348 mWorkSource = new WorkSource(ws);
1350 changed = mWorkSource.diff(ws);
1352 mWorkSource.set(ws);
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProvider.java112 public void setMinTime(long minTime, WorkSource ws) {
113 LocationProvider.this.onSetMinTime(minTime, ws);
309 * @param ws the source this work is coming from.
311 public abstract void onSetMinTime(long minTime, WorkSource ws); argument
347 * @param ws a WorkSource representation of the client.
349 public abstract void onAddListener(int uid, WorkSource ws); argument
355 * @param ws a WorkSource representation of the client.
357 public abstract void onRemoveListener(int uid, WorkSource ws); argument
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java51 void setMinTime(long minTime, WorkSource ws); argument
H A DPassiveProvider.java127 public void setMinTime(long minTime, WorkSource ws) { argument
H A DLocationProviderProxy.java396 public void setMinTime(long minTime, WorkSource ws) { argument
399 mMinTimeSource.set(ws);
403 provider.setMinTime(minTime, ws);
H A DMockProvider.java205 public void setMinTime(long minTime, WorkSource ws) { argument
H A DGpsLocationProvider.java824 public void setMinTime(long minTime, WorkSource ws) { argument
/frameworks/base/location/java/android/location/
H A DILocationProvider.aidl47 void setMinTime(long minTime, in WorkSource ws);
/frameworks/base/services/java/com/android/server/
H A DWifiService.java1184 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { argument
1185 super(lockMode, tag, binder, ws);
1267 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { argument
1276 if (ws != null && ws.size() == 0) {
1277 ws = null;
1279 if (ws != null) {
1282 if (ws == null) {
1283 ws = new WorkSource(Binder.getCallingUid());
1285 WifiLock wifiLock = new WifiLock(lockMode, tag, binder, ws);
1349 updateWifiLockWorkSource(IBinder lock, WorkSource ws) argument
1427 DeathRecipient(int mode, String tag, IBinder binder, WorkSource ws) argument
[all...]
H A DPowerManagerService.java700 WorkSource ws; field in class:PowerManagerService.WakeLock
733 public void acquireWakeLock(int flags, IBinder lock, String tag, WorkSource ws) { argument
739 if (ws != null) {
745 acquireWakeLockLocked(flags, lock, uid, pid, tag, ws);
752 void noteStartWakeLocked(WakeLock wl, WorkSource ws) { argument
756 if (ws != null) {
757 mBatteryStats.noteStartWakelockFromSource(ws, wl.pid, wl.tag,
770 void noteStopWakeLocked(WakeLock wl, WorkSource ws) { argument
774 if (ws != null) {
775 mBatteryStats.noteStopWakelockFromSource(ws, w
788 acquireWakeLockLocked(int flags, IBinder lock, int uid, int pid, String tag, WorkSource ws) argument
918 updateWakeLockWorkSource(IBinder lock, WorkSource ws) argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DDragState.java231 for (WindowState ws : mNotifiedWindows) {
232 if (ws == newWin) {
249 for (WindowState ws: mNotifiedWindows) {
251 ws.mClient.dispatchDragEvent(evt);
253 Slog.w(WindowManagerService.TAG, "Unable to drag-end window " + ws);
H A DWindowManagerService.java5017 for (WindowState ws : mWindows) {
5018 if (ws.mSession.mPid == pid && ws.isVisibleLw()) {
5090 WindowState ws = mWindows.get(i);
5091 if (ws.mSurface == null) {
5094 if (ws.mLayer >= aboveAppLayer) {
5104 if (!ws.mIsImWindow || !isImeTarget) {
5107 if (ws.mAppToken == null || ws.mAppToken.token != appToken) {
5115 including = !ws
[all...]
H A DWindowState.java573 WindowState ws = this;
575 if ((ws.mAttrs.privateFlags
577 return (ws.mAttrs.flags & WindowManager.LayoutParams.FLAG_NEEDS_MENU_KEY) != 0;
581 if (ws == bottom) {
588 index = mService.mWindows.indexOf(ws);
594 ws = mService.mWindows.get(index);
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java266 Worker ws = new Worker();
267 ws.setSocket(s);
268 activeThreads.addElement(ws);
269 (new Thread(ws, "additional worker")).start();
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1532 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { argument
1533 int N = ws.size();
1535 noteStartWakeLocked(ws.get(i), pid, name, type);
1539 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { argument
1540 int N = ws.size();
1542 noteStopWakeLocked(ws.get(i), pid, name, type);
2080 public void noteWifiRunningLocked(WorkSource ws) { argument
2088 int N = ws.size();
2090 getUidStatsLocked(ws.get(i)).noteWifiRunningLocked();
2112 public void noteWifiStoppedLocked(WorkSource ws) { argument
2223 noteFullWifiLockAcquiredFromSourceLocked(WorkSource ws) argument
2230 noteFullWifiLockReleasedFromSourceLocked(WorkSource ws) argument
2237 noteScanWifiLockAcquiredFromSourceLocked(WorkSource ws) argument
2244 noteScanWifiLockReleasedFromSourceLocked(WorkSource ws) argument
2251 noteWifiMulticastEnabledFromSourceLocked(WorkSource ws) argument
2258 noteWifiMulticastDisabledFromSourceLocked(WorkSource ws) argument
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp433 public native int visibilityTest(float[] ws, int wsOffset,
444 FloatArrayHelper ws(env, ws_ref, wsOffset, 16);
448 bool checkOK = ws.check() && positions.check() && indices.check();
459 ws.bind();
463 return visibilityTest(ws.mData,
/frameworks/base/media/libstagefright/rtsp/
H A DARTSPConnection.cpp359 fd_set ws; local
360 FD_ZERO(&ws);
361 FD_SET(mSocket, &ws);
363 int res = select(mSocket + 1, NULL, &ws, NULL, &tv);

Completed in 586 milliseconds