Home
last modified time | relevance | path

Searched refs:Instant (Results 1 – 16 of 16) sorted by relevance

/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
DZoneOffsetPeriodTest.java26 import java.time.Instant;
40 Instant startInstant = Instant.ofEpochSecond(152092800L); /* 1974-10-27T08:00:00Z */ in testEqualPeriods_withDstTransitions()
41 Instant expectedPeriod0End = Instant.ofEpochSecond(162378000L); /* 1975-02-23T09:00:00Z */ in testEqualPeriods_withDstTransitions()
44 Instant endInstant = Instant.ofEpochSecond(631152000L); /* 1990-01-01T00:00:00Z */ in testEqualPeriods_withDstTransitions()
73 Instant expectedPeriod1Start = expectedPeriod0End; in testEqualPeriods_withDstTransitions()
74 Instant expectedPeriod1End = in testEqualPeriods_withDstTransitions()
75 Instant.ofEpochSecond(183542400L); /* 1975-10-26T08:00:00Z */ in testEqualPeriods_withDstTransitions()
105 Instant startInstant = Instant.EPOCH; /* 1970-01-01T00:00:00Z */ in testEqualPeriods_withoutDstTransitions()
108 Instant endInstant = Instant.ofEpochSecond(631152000L); /* 1990-01-01T00:00:00Z */ in testEqualPeriods_withoutDstTransitions()
153 Instant startInstant = Instant.EPOCH; /* 1970-01-01T00:00:00Z */ in testSplitAtTime()
[all …]
DCountryZoneTreeTest.java23 import java.time.Instant;
36 private static final Instant RULES_START_INSTANT = Instant.EPOCH;
38 private static final Instant NOT_USED_AFTER_CUT_OFF = Instant.ofEpochSecond(946684800L);
40 private static final Instant RULES_END_INSTANT =
107 Instant expectedNotUsedAfterInstant = in testCountryWithPriority()
108 Instant.ofEpochSecond(338950800); /* 1980-09-28T01:00:00Z */ in testCountryWithPriority()
153 Instant expectedNotUsedAfterInstant = in australiaTreeTest()
154 Instant.ofEpochSecond(762883200); /* 1994-03-05T16:00:00Z */ in australiaTreeTest()
DZoneInfoTest.java26 import java.time.Instant;
36 private static final Instant START_INSTANT = Instant.EPOCH;
38 private static final Instant END_INSTANT = Instant.ofEpochSecond(631152000L);
57 assertEquals(Instant.ofEpochSecond(57722400L) /* 1971-10-31T02:00:00Z */, in testCreate()
63 Instant.ofEpochSecond(57722400L) /* 1971-10-31T02:00:00Z */, END_INSTANT); in testCreate()
64 assertEquals(Instant.ofEpochSecond(69818400L) /* 1972-03-19T02:00:00Z */, in testCreate()
70 Instant.ofEpochSecond(625626000L) /* 1989-10-29T01:00:00Z */, END_INSTANT); in testCreate()
117 Instant invalidSplitInstant = toSplit.getStartInstant().minus(1, ChronoUnit.DAYS); in testSplit()
125 Instant splitInstant = toSplit.getStartInstant().plus(5, ChronoUnit.DAYS); in testSplit()
DCountryZoneUsageTest.java21 import java.time.Instant;
60 Instant instant = Instant.ofEpochSecond(1234); in testWithEntry()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DZoneOffsetPeriod.java23 import java.time.Instant;
32 private final Instant start;
34 private final Instant end;
42 private ZoneOffsetPeriod(Instant start, Instant end, int rawOffsetMillis, int dstOffsetMillis, in ZoneOffsetPeriod()
55 Instant minTime, Instant maxTime) { in create()
60 Instant end; in create()
70 end = Instant.ofEpochMilli(endTimeMillis); in create()
88 Instant partitionInstant) { in splitAtTime()
108 public Instant getStartInstant() { in getStartInstant()
112 public Instant getEndInstant() { in getEndInstant()
DCountryZoneUsage.java18 import java.time.Instant;
38 void addEntry(String zoneId, Instant notUsedAfterInstant, String notUsedReplacementId) { in addEntry()
50 public Instant getNotUsedAfterInstant(String zoneId) { in getNotUsedAfterInstant()
70 final Instant notUsedAfter;
73 Entry(String zoneId, Instant notUsedAfter, String notUsedReplacementId) { in Entry()
DCountryZoneTree.java29 import java.time.Instant;
105 Instant getStartInstant() { in getStartInstant()
111 Instant getEndInstant() { in getEndInstant()
132 private final Instant startInclusive;
133 private final Instant endExclusive;
136 String countryIso, ZoneNode root, Instant startInclusive, Instant endExclusive) { in CountryZoneTree()
147 Country country, Instant startInclusive, Instant endExclusive) { in create()
156 Country country, Instant startInclusive, Instant endExclusive, boolean compress) { in create()
259 Instant toSplitInstant = iPeriod.getStartInstant(); in addExtraPeriodSplits()
335 Instant startInclusive, Instant endExclusive, boolean compress) { in create()
[all …]
DZoneInfo.java22 import java.time.Instant;
63 Instant startInclusive, Instant endExclusive) { in create()
67 Instant start = startInclusive; in create()
84 TimeZoneNames timeZoneNames, ZoneInfo zoneInfo, int index, Instant partitionInstant) { in splitZoneOffsetPeriodAtTime()
DUniqueZonesVisualizer.java24 import java.time.Instant;
64 Instant startInclusive = TzLookupGenerator.ZONE_USAGE_CALCS_START; in main()
65 Instant endExclusive = TzLookupGenerator.ZONE_USAGE_CALCS_END; in main()
79 private void createGraphvizFile(String countryIso, Instant startInclusive, Instant endExclusive, in createGraphvizFile()
/system/chre/apps/sensor_world/
Dsensor_world.cc190 Instant, enumerator
197 MotionMode motionMode = MotionMode::Instant;
200 motionMode = (motionMode == MotionMode::Instant) ? in getMotionSensorIndex()
201 MotionMode::Stationary : MotionMode::Instant; in getMotionSensorIndex()
260 motionSensorIndices[static_cast<size_t>(MotionMode::Instant)] = i; in nanoappStart()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzLookupGenerator.java31 import java.time.Instant;
52 public static final Instant ZONE_USAGE_CALCS_START = Instant.EPOCH;
61 public static final Instant ZONE_USAGE_NOT_AFTER_CUT_OFF =
62 Instant.ofEpochSecond(Integer.MAX_VALUE);
70 public static final Instant ZONE_USAGE_CALCS_END =
391 Instant notUsedAfterInstant = in processCountry()
DTzLookupFile.java25 import java.time.Instant;
217 private final Instant notUsedAfterInclusive;
221 TimeZoneMapping(String olsonId, boolean showInPicker, Instant notUsedAfterInclusive, in TimeZoneMapping()
/system/timezone/debug_tools/host/main/java/
DTzFileDumper.java27 import java.time.Instant;
316 return Instant.ofEpochMilli(timeInMillis).toString(); in formatTimeSeconds()
/system/sepolicy/private/
Duntrusted_app_all.te105 # Android Studio Instant Run has the application connect to a
/system/sepolicy/prebuilts/api/30.0/private/
Duntrusted_app_all.te109 # Android Studio Instant Run has the application connect to a
/system/sepolicy/prebuilts/api/29.0/private/
Duntrusted_app_all.te118 # Android Studio Instant Run has the application connect to a