HomeSort by relevance Sort by last modified time
    Searched refs:waitTime (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /tools/tradefederation/core/src/com/android/tradefed/device/
IDeviceStateMonitor.java 54 * @param waitTime the amount in ms to wait
56 public boolean waitForBootComplete(final long waitTime);
61 * @param waitTime the time in ms to wait
62 * @return <code>true</code> if device becomes responsive before <var>waitTime</var> elapses.
64 public boolean waitForDeviceShell(final long waitTime);
70 * @param waitTime the time in ms to wait
74 public IDevice waitForDeviceAvailable(final long waitTime);
90 * @param waitTime the maximum time in ms to wait
94 public boolean waitForDeviceBootloader(long waitTime);
104 * @param waitTime the maximum time in ms to wai
    [all...]
DeviceStateMonitor.java 40 * @param waitTime time in ms to wait before giving up
41 * @return <code>true</code> if package manage becomes responsive before waitTime expires.
44 protected boolean waitForPmResponsive(final long waitTime) {
46 waitTime, getSerialNumber());
49 while (System.currentTimeMillis() - startTime < waitTime) {
79 protected boolean postOnlineCheck(final long waitTime) {
81 if (!waitForPmResponsive(waitTime)) {
85 return super.postOnlineCheck(waitTime - elapsedTime);
NativeDeviceStateMonitor.java 101 public IDevice waitForDeviceOnline(long waitTime) {
102 if (waitForDeviceState(TestDeviceState.ONLINE, waitTime)) {
137 public boolean waitForDeviceNotAvailable(long waitTime) {
142 boolean result = waitForDeviceState(TestDeviceState.NOT_AVAILABLE, waitTime);
153 public boolean waitForDeviceInRecovery(long waitTime) {
154 return waitForDeviceState(TestDeviceState.RECOVERY, waitTime);
161 public boolean waitForDeviceShell(final long waitTime) {
162 CLog.i("Waiting %d ms for device %s shell to be responsive", waitTime,
166 while (System.currentTimeMillis() - startTime < waitTime) {
194 public IDevice waitForDeviceAvailable(final long waitTime) {
    [all...]
RemoteAndroidDevice.java 183 public void waitForAdbConnect(final long waitTime) throws DeviceNotAvailableException {
184 CLog.i("Waiting %d ms for adb connection.", waitTime);
186 while (System.currentTimeMillis() - startTime < waitTime) {
194 String.format("No adb connection after %sms.", waitTime), getSerialNumber());
INativeDevice.java     [all...]
  /external/webrtc/webrtc/modules/video_coding/
timing_unittest.cc 30 uint32_t waitTime = 0;
46 waitTime = timing.MaxWaitingTime(
50 // we get waitTime = renderTime - now - renderDelay = jitter.
51 EXPECT_EQ(jitterDelayMs, waitTime);
58 waitTime = timing.MaxWaitingTime(
62 EXPECT_EQ(jitterDelayMs - 10, waitTime);
67 waitTime = timing.MaxWaitingTime(
70 EXPECT_EQ(waitTime, jitterDelayMs);
80 waitTime = timing.MaxWaitingTime(
83 EXPECT_EQ(waitTime, jitterDelayMs)
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyWaitEvent.java 29 public MonkeyWaitEvent(long waitTime) {
31 mWaitTime = waitTime;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
AMReceiver.java 84 final int waitTime = 3;
93 waitTime);
98 waitTime);
103 waitTime, type);
115 sleep(waitTime * 1000);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DataProfile.java 53 public final int waitTime;
76 int waitTime, boolean enabled, int supportedApnTypesBitmap, String roamingProtocol,
93 this.waitTime = waitTime;
114 apn.maxConnsTime, apn.maxConns, apn.waitTime, apn.carrierEnabled, apn.typesBitmap,
123 + "/" + maxConns + "/" + waitTime + "/" + enabled + "/" + supportedApnTypesBitmap
ApnSetting.java 95 public final int waitTime;
125 int waitTime, int maxConnsTime, int mtu, String mvnoType,
154 this.waitTime = waitTime;
166 apn.profileId, apn.modemCognitive, apn.maxConns, apn.waitTime, apn.maxConnsTime,
192 * <profileId>, <modemCognitive>, <maxConns>, <waitTime>, <maxConnsTime>, <mtu>,
232 int waitTime = 0;
259 waitTime = Integer.parseInt(a[21]);
278 bearerBitmask, profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu,
333 sb.append(", ").append(waitTime);
    [all...]
  /frameworks/av/services/camera/libcameraservice/utils/
AutoConditionLock.cpp 39 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime) {
50 nsecs_t failTime = systemTime(SYSTEM_TIME_MONOTONIC) + waitTime;
54 status_t ret = manager->mCondition.waitRelative(*(manager->mMutex), waitTime);
59 waitTime = failTime - systemTime(SYSTEM_TIME_MONOTONIC);
AutoConditionLock.h 74 * Make a new AutoConditionLock from a given WaitableMutexWrapper, waiting up to waitTime
80 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime);
  /external/webrtc/webrtc/modules/video_coding/test/
plotTimingTest.m 10 waitTime = [];
36 waitTime = [waitTime; p'];
51 timeStamps = waitTime(:, 1);
60 plot(timeStamps, waitTime(:, 3), 'g');
  /development/samples/Alarm/src/com/example/android/newalarm/
AlarmService.java 87 long waitTime = System.currentTimeMillis() + WAIT_TIME_SECONDS * MILLISECS_PER_SEC;
91 while (System.currentTimeMillis() < waitTime) {
98 mBinder.wait(waitTime - System.currentTimeMillis());
  /packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
TaskQueue.java 121 long waitTime = task.getReadyInMilliSeconds();
122 if (waitTime < readyToleranceMillis) {
125 if (minimalWaitTime == null || waitTime < minimalWaitTime) {
126 minimalWaitTime = waitTime;
  /development/tools/hosttestlib/src/com/android/hosttest/
DeviceConnector.java 97 public IDevice waitForDevice(long waitTime) {
101 wait(waitTime);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DataProfileTest.java 95 assertEquals(mApn1.waitTime, dp.waitTime);
  /cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
MetadataReporterTest.java 117 private void runTests(long waitTime) {
120 RunUtil.getDefault().sleep(waitTime);
125 RunUtil.getDefault().sleep(waitTime);
130 RunUtil.getDefault().sleep(waitTime);
136 RunUtil.getDefault().sleep(waitTime);
  /system/libfmq/
EventFlag.cpp 257 void EventFlag::addNanosecondsToCurrentTime(int64_t nanoSeconds, struct timespec* waitTime) {
260 clock_gettime(CLOCK_MONOTONIC, waitTime);
261 waitTime->tv_sec += nanoSeconds / kNanosPerSecond;
262 waitTime->tv_nsec += nanoSeconds % kNanosPerSecond;
264 if (waitTime->tv_nsec >= kNanosPerSecond) {
265 waitTime->tv_sec++;
266 waitTime->tv_nsec -= kNanosPerSecond;
  /frameworks/base/core/java/android/app/
QueuedWork.java 196 long waitTime = System.currentTimeMillis() - startTime;
198 if (waitTime > 0 || hadMessages) {
199 mWaitTimes.add(Long.valueOf(waitTime).intValue());
202 if (DEBUG || mNumWaits % 1024 == 0 || waitTime > MAX_WAIT_TIME_MILLIS) {
  /packages/services/Mms/src/com/android/mms/service/
MmsNetworkManager.java 158 long waitTime = NETWORK_ACQUIRE_TIMEOUT_MILLIS;
159 while (waitTime > 0) {
161 this.wait(waitTime);
170 waitTime = shouldEnd - SystemClock.elapsedRealtime();
  /cts/hostsidetests/os/src/android/os/cts/
ProcfsHostTests.java 133 long waitTime = 0;
134 while (waitTime < UPDATE_MAX_WAIT_TIME_MS) {
136 waitTime += UPDATE_READ_INTERVAL_MS;
  /frameworks/rs/
rsThreadIO.cpp 125 int waitTime = -1;
127 int pr = poll(p, pollCount, waitTime);
161 waitTime = 0;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
SettingsStorageService.java 191 long waitTime = minTime - System.currentTimeMillis();
192 while (waitTime > 0) {
194 Thread.sleep(waitTime);
198 waitTime = minTime - System.currentTimeMillis();
  /frameworks/base/core/tests/coretests/src/android/content/pm/
AppCacheTest.java 470 long waitTime = 0;
471 while(!observer.isDone() || (waitTime > MAX_WAIT_TIME)) {
473 waitTime += WAIT_TIME_INCR;
496 long waitTime = 0;
497 while(!observer.isDone() || (waitTime > MAX_WAIT_TIME)) {
499 waitTime += WAIT_TIME_INCR;
521 long waitTime = 0;
522 while(!r.isDone() && (waitTime < MAX_WAIT_TIME)) {
524 waitTime += WAIT_TIME_INCR;
576 long waitTime = 0
    [all...]

Completed in 1468 milliseconds

1 2 3 4