Home
last modified time | relevance | path

Searched refs:WorkSource (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/message_loop/
Dmessage_pump_glib.cc87 struct WorkSource : public GSource { struct
93 *timeout_ms = static_cast<WorkSource*>(source)->pump->HandlePrepare(); in WorkSourcePrepare()
102 return static_cast<WorkSource*>(source)->pump->HandleCheck(); in WorkSourceCheck()
109 static_cast<WorkSource*>(source)->pump->HandleDispatch(); in WorkSourceDispatch()
193 work_source_ = g_source_new(&WorkSourceFuncs, sizeof(WorkSource)); in MessagePumpGlib()
194 static_cast<WorkSource*>(work_source_)->pump = this; in MessagePumpGlib()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPowerManager.java12 import android.os.WorkSource;
159 private WorkSource workSource = null;
204 protected synchronized void setWorkSource(WorkSource ws) { in setWorkSource()
208 public synchronized WorkSource getWorkSource() { in getWorkSource()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiRtt2ManagerFacade.java34 import android.os.WorkSource;
216 private static WorkSource getWorkSource(JSONArray uids) throws JSONException { in getWorkSource()
220 WorkSource ws = new WorkSource(); in getWorkSource()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPowerManagerTest.java15 import android.os.WorkSource;
180 WorkSource workSource = new WorkSource(); in workSource_shouldGetAndSet()