Searched refs:ws (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
H A DIBatteryStats.aidl71 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, String historyName,
73 void noteChangeWakelockFromSource(in WorkSource ws, int pid, String name, String histyoryName,
76 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, String historyName,
97 void noteWifiRunning(in WorkSource ws);
99 void noteWifiStopped(in WorkSource ws);
109 void noteFullWifiLockAcquiredFromSource(in WorkSource ws);
110 void noteFullWifiLockReleasedFromSource(in WorkSource ws);
111 void noteWifiScanStartedFromSource(in WorkSource ws);
112 void noteWifiScanStoppedFromSource(in WorkSource ws);
113 void noteWifiBatchedScanStartedFromSource(in WorkSource ws, in
[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/wifi/java/android/net/wifi/
H A DIWifiManager.aidl65 void startScan(in ScanSettings requested, in WorkSource ws);
67 void startLocationRestrictedScan(in WorkSource ws);
99 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws);
101 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws);
139 boolean requestBatchedScan(in BatchedScanSettings requested, IBinder binder, in WorkSource ws);
H A DWifiManager.java2425 public void setWorkSource(WorkSource ws) { argument
2427 if (ws != null && ws.size() == 0) {
2428 ws = null;
2431 if (ws == null) {
2434 ws.clearNames();
2437 mWorkSource = new WorkSource(ws);
2439 changed = mWorkSource.diff(ws);
2441 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,
36 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws, String historyTag);
H A DPowerManager.java1182 * @param ws The work source, or null if none.
1184 public void setWorkSource(WorkSource ws) { argument
1186 if (ws != null && ws.size() == 0) {
1187 ws = null;
1191 if (ws == null) {
1196 mWorkSource = new WorkSource(ws);
1198 changed = mWorkSource.diff(ws);
1200 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/services/core/java/com/android/server/am/
H A DBatteryStatsService.java410 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, argument
414 mStats.noteStartWakeFromSourceLocked(ws, pid, name, historyName,
419 public void noteChangeWakelockFromSource(WorkSource ws, int pid, String name, argument
424 mStats.noteChangeWakelockFromSourceLocked(ws, pid, name, historyName, type,
429 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, String historyName, argument
433 mStats.noteStopWakeFromSourceLocked(ws, pid, name, historyName, type);
679 public void noteWifiRunning(WorkSource ws) { argument
682 mStats.noteWifiRunningLocked(ws);
693 public void noteWifiStopped(WorkSource ws) { argument
696 mStats.noteWifiStoppedLocked(ws);
763 noteFullWifiLockAcquiredFromSource(WorkSource ws) argument
770 noteFullWifiLockReleasedFromSource(WorkSource ws) argument
777 noteWifiScanStartedFromSource(WorkSource ws) argument
784 noteWifiScanStoppedFromSource(WorkSource ws) argument
791 noteWifiBatchedScanStartedFromSource(WorkSource ws, int csph) argument
798 noteWifiBatchedScanStoppedFromSource(WorkSource ws) argument
805 noteWifiMulticastEnabledFromSource(WorkSource ws) argument
813 noteWifiMulticastDisabledFromSource(WorkSource ws) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSignalTileView.java74 int ws = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.AT_MOST);
75 mIn.measure(ws, hs);
76 mOut.measure(ws, hs);
/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/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java1533 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { argument
1534 super(lockMode, tag, binder, ws);
1575 synchronized void updateWorkSource(WorkSource ws) { argument
1577 ws.add(mLocks.mList.get(i).mWorkSource);
1623 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { argument
1632 if (ws != null && ws.size() == 0) {
1633 ws = null;
1635 if (ws != null) {
1638 if (ws
1696 updateWifiLockWorkSource(IBinder lock, WorkSource ws) argument
1771 DeathRecipient(int mode, String tag, IBinder binder, WorkSource ws) argument
[all...]
/frameworks/base/services/core/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.java6063 final WindowState ws = windows.get(winNdx);
6064 if (ws.mSession.mPid == pid && ws.isVisibleLw()) {
6229 WindowState ws = windows.get(i);
6230 if (!ws.mHasSurface) {
6233 if (ws.mLayer >= aboveAppLayer) {
6236 if (ws.mIsImWindow) {
6240 } else if (ws.mIsWallpaper) {
6253 if (ws.mAppToken == null || ws
[all...]
H A DWindowState.java779 WindowState ws = this;
782 if (ws.mAttrs.needsMenuKey != WindowManager.LayoutParams.NEEDS_MENU_UNSET) {
783 return ws.mAttrs.needsMenuKey == WindowManager.LayoutParams.NEEDS_MENU_SET_TRUE;
787 if (ws == bottom) {
794 index = windows.indexOf(ws);
800 ws = windows.get(index);
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java774 WorkSource ws, String historyTag, int uid, int pid) {
779 + ", tag=\"" + tag + "\", ws=" + ws + ", uid=" + uid + ", pid=" + pid);
787 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) {
790 uid, pid, ws, historyTag);
791 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid);
795 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid);
910 private void updateWakeLockWorkSourceInternal(IBinder lock, WorkSource ws, String historyTag, argument
917 + " [not found], ws=" + ws);
773 acquireWakeLockInternal(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag, int uid, int pid) argument
958 notifyWakeLockChangingLocked(WakeLock wakeLock, int flags, String tag, String packageName, int uid, int pid, WorkSource ws, String historyTag) argument
3022 acquireWakeLock(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag) argument
3086 updateWakeLockWorkSource(IBinder lock, WorkSource ws, String historyTag) argument
[all...]
/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/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.cpp528 public native int visibilityTest(float[] ws, int wsOffset,
539 FloatArrayHelper ws(env, ws_ref, wsOffset, 16);
543 bool checkOK = ws.check() && positions.check() && indices.check();
554 ws.bind();
558 return visibilityTest(ws.mData,
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2850 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
2854 final int N = ws.size();
2856 noteStartWakeLocked(ws.get(i), pid, name, historyName, type, unimportantForLogging,
2861 public void noteChangeWakelockFromSourceLocked(WorkSource ws, int pid, String name, argument
2874 final int NO = ws.size();
2876 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
2880 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
2884 final int N = ws.size();
2886 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
3776 public void noteWifiRunningLocked(WorkSource ws) { argument
3815 noteWifiStoppedLocked(WorkSource ws) argument
4009 noteFullWifiLockAcquiredFromSourceLocked(WorkSource ws) argument
4016 noteFullWifiLockReleasedFromSourceLocked(WorkSource ws) argument
4023 noteWifiScanStartedFromSourceLocked(WorkSource ws) argument
4030 noteWifiScanStoppedFromSourceLocked(WorkSource ws) argument
4037 noteWifiBatchedScanStartedFromSourceLocked(WorkSource ws, int csph) argument
4044 noteWifiBatchedScanStoppedFromSourceLocked(WorkSource ws) argument
4051 noteWifiMulticastEnabledFromSourceLocked(WorkSource ws) argument
4058 noteWifiMulticastDisabledFromSourceLocked(WorkSource ws) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java2299 * @param pi PendingIntent to attribute blame to if ws is null.
2300 * @param ws WorkSource to attribute blame.
2302 void setWakelockWorkSource(PendingIntent pi, WorkSource ws, int type, String tag, argument
2313 if (ws != null) {
2314 mWakeLock.setWorkSource(ws);

Completed in 648 milliseconds