/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.traits/time.traits.specializations/ |
time_point.pass.cpp | 34 test<std::chrono::duration<int, std::ratio<1, 100> >, 35 std::chrono::duration<long, std::ratio<1, 1000> >, 36 std::chrono::duration<long, std::ratio<1, 1000> > >(); 37 test<std::chrono::duration<long, std::ratio<1, 100> >, 38 std::chrono::duration<int, std::ratio<1, 1000> >, 39 std::chrono::duration<long, std::ratio<1, 1000> > >(); 40 test<std::chrono::duration<char, std::ratio<1, 30> >, 41 std::chrono::duration<short, std::ratio<1, 1000> >, 42 std::chrono::duration<int, std::ratio<1, 3000> > >(); 43 test<std::chrono::duration<double, std::ratio<21, 1> > [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/animation/ |
DrawableCrossFadeFactory.java | 25 private final int duration; field in class:DrawableCrossFadeFactory 32 public DrawableCrossFadeFactory(int duration) { 33 this(new ViewAnimationFactory<T>(new DefaultAnimationFactory()), duration); 36 public DrawableCrossFadeFactory(Context context, int defaultAnimationId, int duration) { 37 this(new ViewAnimationFactory<T>(context, defaultAnimationId), duration); 40 public DrawableCrossFadeFactory(Animation defaultAnimation, int duration) { 41 this(new ViewAnimationFactory<T>(defaultAnimation), duration); 44 DrawableCrossFadeFactory(ViewAnimationFactory<T> animationFactory, int duration) { 46 this.duration = duration; [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
GcLogMessage.java | 38 private final ShortDuration duration; field in class:GcLogMessage 40 GcLogMessage(Type type, ShortDuration duration) { 42 this.duration = checkNotNull(duration); 49 public ShortDuration duration() { method in class:GcLogMessage 50 return duration; 60 return Objects.hashCode(type, duration); 70 && this.duration.equals(that.duration); 80 .add("duration", duration [all...] |
/external/autotest/client/site_tests/audio_Aplay/ |
audio_Aplay.py | 19 def _play_audio(duration=1): 50 @param duration: Duration supplied to aplay. 58 '-d %d' % duration, 65 def _check_play(duration, expected): 70 @param duration: Duration supplied to aplay. 75 results = _play_audio(duration) 90 def run_once(self, duration=1): 93 @param duration: the duration to run aplay in seconds [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ToneSettings.java | 27 public Duration duration; field in class:ToneSettings 31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) { 32 this.duration = duration; 38 duration = in.readParcelable(null); 50 dest.writeParcelable(duration, 0);
|
/system/chre/core/tests/ |
audio_request_manager_test.cc | 25 Nanoseconds duration = local 27 EXPECT_EQ(duration.toRawNanoseconds(), 500000000); 31 Nanoseconds duration = local 33 EXPECT_EQ(duration.toRawNanoseconds(), 1000000000); 37 Nanoseconds duration = local 39 EXPECT_EQ(duration.toRawNanoseconds(), 100000000000);
|
/external/autotest/server/site_tests/hardware_StorageQualSuspendStress/ |
hardware_StorageQualSuspendStress.py | 15 def run_once(self, client_ip, duration): 20 duration=%d, init_delay=10, min_suspend=7, min_resume=30, 24 tag='qual_suspend')])""" % (duration, duration)
|
/external/autotest/server/site_tests/hardware_StorageQualTrimStress/ |
hardware_StorageQualTrimStress.py | 13 def run_once(self, client_ip, duration): 18 duration=%d, init_delay=10, min_suspend=7, min_resume=30, 22 tag='qual_trim')])""" % (duration, duration)
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/ |
StressTest.java | 46 float duration = (time2 - time1) / 1000000; local 47 System.out.println("Init was " + duration + " ms."); 53 duration = (time2 - time1) / 1000000; 54 System.out.println("\nSingle load was " + duration + " ms."); 65 duration = ((time2 - time1) / 1000000) / (float) number; 66 System.out.println("Duration for r=" + number + " was " + duration + " ms/load."); 68 if (duration > 3) { 69 System.err.println("!!!!!! Too long. Expected <1 but was " + duration); 71 // assertTrue("duration=" + duration, duration < 3) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
SpeedClassifier.java | 36 float duration = (float) stroke.getDurationNanos() / NANOS_TO_SECONDS; local 37 if (duration == 0.0f) { 40 return SpeedEvaluator.evaluate(stroke.getTotalLength() / duration);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
PeriodFormatter.java | 11 package android.icu.impl.duration;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
PeriodFormatter.java | 10 package com.ibm.icu.impl.duration;
|
/external/libcxx/test/std/utilities/time/time.clock/time.clock.hires/ |
consistency.pass.cpp | 33 static_assert((std::is_same<C::rep, C::duration::rep>::value), ""); 34 static_assert((std::is_same<C::period, C::duration::period>::value), ""); 35 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
|
/external/libcxx/test/std/utilities/time/time.clock/time.clock.steady/ |
consistency.pass.cpp | 35 static_assert((std::is_same<C::rep, C::duration::rep>::value), ""); 36 static_assert((std::is_same<C::period, C::duration::period>::value), ""); 37 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
|
/external/libcxx/test/std/utilities/time/time.clock/time.clock.system/ |
consistency.pass.cpp | 33 static_assert((std::is_same<C::rep, C::duration::rep>::value), ""); 34 static_assert((std::is_same<C::period, C::duration::period>::value), ""); 35 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
|
/external/libcxx/test/std/utilities/time/time.duration/ |
duration.fail.cpp | 12 // duration 14 // If a program instantiates duration with a duration type for the template 21 typedef std::chrono::duration<std::chrono::milliseconds> D;
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cons/ |
rep.pass.cpp | 12 // duration 15 // explicit duration(const Rep2& r); 37 test<std::chrono::duration<int> >(5); 38 test<std::chrono::duration<int, std::ratio<3, 2> > >(5); 39 test<std::chrono::duration<Rep, std::ratio<3, 2> > >(Rep(3)); 40 test<std::chrono::duration<double, std::ratio<2, 3> > >(5.5);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SysUIToast.java | 22 import static android.widget.Toast.Duration; 26 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) { 27 return makeText(context, context.getString(resId), duration); 30 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { 31 Toast toast = Toast.makeText(context, text, duration);
|
/packages/apps/Stk/src/com/android/stk/ |
StkApp.java | 21 import com.android.internal.telephony.cat.Duration; 48 * This function calculate the time in MS from a duration instance. 49 * returns zero when duration is null. 51 public static int calculateDurationInMilis(Duration duration) { 53 if (duration != null) { 54 switch (duration.timeUnit) { 66 timeout *= duration.timeInterval;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.clock/time.clock.hires/ |
consistency.pass.cpp | 33 static_assert((std::is_same<C::rep, C::duration::rep>::value), ""); 34 static_assert((std::is_same<C::period, C::duration::period>::value), ""); 35 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.clock/time.clock.steady/ |
consistency.pass.cpp | 35 static_assert((std::is_same<C::rep, C::duration::rep>::value), ""); 36 static_assert((std::is_same<C::period, C::duration::period>::value), ""); 37 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.clock/time.clock.system/ |
consistency.pass.cpp | 33 static_assert((std::is_same<C::rep, C::duration::rep>::value), ""); 34 static_assert((std::is_same<C::period, C::duration::period>::value), ""); 35 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/ |
duration.fail.cpp | 12 // duration 14 // If a program instantiates duration with a duration type for the template 21 typedef std::chrono::duration<std::chrono::milliseconds> D;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.cons/ |
rep.pass.cpp | 12 // duration 15 // explicit duration(const Rep2& r); 37 test<std::chrono::duration<int> >(5); 38 test<std::chrono::duration<int, std::ratio<3, 2> > >(5); 39 test<std::chrono::duration<Rep, std::ratio<3, 2> > >(Rep(3)); 40 test<std::chrono::duration<double, std::ratio<2, 3> > >(5.5);
|
/system/core/adb/sysdeps/ |
chrono.h | 33 constexpr std::chrono::duration<long double> operator"" s(long double s) { 34 return std::chrono::duration<long double>(s); 41 constexpr std::chrono::duration<long double, std::milli> operator"" ms(long double ms) { 42 return std::chrono::duration<long double, std::milli>(ms);
|