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

<<21222324252627282930>>

  /development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/service/
MyJobService.java 71 // The work that this service "does" is simply wait for a certain duration and finish
76 long duration = params.getExtras().getLong(WORK_DURATION_KEY); local
86 }, duration);
  /development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
PlaylistItem.java 66 public void setDuration(long duration) {
67 mContentDuration = duration;
  /external/autotest/site_utils/
cleanup_tko_db.py 78 duration = time.time() - start_time
79 logging.info('Cleanup attempt finished in %s seconds.', duration)
  /external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
CacheBuilder.java 377 * Specifies that each entry should be automatically removed from the cache once a fixed duration
380 * <p>When {@code duration} is zero, this method hands off to
389 * @param duration the length of time after an entry is created that it should be automatically
391 * @param unit the unit that {@code duration} is expressed in
392 * @throws IllegalArgumentException if {@code duration} is negative
395 public CacheBuilder<K, V> expireAfterWrite(long duration, TimeUnit unit) {
398 checkArgument(duration >= 0, "duration cannot be negative: %s %s", duration, unit);
399 this.expireAfterWriteNanos = unit.toNanos(duration);
    [all...]
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex.pass.cpp 34 typedef Clock::duration duration; typedef
mutex_duration.pass.cpp 20 // shared_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time);
34 typedef Clock::duration duration; typedef
mutex_time_point.pass.cpp 19 // template <class Clock, class Duration>
20 // shared_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
34 typedef Clock::duration duration; typedef
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock_shared_for.pass.cpp 20 // bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
34 typedef Clock::duration duration; typedef
try_lock_shared_until.pass.cpp 19 // template <class Clock, class Duration>
20 // bool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time);
34 typedef Clock::duration duration; typedef
  /external/libxcam/wrapper/gstreamer/
gstxcamsrc.h 37 #define GST_XCAM_SRC_FRMAE_DURATION(src) ((GST_XCAM_SRC_CAST(src))->duration)
108 GstClockTime duration; member in struct:_GstXCamSrc
  /external/nanohttpd/websocket/src/test/java/fi/iki/elonen/samples/echo/
SimpleEchoSocket.java 65 public boolean awaitClose(int duration, TimeUnit unit) throws InterruptedException {
66 return this.closeLatch.await(duration, unit);
  /external/nist-sip/java/gov/nist/javax/sip/parser/
RetryAfterParser.java 100 if (value.equalsIgnoreCase("duration")) {
105 int duration = Integer.parseInt(value); local
106 retryAfter.setDuration(duration);
  /external/replicaisland/src/com/replica/replicaisland/
AttackAtDistanceComponent.java 79 public void setupAttack(float distance, float delay, float duration, boolean requireFacing) {
82 mAttackLength = duration;
PopOutComponent.java 109 public void setupAttack(float distance, float delay, float duration) {
112 mAttackLength = duration;
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowRenderNodeAnimator.java 110 long duration = realObject.getDuration();
112 if (curTime >= duration) {
  /external/skia/src/codec/
SkFrameHolder.h 111 * Set the duration (in ms) to show this frame.
113 void setDuration(int duration) {
114 fDuration = duration;
118 * Duration in ms to show this frame.
  /external/skqp/src/codec/
SkFrameHolder.h 111 * Set the duration (in ms) to show this frame.
113 void setDuration(int duration) {
114 fDuration = duration;
118 * Duration in ms to show this frame.
  /external/tensorflow/tensorflow/core/platform/profile_utils/
cpu_utils.cc 59 /* static */ std::chrono::duration<double> CpuUtils::ConvertClockCycleToTime(
61 return std::chrono::duration<double>(static_cast<double>(clock_cycle) /
  /frameworks/av/services/camera/libcameraservice/utils/
LatencyHistogram.cpp 34 nsecs_t duration = end - start; local
35 int32_t durationMs = static_cast<int32_t>(duration / 1000000LL);
  /frameworks/base/core/java/android/bluetooth/le/
AdvertisingSet.java 65 * @param duration advertising duration, in 10ms unit. Valid range is from 1 (10ms) to 65535
69 * duration has not expired. Valid range is from 1 to 255.
71 public void enableAdvertising(boolean enable, int duration,
74 mGatt.enableAdvertisingSet(mAdvertiserId, enable, duration,
  /frameworks/base/core/java/android/os/
IDeviceIdleController.aidl 42 void addPowerSaveTempWhitelistApp(String name, long duration, int userId, String reason);
  /frameworks/base/core/java/android/view/
RenderNodeAnimator.java 167 long duration = nGetDuration(mNativePtr.get()); local
168 ni = FallbackLUTInterpolator.createNativeInterpolator(mInterpolator, duration);
319 public RenderNodeAnimator setDuration(long duration) {
321 if (duration < 0) {
322 throw new IllegalArgumentException("duration must be positive; " + duration);
324 mUnscaledDuration = duration;
325 nSetDuration(mNativePtr.get(), (long) (duration * ValueAnimator.getDurationScale()));
506 private static native void nSetDuration(long nativePtr, long duration);
  /frameworks/ml/nn/runtime/
Callbacks.h 79 * callback object or the time duration from the time the wait_for function
83 * before the time duration expired, std::cv_status::timeout
87 std::cv_status wait_for(const std::chrono::duration<Rep,Period>& timeout_duration);
316 std::cv_status CallbackBase::wait_for(const std::chrono::duration<Rep,Period>& timeout_duration) {
  /frameworks/opt/net/voip/src/java/android/net/sip/
ISipSessionListener.aidl 113 * @param duration duration in second before the registration expires
115 void onRegistrationDone(in ISipSession session, int duration);
  /frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
PlaylistItem.java 70 public void setDuration(long duration) {
71 mContentDuration = duration;

Completed in 771 milliseconds

<<21222324252627282930>>