Searched refs:timeString (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/com/android/internal/http/ |
D | HttpDateTime.java | 87 public static long parse(String timeString) in parse() argument 95 Matcher rfcMatcher = HTTP_DATE_RFC_PATTERN.matcher(timeString); in parse() 102 Matcher ansicMatcher = HTTP_DATE_ANSIC_PATTERN.matcher(timeString); in parse() 208 private static TimeOfDay getTime(String timeString) { in getTime() argument 211 int hour = timeString.charAt(i++) - '0'; in getTime() 212 if (timeString.charAt(i) != ':') in getTime() 213 hour = hour * 10 + (timeString.charAt(i++) - '0'); in getTime() 217 int minute = (timeString.charAt(i++) - '0') * 10 in getTime() 218 + (timeString.charAt(i++) - '0'); in getTime() 222 int second = (timeString.charAt(i++) - '0') * 10 in getTime() [all …]
|
/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() 206 private static TimeOfDay getTime(String timeString) { in getTime() argument 209 int hour = timeString.charAt(i++) - '0'; in getTime() 210 if (timeString.charAt(i) != ':') in getTime() 211 hour = hour * 10 + (timeString.charAt(i++) - '0'); in getTime() 215 int minute = (timeString.charAt(i++) - '0') * 10 in getTime() 216 + (timeString.charAt(i++) - '0'); in getTime() 220 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()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialPickerLayout.java | 767 String timeString = DateUtils.formatDateTime(getContext(), millis, flags); in dispatchPopulateAccessibilityEvent() local 768 event.getText().add(timeString); in dispatchPopulateAccessibilityEvent()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |