/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | DateBucket.java | 12 final SimpleDate date; field in DateBucket 18 public DateBucket(SimpleDate date, int unifiedStartIndex, int unifiedEndIndex, in DateBucket() argument 20 this.date = date; in DateBucket() 29 return date.toString(); in toString() 34 return date.hashCode(); in hashCode() 49 if (date == null) { in equals() 50 if (other.date != null) { in equals() 53 } else if (!date.equals(other.date)) { in equals() 61 return this.date.compareTo(another.date); in compareTo()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipAttachmentFormatTest.java | 114 Date date = makeDate(1, 1, 1990, 12, 34, 56); in testParseAttachment() local 125 date, in testParseAttachment() 127 date, in testParseAttachment() 151 date, in testParseAttachment() 153 date, in testParseAttachment() 164 date, in testParseAttachment() 179 date, in testParseAttachment() 259 Date date = makeDate(1, 1, 1990, 12, 34, 56); in testCreateAttachment() local 262 testCreate("text/plain", "ISO-8859-1", "thisisatextfile.txt", 2048, date, date); in testCreateAttachment() 265 testCreate("text/plain", null, "thisisatextfile.txt", 2048, date, date); in testCreateAttachment() [all …]
|
D | BipDatetimeTest.java | 63 private void testParse(String date, Date expectedDate, boolean isUtc, String expectedStr) { in testParse() argument 64 BipDateTime bipDateTime = new BipDateTime(date); in testParse() 70 private void testCreate(Date date, String dateStr) { in testCreate() argument 71 BipDateTime bipDate = new BipDateTime(date); in testCreate() 72 Assert.assertEquals(date, bipDate.getTime()); in testCreate() 232 Date date = makeDate(1, 1, 2000, 6, 1, 15, utc); in testEquals_withSameInfo() local 234 BipDateTime bipDate = new BipDateTime(date); in testEquals_withSameInfo() 235 BipDateTime bipDateEqual = new BipDateTime(date); in testEquals_withSameInfo()
|
/packages/apps/Car/DebuggingRestrictionController/server/ |
D | genkey.sh | 38 date=$(date +%Y-%m-%d) 40 req="$folder/token_signing-${date}.req" 41 key="$folder/token_signing-${date}.key" 42 signed="$folder/token_signing-${date}.pem" 64 key_out="token_signing_key-$date.pem" 65 cert_chain_out="token_signing_certs-$date.pem"
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MediaSaverImpl.java | 69 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage() argument 71 addImage(data, title, date, loc, width, height, orientation, exif, l, in addImage() 76 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage() argument 83 ImageSaveTask t = new ImageSaveTask(data, title, date, in addImage() 95 public void addImage(final byte[] data, String title, long date, Location loc, int orientation, in addImage() argument 99 addImage(data, title, date, loc, 0, 0, orientation, exif, l, in addImage() 139 private final long date; field in MediaSaverImpl.ImageSaveTask 148 public ImageSaveTask(byte[] data, String title, long date, Location loc, in ImageSaveTask() argument 154 this.date = date; in ImageSaveTask() 182 resolver, title, date, loc, orientation, exif, data, width, height, in doInBackground()
|
D | Storage.java | 100 public Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument 104 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, in addImage() 129 public Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument 135 return addImageToMediaStore(resolver, title, date, location, orientation, data.length, in addImage() 159 public Uri addImageToMediaStore(ContentResolver resolver, String title, long date, in addImageToMediaStore() argument 163 ContentValues values = getContentValuesForData(title, date, location, mimeType, true); in addImageToMediaStore() 200 public ContentValues getContentValuesForData(String title, long date, Location location, in getContentValuesForData() argument 206 values.put(Media.DATE_TAKEN, date); in getContentValuesForData() 292 public Uri updateImage(Uri imageUri, ContentResolver resolver, String title, long date, in updateImage() argument 296 return updateImage(imageUri, resolver, title, date, location, orientation, jpeg.length, in updateImage() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | DateTileView.java | 87 public void setDate(SimpleDate date) { in setDate() argument 88 setDate(date.getDay(), date.getMonth(), date.getYear()); in setDate() 91 public void setDate(int date, int month, int year) { in setDate() argument 92 if (date != mDate) { in setDate() 93 mDate = date; in setDate()
|
/packages/services/Car/tools/watchdog/parser/ |
D | perf_stats_proto_utils.py | 26 def _create_date_pb(date: datetime.datetime) -> performancestats_pb2.Date: 28 year=date.year, month=date.month, day=date.day 32 def _create_timeofday_pb(date) -> performancestats_pb2.TimeOfDay: argument 34 hours=date.hour, minutes=date.minute, seconds=date.second 46 date=_create_date_pb(collection.date), 47 time=_create_timeofday_pb(collection.date), 129 date_pb = stats_collection_pb.date 131 stats_collection.date = datetime.datetime(
|
D | performancestats.proto | 21 // Represents a whole or partial calendar date, such as a birthday. The time of 23 // date is relative to the Gregorian Calendar. This can represent one of the 26 // * A full date, with non-zero year, month, and day values 30 // date 36 // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto 38 // Year of the date. Must be from 1 to 9999, or 0 to specify a date without 52 // Represents a time of day. The date and time zone are either not significant 106 optional Date date = 2; field
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | WeekNumberTest.java | 32 public Time date; field in WeekNumberTest.DateAndWeekNumber 37 date = new Time(); in DateAndWeekNumber() 40 date.set(0, 0, 0, day, month, year); in DateAndWeekNumber() 41 date.normalize(true /* ignore isDst */); in DateAndWeekNumber() 207 int weekNumber = test.date.getWeekNumber(); in testAll() 209 long millis = test.date.toMillis(false /* use isDst */); in testAll() 221 long millis = test.date.toMillis(false /* use isDst */); in testAll()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/ |
D | PbapParserTest.java | 172 private boolean verifyCallLog(String number, String date, String type) { in verifyCallLog() argument 183 if (date != null) { in verifyCallLog() 184 date = adjDate(date); in verifyCallLog() 191 && (date == null || date.equals(foundDate))) { in verifyCallLog() 201 private static String adjDate(String date) { in adjDate() argument 203 long dt = Long.valueOf(date) - tz.getRawOffset(); in adjDate()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/ |
D | DatePickerFactory.kt | 31 val date = selectedDate.toLocalDate() in create() constant 33 val month = date.month.value - 1 in create() 34 datePicker.updateDate(date.year, month, date.dayOfMonth) in create()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DateUtils.java | 73 Date date; in parseDate() local 81 date = CommonDateUtils.NO_YEAR_DATE_FORMAT.parse(string, parsePosition); in parseDate() 87 return getUtcDate(date, true); in parseDate() 94 date = f.parse(string, parsePosition); in parseDate() 96 return getUtcDate(date, false); in parseDate() 103 private static final Calendar getUtcDate(Date date, boolean noYear) { in getUtcDate() argument 105 calendar.setTime(date); in getUtcDate()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapAppParams.java | 1229 Date date = new Date(mFilterPeriodBegin); in getFilterPeriodBeginString() local 1230 return format.format(date); // Format to YYYYMMDDTHHMMSS local time in getFilterPeriodBeginString() 1239 Date date = format.parse(filterPeriodBegin); in setFilterPeriodBegin() local 1240 this.mFilterPeriodBegin = date.getTime(); in setFilterPeriodBegin() 1249 Date date = new Date(mFilterPeriodBegin); in getFilterLastActivityBeginString() local 1250 return format.format(date); // Format to YYYYMMDDTHHMMSS local time in getFilterLastActivityBeginString() 1259 Date date = format.parse(filterPeriodBegin); in setFilterLastActivityBegin() local 1260 this.mFilterPeriodBegin = date.getTime(); in setFilterLastActivityBegin() 1273 Date date = new Date(mFilterPeriodEnd); in getFilterLastActivityEndString() local 1274 return format.format(date); // Format to YYYYMMDDTHHMMSS local time in getFilterLastActivityEndString() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/util/ |
D | UtilsTest.java | 69 private static long getJanOfThisYearInMillis(int date, int hour, int minutes) { in getJanOfThisYearInMillis() argument 70 return new GregorianCalendar(getThisYear(), Calendar.JANUARY, date, hour, minutes) in getJanOfThisYearInMillis() 74 private static long getJanOfThisYearInMillis(int date, int hour) { in getJanOfThisYearInMillis() argument 75 return getJanOfThisYearInMillis(date, hour, 0); in getJanOfThisYearInMillis() 79 private static long getFebOfThisYearInMillis(int date, int hour, int minutes) { in getFebOfThisYearInMillis() argument 80 return new GregorianCalendar(getThisYear(), Calendar.FEBRUARY, date, hour, minutes) in getFebOfThisYearInMillis() 84 private static long getFebOfThisYearInMillis(int date, int hour) { in getFebOfThisYearInMillis() argument 85 return getFebOfThisYearInMillis(date, hour, 0); in getFebOfThisYearInMillis()
|
/packages/services/Car/service/proto/android/car/watchdog/ |
D | performance_stats.proto | 46 optional Date date = 2; 122 // Represents a whole or partial calendar date, such as a birthday. The time of 124 // date is relative to the Gregorian Calendar. This can represent one of the 127 // * A full date, with non-zero year, month, and day values 131 // date 137 // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto 139 // Year of the date. Must be from 1 to 9999, or 0 to specify a date without 153 // Represents a time of day. The date and time zone are either not significant
|
D | watchdogservice_dump.proto | 174 optional Date date = 1; field 178 // Represents a whole or partial calendar date, such as a birthday. The time of 180 // date is relative to the Gregorian Calendar. This can represent one of the 183 // * A full date, with non-zero year, month, and day values 187 // date 193 // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto 195 // Year of the date. Must be from 1 to 9999, or 0 to specify a date without 209 // Represents a time of day. The date and time zone are either not significant
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/ |
D | DateTimePicker.kt | 54 findViewById<EditText>(R.id.select_date).let { date -> in <lambda>() method 55 date.setText(getDateString()) in <lambda>() 56 date.inputType = InputType.TYPE_NULL in <lambda>() 57 date.setOnClickListener { showDatePicker(date) } in <lambda>()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventGeometry.kt | 44 fun computeEventRect(date: Int, left: Int, top: Int, cellWidth: Int, event: Event): Boolean { in computeEventRect() 51 if (startDay > date || endDay < date) { in computeEventRect() 59 if (startDay < date) { in computeEventRect() 65 if (endDay > date) { in computeEventRect()
|
D | CalendarViewAdapter.kt | 136 val date: TextView = v.findViewById(R.id.top_button_date) as TextView in getView() constant 141 date.setText(buildFullDate()) in getView() 150 date.setText(buildMonthYearDate()) in getView() 154 date.setText(buildMonthYearDate()) in getView() 200 val date: TextView? = v?.findViewById(R.id.button_date) as? TextView in getDropDownView() constant 205 date?.setText(buildMonthDayDate()) in getDropDownView() 211 date?.setText(buildWeekDate()) in getDropDownView() 217 date?.setText(buildMonthDate()) in getDropDownView()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | AdminActionPreferenceControllerTestBase.java | 58 public abstract void setDate(Date date); in setDate() argument 70 final Date date = new GregorianCalendar(2011 /* year */, 10 /* month */, 9 /* dayOfMonth */, in testUpdateState() local 72 setDate(date); in testUpdateState() 75 mContext, date.getTime(), DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_SHOW_DATE)); in testUpdateState()
|
/packages/apps/Messaging/tools/messagegen/ |
D | fillsms | 213 …date=$(( ( 1000 * $timestamp ) - $half_timestamp_inc * ( 2 * ($sms_per_thread - $j) + ( $i % 2 ) )… 216 …ype,body,read,seen) values ($message_id, $thread_id, '$phone', '$phone', $date, -1, $message_type,… 230 … date=$(( $timestamp - $half_timestamp_inc * ( 2 * ($mms_per_thread - $j) + ( ($i+1) % 2 ) ) )) 239 …i,rr,tr_id,d_rpt,locked,seen,text_only) values ($message_id, $thread_id, $date, 0, $message_type, … 241 …,m_size,pri,rr,tr_id,d_rpt,locked,seen) values ($message_id, $thread_id, $date, $message_type, 1, …
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | MediaSaver.java | 86 void addImage(byte[] data, String title, long date, Location loc, int width, int height, in addImage() argument 108 void addImage(byte[] data, String title, long date, Location loc, int width, int height, in addImage() argument 126 void addImage(byte[] data, String title, long date, Location loc, int orientation, in addImage() argument
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.kt | 334 rv.setCharSequence(R.id.date, "setFormat12Hour", dateFormat) in <lambda>() 335 rv.setCharSequence(R.id.date, "setFormat24Hour", dateFormat) in <lambda>() 372 rv.setTextViewTextSize(R.id.date, COMPLEX_UNIT_PX, sizes.mFontSizePx.toFloat()) in <lambda>() 416 val date: TextClock = sizer.findViewById(R.id.date) as TextClock in <lambda>() constant 417 date.setFormat12Hour(dateFormat) in <lambda>() 418 date.setFormat24Hour(dateFormat) in <lambda>() 476 val date: TextClock = sizer.findViewById(R.id.date) as TextClock in <lambda>() constant 485 date.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) in <lambda>()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | ExifUtils.java | 100 String date = exif.getAttribute(TAG_GPS_DATESTAMP); in getGpsDateTime() local 102 if (date == null || time == null in getGpsDateTime() 103 || (!sNonZeroTimePattern.matcher(date).matches() in getGpsDateTime() 108 String dateTimeString = date + ' ' + time; in getGpsDateTime()
|