/frameworks/base/services/usage/java/com/android/server/usage/ |
UnixCalendar.java | 28 private long mTime; 31 mTime = time; 35 mTime += val * DAY_IN_MILLIS; 39 mTime += val * WEEK_IN_MILLIS; 43 mTime += val * MONTH_IN_MILLIS; 47 mTime += val * YEAR_IN_MILLIS; 51 mTime = time; 55 return mTime;
|
/packages/apps/Email/tests/src/com/android/email/ |
MockClock.java | 24 public long mTime = DEFAULT_TIME; 28 return mTime; 32 mTime++; 36 mTime += milliseconds;
|
/frameworks/base/core/java/android/os/health/ |
TimerStat.java | 32 private long mTime; 62 mTime = time; 71 mTime = in.readLong(); 86 out.writeLong(mTime); 107 mTime = time; 114 return mTime;
|
/frameworks/base/telephony/java/android/telephony/ |
DataConnectionRealTimeInfo.java | 29 private long mTime; // Time the info was collected since boot in nanos; 48 mTime = time; 58 mTime = Long.MAX_VALUE; 66 mTime = in.readLong(); 74 return mTime; 91 out.writeLong(mTime); 113 result = (prime * result) + mTime; 130 return (mTime == other.mTime) 138 sb.append("mTime=").append(mTime) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
WaveTriggerFilter.java | 33 private float mTime = 0f; 64 mTime = 0.5f; 70 value = -Math.abs(mTime - 1f) + 1f; 71 mTime += 0.2f; 72 if (mTime >= 2f) {
|
/frameworks/av/media/libaudioclient/include/media/ |
AudioTimestamp.h | 29 mTime.tv_sec = 0; 30 mTime.tv_nsec = 0; 34 struct timespec mTime; // corresponding CLOCK_MONOTONIC when frame is expected to present 131 timestamp->mTime.tv_sec = time / 1000000000; 132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AnalogClock.java | 45 mTime = Calendar.getInstance(TimeZone.getTimeZone(tz)); 68 private Calendar mTime; 84 mTime = Calendar.getInstance(); 122 mTime = Calendar.getInstance(mTimeZone != null ? mTimeZone : TimeZone.getDefault()); 140 mTime.setTimeInMillis(System.currentTimeMillis()); 141 final float hourAngle = mTime.get(Calendar.HOUR) * 30f; 143 final float minuteAngle = mTime.get(Calendar.MINUTE) * 6f; 146 final float secondAngle = mTime.get(Calendar.SECOND) * 6f; 149 setContentDescription(DateFormat.format(mDescFormat, mTime)); 155 mTime.setTimeZone(mTimeZone) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
VelocityTrackerTest.java | 48 private long mTime; 57 mTime = 1000; 163 mTime += step; 173 mTime += duration; 177 if (mTime > mLastTime) { 178 MotionEvent ev = MotionEvent.obtain(0L, mTime, MotionEvent.ACTION_MOVE, mPx, mPy, 0); 181 mLastTime = mTime; 189 mTime, mPx, mPy, mVx, mVy, mAx, mAy,
|
/frameworks/base/telecomm/java/android/telecom/ |
TelecomAnalytics.java | 80 private long mTime; 84 this.mTime = time; 89 mTime = in.readLong(); 99 return mTime; 110 out.writeLong(mTime);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
CountdownConditionProvider.java | 54 private long mTime; 90 pw.print(" mTime="); pw.println(mTime); 113 mTime = ZenModeConfig.tryParseCountdownConditionId(conditionId); 123 if (mTime > 0) { 126 DateUtils.getRelativeTimeSpanString(mTime, now, DateUtils.MINUTE_IN_MILLIS); 127 if (mTime <= now) { 129 notifyCondition(newCondition(mTime, mIsAlarm, Condition.STATE_FALSE)); 132 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent); 136 (mTime <= now ? "Not scheduling" : "Scheduling") [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaFragment.java | 60 private final Time mTime; 85 mTime.switchTimezone(mTimeZone); 98 mTime = new Time(); 102 mTime.setToNow(); 104 mTime.set(mInitialTimeMillis); 106 mLastHandledEventTime.set(mTime); 114 mTime.switchTimezone(mTimeZone); 133 mTime.set(prevTime); 135 Log.d(TAG, "Restoring time to " + mTime.toString()); 215 Log.v(TAG, "OnResume to " + mTime.toString()) [all...] |
AgendaListView.java | 51 private Time mTime; 59 mTime.switchTimezone(mTimeZone); 92 mTime = new Time(mTimeZone); 196 startTime = Utils.convertAlldayLocalToUTC(mTime, startTime, mTimeZone); 197 endTime = Utils.convertAlldayLocalToUTC(mTime, endTime, mTimeZone); 199 mTime.set(startTime); 211 time = mTime; 218 mTime.set(time); 219 mTime.switchTimezone(mTimeZone); 220 mTime.normalize(true) [all...] |
/packages/apps/Car/Media/src/com/android/car/media/ |
MetadataController.java | 32 private final TextView mTime; 76 mTime = time; 146 mTime.setVisibility(View.INVISIBLE); 154 if (mTime != null) { 158 mTime.setVisibility(visibility); 159 mTime.setText(time);
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
WaterMeshNode.h | 30 const int mTime;
|
WaterMeshNode.cpp | 20 MeshNode(mesh), mTime(time), mTextureId1(textureId1), mTextureId2(textureId2) { 40 glUniform1i(timeUniformHandle, mTime);
|
/frameworks/base/services/core/java/com/android/server/ |
NetworkTimeUpdateService.java | 77 private final NtpTrustedTime mTime; 103 mTime = NtpTrustedTime.getInstance(context); 168 if (mTime.getCacheAge() >= mPollingIntervalMs) { 170 mTime.forceRefresh(); 173 if (mTime.getCacheAge() < mPollingIntervalMs) { 213 final long skew = Math.abs(mTime.currentTimeMillis() - System.currentTimeMillis()); 220 SystemClock.setCurrentTimeMillis(mTime.currentTimeMillis()); 325 pw.println("NTP cache age: " + mTime.getCacheAge()); 326 pw.println("NTP cache certainty: " + mTime.getCacheCertainty());
|
/system/extras/tests/sdcard/ |
stopwatch.cpp | 81 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); 85 mStart = mData[mDataLen].mTime; // mDataLen should be 0 95 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); 136 long second = mData[i * 2].mTime.tv_sec - mStart.tv_sec; 137 long nano = mData[i * 2].mTime.tv_nsec - mStart.tv_nsec; 172 long second = mData[i + 1].mTime.tv_sec - mData[i].mTime.tv_sec; 173 long nano = mData[i + 1].mTime.tv_nsec - mData[i].mTime.tv_nsec;
|
stopwatch.h | 79 struct timespec mTime;
|
/external/lzma/CPP/7zip/Common/ |
FileStreams.h | 92 STDMETHOD(GetProps)(UInt64 *size, FILETIME *cTime, FILETIME *aTime, FILETIME *mTime, UInt32 *attrib);
135 bool SetTime(const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime)
137 return File.SetTime(cTime, aTime, mTime);
139 bool SetMTime(const FILETIME *mTime) { return File.SetMTime(mTime); }
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FirstFrameAnimatorHelper.java | 73 private long mTime = System.currentTimeMillis(); 78 Log.d("FirstFrameAnimatorHelper", "TICK " + (newTime - mTime)); 79 mTime = newTime;
|
/hardware/qcom/gps/msm8909w_3100/android/ |
GnssDebug.cpp | 95 if (reports.mTime.mValid) { 96 data.time.timeEstimate = reports.mTime.timeEstimate; 97 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; 99 reports.mTime.frequencyUncertaintyNsPerSec;
|
/hardware/qcom/gps/msm8998/android/ |
GnssDebug.cpp | 95 if (reports.mTime.mValid) { 96 data.time.timeEstimate = reports.mTime.timeEstimate; 97 data.time.timeUncertaintyNs = reports.mTime.timeUncertaintyNs; 99 reports.mTime.frequencyUncertaintyNsPerSec;
|
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
Sl4aEventDispatcher.java | 204 private long mTime = 0L; 209 mTime = response.getLong("time"); 221 return mTime; 226 return "EventSl4aObject [mName=" + mName + ", mData=" + mData + ", mTime=" + mTime
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
TouchEventGenerator.java | 61 private long mTime; 211 mTime = mLastEventTime + ms; 215 mTime, 233 mLastEventTime = mTime; 273 mTime = 0L;
|
/frameworks/base/location/java/android/location/ |
Location.java | 126 private long mTime = 0; 167 mTime = l.mTime; 187 mTime = 0; 542 return mTime; 552 mTime = time; [all...] |