Searched refs:timeString (Results 1 – 5 of 5) sorted by relevance
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 85 public static long parse(String timeString) in parse() argument 93 Matcher rfcMatcher = HTTP_DATE_RFC_PATTERN.matcher(timeString); in parse() 100 Matcher ansicMatcher = HTTP_DATE_ANSIC_PATTERN.matcher(timeString); in parse() 205 private static TimeOfDay getTime(String timeString) { in getTime() argument 208 int hour = timeString.charAt(i++) - '0'; in getTime() 209 if (timeString.charAt(i) != ':') in getTime() 210 hour = hour * 10 + (timeString.charAt(i++) - '0'); in getTime() 214 int minute = (timeString.charAt(i++) - '0') * 10 in getTime() 215 + (timeString.charAt(i++) - '0'); in getTime() 219 int second = (timeString.charAt(i++) - '0') * 10 in getTime() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | PowerUtil.java | 64 CharSequence timeString = StringUtil.formatElapsedTime(context, in getBatteryRemainingStringFormatted() local 67 return getUnderFifteenString(context, timeString, percentageString); in getBatteryRemainingStringFormatted() 138 private static String getUnderFifteenString(Context context, CharSequence timeString, in getUnderFifteenString() argument 141 ? context.getString(R.string.power_remaining_less_than_duration_only, timeString) in getUnderFifteenString() 144 timeString, in getUnderFifteenString() 152 CharSequence timeString = StringUtil.formatElapsedTime(context, in getMoreThanOneDayString() local 160 return context.getString(id, timeString); in getMoreThanOneDayString() 165 return context.getString(id, timeString, percentageString); in getMoreThanOneDayString() 172 CharSequence timeString = StringUtil.formatElapsedTime(context, roundedTimeMs, in getMoreThanOneDayShortString() local 175 return context.getString(resId, timeString); in getMoreThanOneDayShortString() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SplitClockView.java | 93 String timeString; in updatePatterns() local 96 timeString = formatString; in updatePatterns() 99 timeString = formatString.substring(0, index); in updatePatterns() 102 mTimeView.setFormat12Hour(timeString); in updatePatterns() 103 mTimeView.setFormat24Hour(timeString); in updatePatterns()
|
/frameworks/av/media/libmedia/ |
D | IMediaExtractor.cpp | 228 char timeString[32]; in toString() local 229 strftime(timeString, sizeof(timeString), "%m-%d %T", localtime(&when)); in toString() 230 str.append(timeString); in toString()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 216 String timeString = getPreferences().getString(MIN_TIME_PREF, "0"); in getLocationUpdateTime() local 217 long secondsTime = Long.parseLong(timeString); in getLocationUpdateTime()
|