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

/frameworks/base/core/java/com/android/internal/app/
H A DIBatteryStats.aidl75 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, String historyName,
77 void noteChangeWakelockFromSource(in WorkSource ws, int pid, String name, String histyoryName,
80 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, String historyName,
101 void noteWifiRunning(in WorkSource ws);
103 void noteWifiStopped(in WorkSource ws);
113 void noteFullWifiLockAcquiredFromSource(in WorkSource ws);
114 void noteFullWifiLockReleasedFromSource(in WorkSource ws);
115 void noteWifiScanStartedFromSource(in WorkSource ws);
116 void noteWifiScanStoppedFromSource(in WorkSource ws);
117 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/core/java/android/os/
H A DIPowerManager.aidl31 void acquireWakeLock(IBinder lock, int flags, String tag, String packageName, in WorkSource ws,
39 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws, String historyTag);
H A DPowerManager.java1305 * @param ws The work source, or null if none.
1307 public void setWorkSource(WorkSource ws) { argument
1309 if (ws != null && ws.size() == 0) {
1310 ws = null;
1314 if (ws == null) {
1319 mWorkSource = new WorkSource(ws);
1321 changed = mWorkSource.diff(ws);
1323 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/wifi/java/android/net/wifi/
H A DIWifiManager.aidl80 void startScan(in ScanSettings requested, in WorkSource ws);
112 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws);
114 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws);
H A DWifiManager.java2283 public void setWorkSource(WorkSource ws) { argument
2285 if (ws != null && ws.size() == 0) {
2286 ws = null;
2289 if (ws == null) {
2292 ws.clearNames();
2295 mWorkSource = new WorkSource(ws);
2297 changed = mWorkSource.diff(ws);
2299 mWorkSource.set(ws);
/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java460 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, argument
464 mStats.noteStartWakeFromSourceLocked(ws, pid, name, historyName,
469 public void noteChangeWakelockFromSource(WorkSource ws, int pid, String name, argument
474 mStats.noteChangeWakelockFromSourceLocked(ws, pid, name, historyName, type,
479 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, String historyName, argument
483 mStats.noteStopWakeFromSourceLocked(ws, pid, name, historyName, type);
730 public void noteWifiRunning(WorkSource ws) { argument
733 mStats.noteWifiRunningLocked(ws);
744 public void noteWifiStopped(WorkSource ws) { argument
747 mStats.noteWifiStoppedLocked(ws);
814 noteFullWifiLockAcquiredFromSource(WorkSource ws) argument
821 noteFullWifiLockReleasedFromSource(WorkSource ws) argument
828 noteWifiScanStartedFromSource(WorkSource ws) argument
835 noteWifiScanStoppedFromSource(WorkSource ws) argument
842 noteWifiBatchedScanStartedFromSource(WorkSource ws, int csph) argument
849 noteWifiBatchedScanStoppedFromSource(WorkSource ws) argument
856 noteWifiMulticastEnabledFromSource(WorkSource ws) argument
864 noteWifiMulticastDisabledFromSource(WorkSource ws) argument
910 noteBleScanStarted(WorkSource ws) argument
918 noteBleScanStopped(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/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java847 WorkSource ws, String historyTag, int uid, int pid) {
852 + ", tag=\"" + tag + "\", ws=" + ws + ", uid=" + uid + ", pid=" + pid);
860 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) {
863 uid, pid, ws, historyTag);
864 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid);
868 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid);
983 private void updateWakeLockWorkSourceInternal(IBinder lock, WorkSource ws, String historyTag, argument
990 + " [not found], ws=" + ws);
846 acquireWakeLockInternal(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag, int uid, int pid) argument
1031 notifyWakeLockChangingLocked(WakeLock wakeLock, int flags, String tag, String packageName, int uid, int pid, WorkSource ws, String historyTag) argument
3187 acquireWakeLock(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag) argument
3251 updateWakeLockWorkSource(IBinder lock, WorkSource ws, String historyTag) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java329 for (WindowState ws : mNotifiedWindows) {
330 if (ws == newWin) {
343 for (WindowState ws : mNotifiedWindows) {
346 if (!mDragResult && (ws.mSession.mPid == mPid)) {
354 ws.mClient.dispatchDragEvent(evt);
356 Slog.w(TAG_WM, "Unable to drag-end window " + ws);
360 if (myPid != ws.mSession.mPid) {
H A DWindowSurfacePlacer.java217 WindowState ws = mService.mForceRemoves.remove(0);
218 Slog.i(TAG, "Force removing: " + ws);
219 mService.removeWindowInnerLocked(ws);
1144 WindowState ws = wtoken.findMainWindow();
1145 if (ws != null) {
1146 animLp = ws.mAttrs;
1147 bestAnimLayer = ws.mLayer;
1151 WindowState ws = wtoken.findMainWindow();
1152 if (ws != null) {
1153 if (ws
[all...]
H A DWindowManagerService.java6086 final WindowState ws = windows.get(winNdx);
6087 if (ws.mSession.mPid == pid && ws.isVisibleLw()) {
6257 WindowState ws = windows.get(i);
6258 if (!ws.mHasSurface) {
6261 if (ws.mLayer >= aboveAppLayer) {
6264 if (ws.mIsImWindow) {
6268 } else if (ws.mIsWallpaper) {
6281 if (ws.mAppToken == null || ws
[all...]
H A DWindowState.java995 WindowState ws = this;
998 if (ws.mAttrs.needsMenuKey != WindowManager.LayoutParams.NEEDS_MENU_UNSET) {
999 return ws.mAttrs.needsMenuKey == WindowManager.LayoutParams.NEEDS_MENU_SET_TRUE;
1003 if (ws == bottom) {
1010 index = windows.indexOf(ws);
1016 ws = windows.get(index);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java1539 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { argument
1542 mWorkSource = ws;
1583 synchronized void updateWorkSource(WorkSource ws) { argument
1585 ws.add(mLocks.mList.get(i).mWorkSource);
1631 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { argument
1640 if (ws != null && ws.size() == 0) {
1641 ws = null;
1643 if (ws != null) {
1646 if (ws
1704 updateWifiLockWorkSource(IBinder lock, WorkSource ws) 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 */);
1331 if (FD_ISSET(s, &rs) || FD_ISSET(s, &ws)) {
1392 if (FD_ISSET(s, &ws)) {
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java3248 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
3252 final int N = ws.size();
3254 noteStartWakeLocked(ws.get(i), pid, name, historyName, type, unimportantForLogging,
3259 public void noteChangeWakelockFromSourceLocked(WorkSource ws, int pid, String name, argument
3272 final int NO = ws.size();
3274 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
3278 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
3282 final int N = ws.size();
3284 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
4196 public void noteBluetoothScanStartedFromSourceLocked(WorkSource ws) { argument
4218 noteBluetoothScanStoppedFromSourceLocked(WorkSource ws) argument
4261 noteWifiRunningLocked(WorkSource ws) argument
4300 noteWifiStoppedLocked(WorkSource ws) argument
4494 noteFullWifiLockAcquiredFromSourceLocked(WorkSource ws) argument
4501 noteFullWifiLockReleasedFromSourceLocked(WorkSource ws) argument
4508 noteWifiScanStartedFromSourceLocked(WorkSource ws) argument
4515 noteWifiScanStoppedFromSourceLocked(WorkSource ws) argument
4522 noteWifiBatchedScanStartedFromSourceLocked(WorkSource ws, int csph) argument
4529 noteWifiBatchedScanStoppedFromSourceLocked(WorkSource ws) argument
4536 noteWifiMulticastEnabledFromSourceLocked(WorkSource ws) argument
4543 noteWifiMulticastDisabledFromSourceLocked(WorkSource ws) argument
[all...]
/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.cpp528 public native int visibilityTest(float[] ws, int wsOffset,
539 FloatArrayHelper ws(env, ws_ref, wsOffset, 16);
543 bool checkOK = ws.check() && positions.check() && indices.check();
554 ws.bind();
558 return visibilityTest(ws.mData,
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java2558 * @param pi PendingIntent to attribute blame to if ws is null.
2559 * @param ws WorkSource to attribute blame.
2562 void setWakelockWorkSource(PendingIntent pi, WorkSource ws, int type, String tag, argument
2573 if (ws != null) {
2574 mWakeLock.setWorkSource(ws);

Completed in 838 milliseconds