Home
last modified time | relevance | path

Searched refs:createWifiLock (Results 1 – 3 of 3) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DWifiManagerTest.java139 assertNotNull(wifiManager.createWifiLock("TAG")); in shouldCreateWifiLock()
140 assertNotNull(wifiManager.createWifiLock(1, "TAG")); in shouldCreateWifiLock()
145 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); in shouldAcquireAndReleaseWifilockRefCounted()
157 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); in shouldAcquireAndReleaseWifilockNonRefCounted()
169 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); in shouldThrowRuntimeExceptionIfLockisUnderlocked()
175 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); in shouldThrowUnsupportedOperationIfLockisOverlocked()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowWifiManager.java104 public WifiManager.WifiLock createWifiLock(int lockType, java.lang.String tag) { in createWifiLock() method in ShadowWifiManager
109 public WifiManager.WifiLock createWifiLock(java.lang.String tag) { in createWifiLock() method in ShadowWifiManager
110 return createWifiLock(WifiManager.WIFI_MODE_FULL, tag); in createWifiLock()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiManagerFacade.java158 mLock = mWifi.createWifiLock(wifiMode, "sl4a"); in makeLock()