/cts/tests/sensor/src/android/hardware/cts/helpers/ |
SensorCtsHelper.java | 171 * Helper method to sleep for a given duration. 173 public static void sleep(long duration, TimeUnit timeUnit) throws InterruptedException { method in class:SensorCtsHelper 175 Thread.sleep(durationNs / NANOS_PER_MILLI, (int) (durationNs % NANOS_PER_MILLI));
|
TestSensorEventListener.java | 66 // Useful for CtsVerifier test cases in which cpu can sleep if usb is not connected. 341 SensorCtsHelper.sleep(duration, timeUnit);
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
BluetoothLeScanTest.java | 86 sleep(ADAPTER_ENABLE_TIMEOUT); 108 sleep(ADAPTER_ENABLE_TIMEOUT); 149 sleep(SCAN_DURATION_MILLIS); 151 sleep(SCAN_STOP_TIMEOUT); 210 // sleep(SCAN_DURATION_MILLIS); 226 // sleep(SCAN_DURATION_MILLIS); 235 // sleep(SCAN_STOP_TIMEOUT); 237 // sleep(SCAN_DURATION_MILLIS); 257 sleep(SCAN_DURATION_MILLIS); 386 sleep(SCAN_DURATION_MILLIS) 393 private void sleep(int sleepMillis) { method in class:BluetoothLeScanTest [all...] |
/external/ltp/tools/pounder21/src/xbonkers/ |
xbonkers.c | 87 unsigned long sleep); 315 unsigned long sleep) 372 usleep(sleep); 508 unsigned long sleep = 100000; local 524 sleep = atoi(optarg); 531 "Usage: %s [-d DISPLAY] [-i ITERATIONS] [-r ROUNDS] [-s SLEEP] [-f]\n\ 534 SLEEP is the amount of time (in usec) to sleep between window tweaks.\n\ 554 go_bonkers(disp, iterations, sleep);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 46 * Stress Wi-Fi connection, scanning and reconnection after sleep. 55 * Wi-Fi idle time for default sleep policy 104 sleep(SHORT_TIMEOUT, "Interruped while waiting for wifi on"); method 131 private void sleep(long sometime, String errorMsg) { method in class:WifiStressTest 133 Thread.sleep(sometime); 194 // Stress Wifi reconnection to secure net after sleep 200 // set wifi sleep policy to never on while in sleep 223 // 1. Put device into sleep mode 224 // 2. Wait for the device to sleep for sometime, verify wi-fi is off and mobile is on [all...] |
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/ |
ServicesTests.java | 149 Thread.sleep(1000); 177 Thread.sleep(1000); 208 Thread.sleep((i - 1) * (1 << (i / 5))); 240 Thread.sleep(5000); 256 Thread.sleep(5000);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xw32defs.h | 45 # define sleep(x) Sleep((x) * 1000) macro
|
/prebuilts/go/darwin-x86/src/runtime/ |
os_plan9.go | 38 func sleep(ms int32) int32 func 317 sleep(0) 326 sleep(ms)
|
/prebuilts/go/linux-x86/src/runtime/ |
os_plan9.go | 38 func sleep(ms int32) int32 func 317 sleep(0) 326 sleep(ms)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleConnectionPriorityClientService.java | 242 sleep(2000);
246 sleep(1000);
274 sleep(1000);
312 private void sleep(int millis) {
method in class:BleConnectionPriorityClientService 314 Thread.sleep(millis);
316 Log.e(TAG, "Error in thread sleep", e);
|
BleEncryptedClientService.java | 253 private void sleep(int millis) {
method in class:BleEncryptedClientService 255 Thread.sleep(millis);
257 Log.e(TAG, "Error in thread sleep", e);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
CtsTouchUtils.java | 269 // sleep for a bit to emulate the overall drag gesture. 271 SystemClock.sleep(sleepTime); 331 // sleep for a bit to emulate the overall drag gesture. 332 SystemClock.sleep(sleepTime); 560 SystemClock.sleep((long) (ViewConfiguration.getLongPressTimeout() * 1.5f) + extraWaitMs);
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsBgVsFgActions.java | 84 sleep(100); 102 sleep(DO_NOTHING_TIMEOUT); 114 sleep(100); 170 sleep(8_000); 198 sleep(2_000); 240 sleep(1_000); 281 sleep(DO_NOTHING_TIMEOUT); 310 sleep(500); 431 sleep(1_000); 444 /** Puts the current thread to sleep. * 445 private static void sleep(int millis) { method in class:BatteryStatsBgVsFgActions [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
MessageTest.java | 220 sleep(SLEEP_TIME); 272 sleep(SLEEP_TIME); 292 sleep(SLEEP_TIME); 299 private void sleep(long time) { method in class:MessageTest 301 Thread.sleep(time);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetwork.java | 267 * Command to put the Monkey to sleep. 270 // sleep 2000 274 int sleep = -1; local 277 sleep = Integer.parseInt(sleepStr); 282 queue.enqueueEvent(new MonkeyThrottleEvent(sleep)); 457 COMMAND_MAP.put("sleep", new SleepCommand());
|
/development/samples/Snake/src/com/example/android/snake/ |
SnakeView.java | 108 * target and we can use the sleep() function to cause an update/invalidate to occur at a later 122 public void sleep(long delayMillis) { method in class:SnakeView.RefreshHandler 421 mRedrawHandler.sleep(mMoveDelay);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiDevice.java | 728 SystemClock.sleep(500); 751 public void sleep() throws RemoteException { method in class:UiDevice
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
MemoryUsageTest.java | 206 sleep(3000); 215 sleep(SLEEP_TIME); 254 private void sleep(int time) { method in class:MemoryUsageTest 256 Thread.sleep(time);
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
NotificationHelper.java | 91 mDevice.sleep(); 92 Thread.sleep(LONG_TIMEOUT); 100 Thread.sleep(LONG_TIMEOUT * 2); 149 Thread.sleep(LONG_TIMEOUT); 163 Thread.sleep(SHORT_TIMEOUT); 166 Thread.sleep(LONG_TIMEOUT); 215 Thread.sleep(SHORT_TIMEOUT); 236 Thread.sleep(SHORT_TIMEOUT); 242 Thread.sleep(SHORT_TIMEOUT); 260 Thread.sleep(LONG_TIMEOUT * 2) [all...] |
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/ |
LatencyTests.java | 140 SystemClock.sleep(CLOCK_SETTLE_DELAY); 175 mDevice.sleep(); 178 SystemClock.sleep(CLOCK_SETTLE_DELAY); 205 mDevice.sleep(); 208 SystemClock.sleep(CLOCK_SETTLE_DELAY); 239 mDevice.sleep(); 247 Thread.sleep(300); 317 SystemClock.sleep(CLOCK_SETTLE_DELAY); 326 SystemClock.sleep(200);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/ |
StaticPortConfigDialog.java | 118 display.sleep();
|
StaticPortEditDialog.java | 126 display.sleep();
|
/libcore/ojluni/src/main/java/java/lang/ |
Thread.java | 147 * The synchronization object responsible for this thread's join/sleep/park operations. 297 * Causes the currently executing thread to sleep (temporarily cease 303 * the length of time to sleep in milliseconds 313 public static void sleep(long millis) throws InterruptedException { method in class:Thread 314 Thread.sleep(millis, 0); 318 private static native void sleep(Object lock, long millis, int nanos) method in class:Thread 322 * Causes the currently executing thread to sleep (temporarily cease 329 * the length of time to sleep in milliseconds 332 * {@code 0-999999} additional nanoseconds to sleep 343 public static void sleep(long millis, int nanos method in class:Thread 373 sleep(lock, millis, nanos); method [all...] |
/art/test/004-ThreadStress/src-art/ |
Main.java | 52 // -sleep:X .......... frequency of Sleep (double) 201 private final static class Sleep extends Operation { 207 Thread.sleep(SLEEP_TIME); 265 Thread.sleep((int)(Math.random() * 50 + 50)); 293 Thread.sleep(SLEEP_TIME); 325 frequencyMap.put(new Sleep(), 0.125); // 25/200 335 frequencyMap.put(new Sleep(), 0.2); // 40/200 345 frequencyMap.put(new Sleep(), 0.2); // 40/200 386 } else if (split[0].equals("-sleep")) { [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
InteractiveVerifierActivity.java | 352 protected void sleep(long time) { method in class:InteractiveVerifierActivity 354 Thread.sleep(time);
|