HomeSort by relevance Sort by last modified time
    Searched refs:duration (Results 726 - 750 of 2651) sorted by null

<<21222324252627282930>>

  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
GestureDescriptionTest.java 44 fail("Missing exception for stroke with no duration.");
167 fail("Missing exception for adding stroke with duration too long.");
186 int duration = 100; local
190 StrokeDescription strokeDescription = new StrokeDescription(path, start, duration);
199 assertEquals(duration, strokeDescription.getDuration());
  /cts/tests/tests/util/src/android/util/cts/
TimeUtilsTest.java 145 private void assertFormatDuration(String expected, long duration) {
147 TimeUtils.formatDuration(duration, sb);
148 assertEquals("formatDuration(" + duration + ")", expected, sb.toString());
  /cts/tests/tests/view/src/android/view/animation/cts/
LayoutAnimationControllerTest.java 52 /** Duration defined in layout_anim_controller_animation.xml is 1000 */
53 private static final int DURATION = 1000;
60 /** Default max duration of these three children */
175 long maxDuration = (long) (delay * INDEX_OF_CHILD3 * DURATION + DURATION);
187 // child animation delay = child index * delay * animation duration
244 // duration defined in decelerate_alpha.xml is 2000
245 long duration = 2000;
248 long maxDuration = (long) (DEFAULT_DELAY * INDEX_OF_CHILD3 * duration + duration);
450 long duration = 2000; local
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyGetAppFrameRateEvent.java 75 private float getAverageFrameRate(int totalNumberOfFrame, float duration) {
77 if (duration > 0) {
78 avgFrameRate = (totalNumberOfFrame / duration);
MonkeyGetFrameRateEvent.java 67 private float getAverageFrameRate(int totalNumberOfFrame, float duration) {
69 if (duration > 0) {
70 avgFrameRate = (totalNumberOfFrame / duration);
  /device/google/contexthub/firmware/app/chre/common/
chre10_app_syscalls.c 64 uint32_t chreTimerSet(uint64_t duration, const void* cookie, bool oneShot)
66 uint32_t dur_lo = duration;
67 uint32_t dur_hi = duration >> 32;
  /device/google/taimen/
device.mk 125 ro.vibrator.hal.click.duration=10 \
126 ro.vibrator.hal.tick.duration=4 \
127 ro.vibrator.hal.heavyclick.duration=12
  /external/autotest/client/site_tests/audio_CRASFormatConversion/
audio_CRASFormatConversion.py 88 cras_utils.capture(record_file, duration=1, rate=44100)
118 cras_utils.capture(noise_file, duration=1)
131 cras_utils.capture(record_file.name, duration=1, rate=rate)
  /external/autotest/client/site_tests/audio_SeekAudioFeedback/
audio_SeekAudioFeedback.py 31 cras_utils.capture(noise_file, duration=2)
57 recorded_file, duration=test_duration ))
59 loopback_file, duration=test_duration ))
  /external/autotest/client/site_tests/desktopui_MediaAudioFeedback/
desktopui_MediaAudioFeedback.py 28 cras_utils.capture(noise_file, duration=2)
54 recorded_file, duration=test_duration))
56 loopback_file, duration=test_duration))
  /external/autotest/client/site_tests/power_LoadTest/extension/
urls.js 25 duration: minutes(60),
40 duration: minutes(36),
51 duration: minutes(12) - seconds(1),
66 duration: minutes(12),
80 duration: minutes(6),
94 duration: minutes(6),
  /external/autotest/client/site_tests/power_SuspendStress/
power_SuspendStress.py 16 def initialize(self, duration, idle=False, init_delay=0, min_suspend=0,
22 @param duration: total run time of the test
36 precedence over duration.
42 if duration:
43 self._endtime += duration
  /external/autotest/server/site_tests/hardware_StorageStress/
hardware_StorageStress.py 26 def run_once(self, client_ip, gap=_TEST_GAP, duration=_TEST_DURATION,
37 @param duration: duration to run test (second) default = 12 hours
82 # around 1h, duration should be at least 1h.
83 self._soak_time = min(self._TEST_DURATION, duration / 4)
97 while time.time() - start_time < duration:
  /external/autotest/utils/
site_check_dut_usage.py 53 A duration is a 4-tuple containing |queued_time|, |started_time|,
99 duration = self._end_time - self._start_time
101 duration)
121 print 'Total duration ', duration
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
PeriodTest.java 13 package android.icu.dev.test.duration;
20 import android.icu.impl.duration.Period;
21 import android.icu.impl.duration.TimeUnit;
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
PeriodTest.java 12 package com.ibm.icu.dev.test.duration;
19 import com.ibm.icu.impl.duration.Period;
20 import com.ibm.icu.impl.duration.TimeUnit;
  /external/lisa/libs/utils/android/workloads/
vellamo.py 140 System.hswipe(self._target, 10, 80, duration=100, swipe_right=False)
141 System.hswipe(self._target, 10, 80, duration=100, swipe_right=False)
142 System.hswipe(self._target, 10, 80, duration=100, swipe_right=False)
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
AbstractManifestWriter.java 40 * @return the duration of each fragment in track timescale
76 long duration = 0; local
78 duration += entry.getCount() * entry.getDelta();
80 return duration;
  /external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/
cifar10_train.py 102 duration = time.time() - self._start_time
106 examples_per_sec = num_examples_per_step / duration
107 sec_per_batch = float(duration)
  /external/v8/tools/testrunner/local/
perfdata.py 71 """Returns the observed duration for |test| as read from the store."""
78 """Updates the persisted value in the store with test.duration."""
80 self.RawUpdatePerfData(testkey, test.duration)
82 def RawUpdatePerfData(self, testkey, duration):
88 entry.AddResult(duration)
  /external/volley/src/main/java/com/android/volley/
VolleyLog.java 111 /** Minimum duration from first marker to last in an marker log to warrant logging. */
146 long duration = getTotalDuration(); local
147 if (duration <= MIN_DURATION_FOR_LOGGING_MS) {
152 d("(%-4d ms) %s", duration, header);
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
amrnb_enc_test.cpp 72 double duration = 0.0; local
133 duration += finish - start;
149 printf("\n%2.5lf seconds\n", (double)duration/CLOCKS_PER_SEC);
  /frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
BenchmarkState.java 71 private long mPausedDurationNs = 0; // The duration of paused state in nano sec.
82 // Individual duration in nano seconds.
166 final long duration = System.nanoTime() - mStartTimeNs; local
167 if (mIteration >= WARMUP_MIN_ITERATIONS && duration >= WARMUP_DURATION_NS) {
168 beginBenchmark(duration, mIteration);
  /frameworks/base/libs/hwui/
ProfileData.cpp 149 void ProfileData::reportFrame(int64_t duration) {
151 uint32_t framebucket = frameCountIndexForFrameTime(duration);
155 framebucket = (ns2ms(duration) - kSlowFrameBucketStartMs) / kSlowFrameBucketIntervalMs;
  /packages/services/Telephony/src/com/android/phone/
CallLogger.java 60 final long duration = c.getDurationMillis(); local
83 logCall(ci, logNumber, presentation, callLogType, date, duration);
111 long duration) {

Completed in 3527 milliseconds

<<21222324252627282930>>