Searched defs:ws (Results 1 - 11 of 11) 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/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/java/android/os/
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/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/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/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);
/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/wifi/java/android/net/wifi/
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/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/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...]

Completed in 287 milliseconds