Home
last modified time | relevance | path

Searched refs:ws (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl37 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, int type); in noteStartWakelockFromSource() argument
38 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, int type); in noteStopWakelockFromSource() argument
54 void noteWifiRunning(in WorkSource ws); in noteWifiRunning() argument
56 void noteWifiStopped(in WorkSource ws); in noteWifiStopped() argument
65 void noteFullWifiLockAcquiredFromSource(in WorkSource ws); in noteFullWifiLockAcquiredFromSource() argument
66 void noteFullWifiLockReleasedFromSource(in WorkSource ws); in noteFullWifiLockReleasedFromSource() argument
67 void noteScanWifiLockAcquiredFromSource(in WorkSource ws); in noteScanWifiLockAcquiredFromSource() argument
68 void noteScanWifiLockReleasedFromSource(in WorkSource ws); in noteScanWifiLockReleasedFromSource() argument
69 void noteWifiMulticastEnabledFromSource(in WorkSource ws); in noteWifiMulticastEnabledFromSource() argument
70 void noteWifiMulticastDisabledFromSource(in WorkSource ws); in noteWifiMulticastDisabledFromSource() argument
/frameworks/base/services/java/com/android/server/am/
DBatteryStatsService.java114 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, int type) { in noteStartWakelockFromSource() argument
117 mStats.noteStartWakeFromSourceLocked(ws, pid, name, type); in noteStartWakelockFromSource()
121 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, int type) { in noteStopWakelockFromSource() argument
124 mStats.noteStopWakeFromSourceLocked(ws, pid, name, type); in noteStopWakelockFromSource()
267 public void noteWifiRunning(WorkSource ws) { in noteWifiRunning() argument
270 mStats.noteWifiRunningLocked(ws); in noteWifiRunning()
281 public void noteWifiStopped(WorkSource ws) { in noteWifiStopped() argument
284 mStats.noteWifiStoppedLocked(ws); in noteWifiStopped()
346 public void noteFullWifiLockAcquiredFromSource(WorkSource ws) { in noteFullWifiLockAcquiredFromSource() argument
349 mStats.noteFullWifiLockAcquiredFromSourceLocked(ws); in noteFullWifiLockAcquiredFromSource()
[all …]
/frameworks/base/core/java/android/os/
DPowerManager.java319 public void setWorkSource(WorkSource ws) { in setWorkSource() argument
321 if (ws != null && ws.size() == 0) { in setWorkSource()
322 ws = null; in setWorkSource()
325 if (ws == null) { in setWorkSource()
329 mWorkSource = new WorkSource(ws); in setWorkSource()
331 changed = mWorkSource.diff(ws); in setWorkSource()
333 mWorkSource.set(ws); in setWorkSource()
DIPowerManager.aidl25 void acquireWakeLock(int flags, IBinder lock, String tag, in WorkSource ws); in acquireWakeLock() argument
26 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws); in updateWakeLockWorkSource() argument
/frameworks/base/media/libstagefright/
DHTTPStream.cpp79 fd_set rs, ws; in MyConnect() local
81 FD_ZERO(&ws); in MyConnect()
83 FD_SET(s, &ws); in MyConnect()
89 int nfds = ::select(s + 1, &rs, &ws, NULL, &tv); in MyConnect()
100 if (FD_ISSET(s, &ws) && !FD_ISSET(s, &rs)) { in MyConnect()
105 if (FD_ISSET(s, &rs) || FD_ISSET(s, &ws)) { in MyConnect()
137 fd_set rs, ws, es; in MySendReceive() local
139 FD_ZERO(&ws); in MySendReceive()
141 FD_SET(s, sendData ? &ws : &rs); in MySendReceive()
151 sendData ? &ws : NULL, in MySendReceive()
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProvider.java112 public void setMinTime(long minTime, WorkSource ws) {
113 LocationProvider.this.onSetMinTime(minTime, ws);
311 public abstract void onSetMinTime(long minTime, WorkSource ws); in onSetMinTime() argument
349 public abstract void onAddListener(int uid, WorkSource ws); in onAddListener() argument
357 public abstract void onRemoveListener(int uid, WorkSource ws); in onRemoveListener() argument
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java976 public void setWorkSource(WorkSource ws) { in setWorkSource() argument
978 if (ws != null && ws.size() == 0) { in setWorkSource()
979 ws = null; in setWorkSource()
982 if (ws == null) { in setWorkSource()
986 mWorkSource = new WorkSource(ws); in setWorkSource()
988 changed = mWorkSource.diff(ws); in setWorkSource()
990 mWorkSource.set(ws); in setWorkSource()
DIWifiManager.aidl71 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws); in acquireWifiLock() argument
73 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws); in updateWifiLockWorkSource() argument
/frameworks/base/services/java/com/android/server/
DPowerManagerService.java685 WorkSource ws; field in PowerManagerService.WakeLock
718 public void acquireWakeLock(int flags, IBinder lock, String tag, WorkSource ws) { in acquireWakeLock() argument
724 if (ws != null) { in acquireWakeLock()
730 acquireWakeLockLocked(flags, lock, uid, pid, tag, ws); in acquireWakeLock()
737 void noteStartWakeLocked(WakeLock wl, WorkSource ws) { in noteStartWakeLocked() argument
741 if (ws != null) { in noteStartWakeLocked()
742 mBatteryStats.noteStartWakelockFromSource(ws, wl.pid, wl.tag, in noteStartWakeLocked()
755 void noteStopWakeLocked(WakeLock wl, WorkSource ws) { in noteStopWakeLocked() argument
759 if (ws != null) { in noteStopWakeLocked()
760 mBatteryStats.noteStopWakelockFromSource(ws, wl.pid, wl.tag, in noteStopWakeLocked()
[all …]
DWifiService.java2195 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in WifiLock() argument
2196 super(lockMode, tag, binder, ws); in WifiLock()
2278 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { in acquireWifiLock() argument
2287 if (ws != null && ws.size() == 0) { in acquireWifiLock()
2288 ws = null; in acquireWifiLock()
2290 if (ws != null) { in acquireWifiLock()
2293 if (ws == null) { in acquireWifiLock()
2294 ws = new WorkSource(Binder.getCallingUid()); in acquireWifiLock()
2296 WifiLock wifiLock = new WifiLock(lockMode, tag, binder, ws); in acquireWifiLock()
2365 public void updateWifiLockWorkSource(IBinder lock, WorkSource ws) { in updateWifiLockWorkSource() argument
[all …]
DWindowManagerService.java8310 WindowState ws = mForceRemoves.get(i);
8311 Slog.i(TAG, "Force removing: " + ws);
8312 removeWindowInnerLocked(ws.mSession, ws);
8854 WindowState ws = wtoken.findMainWindow();
8855 if (ws != null) {
8858 if ((ws.mAttrs.flags&FLAG_COMPATIBLE_WINDOW) != 0) {
8859 animLp = ws.mAttrs;
8860 animToken = ws.mAppToken;
8862 } else if (ws.mLayer > bestAnimLayer) {
8863 animLp = ws.mAttrs;
[all …]
/frameworks/base/libs/ui/
DOverlay.cpp155 uint32_t w, uint32_t h, int32_t f, uint32_t ws, uint32_t hs) in OverlayRef() argument
157 mWidth(w), mHeight(h), mFormat(f), mWidthStride(ws), mHeightStride(hs), in OverlayRef()
177 uint32_t ws = data.readInt32(); in readFromParcel() local
187 result->mWidthStride = ws; in readFromParcel()
/frameworks/base/opengl/java/android/opengl/
DVisibility.java49 public static native int visibilityTest(float[] ws, int wsOffset, in visibilityTest() argument
/frameworks/base/location/java/android/location/
DILocationProvider.aidl47 void setMinTime(long minTime, in WorkSource ws); in setMinTime() argument
/frameworks/base/services/java/com/android/server/location/
DLocationProviderInterface.java51 void setMinTime(long minTime, WorkSource ws); in setMinTime() argument
DLocationProviderProxy.java395 public void setMinTime(long minTime, WorkSource ws) { in setMinTime() argument
398 mMinTimeSource.set(ws); in setMinTime()
402 provider.setMinTime(minTime, ws); in setMinTime()
DPassiveProvider.java127 public void setMinTime(long minTime, WorkSource ws) { in setMinTime() argument
DMockProvider.java205 public void setMinTime(long minTime, WorkSource ws) { in setMinTime() argument
DGpsLocationProvider.java797 public void setMinTime(long minTime, WorkSource ws) { in setMinTime() argument
/frameworks/base/tests/CoreTests/android/core/
DTestWebServer.java266 Worker ws = new Worker(); in run() local
267 ws.setSocket(s); in run()
268 activeThreads.addElement(ws); in run()
269 (new Thread(ws, "additional worker")).start(); in run()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1367 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { in noteStartWakeFromSourceLocked() argument
1368 int N = ws.size(); in noteStartWakeFromSourceLocked()
1370 noteStartWakeLocked(ws.get(i), pid, name, type); in noteStartWakeFromSourceLocked()
1374 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) { in noteStopWakeFromSourceLocked() argument
1375 int N = ws.size(); in noteStopWakeFromSourceLocked()
1377 noteStopWakeLocked(ws.get(i), pid, name, type); in noteStopWakeFromSourceLocked()
1926 public void noteWifiRunningLocked(WorkSource ws) { in noteWifiRunningLocked() argument
1934 int N = ws.size(); in noteWifiRunningLocked()
1936 getUidStatsLocked(ws.get(i)).noteWifiRunningLocked(); in noteWifiRunningLocked()
1958 public void noteWifiStoppedLocked(WorkSource ws) { in noteWifiStoppedLocked() argument
[all …]
/frameworks/base/include/ui/
DOverlay.h44 uint32_t w, uint32_t h, int32_t f, uint32_t ws, uint32_t hs);
/frameworks/base/media/libstagefright/rtsp/
DARTSPConnection.cpp325 fd_set ws; in onCompleteConnection() local
326 FD_ZERO(&ws); in onCompleteConnection()
327 FD_SET(mSocket, &ws); in onCompleteConnection()
329 int res = select(mSocket + 1, NULL, &ws, NULL, &tv); in onCompleteConnection()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp442 FloatArrayHelper ws(env, ws_ref, wsOffset, 16); in util_visibilityTest() local
446 bool checkOK = ws.check() && positions.check() && indices.check(); in util_visibilityTest()
458 ws.bind(); in util_visibilityTest()
462 return visibilityTest(ws.mData, in util_visibilityTest()
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_nontext.txt1207 /sdcard/android/layout_tests/editing/deleting/delete-after-span-ws-001.html
1221 /sdcard/android/layout_tests/editing/deleting/delete-ws-fixup-004.html
1228 /sdcard/android/layout_tests/editing/deleting/delete-leading-ws-001.html
1233 /sdcard/android/layout_tests/editing/deleting/delete-trailing-ws-001.html
1238 /sdcard/android/layout_tests/editing/deleting/delete-ws-fixup-001.html
1240 /sdcard/android/layout_tests/editing/deleting/delete-line-end-ws-002.html
1249 /sdcard/android/layout_tests/editing/deleting/delete-after-span-ws-003.html
1284 /sdcard/android/layout_tests/editing/deleting/delete-ws-fixup-003.html
1287 /sdcard/android/layout_tests/editing/deleting/delete-contiguous-ws-001.html
1302 /sdcard/android/layout_tests/editing/deleting/delete-line-end-ws-001.html
[all …]