/external/skia/tests/ |
Time.cpp | 13 SkTime::DateTime dateTime; 14 SkTime::GetDateTime(&dateTime); 20 if (dateTime.fYear < kMinimumSaneYear) { 23 static_cast<unsigned>(dateTime.fYear), 26 if (dateTime.fYear > kMaximumSaneYear) { 29 static_cast<unsigned>(dateTime.fYear), 33 REPORTER_ASSERT(r, dateTime.fMonth >= 1); 34 REPORTER_ASSERT(r, dateTime.fMonth <= 12); 36 REPORTER_ASSERT(r, dateTime.fDay >= 1) [all...] |
/frameworks/av/media/mtp/ |
MtpUtils.h | 24 bool parseDateTime(const char* dateTime, time_t& outSeconds);
|
MtpUtils.cpp | 27 DateTime strings follow a compatible subset of the definition found in ISO 8601, and 36 bool parseDateTime(const char* dateTime, time_t& outSeconds) { 38 if (sscanf(dateTime, "%04d%02d%02dT%02d%02d%02d", 43 const char* tail = dateTime + 15;
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
ISO8601Converter.java | 40 * http://www.w3.org/TR/NOTE-datetime: 279 * Format a date according to ISO 8601 and http://www.w3.org/TR/NOTE-datetime: 306 * @param dateTime an XMPDateTime-object. 309 public static String render(XMPDateTime dateTime) 315 buffer.append(df.format(dateTime.getYear())); 316 if (dateTime.getMonth() == 0) 323 buffer.append(df.format(dateTime.getMonth())); 324 if (dateTime.getDay() == 0) 330 buffer.append(df.format(dateTime.getDay())); 333 if (dateTime.getHour() != 0 | [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTimeFactory.java | 108 * @param dateTime the <code>XMPDateTime</code> variable containing the value to be modified. 111 public static XMPDateTime setLocalTimeZone(XMPDateTime dateTime) 113 Calendar cal = dateTime.getCalendar(); 123 * @param dateTime 128 public static XMPDateTime convertToUTCTime(XMPDateTime dateTime) 130 long timeInMillis = dateTime.getCalendar().getTimeInMillis(); 142 * @param dateTime the <code>XMPDateTime</code> variable containing the time to be modified. 145 public static XMPDateTime convertToLocalTime(XMPDateTime dateTime) 147 long timeInMillis = dateTime.getCalendar().getTimeInMillis();
|
/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
InstantTypeAdapter.java | 33 out.value(ISODateTimeFormat.dateTime().print(value)); 37 return ISODateTimeFormat.dateTime().parseDateTime(in.nextString()).toInstant();
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMapMessage.java | 94 String dateTime = attrs.get("datetime"); 95 //Handle possible NPE when not able to retreive datetime attribute 96 if(dateTime != null){ 97 mDateTime = (new ObexTime(dateTime)).getTime(); 181 json.put("datetime", mDateTime); 220 * @return <code>Date</code> object corresponding to <code>datetime</code>
|
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
FillCallLogTestActivity.java | 532 Calendar dateTime = Calendar.getInstance(); 533 dateTime.set(mCallDateYear, mCallDateMonth, mCallDateDay, mCallTimeHour, mCallTimeMinute); 543 addManualVoicemail(dateTime.getTimeInMillis()); 547 dateTime.getTimeInMillis(), RNG.nextInt(60 * 60), dataUsage); 553 dateTime.add(Calendar.MINUTE, offset); 554 mCallDateYear = dateTime.get(Calendar.YEAR); 555 mCallDateMonth = dateTime.get(Calendar.MONTH); 556 mCallDateDay = dateTime.get(Calendar.DAY_OF_MONTH); 557 mCallTimeHour = dateTime.get(Calendar.HOUR_OF_DAY); 558 mCallTimeMinute = dateTime.get(Calendar.MINUTE) [all...] |
/external/xmlrpcpp/test/ |
TestValues.cpp | 92 // DateTime
94 XmlRpcValue dateTime("<value><dateTime.iso8601>19040101T03:12:35</dateTime.iso8601></value>", &offset);
95 struct tm &t = dateTime;
|
TestValuesWin32.cpp | 95 // DateTime
97 XmlRpcValue dateTime("<value><dateTime.iso8601>19040101T03:12:35</dateTime.iso8601></value>", &offset);
98 struct tm &t = dateTime;
|
/external/skia/src/pdf/ |
SkPDFMetadata.cpp | 16 static SkString pdf_date(const SkTime::DateTime& dt) { 60 SkTime::DateTime dateTime; 61 SkTime::GetDateTime(&dateTime); 62 md5.write(&dateTime, sizeof(dateTime));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapConvoContactElement.java | 165 public void setLastActivity(long dateTime) { 166 this.mLastActivity = dateTime;
|
BluetoothMapMessageListingElement.java | 94 public void setDateTime(long dateTime) { 95 this.mDateTime = dateTime; 293 xmlMsgElement.attribute(null, "datetime", this.getDateTimeString());
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
SnapshotDialogFragment.java | 180 String dateTime = getAttrib(exif, ExifInterface.TAG_DATETIME); 243 append(dateTime).append("\n");
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
UserUsageStatsService.java | 484 private String formatDateTime(long dateTime, boolean pretty) { 486 return "\"" + DateUtils.formatDateTime(mContext, dateTime, sDateFormatFlags) + "\""; 488 return Long.toString(dateTime);
|
/frameworks/base/media/java/android/mtp/ |
MtpPropertyGroup.java | 396 // convert from seconds to DateTime 402 String dateTime = Integer.toString(year) + "0101T000000"; 403 result.append(handle, propertyCode, dateTime);
|
/hardware/qcom/camera/QCamera2/HAL/ |
QCameraParametersIntf.h | 125 int32_t getExifDateTime(String8 &dateTime, String8 &subsecTime);
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
QCamera3PostProc.cpp | [all...] |
/device/lge/bullhead/camera/QCamera2/HAL3/ |
QCamera3PostProc.cpp | [all...] |
/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3PostProc.cpp | [all...] |
/hardware/qcom/camera/msmcobalt/QCamera2/HAL3/ |
QCamera3PostProc.cpp | [all...] |
/device/moto/shamu/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
ucal.h | 1001 * @param dateTime The desired date and time. 1010 UDate dateTime, [all...] |
/hardware/qcom/camera/msmcobalt/QCamera2/HAL/ |
QCameraParametersIntf.h | 130 int32_t getExifDateTime(String8 &dateTime, String8 &subsecTime);
|
/external/sonivox/jet_tools/JetCreator/ |
JetUtils.py | 637 savedDateTime = IniGetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "DateTime")
638 dateTime = FileDateTime(segment.filename)
639 if ver != savedVer or dateTime != savedDateTime:
643 IniSetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "DateTime", str(dateTime))
|