Searched refs:ZonedDateTime (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | AppDataUsageFragmentTest.java | 42 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()
|
D | DataUsageSummaryPreferenceControllerTest.java | 60 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/ |
D | ShadowNetworkPolicyManager.java | 28 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/ |
D | AppDataUsageFragment.java | 38 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/ |
D | CycleAdapter.java | 29 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/ |
D | CycleAdapter.java | 29 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/ |
D | SettingsIntelligenceLogWriter.java | 42 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/ |
D | SettingsIntelligenceLogWriter.java | 42 import java.time.ZonedDateTime; 119 final ZonedDateTime now = ZonedDateTime.now(ZoneId.systemDefault()); in action()
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | SmartActionsHelperTest.java | 65 import java.time.ZonedDateTime; 452 private ZonedDateTime createZonedDateTimeFromMsUtc(long msUtc) { in createZonedDateTimeFromMsUtc() 453 return ZonedDateTime.ofInstant(Instant.ofEpochMilli(msUtc), ZoneOffset.systemDefault()); in createZonedDateTimeFromMsUtc() 535 private void hasReferenceTime(ZonedDateTime referenceTime) { in hasReferenceTime()
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | SmartActionsHelper.java | 47 import java.time.ZonedDateTime; 461 ZonedDateTime.ofInstant(Instant.ofEpochMilli(message.getTimestamp()), in extractMessages()
|