@Override protected String[][] create(Locale locale) { long start = System.currentTimeMillis(); // Set up the 2D array used to hold the names. The first column contains the Olson ids. String[][] result = new String[availableTimeZoneIds.length][5]; for (int i = 0; i < availableTimeZoneIds.length; ++i) { result[i][0] = availableTimeZoneIds[i]; } long nativeStart = System.currentTimeMillis(); fillZoneStrings(locale.toString(), result); long nativeEnd = System.currentTimeMillis(); internStrings(result); // Ending up in this method too often is an easy way to make your app slow, so we ensure // it's easy to tell from the log (a) what we were doing, (b) how long it took, and // (c) that it's all ICU's fault. long end = System.currentTimeMillis(); long nativeDuration = nativeEnd - nativeStart; long duration = end - start; System.logI("Loaded time zone names for \"" + locale + "\" in " + duration + "ms" + " (" + nativeDuration + "ms in ICU)"); return result; }
public void destroy() { // If the process hasn't already exited, send it SIGKILL. synchronized (exitValueMutex) { if (exitValue == null) { try { Libcore.os.kill(pid, SIGKILL); } catch (ErrnoException e) { System.logI("Failed to destroy process " + pid, e); } } } // Close any open streams. IoUtils.closeQuietly(inputStream); IoUtils.closeQuietly(errorStream); IoUtils.closeQuietly(outputStream); }
System.logI("Could not resolve '" + systemId + "' relative to" + " '" + this.systemId + "' at " + locator, e);
@Override protected String[][] create(Locale locale) { long start = System.currentTimeMillis(); // Set up the 2D array used to hold the names. The first column contains the Olson ids. String[][] result = new String[availableTimeZoneIds.length][5]; for (int i = 0; i < availableTimeZoneIds.length; ++i) { result[i][0] = availableTimeZoneIds[i]; } long nativeStart = System.currentTimeMillis(); fillZoneStrings(locale.toString(), result); long nativeEnd = System.currentTimeMillis(); internStrings(result); // Ending up in this method too often is an easy way to make your app slow, so we ensure // it's easy to tell from the log (a) what we were doing, (b) how long it took, and // (c) that it's all ICU's fault. long end = System.currentTimeMillis(); long nativeDuration = nativeEnd - nativeStart; long duration = end - start; System.logI("Loaded time zone names for \"" + locale + "\" in " + duration + "ms" + " (" + nativeDuration + "ms in ICU)"); return result; }
@Override protected String[][] create(Locale locale) { long start = System.currentTimeMillis(); // Set up the 2D array used to hold the names. The first column contains the Olson ids. String[][] result = new String[availableTimeZoneIds.length][5]; for (int i = 0; i < availableTimeZoneIds.length; ++i) { result[i][0] = availableTimeZoneIds[i]; } long nativeStart = System.currentTimeMillis(); fillZoneStrings(locale.toString(), result); long nativeEnd = System.currentTimeMillis(); internStrings(result); // Ending up in this method too often is an easy way to make your app slow, so we ensure // it's easy to tell from the log (a) what we were doing, (b) how long it took, and // (c) that it's all ICU's fault. long end = System.currentTimeMillis(); long nativeDuration = nativeEnd - nativeStart; long duration = end - start; System.logI("Loaded time zone names for \"" + locale + "\" in " + duration + "ms" + " (" + nativeDuration + "ms in ICU)"); return result; }
@Override protected String[][] create(Locale locale) { long start = System.currentTimeMillis(); // Set up the 2D array used to hold the names. The first column contains the Olson ids. String[][] result = new String[availableTimeZoneIds.length][5]; for (int i = 0; i < availableTimeZoneIds.length; ++i) { result[i][0] = availableTimeZoneIds[i]; } long nativeStart = System.currentTimeMillis(); fillZoneStrings(locale.toString(), result); long nativeEnd = System.currentTimeMillis(); internStrings(result); // Ending up in this method too often is an easy way to make your app slow, so we ensure // it's easy to tell from the log (a) what we were doing, (b) how long it took, and // (c) that it's all ICU's fault. long end = System.currentTimeMillis(); long nativeDuration = nativeEnd - nativeStart; long duration = end - start; System.logI("Loaded time zone names for \"" + locale + "\" in " + duration + "ms" + " (" + nativeDuration + "ms in ICU)"); return result; }
@Override protected String[][] create(Locale locale) { long start = System.currentTimeMillis(); // Set up the 2D array used to hold the names. The first column contains the Olson ids. String[][] result = new String[availableTimeZoneIds.length][5]; for (int i = 0; i < availableTimeZoneIds.length; ++i) { result[i][0] = availableTimeZoneIds[i]; } long nativeStart = System.currentTimeMillis(); fillZoneStrings(locale.toString(), result); long nativeEnd = System.currentTimeMillis(); internStrings(result); // Ending up in this method too often is an easy way to make your app slow, so we ensure // it's easy to tell from the log (a) what we were doing, (b) how long it took, and // (c) that it's all ICU's fault. long end = System.currentTimeMillis(); long nativeDuration = nativeEnd - nativeStart; long duration = end - start; System.logI("Loaded time zone names for \"" + locale + "\" in " + duration + "ms" + " (" + nativeDuration + "ms in ICU)"); return result; }
@Override protected String[][] create(Locale locale) { long start = System.currentTimeMillis(); // Set up the 2D array used to hold the names. The first column contains the Olson ids. String[][] result = new String[availableTimeZoneIds.length][5]; for (int i = 0; i < availableTimeZoneIds.length; ++i) { result[i][0] = availableTimeZoneIds[i]; } long nativeStart = System.currentTimeMillis(); fillZoneStrings(locale.toString(), result); long nativeEnd = System.currentTimeMillis(); internStrings(result); // Ending up in this method too often is an easy way to make your app slow, so we ensure // it's easy to tell from the log (a) what we were doing, (b) how long it took, and // (c) that it's all ICU's fault. long end = System.currentTimeMillis(); long nativeDuration = nativeEnd - nativeStart; long duration = end - start; System.logI("Loaded time zone names for \"" + locale + "\" in " + duration + "ms" + " (" + nativeDuration + "ms in ICU)"); return result; }
@Override protected String[][] create(Locale locale) { long start = System.currentTimeMillis(); // Set up the 2D array used to hold the names. The first column contains the Olson ids. String[][] result = new String[availableTimeZoneIds.length][5]; for (int i = 0; i < availableTimeZoneIds.length; ++i) { result[i][0] = availableTimeZoneIds[i]; } long nativeStart = System.currentTimeMillis(); fillZoneStrings(locale.toString(), result); long nativeEnd = System.currentTimeMillis(); internStrings(result); // Ending up in this method too often is an easy way to make your app slow, so we ensure // it's easy to tell from the log (a) what we were doing, (b) how long it took, and // (c) that it's all ICU's fault. long end = System.currentTimeMillis(); long nativeDuration = nativeEnd - nativeStart; long duration = end - start; System.logI("Loaded time zone names for \"" + locale + "\" in " + duration + "ms" + " (" + nativeDuration + "ms in ICU)"); return result; }
public void destroy() { // If the process hasn't already exited, send it SIGKILL. synchronized (exitValueMutex) { if (exitValue == null) { try { Libcore.os.kill(pid, SIGKILL); } catch (ErrnoException e) { System.logI("Failed to destroy process " + pid, e); } } } // Close any open streams. IoUtils.closeQuietly(inputStream); IoUtils.closeQuietly(errorStream); IoUtils.closeQuietly(outputStream); }
public void destroy() { // If the process hasn't already exited, send it SIGKILL. synchronized (exitValueMutex) { if (exitValue == null) { try { Libcore.os.kill(pid, SIGKILL); } catch (ErrnoException e) { System.logI("Failed to destroy process " + pid, e); } } } // Close any open streams. IoUtils.closeQuietly(inputStream); IoUtils.closeQuietly(errorStream); IoUtils.closeQuietly(outputStream); }
public void destroy() { // If the process hasn't already exited, send it SIGKILL. synchronized (exitValueMutex) { if (exitValue == null) { try { Libcore.os.kill(pid, SIGKILL); } catch (ErrnoException e) { System.logI("Failed to destroy process " + pid, e); } } } // Close any open streams. IoUtils.closeQuietly(inputStream); IoUtils.closeQuietly(errorStream); IoUtils.closeQuietly(outputStream); }
public void destroy() { // If the process hasn't already exited, send it SIGKILL. synchronized (exitValueMutex) { if (exitValue == null) { try { Libcore.os.kill(pid, SIGKILL); } catch (ErrnoException e) { System.logI("Failed to destroy process " + pid, e); } } } // Close any open streams. IoUtils.closeQuietly(inputStream); IoUtils.closeQuietly(errorStream); IoUtils.closeQuietly(outputStream); }
public void destroy() { // If the process hasn't already exited, send it SIGKILL. synchronized (exitValueMutex) { if (exitValue == null) { try { Libcore.os.kill(pid, SIGKILL); } catch (ErrnoException e) { System.logI("Failed to destroy process " + pid, e); } } } // Close any open streams. IoUtils.closeQuietly(inputStream); IoUtils.closeQuietly(errorStream); IoUtils.closeQuietly(outputStream); }
public void destroy() { // If the process hasn't already exited, send it SIGKILL. synchronized (exitValueMutex) { if (exitValue == null) { try { Libcore.os.kill(pid, SIGKILL); } catch (ErrnoException e) { System.logI("Failed to destroy process " + pid, e); } } } // Close any open streams. IoUtils.closeQuietly(inputStream); IoUtils.closeQuietly(errorStream); IoUtils.closeQuietly(outputStream); }
System.logI("Could not resolve '" + systemId + "' relative to" + " '" + this.systemId + "' at " + locator, e);
System.logI("Could not resolve '" + systemId + "' relative to" + " '" + this.systemId + "' at " + locator, e);
System.logI("Could not resolve '" + systemId + "' relative to" + " '" + this.systemId + "' at " + locator, e);
System.logI("Could not resolve '" + systemId + "' relative to" + " '" + this.systemId + "' at " + locator, e);
System.logI("Could not resolve '" + systemId + "' relative to" + " '" + this.systemId + "' at " + locator, e);