Home
last modified time | relevance | path

Searched refs:timeString (Results 1 – 7 of 7) sorted by relevance

/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java85 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/
DPowerUtil.java64 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/services/tests/servicestests/src/com/android/server/people/data/
DTestUtils.java30 static long timestamp(String timeString) { in timestamp() argument
31 String str = String.format("2020-%s", timeString); in timestamp()
/frameworks/av/media/libmedia/
DIMediaExtractor.cpp254 char timeString[32]; in toString() local
255 strftime(timeString, sizeof(timeString), "%m-%d %T", localtime(&when)); in toString()
256 str.append(timeString); in toString()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java216 String timeString = getPreferences().getString(MIN_TIME_PREF, "0"); in getLocationUpdateTime() local
217 long secondsTime = Long.parseLong(timeString); in getLocationUpdateTime()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java5988 String timeString = in logAppTooSlow() local
5990 sb.append(timeString); in logAppTooSlow()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...