/cts/tests/tests/os/src/android/os/cts/ |
PowerManager_WakeLockTest.java | 36 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); local 37 assertNotNull(wl.toString()); 39 wl.acquire(); 40 assertTrue(wl.isHeld()); 41 wl.release(); 42 assertFalse(wl.isHeld()); 45 wl.setReferenceCounted(true); 46 wl.acquire(); 47 assertTrue(wl.isHeld()); 48 wl.acquire() [all...] |
PowerManagerTest.java | 51 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); local 52 wl.acquire(TIME); 53 assertTrue(wl.isHeld()); 55 assertFalse(wl.isHeld());
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiLockTest.java | 50 WifiLock wl = wm.createWifiLock(lockType, WIFI_TAG); local 52 wl.setReferenceCounted(true); 53 assertFalse(wl.isHeld()); 54 wl.acquire(); 55 assertTrue(wl.isHeld()); 56 wl.release(); 57 assertFalse(wl.isHeld()); 58 wl.acquire(); 59 wl.acquire(); 60 assertTrue(wl.isHeld()) [all...] |
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsWakeLockTests.java | 34 PowerManager.WakeLock wl = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, local 36 wl.acquire(); 38 wl.release(); 43 PowerManager.WakeLock wl = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, local 45 wl.acquire(); 47 wl.release();
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
WakelockLoadTestRunnable.java | 36 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag); local 40 wl.acquire(); 43 wl.release();
|
AtomTests.java | 276 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK | local 278 wl.acquire(); 289 wl.release(); 354 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, local 356 wl.acquire(); 358 wl.release();
|
/cts/hostsidetests/os/test-apps/PowerManagerTestApp/src/android/os/powermanagertests/ |
WakeLockTest.java | 33 WakeLock wl = pm.newWakeLock(PARTIAL_WAKE_LOCK, TAG); local 34 wl.acquire(300000 /* 5 mins */);
|
/external/u-boot/drivers/mtd/ubi/ |
Makefile | 6 obj-y += attach.o build.o vtbl.o vmt.o upd.o kapi.o eba.o io.o wl.o crc32.o
|
/external/e2fsprogs/config/ |
config.rpath | 52 wl= 54 wl='-Wl,' 58 wl='-Wl,' 63 wl='-Wl,' 66 wl='-Wl,' 71 wl='-Wl, [all...] |
/external/python/cpython3/Lib/idlelib/idle_test/ |
test_window.py | 12 wl = window.WindowList() 13 self.assertEqual(wl.dict, {}) 14 self.assertEqual(wl.callbacks, [])
|
/external/libexif/ |
config.rpath | 55 wl= 57 wl='-Wl,' 61 wl='-Wl,' 66 wl='-Wl,' 69 wl='-Wl,' 76 wl='-Wl, [all...] |
/cts/hostsidetests/incident/src/com/android/server/cts/ |
PowerIncidentTest.java | 112 for (WakeLockProto wl : dump.getWakeLocksList()) { 113 assertTrue(0 <= wl.getAcqMs()); 114 assertTrue(0 <= wl.getUid()); 115 assertTrue(0 <= wl.getPid());
|
/external/libldac/src/ |
ldacBT_api.c | 186 hLdacBT->pcm.wl = 2; 189 hLdacBT->pcm.wl = 3; 193 hLdacBT->pcm.wl = 4; 197 hLdacBT->pcm.wl = 4; 357 int nFrmToPkt, ch, wl; local 390 wl = hLdacBT->pcm.wl; 397 nByteCpy = LDACBT_ENC_LSU * wl * ch; 398 sz = ppcmring->nsmpl * wl * ch + nByteCpy; 533 pos = ppcmring->rp + ppcmring->nsmpl * wl * ch [all...] |
pack_ldac.c | 293 int nsps, idwl1, wl, val; local 300 wl = ga_wl_ldac[idwl1]; 322 pack_store_ldac(p_ac->a_qspec[isp], wl, p_stream, p_loc); 341 int idwl2, wl; local 349 wl = ga_wl_ldac[idwl2]; 352 pack_store_ldac(p_ac->a_rspec[isp], wl, p_stream, p_loc);
|
ldacBT_internal.h | 119 int wl; member in struct:_ldacbt_pcm_info
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowPowerManager.java | 36 PowerManager.WakeLock wl = Shadow.newInstanceOf(PowerManager.WakeLock.class); local 37 getInstance().addWakeLock(wl); 38 return wl;
|
ShadowApplication.java | 192 public void addWakeLock( PowerManager.WakeLock wl ) { 193 latestWakeLock = wl;
|
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/ |
ValidationTests.java | 129 android.os.TimerProto wl = local 132 assertNotNull(wl); 133 assertTrue(wl.getDurationMs() > 0); 134 assertTrue(wl.getCount() == 1); 135 assertTrue(wl.getMaxDurationMs() >= 500); 136 assertTrue(wl.getMaxDurationMs() < 700); 137 assertTrue(wl.getTotalDurationMs() >= 500); 138 assertTrue(wl.getTotalDurationMs() < 700); 254 // for (Wakelock wl : uidProto.getWakelocksList()) { 255 // String tag = wl.getName() [all...] |
/external/icu/icu4c/source/test/perf/ustrperf/ |
stringperf.h | 251 int32_t wl; local 257 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len, &err); 258 memcpy(wlines_[i].name, wcs, wl * sizeof(wchar_t)); 259 wlines_[i].len = wl; 262 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len-1, &err); 263 memcpy(wlines_[i].name, wcs, wl*sizeof(wchar_t)); 264 wlines_[i].len = wl;
|
/device/google/bonito/ |
utils.mk | 26 # search word w in list wl, if found match m, return stripped word w 31 $(eval wl:= $(colon)$(subst $(space),$(colon),$(strip $(2)))$(colon)) \ 33 $(eval m:= $(findstring $(w),$(wl))) \
|
/device/google/crosshatch/ |
utils.mk | 26 # search word w in list wl, if found match m, return stripped word w 31 $(eval wl:= $(colon)$(subst $(space),$(colon),$(strip $(2)))$(colon)) \ 33 $(eval m:= $(findstring $(w),$(wl))) \
|
/device/google/marlin/common/ |
utils.mk | 26 # search word w in list wl, if found match m, return stripped word w 31 $(eval wl:= $(colon)$(subst $(space),$(colon),$(strip $(2)))$(colon)) \ 33 $(eval m:= $(findstring $(w),$(wl))) \
|
/device/google/wahoo/ |
utils.mk | 26 # search word w in list wl, if found match m, return stripped word w 31 $(eval wl:= $(colon)$(subst $(space),$(colon),$(strip $(2)))$(colon)) \ 33 $(eval m:= $(findstring $(w),$(wl))) \
|
/external/cmockery/cmockery_0_1_2/ |
libtool | 131 wl="-Wl," 180 export_dynamic_flag_spec="\${wl}--export-dynamic" 183 whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" 214 archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" 218 \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
RVCVXCheckTestActivity.java | 170 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, local 173 wl.acquire(); 175 wl.release();
|