/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; 109 seconds = n; 135 cal.add(Calendar.SECOND, sign*seconds); 148 + 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 | 70 void formatDateTime(time_t seconds, char* buffer, int bufferLength) { argument 73 localtime_r(&seconds, &tm);
|
/frameworks/base/services/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 68 static void android_server_AlarmManagerService_set(JNIEnv* env, jobject obj, jint fd, jint type, jlong seconds, jlong nanoseconds) argument 71 ts.tv_sec = seconds; 77 ALOGE("Unable to set alarm to %lld.%09lld: %s\n", seconds, nanoseconds, strerror(errno));
|
/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/core/jni/ |
H A D | Time.cpp | 83 time_t seconds = mktime_tz(&(this->t), this->timezone); local 84 localtime_tz(&seconds, &(this->t), timezone); 174 time_t seconds; local 175 time(&seconds); 176 localtime_tz(&seconds, &(this->t), this->timezone); 194 time_t seconds = millis / 1000; local 195 localtime_tz(&seconds, &(this->t), this->timezone);
|
/frameworks/native/include/utils/ |
H A D | Timers.h | 34 typedef int64_t nsecs_t; // nano-seconds 73 static inline nsecs_t seconds(nsecs_t v) { return s2ns(v); } function
|
/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/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 386 // convert from seconds to DateTime 447 private native String format_date_time(long seconds); argument
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 352 * @param minResolution the minimum timespan to report. For example, a time 3 seconds in the 373 * 3 seconds in the past will be reported as "0 minutes ago" if 493 * when showing relative times. For example, a time 3 seconds in 612 * @param elapsedSeconds the elapsed time in seconds. 623 * @param elapsedSeconds the elapsed time in seconds. 630 long seconds = 0; 640 seconds = elapsedSeconds; 644 return formatElapsedTime(recycle, sElapsedFormatHMMSS, hours, minutes, seconds); 646 return formatElapsedTime(recycle, sElapsedFormatMMSS, minutes, seconds); 665 long minutes, long seconds) { 664 formatElapsedTime(StringBuilder recycle, String format, long hours, long minutes, long seconds) argument 689 formatElapsedTime(StringBuilder recycle, String format, long minutes, long seconds) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AlarmManagerService.java | 534 private native void set(int fd, int type, long seconds, long nanoseconds); argument 562 + " now: " + now + " delay (in seconds): "
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 1091 android_mtp_MtpPropertyGroup_format_date_time(JNIEnv *env, jobject thiz, jlong seconds) argument 1094 formatDateTime(seconds, date, sizeof(date));
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 388 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds 429 } else if (durationUs >= 10000000) { // 10 seconds 440 // If seconds < 0, only the first frame is I frame, and rest are all P frames 441 // If seconds == 0, all frames are encoded as I frames. No P frames 442 // If seconds > 0, it is the time spacing (seconds) between 2 neighboring I frames 443 status_t StagefrightRecorder::setParamVideoIFramesInterval(int32_t seconds) { argument 444 ALOGV("setParamVideoIFramesInterval: %d seconds", seconds); 445 mIFramesIntervalSec = seconds; 651 int32_t seconds; local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 1031 private final static void formatTimeRaw(StringBuilder out, long seconds) { argument 1032 long days = seconds / (60 * 60 * 24); 1039 long hours = (seconds - used) / (60 * 60); 1046 long mins = (seconds-used) / 60; 1053 if (seconds != 0 || used != 0) { 1054 out.append(seconds-used);
|