Home
last modified time | relevance | path

Searched refs:timeMillis (Results 1 – 13 of 13) sorted by relevance

/frameworks/ex/common/tests/src/com/android/common/
DOperationSchedulerTest.java31 public long timeMillis = DEFAULT_TIME; field in OperationSchedulerTest.TimeTravelScheduler
34 protected long currentTimeMillis() { return timeMillis; } in currentTimeMillis()
52 long beforeTrigger = scheduler.timeMillis; in testScheduler()
69 long beforeError = (scheduler.timeMillis += 100); in testScheduler()
79 beforeError = (scheduler.timeMillis += 100); in testScheduler()
100 long beforeSuccess = (scheduler.timeMillis += 100); in testScheduler()
133 long beforeError = (scheduler.timeMillis += 10); in testExponentialBackoff()
140 beforeError = (scheduler.timeMillis += 10); in testExponentialBackoff()
146 beforeError = (scheduler.timeMillis += 10); in testExponentialBackoff()
152 beforeError = (scheduler.timeMillis += 10); in testExponentialBackoff()
[all …]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerDialog.java60 long timeMillis = 0; in onCreateView() local
64 timeMillis = b.getLong(BUNDLE_START_TIME_MILLIS); in onCreateView()
72 mView = new TimeZonePickerView(getActivity(), null, timeZone, timeMillis, this, in onCreateView()
DTimeZonePickerUtils.java82 private CharSequence buildGmtDisplayName(TimeZone tz, long timeMillis, boolean grayGmt) { in buildGmtDisplayName() argument
84 time.set(timeMillis); in buildGmtDisplayName()
92 final int gmtOffset = tz.getOffset(timeMillis); in buildGmtDisplayName()
DTimeZoneData.java66 public TimeZoneData(Context context, String defaultTimeZoneId, long timeMillis) { in TimeZoneData() argument
72 if (timeMillis == 0) { in TimeZoneData()
75 mTimeMillis = timeMillis; in TimeZoneData()
90 public void setTime(long timeMillis) { in setTime() argument
91 mTimeMillis = timeMillis; in setTime()
DTimeZonePickerView.java56 String timeZone, long timeMillis, OnTimeZoneSetListener l, in TimeZonePickerView() argument
66 TimeZoneData tzd = new TimeZoneData(mContext, timeZone, timeMillis); in TimeZonePickerView()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java283 private static TwilightState calculateTwilightState(Location location, long timeMillis) { in calculateTwilightState() argument
292 noon.setTimeInMillis(timeMillis); in calculateTwilightState()
302 if (sunsetTimeMillis < timeMillis) { in calculateTwilightState()
306 } else if (sunriseTimeMillis > timeMillis) { in calculateTwilightState()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelWakelockReaderTest.java42 public ProcFileBuilder addLine(String name, int count, long timeMillis) { in addLine() argument
45 .append(timeMillis).append("\t0\t0\t0\n"); in addLine()
/frameworks/base/core/java/android/app/
DIActivityController.aidl48 long timeMillis, String stackTrace); in appCrashed() argument
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java312 long timeMillis = System.currentTimeMillis(); in crashApplicationInner() local
330 timeMillis)) { in crashApplicationInner()
410 appErrorIntent = createAppErrorIntentLocked(r, timeMillis, crashInfo); in crashApplicationInner()
432 String stackTrace, long timeMillis) { in handleAppCrashInActivityController() argument
442 shortMsg, longMsg, timeMillis, crashInfo.stackTrace)) { in handleAppCrashInActivityController()
526 long timeMillis, ApplicationErrorReport.CrashInfo crashInfo) { in createAppErrorIntentLocked() argument
527 ApplicationErrorReport report = createAppErrorReportLocked(r, timeMillis, crashInfo); in createAppErrorIntentLocked()
539 long timeMillis, ApplicationErrorReport.CrashInfo crashInfo) { in createAppErrorReportLocked() argument
552 report.time = timeMillis; in createAppErrorReportLocked()
/frameworks/base/core/java/android/hardware/
DGeomagneticField.java138 long timeMillis) { in GeomagneticField() argument
188 (timeMillis - BASE_TIME) / (365f * 24f * 60f * 60f * 1000f); in GeomagneticField()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java101 long timeMillis, String stackTrace) throws RemoteException { in appCrashed() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java573 private boolean shouldSkipConnectionAttempt(Long timeMillis) { in shouldSkipConnectionAttempt() argument
578 if ((timeMillis - connectionAttemptTimeMillis) in shouldSkipConnectionAttempt()
593 private void noteConnectionAttempt(Long timeMillis) { in noteConnectionAttempt() argument
594 mConnectionAttemptTimeStamps.addLast(timeMillis); in noteConnectionAttempt()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java1318 long timeMillis, String stackTrace) {
1325 System.out.println("timeMillis: " + timeMillis);