/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | Call.java | 118 long time = Long.MAX_VALUE; in getEarliestConnection() local 134 if (t < time) { in getEarliestConnection() 136 time = t; in getEarliestConnection() 146 long time = Long.MAX_VALUE; in getEarliestCreateTime() local 160 time = t < time ? t : time; in getEarliestCreateTime() 163 return time; in getEarliestCreateTime() 168 long time = Long.MAX_VALUE; 181 time = t < time ? t : time; 184 return time; 209 long time = 0; [all …]
|
/frameworks/base/tests/CoreTests/com/android/internal/telephony/ |
D | TelephonyUtilsTest.java | 76 int time = rm.getRetryTimer(); in testRetryManagerSimplest() local 77 assertTrue((time >= 500) && (time < 600)); in testRetryManagerSimplest() 78 if (time == 500) { in testRetryManagerSimplest() 154 int time; 159 time = rm.getRetryTimer(); 160 assertTrue((time >= 1000) && (time < 1100)); 164 time = rm.getRetryTimer(); 165 assertTrue((time >= 2000) && (time < 2200)); 169 time = rm.getRetryTimer(); 170 assertTrue((time >= 3000) && (time < 3100)); [all …]
|
/frameworks/base/core/java/android/server/data/ |
D | BuildData.java | 37 private final long time; // in *seconds* since the epoch (not msec!) field in BuildData 42 this.time = Build.TIME / 1000; // msec -> sec in BuildData() 45 public BuildData(String fingerprint, String incrementalVersion, long time) { in BuildData() argument 48 this.time = time; in BuildData() 59 this.time = in.readLong(); in BuildData() 75 out.writeLong(time); in write() 87 return time; in getTime()
|
D | CrashData.java | 32 final long time; field in CrashData 43 this.time = System.currentTimeMillis(); in CrashData() 53 this.time = System.currentTimeMillis(); in CrashData() 65 this.time = in.readLong(); in CrashData() 86 time = System.currentTimeMillis(); in CrashData() 100 out.writeLong(this.time); in write() 126 return time; in getTime() 141 return "[CrashData: id=" + id + " activity=" + activity + " time=" + time + in toString()
|
/frameworks/base/media/libdrm/mobile2/src/rights/ |
D | Constraint.cpp | 65 bool Constraint::isValid(long time) const in isValid() 74 if (time < mStart || time > mEnd) in isValid() 90 void Constraint::setStartTime(long time) in setStartTime() argument 92 mStart = time; in setStartTime() 102 void Constraint::setEndTime(long time) in setEndTime() argument 104 mEnd = time; in setEndTime() 114 void Constraint::setAccumulated(long time) in setAccumulated() argument 116 mAccumulated = time; in setAccumulated()
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
D | TimeTest.java | 442 Time time = new Time(); in disableTestGetJulianDay() local 452 time.set(0, 0, 0, monthDay, 0, 2008); in disableTestGetJulianDay() 453 time.timezone = mTimeZones[zoneIndex]; in disableTestGetJulianDay() 454 long millis = time.normalize(true); in disableTestGetJulianDay() 456 Log.i("TimeTest", time.format("%B %d, %Y")); in disableTestGetJulianDay() 460 int julianDay = Time.getJulianDay(millis, time.gmtoff); in disableTestGetJulianDay() 466 time.set(0, minute, hour, monthDay, 0, 2008); in disableTestGetJulianDay() 467 millis = time.normalize(true); in disableTestGetJulianDay() 468 int day = Time.getJulianDay(millis, time.gmtoff); in disableTestGetJulianDay() 471 + time.hour + ":" + time.minute in disableTestGetJulianDay() [all …]
|
D | WebkitTest.java | 47 long time = c.getTimeInMillis(); in testDateSorter() local 49 Log.i(LOGTAG, "now: " + dateSorter.getIndex(time)); in testDateSorter() 51 time -= 8 * 60 * 60 * 1000; // 8 hours in testDateSorter() 52 date.setTime(time); in testDateSorter() 54 index = dateSorter.getIndex(time); in testDateSorter()
|
/frameworks/base/media/libdrm/mobile2/include/rights/ |
D | Constraint.h | 51 bool isValid(long time) const; 81 void setStartTime(long time); 93 void setEndTime(long time); 105 void setAccumulated(long time);
|
/frameworks/base/location/java/com/android/internal/location/ |
D | NmeaParser.java | 64 private boolean updateTime(String time) { in updateTime() argument 65 if (time.length() < 6) { in updateTime() 84 hour = Integer.parseInt(time.substring(0, 2)); in updateTime() 85 minute = Integer.parseInt(time.substring(2, 4)); in updateTime() 86 second = Float.parseFloat(time.substring(4, time.length())); in updateTime() 88 Log.e(TAG, "Error parsing timestamp " + time); in updateTime() 152 private boolean updateTime(String time, String date) { in updateTime() argument 156 return updateTime(time); in updateTime() 308 String time = tokens[idx++]; in parseSentence() local 322 updateTime(time); in parseSentence() [all …]
|
/frameworks/base/docs/html/guide/tutorials/views/ |
D | hello-timepicker.jd | 7 user to select the time by hour, minute and AM or PM.</p> 28 android:text="Change the time"/> 33 will display the time and a {@link android.widget.Button} that will initiate the 37 with the current time.</p> 66 // get the current time 76 <p>We start by instantiating variables for our View elements and time fields. 83 <code>updateDisplay()</code>—our own method that will fill the TextView with the time.</p> 99 the TimePicker to the time we retrieved from our Calendar instance. It will be called by 105 // updates the time we display in the TextView 113 <p>This simply takes our member fields for the time and inserts them in [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | PerfChecker.java | 41 long time = upTime - mTime; in responseAlert() local 42 if (time > mResponseThreshold) { in responseAlert() 43 Log.w("webkit", what + " used " + time + " ms"); in responseAlert()
|
D | HTML5VideoViewProxy.java | 119 public static void play(String url, int time, HTML5VideoViewProxy proxy, in play() argument 141 mVideoView.seekTo(time); in play() 153 public static void seek(int time, HTML5VideoViewProxy proxy) { in seek() argument 154 if (mCurrentProxy == proxy && time >= 0 && mVideoView != null) { in seek() 155 mVideoView.seekTo(time); in seek() 218 Integer time = (Integer) msg.obj; in handleMessage() local 219 mSeekPosition = time; in handleMessage() 448 public void seek(int time) { in seek() argument 450 message.obj = new Integer(time); in seek()
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
D | drm_inner.h | 26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ argument 30 hour = time / 10000;\ 31 min = time % 10000 / 100;\ 32 sec = time % 100;\
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 121 long time = ev.getEventTime(); in addMovement() local 127 addPoint(ev.getX(), ev.getY(), time); in addMovement() local 130 private void addPoint(float x, float y, long time) { in addPoint() argument 133 if (localLOGV) Log.v(TAG, "Adding past y=" + y + " time=" + time); in addPoint() 138 } else if (pastTime[i] < time-LONGEST_PAST_TIME) { in addPoint() 162 pastTime[i] = time; in addPoint()
|
/frameworks/base/tools/preload/ |
D | Proc.java | 90 void startOperation(int threadId, LoadedClass loadedClass, long time, in startOperation() argument 93 this, loadedClass, time, operationCount++, type); in startOperation() 117 LoadedClass loadedClass, long time) { in endOperation() argument 133 o.endTimeNanos = time; in endOperation()
|
/frameworks/base/media/libdrm/mobile1/include/parser/ |
D | parser_rel.h | 43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\ argument 45 time = hour * 10000 + min * 100 + sec;\ 55 int32_t time; /**< hour * 10000 + min *100 + sec */ member
|
/frameworks/base/core/java/android/net/http/ |
D | IdleCache.java | 76 long time = SystemClock.uptimeMillis(); in cacheConnection() local 82 entry.mTimeout = time + TIMEOUT; in cacheConnection() 131 long time = SystemClock.uptimeMillis(); in clearIdle() local 134 if (entry.mHost != null && time > entry.mTimeout) { in clearIdle()
|
/frameworks/base/core/java/android/os/ |
D | LocalPowerManager.java | 38 void goToSleep(long time); in goToSleep() argument 47 public void userActivity(long time, boolean noChangeLights, int eventType); in userActivity() argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | TransitionDrawable.java | 135 final long time = SystemClock.uptimeMillis(); in reverseTransition() local 137 if (time - mStartTimeMillis > mDuration) { in reverseTransition() 158 mDuration = (int) (mReverse ? time - mStartTimeMillis : in reverseTransition() 159 mOriginalDuration - (time - mStartTimeMillis)); in reverseTransition()
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_time.c | 28 return time(NULL); in DRM_time_getElapsedSecondsFrom1970() 43 time(&t); in DRM_time_getSysTime()
|
D | drm_api.c | 230 pRights->DisplayConstraint.StartTime.time; in drm_getLicenseInfo() 234 pRights->DisplayConstraint.EndTime.time; in drm_getLicenseInfo() 238 pRights->DisplayConstraint.Interval.time; in drm_getLicenseInfo() 246 pRights->PlayConstraint.StartTime.time; in drm_getLicenseInfo() 250 pRights->PlayConstraint.EndTime.time; in drm_getLicenseInfo() 254 pRights->PlayConstraint.Interval.time; in drm_getLicenseInfo() 263 pRights->ExecuteConstraint.StartTime.time; in drm_getLicenseInfo() 267 pRights->ExecuteConstraint.EndTime.time; in drm_getLicenseInfo() 271 pRights->ExecuteConstraint.Interval.time; in drm_getLicenseInfo() 280 pRights->PrintConstraint.StartTime.time; in drm_getLicenseInfo() [all …]
|
/frameworks/base/media/libstagefright/ |
D | SampleTable.cpp | 484 status_t SampleTable::getDecodingTime(uint32_t sample_index, uint32_t *time) { in getDecodingTime() argument 494 *time = 0; in getDecodingTime() 500 *time += delta * (sample_index - cur_sample); in getDecodingTime() 505 *time += delta * n; in getDecodingTime() 517 uint32_t time = 0; in findClosestSample() local 522 if (req_time < time + n * delta) { in findClosestSample() 523 int j = (req_time - time) / delta; in findClosestSample() 534 time += delta * n; in findClosestSample()
|
/frameworks/base/docs/html/guide/developing/tools/ |
D | traceview.jd | 38 for useful run-time information such 61 stopMethodTracing(), at which time it writes the buffered data to the 117 execution is shown in its own row, with time increasing to the right. Each method 119 with the methods that have the most inclusive time). The thin lines underneath 127 summary of all the time spent in a method. The table shows 129 time). Exclusive time is the time spent in the method. Inclusive time is the 130 time spent in the method plus the time spent in any called functions. We refer 139 long time.</p> 169 * u8 start date/time in usec 174 * u4 time delta since start, in usec [all …]
|
/frameworks/base/test-runner/android/test/ |
D | TestPrinter.java | 68 TestRunner.IntermediateTime time = intermediates.get(i); in performance() local 69 Log.i(mTag, " intermediate: " + time.name + " = " in performance() 70 + time.timeInNS + "ns"); in performance()
|
D | TestLocationProvider.java | 177 long time = SystemClock.uptimeMillis(); in updateLocation() local 178 long multiplier = (time/5000)%500000; in updateLocation() 188 mLocation.setTime(time); in updateLocation()
|