Searched refs:date (Results 51 - 75 of 92) sorted by relevance

1234

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDocumentaryFilter.java81 Date date = new Date();
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DTwoWayBindingObject.java41 public final ObservableLong date = new ObservableLong(System.currentTimeMillis()); field in class:TwoWayBindingObject
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DDateUtilsTest.java121 Date date = new Date(109, 0, 19, 3, 30, 15);
122 long fixedTime = date.getTime();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DPowerUtil.java148 Date date = Date.from(Instant.ofEpochMilli(roundedTimeOfDayMs));
149 CharSequence timeString = fmt.format(date);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthView.java17 package com.android.datetimepicker.date;
42 import com.android.datetimepicker.date.MonthAdapter.CalendarDay;
571 // If the min / max date are set, only process the click if it's a valid selection.
657 * @return The date that has accessibility focus, or {@code null} if no date
677 * Attempts to restore accessibility focus to the specified date.
679 * @param day The date which should receive focus
680 * @return {@code false} if the date is not valid for this month view, or
681 * {@code true} if the date received focus
798 final CharSequence date
[all...]
H A DDatePickerDialog.java17 package com.android.datetimepicker.date;
41 import com.android.datetimepicker.date.MonthAdapter.CalendarDay;
50 * Dialog allowing users to select a date.
117 * The callback used to indicate the user is done filling in the date.
132 * The callback used to notify other date picker components of a change in selected date.
145 * @param callBack How the parent is notified that the date is set.
385 * Sets the minimal date supported by this DatePicker. Dates before (but not including) the
386 * specified date will be disallowed from being selected.
398 * @return The minimal date supporte
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduComposer.java388 * Append date value into mMessage.
392 protected void appendDateValue(long date) { argument
397 appendLongInteger(date);
577 long date = mPduHeader.getLongInteger(field);
578 if (-1 == date) {
583 appendDateValue(date);
/frameworks/base/core/java/android/security/net/config/
H A DXmlConfigSource.java131 Date date = sdf.parse(expirationDate);
132 if (date == null) {
133 throw new ParserException(parser, "Invalid expiration date in pin-set");
135 expirationTimestampMilis = date.getTime();
137 throw new ParserException(parser, "Invalid expiration date in pin-set", e);
/frameworks/compile/mclinker/include/mcld/LD/
H A DArchive.h43 char date[12]; ///< File date, decimal seconds since Epoch member in struct:mcld::Archive::MemberHeader
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRRuleTest.java48 for (long date : dates) {
49 time.set(date);
62 // Use this date as end of recurrence unlessotherwise specified.
81 * so this is faked by expanding until the endAt date, and then taking limit results.
83 * @param advanceTo The starting date for expansion. dtstartStr is used if null is passed in.
84 * @param endAt The ending date. DEFAULT_END is used if null is passed in.
125 boolean truncate = dtstartStr.length() <= 8; // Just date, not date-time
254 // if UNTIL date does not match start date, the
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTimeZoneLookupHelperTest.java41 /* Arbitrary summer date in the Northern hemisphere. */
43 /* Arbitrary winter date in the Northern hemisphere. */
331 Date date = new Date(time);
332 assertEquals(expectedDstAtTime > 0, timeZone.inDaylightTime(date));
/frameworks/av/media/mtp/
H A DMtpServer.cpp732 char date[20]; local
738 // if object is being edited the database size may be out of date
757 formatDateTime(info.mDateCreated, date, sizeof(date));
758 mData.putString(date); // date created
759 formatDateTime(info.mDateModified, date, sizeof(date));
760 mData.putString(date); // date modifie
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp691 char date[80]; local
698 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&now_));
701 printf("== dumpstate: %s\n", date);
1686 " -d: append date to filename (requires -o)\n"
1715 char date[80]; local
1717 strftime(date, sizeof(date), "%Y/%m/%d %H:%M:%S", localtime(&the_real_now_please_stand_up));
1718 MYLOGD("dumpstate id %d finished around %s (%ld s)\n", ds.id_, date,
2019 char date[8 local
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DGraphicsStatsService.java336 for (File date : mGraphicsStatsDir.listFiles()) {
337 for (File pkg : date.listFiles()) {
H A DDropBoxManagerService.java414 String date = time.format("%Y-%m-%d %H:%M:%S");
418 match = (date.contains(arg) || arg.equals(entry.tag));
424 out.append(date).append(" ").append(entry.tag == null ? "(no tag)" : entry.tag);
762 // (Zero-length/lost files are trimmed by date from mAllFiles.)
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/
H A DGlobalResultsStore.java84 String date = DateFormat.getDateTimeInstance().format(new Date());
93 cv.put("timestamp", date);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java190 Date date = new Date(mTimeMillis);
198 tz.mDisplayName = tz.mTz.getDisplayName(tz.mTz.inDaylightTime(date),
/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterArguments.java278 * Adds a date tag with the provided value.
280 * @throws IllegalArgumentException if {@code tag} is not a date tag or if {@code value} is
285 throw new IllegalArgumentException("Not a date tag: " + tag);
299 * Adds a date tag with the provided value, if the value is not {@code null}. Does nothing if
302 * @throws IllegalArgumentException if {@code tag} is not a date tag or if {@code value} is
307 throw new IllegalArgumentException("Not a date tag: " + tag);
315 * Returns the value of the specified date tag or {@code defaultValue} if the tag is not
318 * @throws IllegalArgumentException if {@code tag} is not a date tag or if the tag's value
324 throw new IllegalArgumentException("Tag is not a date type: " + tag);
330 Date result = ((KeymasterDateArgument) arg).date;
[all...]
/frameworks/rs/
H A Dupdate_rs_prebuilts.sh81 # Build a sample support application to ensure that all the pieces are up to date.
169 DATE=`date +%Y%m%d`
/frameworks/base/core/java/android/widget/
H A DDatePickerSpinnerDelegate.java148 // now set the date to the adjusted one
200 // set the min date giving priority of the minDate over startYear
211 // set the max date giving priority of the maxDate over endYear
222 // initialize to current date
227 // re-order the number spinners to match the current date format
417 // We're in a locale where a date should either be all-numeric, or all-text.
452 * Reorders the spinners according to the date format that is
484 * Parses the given <code>date</code> and in case of success sets the result
487 * @return True if the date was parsed.
489 private boolean parseDate(String date, Calenda argument
[all...]
H A DSimpleMonthView.java1023 final Calendar date = Calendar.getInstance();
1024 date.set(mYear, mMonth, day);
1025 mOnDayClickListener.onDayClick(this, date);
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DEventRecurrence.java159 public void setStartDate(Time date) { argument
160 startDate = date;
H A DRecurrenceSet.java120 for (String date : dateStr.split(RULE_SEPARATOR)) {
121 final long[] parsedDates = parseRecurrenceDates(date);
143 * representing each date/time in the recurrence.
145 * @return The list of date/times.
186 * there was an error, including if the date is out of range.
300 // make sure the time is printed just as a date, if all day.
359 // make sure the time is printed just as a date, if all day.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsHandler.java1188 String date = Long.toString(tracker.getTimestamp());
1193 "date=? AND message_body=?";
1205 new String[]{address, refNumber, count, seqNumber, date, messageBody},
1213 loge("address=" + address + " date=" + date + " messageBody=" +
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp1337 char date[20]; local
1338 formatDateTime(seconds, date, sizeof(date));
1339 return env->NewStringUTF(date);

Completed in 652 milliseconds

1234