Searched refs:RuntimeHooks (Results 1 – 5 of 5) sorted by relevance
40 public final class RuntimeHooks { class44 private RuntimeHooks() { in RuntimeHooks() method in RuntimeHooks64 if (RuntimeHooks.zoneIdSupplier != null) { in setTimeZoneIdSupplier()67 RuntimeHooks.zoneIdSupplier = Objects.requireNonNull(zoneIdSupplier); in setTimeZoneIdSupplier()76 RuntimeHooks.zoneIdSupplier = null; in clearTimeZoneIdSupplier()85 return RuntimeHooks.zoneIdSupplier; in getTimeZoneIdSupplier()
19 import dalvik.system.RuntimeHooks;419 Supplier<String> originalTimeZoneSupplier = RuntimeHooks.getTimeZoneIdSupplier(); in testGetTimeZone_forNonOlsonId()423 RuntimeHooks.clearTimeZoneIdSupplier(); in testGetTimeZone_forNonOlsonId()424 RuntimeHooks.setTimeZoneIdSupplier(() -> "GMT-12:00"); in testGetTimeZone_forNonOlsonId()427 RuntimeHooks.clearTimeZoneIdSupplier(); in testGetTimeZone_forNonOlsonId()430 RuntimeHooks.setTimeZoneIdSupplier(originalTimeZoneSupplier); in testGetTimeZone_forNonOlsonId()438 Supplier<String> originalTimeZoneSupplier = RuntimeHooks.getTimeZoneIdSupplier(); in testGetTimeZone_forNonOlsonId_targetSdkVersion29()442 RuntimeHooks.clearTimeZoneIdSupplier(); in testGetTimeZone_forNonOlsonId_targetSdkVersion29()443 RuntimeHooks.setTimeZoneIdSupplier(() -> "GMT-12:00"); in testGetTimeZone_forNonOlsonId_targetSdkVersion29()446 RuntimeHooks.clearTimeZoneIdSupplier(); in testGetTimeZone_forNonOlsonId_targetSdkVersion29()[all …]
56 import dalvik.system.RuntimeHooks;712 Supplier<String> tzGetter = RuntimeHooks.getTimeZoneIdSupplier(); in getDefaultRef()
55 "dalvik/src/main/java/dalvik/system/RuntimeHooks.java",
249 public final class RuntimeHooks {