/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | Duration.java | 27 * 70 seconds. 36 public int seconds; field in class:Duration 54 seconds = 0; 112 seconds = n; 138 cal.add(Calendar.SECOND, sign*seconds); 151 + seconds);
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
H A D | DurationTest.java | 28 int minutes, int seconds) throws DateException { 38 assertEquals("Duration seconds is not equal for " + str, seconds, duration.seconds); 26 verifyDuration(String str, int sign, int weeks, int days, int hours, int minutes, int seconds) argument
|
/frameworks/av/media/mtp/ |
H A D | MtpUtils.cpp | 71 void formatDateTime(time_t seconds, char* buffer, int bufferLength) { argument 74 localtime_r(&seconds, &tm);
|
/frameworks/av/media/libaaudio/examples/utils/ |
H A D | SineGenerator.h | 33 void setSweep(double frequencyLow, double frequencyHigh, double seconds) { argument 37 double numFrames = seconds * mFrameRate;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vop.cpp | 26 PV_STATUS EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds); 276 PV_STATUS EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds) argument 288 tmpvar = seconds / 3600; 291 tmpvar = (seconds - tmpvar * 3600) / 60; 296 tmpvar = seconds % 60;
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 396 // convert from seconds to DateTime 468 private native String format_date_time(long seconds); argument
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) / local 152 short sampleLeft = sin(seconds * M_PI_2 * hzLeft) * 32767.0; 153 short sampleRight = sin(seconds * M_PI_2 * hzRight) * 32767.0; 177 if (seconds >= 1.0f)
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 388 static void android_server_AlarmManagerService_set(JNIEnv*, jobject, jlong nativeData, jint type, jlong seconds, jlong nanoseconds) argument 392 ts.tv_sec = seconds; 399 static_cast<long long>(seconds),
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | LoggingItemAnimator.java | 136 public void waitForPendingAnimationsCall(int seconds) throws InterruptedException { argument 137 mWaitForPendingAnimations.await(seconds, TimeUnit.SECONDS);
|
H A D | AsyncListUtilLayoutTest.java | 324 public void waitForLayout(int seconds) throws Throwable { argument 325 mLayoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS);
|
H A D | BaseGridLayoutManagerTest.java | 261 public void waitForLayout(int seconds) throws Throwable { argument 262 mLayoutLatch.await(seconds * (DEBUG ? 1000 : 1), SECONDS); 278 public void waitForPrefetch(int seconds) throws Throwable { argument 279 prefetchLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); 307 public void waitForSnap(int seconds) throws Throwable { argument 308 snapLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS);
|
H A D | DefaultItemAnimatorTest.java | 132 void runAndWait(int itemCount, int seconds) throws Throwable { argument 133 runAndWait(itemCount, seconds, null); 136 void runAndWait(int itemCount, int seconds, final ThrowingRunnable postRun) throws Throwable { argument 150 waitForItems(itemCount, seconds); 154 void waitForItems(int itemCount, int seconds) throws InterruptedException { argument 156 mExpectedItemCount.tryAcquire(itemCount, seconds, TimeUnit.SECONDS));
|
H A D | BaseLinearLayoutManagerTest.java | 394 public void waitForLayout(int seconds) throws Throwable { argument 395 layoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); 418 public void waitForPrefetch(int seconds) throws Throwable { argument 419 prefetchLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); 447 public void waitForSnap(int seconds) throws Throwable { argument 448 snapLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS);
|
H A D | BaseStaggeredGridLayoutManagerTest.java | 494 public void waitForLayout(int seconds) throws Throwable { argument 495 layoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); 511 public void waitForPrefetch(int seconds) throws Throwable { argument 512 prefetchLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); 540 public void waitForSnap(int seconds) throws Throwable { argument 541 mSnapLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS);
|
H A D | BaseRecyclerViewInstrumentationTest.java | 281 void waitForAnimations(int seconds) throws Throwable { argument 296 assertTrue("animations didn't finish on expected time of " + seconds + " seconds", 297 latch.await(seconds, TimeUnit.SECONDS)); 321 assertTrue("should go idle in 10 seconds", latch.await(10, TimeUnit.SECONDS)); 489 assertThat("should be able to scroll in 10 seconds", !assertArrival || 569 public void waitForLayout(int seconds) throws Throwable { argument 570 layoutLatch.await(seconds * (mDebug ? 1000 : 1), SECONDS);
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | KeyProtection.java | 399 * Gets the duration of time (seconds) for which this key is authorized to be used after the 406 * @return duration in seconds or {@code -1} if authentication is required for every use of the 722 * Sets the duration of time (seconds) for which this key is authorized to be used after the 748 * @param seconds duration in seconds or {@code -1} if user authentication must take place 758 @IntRange(from = -1) int seconds) { 759 if (seconds < -1) { 760 throw new IllegalArgumentException("seconds must be -1 or larger"); 762 mUserAuthenticationValidityDurationSeconds = seconds; 757 setUserAuthenticationValidityDurationSeconds( @ntRangefrom = -1) int seconds) argument
|
H A D | KeyGenParameterSpec.java | 544 * Gets the duration of time (seconds) for which this key is authorized to be used after the 551 * @return duration in seconds or {@code -1} if authentication is required for every use of the 1008 * Sets the duration of time (seconds) for which this key is authorized to be used after the 1034 * @param seconds duration in seconds or {@code -1} if user authentication must take place 1044 @IntRange(from = -1) int seconds) { 1045 if (seconds < -1) { 1046 throw new IllegalArgumentException("seconds must be -1 or larger"); 1048 mUserAuthenticationValidityDurationSeconds = seconds; 1043 setUserAuthenticationValidityDurationSeconds( @ntRangefrom = -1) int seconds) argument
|
/frameworks/native/libs/vr/libpdx/ |
H A D | encoder_performance_test.cpp | 347 auto seconds = local 351 double qps = iteration_count / seconds.count(); 353 << std::setw(time_column_width) << seconds.count() 369 auto seconds = local 374 double qps = iteration_count / seconds.count(); 376 << std::setw(time_column_width) << seconds.count()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PlaybackControlsPresenter.java | 159 long seconds = currentTimeMs / 1000; 162 formatTime(seconds, mCurrentTimeStringBuilder); 188 static void formatTime(long seconds, StringBuilder sb) { argument 189 long minutes = seconds / 60; 191 seconds -= minutes * 60; 202 if (seconds < 10) { 205 sb.append(seconds);
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 1257 android_mtp_MtpPropertyGroup_format_date_time(JNIEnv *env, jobject /*thiz*/, jlong seconds) argument 1260 formatDateTime(seconds, date, sizeof(date));
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 553 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds 594 } else if (durationUs >= 10000000) { // 10 seconds 605 // If seconds < 0, only the first frame is I frame, and rest are all P frames 606 // If seconds == 0, all frames are encoded as I frames. No P frames 607 // If seconds > 0, it is the time spacing (seconds) between 2 neighboring I frames 608 status_t StagefrightRecorder::setParamVideoIFramesInterval(int32_t seconds) { argument 609 ALOGV("setParamVideoIFramesInterval: %d seconds", seconds); 610 mIFramesIntervalSec = seconds; 814 int32_t seconds; local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | AlarmManagerService.java | 714 // with a minimum delay/interval of 10 seconds, under which we will simply not 1091 // seconds when the API expects milliseconds. 1096 + " seconds"); 2144 private native void set(long nativeData, int type, long seconds, long nanoseconds); argument
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 2622 private final static void formatTimeRaw(StringBuilder out, long seconds) { argument 2623 long days = seconds / (60 * 60 * 24); 2630 long hours = (seconds - used) / (60 * 60); 2637 long mins = (seconds-used) / 60; 2644 if (seconds != 0 || used != 0) { 2645 out.append(seconds-used);
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |