/frameworks/base/services/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 81 static void android_server_AlarmManagerService_set(JNIEnv* env, jobject obj, jint fd, jint type, jlong seconds, jlong nanoseconds) argument 85 ts.tv_sec = seconds; 91 LOGE("Unable to set alarm to %lld.%09lld: %s\n", seconds, nanoseconds, strerror(errno));
|
/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/base/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/base/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/libstagefright/ |
H A D | HTTPStream.cpp | 489 void HTTPStream::setReceiveTimeout(int seconds) { argument 490 if (seconds < 0) { 492 seconds = 0; 497 tv.tv_sec = seconds;
|
/frameworks/base/services/java/com/android/server/ |
H A D | AlarmManagerService.java | 519 private native void set(int fd, int type, long seconds, long nanoseconds); argument 547 + " now: " + now + " delay (in seconds): "
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 420 * @param minResolution the minimum timespan to report. For example, a time 3 seconds in the 441 * 3 seconds in the past will be reported as "0 minutes ago" if 543 * when showing relative times. For example, a time 3 seconds in 651 * @param elapsedSeconds the elapsed time in seconds. 662 * @param elapsedSeconds the elapsed time in seconds. 669 long seconds = 0; 679 seconds = elapsedSeconds; 683 return formatElapsedTime(recycle, sElapsedFormatHMMSS, hours, minutes, seconds); 685 return formatElapsedTime(recycle, sElapsedFormatMMSS, minutes, seconds); 693 long minutes, long seconds) { 692 formatElapsedTime(StringBuilder recycle, String format, long hours, long minutes, long seconds) argument 725 formatElapsedTime(StringBuilder recycle, String format, long minutes, long seconds) argument [all...] |
/frameworks/base/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 359 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds 394 } else if (durationUs >= 10000000) { // 10 seconds 405 // If seconds < 0, only the first frame is I frame, and rest are all P frames 406 // If seconds == 0, all frames are encoded as I frames. No P frames 407 // If seconds > 0, it is the time spacing (seconds) between 2 neighboring I frames 408 status_t StagefrightRecorder::setParamVideoIFramesInterval(int32_t seconds) { argument 409 LOGV("setParamVideoIFramesInterval: %d seconds", seconds); 410 mIFramesIntervalSec = seconds; 560 int32_t seconds; local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 865 private final static void formatTimeRaw(StringBuilder out, long seconds) { argument 866 long days = seconds / (60 * 60 * 24); 873 long hours = (seconds - used) / (60 * 60); 880 long mins = (seconds-used) / 60; 887 if (seconds != 0 || used != 0) { 888 out.append(seconds-used);
|