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 noteWifiMulticastEnabledFromSource(in WorkSource ws);
72 void noteWifiMulticastDisabledFromSource(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/core/java/android/os/
H A DIPowerManager.aidl28 void acquireWakeLock(IBinder lock, int flags, String tag, String packageName, in WorkSource ws);
32 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/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 noteWifiMulticastEnabledFromSource(WorkSource ws) argument
429 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);
H A DWifiManager.java1861 public void setWorkSource(WorkSource ws) { argument
1863 if (ws != null && ws.size() == 0) {
1864 ws = null;
1867 if (ws == null) {
1870 ws.clearNames();
1873 mWorkSource = new WorkSource(ws);
1875 changed = mWorkSource.diff(ws);
1877 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.java1201 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { argument
1202 super(lockMode, tag, binder, ws);
1243 synchronized void updateWorkSource(WorkSource ws) { argument
1245 ws.add(mLocks.mList.get(i).mWorkSource);
1291 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { argument
1300 if (ws != null && ws.size() == 0) {
1301 ws = null;
1303 if (ws != null) {
1306 if (ws
1364 updateWifiLockWorkSource(IBinder lock, WorkSource ws) argument
1439 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
750 updateWakeLockWorkSource(IBinder lock, WorkSource ws) argument
771 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.java1721 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { argument
1722 int N = ws.size();
1724 noteStartWakeLocked(ws.get(i), pid, name, type);
1728 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { argument
1729 int N = ws.size();
1731 noteStopWakeLocked(ws.get(i), pid, name, type);
2285 public void noteWifiRunningLocked(WorkSource ws) { argument
2293 int N = ws.size();
2295 getUidStatsLocked(ws.get(i)).noteWifiRunningLocked();
2317 public void noteWifiStoppedLocked(WorkSource ws) { argument
2428 noteFullWifiLockAcquiredFromSourceLocked(WorkSource ws) argument
2435 noteFullWifiLockReleasedFromSourceLocked(WorkSource ws) argument
2442 noteWifiScanStartedFromSourceLocked(WorkSource ws) argument
2449 noteWifiScanStoppedFromSourceLocked(WorkSource ws) argument
2456 noteWifiMulticastEnabledFromSourceLocked(WorkSource ws) argument
2463 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.java1256 * @param pi PendingIntent to attribute blame to if ws is null.
1257 * @param ws WorkSource to attribute blame.
1259 void setWakelockWorkSource(PendingIntent pi, WorkSource ws) { argument
1261 if (ws != null) {
1262 mWakeLock.setWorkSource(ws);

Completed in 410 milliseconds