/libcore/luni/src/main/java/java/sql/ |
Time.java | 216 * @param timeString 224 public static Time valueOf(String timeString) { 225 if (timeString == null) { 228 int firstIndex = timeString.indexOf(':'); 229 int secondIndex = timeString.indexOf(':', firstIndex + 1); 236 || secondIndex + 1 == timeString.length()) { 240 int hour = Integer.parseInt(timeString.substring(0, firstIndex)); 241 int minute = Integer.parseInt(timeString.substring(firstIndex + 1, 243 int second = Integer.parseInt(timeString.substring(secondIndex + 1, 244 timeString.length())) [all...] |
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 85 public static long parse(String timeString) 93 Matcher rfcMatcher = HTTP_DATE_RFC_PATTERN.matcher(timeString); 100 Matcher ansicMatcher = HTTP_DATE_ANSIC_PATTERN.matcher(timeString); 206 private static TimeOfDay getTime(String timeString) { 209 int hour = timeString.charAt(i++) - '0'; 210 if (timeString.charAt(i) != ':') 211 hour = hour * 10 + (timeString.charAt(i++) - '0'); 215 int minute = (timeString.charAt(i++) - '0') * 10 216 + (timeString.charAt(i++) - '0'); 220 int second = (timeString.charAt(i++) - '0') * 1 [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 34 String timeString = r.readLine(); 41 long startTime = parse(timeString.split("-->")[0]); 42 long endTime = parse(timeString.split("-->")[1]);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
DateTimeEditor.java | 64 String timeString = HH_MM_SS.format(d); 65 timeButton.setText(timeString);
|
/external/webkit/PerformanceTests/SunSpider/ |
sunspider | 151 my $timeString = strftime "%Y-%m-%d-%H.%M.%S", localtime $^T; 153 my $resultsFile = "$resultDirectory/sunspider-results-$timeString.js"; 240 my $profileFile = "$resultDirectory/sunspider-profile-$timeString.mshark";
|
/external/icu4c/i18n/ |
reldtfmt.cpp | 144 UnicodeString timeString(&emptyStr); 146 fTimeFormat->format(cal,timeString,timepos); 147 Formattable timeDateStrings[] = { timeString, dateString }; 154 } else if (timepos.getEndIndex() > 0 && (offset = appendTo.indexOf(timeString)) >= 0) { 155 // pos.field was found in timeString, offset start & end based on final position of timeString
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
FingerPrintGraph.java | 256 graphArea.addArea(rec, "Time for baseline build "+baselineBuildResults.getName()+": "+Util.timeString((long)baselineValue)); 269 tooltip.append(Util.timeString((long)baselineValue)); 271 tooltip.append(Util.timeString((long)baselineError)); 296 String tooltip = "Time for current build "+currentBuildResults.getName()+": "+Util.timeString((long)currentValue); 316 tooltip.append(Util.timeString((long)currentValue)); 318 tooltip.append(Util.timeString((long)currentError)); 445 String val= Util.timeString(value); 478 String str = Util.timeString(value);
|
GenerateResults.java | [all...] |
ScenarioData.java | 205 String duration = Util.timeString(System.currentTimeMillis()-start);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
GpxParser.java | 182 * @param timeString the string data. 185 private long computeTime(String timeString) { 187 Matcher m = ISO8601_TIME.matcher(timeString);
|
/tools/motodev/src/plugins/certmanager/src/com/motorolamobility/studio/android/certmanager/command/ |
BackupHandler.java | 261 String timeString = time.toString();
262 properties.put("lastBackupDate", timeString);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
AbstractResults.java | 220 buffer.append(Util.timeString(time-start));
|
ScenarioResults.java | 286 print(timeString(System.currentTimeMillis()-start)); 297 println(timeString(System.currentTimeMillis()-start)); 382 print(Util.timeString(System.currentTimeMillis()-start)); 393 println(Util.timeString(System.currentTimeMillis()-start));
|
ConfigResults.java | 533 buffer.append(Util.timeString((long)this.current.getValue())); 537 buffer.append(Util.timeString((long)this.baseline.getValue()));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Alarms.java | 455 String timeString = formatDayAndTime(context, c); 456 saveNextAlarm(context, timeString); 643 static void saveNextAlarm(final Context context, String timeString) { 646 timeString);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
TrackerService.java | 216 String timeString = getPreferences().getString(MIN_TIME_PREF, "0"); 217 long secondsTime = Long.valueOf(timeString);
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 602 public static final CharSequence timeString(long millis) { [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
GeeTestResultParser.java | 408 String timeString = time.group(2); // the "XX" in "(XX ms)" 411 returnInfo.mTestRunTime = timeString;
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
ManageAccountsSettings.java | 288 final String timeString = formatSyncDate(date); 290 R.string.last_synced, timeString));
|
AccountSyncSettings.java | 403 final String timeString = formatSyncDate(date); 404 syncPref.setSummary(getResources().getString(R.string.last_synced, timeString));
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/ |
InstrumentationResultParser.java | 529 String timeString = timeMatcher.group(1); 531 float timeSeconds = Float.parseFloat(timeString);
|
/external/webkit/Source/WebCore/svg/ |
SVGAnimationElement.cpp | 69 String timeString = parseList[n]; 71 float time = timeString.toFloat(&ok);
|
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/ |
Util.java | 483 public static String timeString(long time) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | [all...] |