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

/frameworks/base/core/java/com/android/internal/app/
H A DIBatteryStats.aidl62 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, String historyName,
64 void noteChangeWakelockFromSource(in WorkSource ws, int pid, String name, String histyoryName,
67 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, String historyName,
89 void noteWifiRunning(in WorkSource ws);
91 void noteWifiStopped(in WorkSource ws);
104 void noteFullWifiLockAcquiredFromSource(in WorkSource ws);
105 void noteFullWifiLockReleasedFromSource(in WorkSource ws);
106 void noteWifiScanStartedFromSource(in WorkSource ws);
107 void noteWifiScanStoppedFromSource(in WorkSource ws);
108 void noteWifiBatchedScanStartedFromSource(in WorkSource ws, in
[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/wifi/java/android/net/wifi/
H A DIWifiManager.aidl62 void startScan(in ScanSettings requested, in WorkSource ws);
64 void startLocationRestrictedScan(in WorkSource ws);
94 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws);
96 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws);
132 boolean requestBatchedScan(in BatchedScanSettings requested, IBinder binder, in WorkSource ws);
H A DWifiManager.java2178 public void setWorkSource(WorkSource ws) { argument
2180 if (ws != null && ws.size() == 0) {
2181 ws = null;
2184 if (ws == null) {
2187 ws.clearNames();
2190 mWorkSource = new WorkSource(ws);
2192 changed = mWorkSource.diff(ws);
2194 mWorkSource.set(ws);
/frameworks/base/core/java/android/os/
H A DIPowerManager.aidl28 void acquireWakeLock(IBinder lock, int flags, String tag, String packageName, in WorkSource ws,
36 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws, String historyTag);
H A DPowerManager.java1045 * @param ws The work source, or null if none.
1047 public void setWorkSource(WorkSource ws) { argument
1049 if (ws != null && ws.size() == 0) {
1050 ws = null;
1054 if (ws == null) {
1059 mWorkSource = new WorkSource(ws);
1061 changed = mWorkSource.diff(ws);
1063 mWorkSource.set(ws);
/frameworks/base/location/java/com/android/internal/location/
H A DILocationProvider.aidl37 void setRequest(in ProviderRequest request, in WorkSource ws);
/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java267 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, argument
271 mStats.noteStartWakeFromSourceLocked(ws, pid, name, historyName,
276 public void noteChangeWakelockFromSource(WorkSource ws, int pid, String name, argument
281 mStats.noteChangeWakelockFromSourceLocked(ws, pid, name, historyName, type,
286 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, String historyName, argument
290 mStats.noteStopWakeFromSourceLocked(ws, pid, name, historyName, type);
484 public void noteWifiRunning(WorkSource ws) { argument
487 mStats.noteWifiRunningLocked(ws);
498 public void noteWifiStopped(WorkSource ws) { argument
501 mStats.noteWifiStoppedLocked(ws);
618 noteFullWifiLockAcquiredFromSource(WorkSource ws) argument
625 noteFullWifiLockReleasedFromSource(WorkSource ws) argument
632 noteWifiScanStartedFromSource(WorkSource ws) argument
639 noteWifiScanStoppedFromSource(WorkSource ws) argument
646 noteWifiBatchedScanStartedFromSource(WorkSource ws, int csph) argument
653 noteWifiBatchedScanStoppedFromSource(WorkSource ws) argument
660 noteWifiMulticastEnabledFromSource(WorkSource ws) argument
667 noteWifiMulticastDisabledFromSource(WorkSource ws) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSignalTileView.java74 int ws = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.AT_MOST);
75 mIn.measure(ws, hs);
76 mOut.measure(ws, hs);
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java88 public void setRequest(ProviderRequest request, WorkSource ws) { argument
89 onSetRequest(new ProviderRequestUnbundled(request), ws);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java447 BatchedScanRequest(BatchedScanSettings settings, IBinder binder, WorkSource ws) { argument
452 workSource = ws;
1449 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { argument
1450 super(lockMode, tag, binder, ws);
1491 synchronized void updateWorkSource(WorkSource ws) { argument
1493 ws.add(mLocks.mList.get(i).mWorkSource);
1539 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { argument
1548 if (ws != null && ws.size() == 0) {
1549 ws
1612 updateWifiLockWorkSource(IBinder lock, WorkSource ws) argument
1687 DeathRecipient(int mode, String tag, IBinder binder, WorkSource ws) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java248 for (WindowState ws : mNotifiedWindows) {
249 if (ws == newWin) {
266 for (WindowState ws: mNotifiedWindows) {
268 ws.mClient.dispatchDragEvent(evt);
270 Slog.w(WindowManagerService.TAG, "Unable to drag-end window " + ws);
H A DWindowManagerService.java5996 final WindowState ws = windows.get(winNdx);
5997 if (ws.mSession.mPid == pid && ws.isVisibleLw()) {
6134 WindowState ws = windows.get(i);
6135 if (!ws.mHasSurface) {
6138 if (ws.mLayer >= aboveAppLayer) {
6141 if (ws.mIsImWindow) {
6145 } else if (ws.mIsWallpaper) {
6158 if (ws.mAppToken == null || ws
[all...]
H A DWindowState.java725 WindowState ws = this;
728 if (ws.mAttrs.needsMenuKey != WindowManager.LayoutParams.NEEDS_MENU_UNSET) {
729 return ws.mAttrs.needsMenuKey == WindowManager.LayoutParams.NEEDS_MENU_SET_TRUE;
733 if (ws == bottom) {
740 index = windows.indexOf(ws);
746 ws = windows.get(index);
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java729 WorkSource ws, String historyTag, int uid, int pid) {
734 + ", tag=\"" + tag + "\", ws=" + ws + ", uid=" + uid + ", pid=" + pid);
742 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) {
745 uid, pid, ws, historyTag);
746 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid);
750 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid);
853 private void updateWakeLockWorkSourceInternal(IBinder lock, WorkSource ws, String historyTag, argument
860 + " [not found], ws=" + ws);
728 acquireWakeLockInternal(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag, int uid, int pid) argument
901 notifyWakeLockChangingLocked(WakeLock wakeLock, int flags, String tag, String packageName, int uid, int pid, WorkSource ws, String historyTag) argument
2818 acquireWakeLock(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag) argument
2882 updateWakeLockWorkSource(IBinder lock, WorkSource ws, String historyTag) argument
[all...]
/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/av/media/libstagefright/foundation/
H A DANetworkSession.cpp1252 fd_set rs, ws; local
1254 FD_ZERO(&ws);
1279 FD_SET(s, &ws);
1287 int res = select(maxFd + 1, &rs, &ws, NULL, NULL /* tv */);
1330 if (FD_ISSET(s, &rs) || FD_ISSET(s, &ws)) {
1391 if (FD_ISSET(s, &ws)) {
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp366 fd_set ws; local
367 FD_ZERO(&ws);
368 FD_SET(mSocket, &ws);
370 int res = select(mSocket + 1, NULL, &ws, NULL, &tv);
/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/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2759 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
2763 final int N = ws.size();
2765 noteStartWakeLocked(ws.get(i), pid, name, historyName, type, unimportantForLogging,
2770 public void noteChangeWakelockFromSourceLocked(WorkSource ws, int pid, String name, argument
2783 final int NO = ws.size();
2785 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
2789 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
2793 final int N = ws.size();
2795 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
3596 public void noteWifiRunningLocked(WorkSource ws) { argument
3634 noteWifiStoppedLocked(WorkSource ws) argument
3864 noteFullWifiLockAcquiredFromSourceLocked(WorkSource ws) argument
3871 noteFullWifiLockReleasedFromSourceLocked(WorkSource ws) argument
3878 noteWifiScanStartedFromSourceLocked(WorkSource ws) argument
3885 noteWifiScanStoppedFromSourceLocked(WorkSource ws) argument
3892 noteWifiBatchedScanStartedFromSourceLocked(WorkSource ws, int csph) argument
3899 noteWifiBatchedScanStoppedFromSourceLocked(WorkSource ws) argument
3906 noteWifiMulticastEnabledFromSourceLocked(WorkSource ws) argument
3913 noteWifiMulticastDisabledFromSourceLocked(WorkSource ws) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java1782 * @param pi PendingIntent to attribute blame to if ws is null.
1783 * @param ws WorkSource to attribute blame.
1785 void setWakelockWorkSource(PendingIntent pi, WorkSource ws, int type, String tag, argument
1796 if (ws != null) {
1797 mWakeLock.setWorkSource(ws);

Completed in 578 milliseconds