Searched defs:ws (Results 1 - 14 of 14) 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/tools/bit/
H A Dprint.cpp122 struct winsize ws; local
123 ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws);
124 int size = ws.ws_col + 1;
/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/tests/wifitests/src/com/android/server/wifi/
H A DWifiLockManagerTest.java69 private void acquireWifiLockSuccessful(int lockMode, String tag, IBinder binder, WorkSource ws) argument
74 assertTrue(mWifiLockManager.acquireWifiLock(lockMode, tag, binder, ws));
79 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(ws);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiLockManager.java65 * @param ws WorkSource of the calling app
69 public boolean acquireWifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { argument
74 if (ws == null || ws.size() == 0) {
75 ws = new WorkSource(Binder.getCallingUid());
80 return addLock(new WifiLock(lockMode, tag, binder, ws));
133 * @param ws WorkSource to add to the existing WifiLock(s).
135 public synchronized void updateWifiLockWorkSource(IBinder binder, WorkSource ws) { argument
147 if (ws == null || ws
292 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) argument
[all...]
H A DWifiServiceImpl.java2256 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { argument
2260 if (mWifiLockManager.acquireWifiLock(lockMode, tag, binder, ws)) {
2268 public void updateWifiLockWorkSource(IBinder binder, WorkSource ws) { argument
2270 mWifiLockManager.updateWifiLockWorkSource(binder, 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/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/android/os/
H A DPowerManager.java1415 * @param ws The work source, or null if none.
1417 public void setWorkSource(WorkSource ws) { argument
1419 if (ws != null && ws.size() == 0) {
1420 ws = null;
1424 if (ws == null) {
1429 mWorkSource = new WorkSource(ws);
1431 changed = mWorkSource.diff(ws);
1433 mWorkSource.set(ws);
/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java486 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, argument
490 mStats.noteStartWakeFromSourceLocked(ws, pid, name, historyName,
495 public void noteChangeWakelockFromSource(WorkSource ws, int pid, String name, argument
500 mStats.noteChangeWakelockFromSourceLocked(ws, pid, name, historyName, type,
505 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, String historyName, argument
509 mStats.noteStopWakeFromSourceLocked(ws, pid, name, historyName, type);
779 public void noteWifiRunning(WorkSource ws) { argument
782 mStats.noteWifiRunningLocked(ws);
793 public void noteWifiStopped(WorkSource ws) { argument
796 mStats.noteWifiStoppedLocked(ws);
863 noteFullWifiLockAcquiredFromSource(WorkSource ws) argument
870 noteFullWifiLockReleasedFromSource(WorkSource ws) argument
877 noteWifiScanStartedFromSource(WorkSource ws) argument
884 noteWifiScanStoppedFromSource(WorkSource ws) argument
891 noteWifiBatchedScanStartedFromSource(WorkSource ws, int csph) argument
898 noteWifiBatchedScanStoppedFromSource(WorkSource ws) argument
905 noteWifiMulticastEnabledFromSource(WorkSource ws) argument
913 noteWifiMulticastDisabledFromSource(WorkSource ws) argument
957 noteBleScanStarted(WorkSource ws, boolean isUnoptimized) argument
965 noteBleScanStopped(WorkSource ws) argument
981 noteBleScanResults(WorkSource ws, int numNewResults) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java2618 * @param pi PendingIntent to attribute blame to if ws is null.
2619 * @param ws WorkSource to attribute blame.
2622 void setWakelockWorkSource(PendingIntent pi, WorkSource ws, int type, String tag, argument
2633 if (ws != null) {
2634 mWakeLock.setWorkSource(ws);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java3054 public void setWorkSource(WorkSource ws) { argument
3056 if (ws != null && ws.size() == 0) {
3057 ws = null;
3060 if (ws == null) {
3063 ws.clearNames();
3066 mWorkSource = new WorkSource(ws);
3068 changed = mWorkSource.diff(ws);
3070 mWorkSource.set(ws);
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java1026 WorkSource ws, String historyTag, int uid, int pid) {
1031 + ", tag=\"" + tag + "\", ws=" + ws + ", uid=" + uid + ", pid=" + pid);
1039 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) {
1042 uid, pid, ws, historyTag);
1043 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid);
1054 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid,
1176 private void updateWakeLockWorkSourceInternal(IBinder lock, WorkSource ws, String historyTag, argument
1183 + " [not found], ws=" + ws);
1025 acquireWakeLockInternal(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag, int uid, int pid) argument
1256 notifyWakeLockChangingLocked(WakeLock wakeLock, int flags, String tag, String packageName, int uid, int pid, WorkSource ws, String historyTag) argument
4111 acquireWakeLock(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag) argument
4175 updateWakeLockWorkSource(IBinder lock, WorkSource ws, String historyTag) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java3831 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
3835 final int N = ws.size();
3837 noteStartWakeLocked(ws.get(i), pid, name, historyName, type, unimportantForLogging,
3842 public void noteChangeWakelockFromSourceLocked(WorkSource ws, int pid, String name, argument
3855 final int NO = ws.size();
3857 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
3861 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
3865 final int N = ws.size();
3867 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
4841 public void noteBluetoothScanStartedFromSourceLocked(WorkSource ws, boolea argument
4863 noteBluetoothScanStoppedFromSourceLocked(WorkSource ws) argument
4887 noteBluetoothScanResultsFromSourceLocked(WorkSource ws, int numNewResults) argument
4925 noteWifiRunningLocked(WorkSource ws) argument
4964 noteWifiStoppedLocked(WorkSource ws) argument
5158 noteFullWifiLockAcquiredFromSourceLocked(WorkSource ws) argument
5165 noteFullWifiLockReleasedFromSourceLocked(WorkSource ws) argument
5172 noteWifiScanStartedFromSourceLocked(WorkSource ws) argument
5179 noteWifiScanStoppedFromSourceLocked(WorkSource ws) argument
5186 noteWifiBatchedScanStartedFromSourceLocked(WorkSource ws, int csph) argument
5193 noteWifiBatchedScanStoppedFromSourceLocked(WorkSource ws) argument
5200 noteWifiMulticastEnabledFromSourceLocked(WorkSource ws) argument
5207 noteWifiMulticastDisabledFromSourceLocked(WorkSource ws) argument
[all...]

Completed in 9574 milliseconds