Searched refs:ws (Results 1 - 20 of 20) 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);
56 void noteWifiRunning(in WorkSource ws);
58 void noteWifiStopped(in WorkSource ws);
67 void noteFullWifiLockAcquiredFromSource(in WorkSource ws);
68 void noteFullWifiLockReleasedFromSource(in WorkSource ws);
69 void noteWifiScanStartedFromSource(in WorkSource ws);
70 void noteWifiScanStoppedFromSource(in WorkSource ws);
71 void noteWifiBatchedScanStartedFromSource(in WorkSource ws, int csph);
72 void noteWifiBatchedScanStoppedFromSource(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/services/java/com/android/server/am/
H A DBatteryStatsService.java121 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, int type) { argument
124 mStats.noteStartWakeFromSourceLocked(ws, pid, name, type);
128 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, int type) { argument
131 mStats.noteStopWakeFromSourceLocked(ws, pid, name, type);
288 public void noteWifiRunning(WorkSource ws) { argument
291 mStats.noteWifiRunningLocked(ws);
302 public void noteWifiStopped(WorkSource ws) { argument
305 mStats.noteWifiStoppedLocked(ws);
394 public void noteFullWifiLockAcquiredFromSource(WorkSource ws) { argument
397 mStats.noteFullWifiLockAcquiredFromSourceLocked(ws);
401 noteFullWifiLockReleasedFromSource(WorkSource ws) argument
408 noteWifiScanStartedFromSource(WorkSource ws) argument
415 noteWifiScanStoppedFromSource(WorkSource ws) argument
422 noteWifiBatchedScanStartedFromSource(WorkSource ws, int csph) argument
429 noteWifiBatchedScanStoppedFromSource(WorkSource ws) argument
436 noteWifiMulticastEnabledFromSource(WorkSource ws) argument
443 noteWifiMulticastDisabledFromSource(WorkSource ws) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DIWifiManager.aidl48 void startScan(in WorkSource ws);
78 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws);
80 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws);
120 boolean requestBatchedScan(in BatchedScanSettings requested, IBinder binder, in WorkSource ws);
H A DWifiManager.java1867 public void setWorkSource(WorkSource ws) { argument
1869 if (ws != null && ws.size() == 0) {
1870 ws = null;
1873 if (ws == null) {
1876 ws.clearNames();
1879 mWorkSource = new WorkSource(ws);
1881 changed = mWorkSource.diff(ws);
1883 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);
33 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws);
H A DPowerManager.java789 * @param ws The work source, or null if none.
791 public void setWorkSource(WorkSource ws) { argument
793 if (ws != null && ws.size() == 0) {
794 ws = null;
798 if (ws == null) {
803 mWorkSource = new WorkSource(ws);
805 changed = mWorkSource.diff(ws);
807 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/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java89 public void setRequest(ProviderRequest request, WorkSource ws) { argument
90 onSetRequest(new ProviderRequestUnbundled(request), ws);
/frameworks/base/services/java/com/android/server/wifi/
H A DWifiService.java377 BatchedScanRequest(BatchedScanSettings settings, IBinder binder, WorkSource ws) { argument
382 workSource = ws;
1240 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { argument
1241 super(lockMode, tag, binder, ws);
1282 synchronized void updateWorkSource(WorkSource ws) { argument
1284 ws.add(mLocks.mList.get(i).mWorkSource);
1330 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { argument
1339 if (ws != null && ws.size() == 0) {
1340 ws
1403 updateWifiLockWorkSource(IBinder lock, WorkSource ws) argument
1478 DeathRecipient(int mode, String tag, IBinder binder, WorkSource ws) argument
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DPowerManagerService.java590 WorkSource ws) {
600 if (ws != null && ws.size() != 0) {
604 ws = null;
611 acquireWakeLockInternal(lock, flags, tag, packageName, ws, uid, pid);
618 WorkSource ws, int uid, int pid) {
623 + ", tag=\"" + tag + "\", ws=" + ws + ", uid=" + uid + ", pid=" + pid);
630 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) {
633 wakeLock.updateProperties(flags, tag, packageName, ws, ui
589 acquireWakeLock(IBinder lock, int flags, String tag, String packageName, WorkSource ws) argument
617 acquireWakeLockInternal(IBinder lock, int flags, String tag, String packageName, WorkSource ws, int uid, int pid) argument
765 updateWakeLockWorkSource(IBinder lock, WorkSource ws) argument
786 updateWakeLockWorkSourceInternal(IBinder lock, WorkSource ws) argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DDragState.java250 for (WindowState ws : mNotifiedWindows) {
251 if (ws == newWin) {
268 for (WindowState ws: mNotifiedWindows) {
270 ws.mClient.dispatchDragEvent(evt);
272 Slog.w(WindowManagerService.TAG, "Unable to drag-end window " + ws);
H A DWindowManagerService.java5464 final WindowState ws = windows.get(winNdx);
5465 if (ws.mSession.mPid == pid && ws.isVisibleLw()) {
5571 WindowState ws = windows.get(i);
5572 if (!ws.mHasSurface) {
5575 if (ws.mLayer >= aboveAppLayer) {
5585 if (!ws.mIsImWindow || !isImeTarget) {
5588 if (ws.mAppToken == null || ws.mAppToken.token != appToken) {
5591 appWin = ws;
[all...]
H A DWindowState.java663 WindowState ws = this;
666 if ((ws.mAttrs.privateFlags
668 return (ws.mAttrs.flags & WindowManager.LayoutParams.FLAG_NEEDS_MENU_KEY) != 0;
672 if (ws == bottom) {
679 index = windows.indexOf(ws);
685 ws = windows.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.java1723 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { argument
1724 int N = ws.size();
1726 noteStartWakeLocked(ws.get(i), pid, name, type);
1730 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { argument
1731 int N = ws.size();
1733 noteStopWakeLocked(ws.get(i), pid, name, type);
2290 public void noteWifiRunningLocked(WorkSource ws) { argument
2298 int N = ws.size();
2300 getUidStatsLocked(ws.get(i)).noteWifiRunningLocked();
2322 public void noteWifiStoppedLocked(WorkSource ws) { argument
2441 noteFullWifiLockAcquiredFromSourceLocked(WorkSource ws) argument
2448 noteFullWifiLockReleasedFromSourceLocked(WorkSource ws) argument
2455 noteWifiScanStartedFromSourceLocked(WorkSource ws) argument
2462 noteWifiScanStoppedFromSourceLocked(WorkSource ws) argument
2469 noteWifiBatchedScanStartedFromSourceLocked(WorkSource ws, int csph) argument
2476 noteWifiBatchedScanStoppedFromSourceLocked(WorkSource ws) argument
2483 noteWifiMulticastEnabledFromSourceLocked(WorkSource ws) argument
2490 noteWifiMulticastDisabledFromSourceLocked(WorkSource ws) argument
[all...]
/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/services/java/com/android/server/
H A DAlarmManagerService.java1264 * @param pi PendingIntent to attribute blame to if ws is null.
1265 * @param ws WorkSource to attribute blame.
1267 void setWakelockWorkSource(PendingIntent pi, WorkSource ws) { argument
1269 if (ws != null) {
1270 mWakeLock.setWorkSource(ws);

Completed in 2965 milliseconds