/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
ElapsedTimer.java | 82 String duration = diffTime(myDurationFormat, startTime, endTime); local 84 return duration; 86 return myMsgFormat.format(new Object[] {duration}); 95 RuleBasedNumberFormat.DURATION);
|
/frameworks/base/core/java/com/android/internal/util/ |
LatencyTracker.java | 157 * @param duration The duration of the action in ms. 159 public static void logAction(int action, int duration) { 160 Log.i(TAG, "action=" + action + " latency=" + duration); 161 EventLog.writeEvent(EventLogTags.SYSUI_LATENCY, action, duration);
|
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
EffectsVideoCapture.java | 77 // Verify result code, result data, and the duration. 83 String duration = retriever.extractMetadata( local 85 assertNotNull(duration); 86 int durationValue = Integer.parseInt(duration); 87 Log.v(TAG, "Video duration is " + durationValue);
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
PlaybackSeekDataProviderSample.java | 31 PlaybackSeekDataProviderSample(long duration, long interval) { 32 int size = (int) (duration / interval) + 1; 35 pos[i] = i * duration / pos.length;
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
ChronoUnit.java | 59 import java.time.Duration; 83 NANOS("Nanos", Duration.ofNanos(1)), 88 MICROS("Micros", Duration.ofNanos(1000)), 93 MILLIS("Millis", Duration.ofNanos(1000_000)), 99 SECONDS("Seconds", Duration.ofSeconds(1)), 104 MINUTES("Minutes", Duration.ofSeconds(60)), 109 HOURS("Hours", Duration.ofSeconds(3600)), 114 HALF_DAYS("HalfDays", Duration.ofSeconds(43200)), 118 * The estimated duration of a day is {@code 24 Hours}. 125 DAYS("Days", Duration.ofSeconds(86400)) 193 private final Duration duration; field in class:ChronoUnit [all...] |
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/ |
WeatherCard.java | 60 long duration = SHOW_ANIMATION_DURATION * DebugUtil.ANIMATION_FACTOR; local 65 .setDuration(duration) 72 .setDuration(duration)
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
BatteryDischargeStatsInfoParser.java | 63 long duration = NumberFormattingUtil.getMs( local 69 totalDuration += duration; 85 projectionDuration += duration;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
ProtocolParamsEmulatorActivity.java | 30 void onApduSequenceComplete(ComponentName component, long duration) {
|
/device/google/marlin/power/ |
power-helper.c | 141 void interaction(int duration, int num_args, int opt_list[]); 173 int duration = 0; local 191 sustained_mode_handle, duration, 207 sustained_mode_handle, duration, 226 vr_mode_handle, duration, 240 int duration = 0; local 260 vr_mode_handle, duration, 277 vr_mode_handle, duration, 296 sustained_mode_handle, duration, 316 int duration = 1500; // 1.5s by defaul local [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractClientConnAdapter.java | 107 /** The duration this is valid for while idle (in ms). */ 108 private volatile long duration; field in class:AbstractClientConnAdapter 126 duration = Long.MAX_VALUE; 137 duration = Long.MAX_VALUE; 360 public void setIdleDuration(long duration, TimeUnit unit) { 361 if(duration > 0) { 362 this.duration = unit.toMillis(duration); 364 this.duration = -1; 371 connManager.releaseConnection(this, duration, TimeUnit.MILLISECONDS) [all...] |
/external/autotest/client/site_tests/audio_Microphone/ |
audio_Microphone.py | 15 DURATION = 3 23 self, filesize, duration, channels, rate, bits=16): 24 expected = duration * channels * (bits / 8) * rate 32 recorded_file.name, duration=DURATION, channels=channels, 36 DURATION, channels, rate, bits) 42 recorded_file.name, duration=DURATION, channels=channels, 46 DURATION, channels, rate)
|
/external/autotest/client/tests/monotonic_time/src/ |
time_test.c | 31 long duration = 0; variable 39 { "duration", required_argument, 0, 'd' }, 49 printf("usage: %s [-hv] [-c <cpu_set>] [-d duration] [-t threshold] " 57 " -d,--duration test duration in seconds (default: infinite)\n" 231 int run_test(cpu_set_t *cpus, long duration, struct test_info *test) 237 struct timespec *timeout = (verbose || duration) ? &ts : NULL; 268 if (duration) { 270 test->name, ncpus, duration); 279 if (duration && rdgtod() > test->start + duration * 1000000 [all...] |
/external/autotest/server/cros/ |
dark_resume_utils.py | 67 def __init__(self, host, duration=0): 96 if duration > 0: 98 logging.info('setting dark_resume_suspend_durations=%d', duration) 100 (duration, TMP_POWER_DIR))
|
/external/google-benchmark/src/ |
timers.h | 40 using FpSeconds = std::chrono::duration<double, std::chrono::seconds::period>;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
PeriodBuilderFactory.java | 11 package android.icu.impl.duration; 39 * set in setUnits). Periods that represent a longer duration than 48 * set in setUnits). Periods that represent a shorter duration than 110 * single largest period less than or equal to the duration. 118 * starting with the largest period less than or equal to the duration. 129 * duration.
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
RecordReader.java | 11 package android.icu.impl.duration.impl;
|
RecordWriter.java | 11 package android.icu.impl.duration.impl;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
PeriodBuilderFactory.java | 10 package com.ibm.icu.impl.duration; 37 * set in setUnits). Periods that represent a longer duration than 46 * set in setUnits). Periods that represent a shorter duration than 108 * single largest period less than or equal to the duration. 116 * starting with the largest period less than or equal to the duration. 127 * duration.
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
RecordReader.java | 10 package com.ibm.icu.impl.duration.impl;
|
RecordWriter.java | 10 package com.ibm.icu.impl.duration.impl;
|
/external/libcxx/utils/google-benchmark/src/ |
timers.h | 40 using FpSeconds = std::chrono::duration<double, std::chrono::seconds::period>;
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/ |
jitter.sh | 7 # Usage: jitter.sh me duration [ sleepmax [ spinmax ] ] 10 # duration: Time to run in seconds. 33 duration=$2 45 if test "$t" -gt "$duration" 70 # Sleep a random duration 78 # Spin a random duration
|
/external/ltp/testcases/kernel/power_management/ |
pm_cpu_consolidation.py | 62 duration=360 65 trigger_ebizzy (options.smt_value, "partial", duration, background, pinned) 123 duration=60 131 trigger_workld( options.smt_value, options.work_ld, options.stress, duration, background, pinned, perf_test)
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
MovieHeaderBox.java | 39 private long duration; field in class:MovieHeaderBox 72 return duration; 109 duration = IsoTypeReader.readUInt64(content); 114 duration = IsoTypeReader.readUInt32(content); 146 result.append("duration=").append(getDuration()); 169 IsoTypeWriter.writeUInt64(byteBuffer, duration); 174 IsoTypeWriter.writeUInt32(byteBuffer, duration); 211 public void setDuration(long duration) { 212 this.duration = duration; [all...] |
TrackHeaderBox.java | 42 private long duration; field in class:TrackHeaderBox 69 return duration; 115 duration = IsoTypeReader.readUInt64(content); 121 duration = IsoTypeReader.readUInt32(content); 144 IsoTypeWriter.writeUInt64(byteBuffer, duration); 150 IsoTypeWriter.writeUInt32(byteBuffer, duration); 174 result.append("duration=").append(getDuration()); 205 public void setDuration(long duration) { 206 this.duration = duration; [all...] |