Searched defs:ws (Results 1 - 10 of 10) sorted by relevance

/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/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/core/java/android/os/
H A DPowerManager.java785 * @param ws The work source, or null if none.
787 public void setWorkSource(WorkSource ws) { argument
789 if (ws != null && ws.size() == 0) {
790 ws = null;
794 if (ws == null) {
799 mWorkSource = new WorkSource(ws);
801 changed = mWorkSource.diff(ws);
803 mWorkSource.set(ws);
/frameworks/av/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);
/frameworks/av/media/libstagefright/wifi-display/
H A DANetworkSession.cpp960 fd_set rs, ws; local
962 FD_ZERO(&ws);
987 FD_SET(s, &ws);
995 int res = select(maxFd + 1, &rs, &ws, NULL, NULL /* tv */);
1038 if (FD_ISSET(s, &rs) || FD_ISSET(s, &ws)) {
1098 if (FD_ISSET(s, &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 noteWifiScanStartedFromSource(WorkSource ws) argument
399 noteWifiScanStoppedFromSource(WorkSource ws) argument
406 noteWifiMulticastEnabledFromSource(WorkSource ws) argument
413 noteWifiMulticastDisabledFromSource(WorkSource ws) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DWifiService.java1272 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { argument
1273 super(lockMode, tag, binder, ws);
1355 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { argument
1364 if (ws != null && ws.size() == 0) {
1365 ws = null;
1367 if (ws != null) {
1370 if (ws == null) {
1371 ws = new WorkSource(Binder.getCallingUid());
1373 WifiLock wifiLock = new WifiLock(lockMode, tag, binder, ws);
1433 updateWifiLockWorkSource(IBinder lock, WorkSource ws) argument
1511 DeathRecipient(int mode, String tag, IBinder binder, WorkSource ws) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1681 public void setWorkSource(WorkSource ws) { argument
1683 if (ws != null && ws.size() == 0) {
1684 ws = null;
1687 if (ws == null) {
1691 mWorkSource = new WorkSource(ws);
1693 changed = mWorkSource.diff(ws);
1695 mWorkSource.set(ws);
/frameworks/base/services/java/com/android/server/power/
H A DPowerManagerService.java561 public void acquireWakeLock(IBinder lock, int flags, String tag, WorkSource ws) { argument
568 if (ws != null && ws.size() != 0) {
572 ws = null;
579 acquireWakeLockInternal(lock, flags, tag, ws, uid, pid);
585 private void acquireWakeLockInternal(IBinder lock, int flags, String tag, WorkSource ws, argument
591 + ", tag=\"" + tag + "\", ws=" + ws + ", uid=" + uid + ", pid=" + pid);
598 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) {
601 wakeLock.updateProperties(flags, tag, ws, ui
700 updateWakeLockWorkSource(IBinder lock, WorkSource ws) argument
721 updateWakeLockWorkSourceInternal(IBinder lock, WorkSource ws) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1564 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { argument
1565 int N = ws.size();
1567 noteStartWakeLocked(ws.get(i), pid, name, type);
1571 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { argument
1572 int N = ws.size();
1574 noteStopWakeLocked(ws.get(i), pid, name, type);
2112 public void noteWifiRunningLocked(WorkSource ws) { argument
2120 int N = ws.size();
2122 getUidStatsLocked(ws.get(i)).noteWifiRunningLocked();
2144 public void noteWifiStoppedLocked(WorkSource ws) { argument
2255 noteFullWifiLockAcquiredFromSourceLocked(WorkSource ws) argument
2262 noteFullWifiLockReleasedFromSourceLocked(WorkSource ws) argument
2269 noteWifiScanStartedFromSourceLocked(WorkSource ws) argument
2276 noteWifiScanStoppedFromSourceLocked(WorkSource ws) argument
2283 noteWifiMulticastEnabledFromSourceLocked(WorkSource ws) argument
2290 noteWifiMulticastDisabledFromSourceLocked(WorkSource ws) argument
[all...]

Completed in 152 milliseconds