/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipConnectionBase.java | 103 long dur; in getDurationMillis() local 105 dur = 0; in getDurationMillis() 107 dur = SystemClock.elapsedRealtime() - mConnectTimeReal; in getDurationMillis() 109 dur = mDuration; in getDurationMillis() 111 if (VDBG) log("getDurationMillis: ret=" + dur); in getDurationMillis() 112 return dur; in getDurationMillis() 117 long dur; in getHoldDurationMillis() local 120 dur = 0; in getHoldDurationMillis() 122 dur = SystemClock.elapsedRealtime() - mHoldingStartTime; in getHoldDurationMillis() 124 if (VDBG) log("getHoldDurationMillis: ret=" + dur); in getHoldDurationMillis() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | MovieImpl.cpp | 54 SkMSec dur = this->duration(); in setTime() local 55 if (time > dur) in setTime() 56 time = dur; in setTime()
|
D | GIFMovie.cpp | 90 SkMSec dur = 0; in onGetInfo() local 92 dur += savedimage_duration(&fGIF->SavedImages[i]); in onGetInfo() 94 info->fDuration = dur; in onGetInfo() 106 SkMSec dur = 0; in onSetTime() local 109 dur += savedimage_duration(&fGIF->SavedImages[i]); in onSetTime() 110 if (dur >= time) in onSetTime()
|
/frameworks/base/core/java/android/view/animation/ |
D | Animation.java | 467 long dur = mDuration + mStartOffset; in restrictDuration() local 468 if (dur > durationMillis) { in restrictDuration() 470 dur = durationMillis; in restrictDuration() 482 || (dur*mRepeatCount) > durationMillis) { in restrictDuration() 485 mRepeatCount = (int)(durationMillis/dur) - 1; in restrictDuration()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimationDrawable.java | 413 public void addFrame(Drawable dr, int dur) { in addFrame() argument 417 mDurations[pos] = dur; in addFrame()
|
/frameworks/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 530 int dur = ANDROID_UNKNOWN_TIME; in android_Player_getDuration() local 532 avp->mAVPlayer->getDurationMsec(&dur); in android_Player_getDuration() 534 if (dur == ANDROID_UNKNOWN_TIME) { in android_Player_getDuration() 537 *pDurMsec = (XAmillisecond)dur; in android_Player_getDuration()
|
/frameworks/base/media/java/android/media/ |
D | TtmlRenderer.java | 457 long dur = 0; in parseNode() local 470 dur = TtmlUtils.parseTimeExpression(value, DEFAULT_FRAMERATE, DEFAULT_SUBFRAMERATE, in parseNode() 482 if (dur > 0) { in parseNode() 487 end = start + dur; in parseNode()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.h | 50 static sp<WebmElement> SegmentInfo(uint64_t scale = 1000000, double dur = 0);
|
D | WebmElement.cpp | 297 sp<WebmElement> WebmElement::SegmentInfo(uint64_t scale, double dur) { in SegmentInfo() argument 300 segmentInfo.push_back(new WebmFloat(kMkvSegmentDuration, dur)); in SegmentInfo()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | protostream_objectsource_test.cc | 984 google::protobuf::Duration* dur = out.mutable_dur(); in TEST_P() local 986 dur->set_seconds(kDurationMinSeconds - 1); in TEST_P() 995 google::protobuf::Duration* dur = out.mutable_dur(); in TEST_P() local 997 dur->set_seconds(kDurationMaxSeconds + 1); in TEST_P()
|
D | protostream_objectwriter_test.cc | 1257 google::protobuf::Duration* dur = duration.mutable_dur(); in TEST_P() local 1258 dur->set_seconds(1448216930); in TEST_P() 1259 dur->set_nanos(132262000); in TEST_P()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/testdata/ |
D | timestamp_duration.proto | 42 google.protobuf.Duration dur = 2; field
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 426 long dur = now - mStartTime; in commitStateTime() local 427 if (dur > 0) { in commitStateTime() 428 mDurations.addDuration(mCurCombinedState, dur); in commitStateTime()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 2357 long dur = SystemClock.uptimeMillis() - si.deliveredTime; in scheduleServiceRestartLocked() local 2358 dur *= 2; in scheduleServiceRestartLocked() 2359 if (minDuration < dur) minDuration = dur; in scheduleServiceRestartLocked() 2360 if (resetTime < dur) resetTime = dur; in scheduleServiceRestartLocked()
|
D | ActivityManagerService.java | 10296 long dur = ass.mTime; in dumpAssociationsLocked() local 10298 dur += now - ass.mStartTime; in dumpAssociationsLocked() 10300 TimeUtils.formatDuration(dur, pw); in dumpAssociationsLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 3347 long dur = nowELAPSED - mNonInteractiveStartTime; in interactiveStateChangedLocked() local 3348 if (dur > mNonInteractiveTime) { in interactiveStateChangedLocked() 3349 mNonInteractiveTime = dur; in interactiveStateChangedLocked()
|