Home
last modified time | relevance | path

Searched refs:ZonedDateTime (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DAppDataUsageFragmentTest.java42 import java.time.ZonedDateTime;
100 ArrayList<Pair<ZonedDateTime, ZonedDateTime>> list = new ArrayList<>(); in onActivityCreated_iteratorIsEmpty_startAndEndDateShouldHaveFourWeeksDifference()
117 ZonedDateTime start1 = ZonedDateTime.now(); in onActivityCreated_iteratorIsNotEmpty_startAndEndDateShouldBeLastOneInIterator()
118 ZonedDateTime end1 = ZonedDateTime.now(); in onActivityCreated_iteratorIsNotEmpty_startAndEndDateShouldBeLastOneInIterator()
119 ZonedDateTime start2 = ZonedDateTime.now(); in onActivityCreated_iteratorIsNotEmpty_startAndEndDateShouldBeLastOneInIterator()
120 ZonedDateTime end2 = ZonedDateTime.now(); in onActivityCreated_iteratorIsNotEmpty_startAndEndDateShouldBeLastOneInIterator()
125 ArrayList<Pair<ZonedDateTime, ZonedDateTime>> list = new ArrayList<>(); in onActivityCreated_iteratorIsNotEmpty_startAndEndDateShouldBeLastOneInIterator()
DDataUsageSummaryPreferenceControllerTest.java60 import java.time.ZonedDateTime;
370 ZonedDateTime start = ZonedDateTime.now(); in setSubscriptionPlan()
371 ZonedDateTime end = ZonedDateTime.now().plusDays(30); in setSubscriptionPlan()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowNetworkPolicyManager.java28 import java.time.ZonedDateTime;
37 private static Iterator<Pair<ZonedDateTime, ZonedDateTime>> sCycleIterator;
58 protected static Iterator<Pair<ZonedDateTime, ZonedDateTime>> cycleIterator( in cycleIterator()
64 Iterator<Pair<ZonedDateTime, ZonedDateTime>> cycleIterator) { in setCycleIterator() argument
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsageFragment.java38 import java.time.ZonedDateTime;
117 Iterator<Pair<ZonedDateTime, ZonedDateTime>> it = NetworkPolicyManager in getBundleForNetworkStats()
120 Pair<ZonedDateTime, ZonedDateTime> cycle = it.next(); in getBundleForNetworkStats()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DCycleAdapter.java29 import java.time.ZonedDateTime;
93 final Iterator<Pair<ZonedDateTime, ZonedDateTime>> it = NetworkPolicyManager in updateCycleList()
96 final Pair<ZonedDateTime, ZonedDateTime> cycle = it.next(); in updateCycleList()
/packages/apps/Settings/src/com/android/settings/datausage/
DCycleAdapter.java29 import java.time.ZonedDateTime;
93 final Iterator<Pair<ZonedDateTime, ZonedDateTime>> it = NetworkPolicyManager in updateCycleList()
96 final Pair<ZonedDateTime, ZonedDateTime> cycle = it.next(); in updateCycleList()
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
DSettingsIntelligenceLogWriter.java42 import java.time.ZonedDateTime;
119 final ZonedDateTime now = ZonedDateTime.now(ZoneId.systemDefault()); in action()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/instrumentation/
DSettingsIntelligenceLogWriter.java42 import java.time.ZonedDateTime;
119 final ZonedDateTime now = ZonedDateTime.now(ZoneId.systemDefault()); in action()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DSmartActionsHelperTest.java63 import java.time.ZonedDateTime;
450 private ZonedDateTime createZonedDateTimeFromMsUtc(long msUtc) { in createZonedDateTimeFromMsUtc()
451 return ZonedDateTime.ofInstant(Instant.ofEpochMilli(msUtc), ZoneOffset.systemDefault()); in createZonedDateTimeFromMsUtc()
533 private void hasReferenceTime(ZonedDateTime referenceTime) { in hasReferenceTime()
/packages/modules/ExtServices/src/android/ext/services/notification/
DSmartActionsHelper.java47 import java.time.ZonedDateTime;
462 ZonedDateTime.ofInstant(Instant.ofEpochMilli(message.getTimestamp()), in extractMessages()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java36 import java.time.ZonedDateTime;