Home
last modified time | relevance | path

Searched refs:NOW (Results 1 – 13 of 13) sorted by relevance

/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DCacheOomRankerTest.java76 private static final Instant NOW = LocalDate.of(2021, 1, 1).atStartOfDay( field in CacheOomRankerTest
215 NOW.minus(60, ChronoUnit.MINUTES).toEpochMilli(), 1024L, 10000); in reRankLruCachedApps_lruImpactsOrdering()
221 NOW.minus(17, ChronoUnit.MINUTES).toEpochMilli(), 1024L, 20); in reRankLruCachedApps_lruImpactsOrdering()
225 NOW.minus(30, ChronoUnit.MINUTES).toEpochMilli(), 1024L, 20); in reRankLruCachedApps_lruImpactsOrdering()
256 NOW.minus(60, ChronoUnit.MINUTES).toEpochMilli(), 1024L, 10000); in reRankLruCachedApps_rssImpactsOrdering()
300 NOW.minus(60, ChronoUnit.MINUTES).toEpochMilli(), 1024L, 10000); in reRankLruCachedApps_rssImpactsOrdering_cachedRssValues()
347 NOW.minus(40, ChronoUnit.MINUTES).toEpochMilli(), 0L, 1000); in reRankLruCachedApps_rssImpactsOrdering_profileRss()
351 NOW.minus(42, ChronoUnit.MINUTES).toEpochMilli(), 0L, 2000); in reRankLruCachedApps_rssImpactsOrdering_profileRss()
355 NOW.minus(60, ChronoUnit.MINUTES).toEpochMilli(), 0L, 10000); in reRankLruCachedApps_rssImpactsOrdering_profileRss()
359 NOW.minus(15, ChronoUnit.MINUTES).toEpochMilli(), 0L, 10); in reRankLruCachedApps_rssImpactsOrdering_profileRss()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
H A DSharesheetModelScorerTest.java63 NOW - Duration.ofHours(23).toMillis(),
66 NOW - Duration.ofHours(50).toMillis(),
69 NOW - Duration.ofDays(6).toMillis(),
70 NOW - Duration.ofDays(5).toMillis());
72 NOW - Duration.ofDays(9).toMillis(),
73 NOW - Duration.ofDays(8).toMillis());
75 NOW - Duration.ofDays(13).toMillis(),
76 NOW - Duration.ofDays(12).toMillis());
78 NOW - Duration.ofDays(21).toMillis(),
81 NOW - Duration.ofDays(29).toMillis(),
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
H A DBatteryDatabaseManagerTest.java51 private static long NOW = System.currentTimeMillis(); field in BatteryDatabaseManagerTest
52 private static long ONE_DAY_BEFORE = NOW - DateUtils.DAY_IN_MILLIS;
53 private static long TWO_DAYS_BEFORE = NOW - 2 * DateUtils.DAY_IN_MILLIS;
94 AnomalyDatabaseHelper.State.NEW, NOW); in allAnomalyFunctions()
119 AnomalyDatabaseHelper.State.NEW, NOW); in updateAnomalies_updateSuccessfully()
121 AnomalyDatabaseHelper.State.NEW, NOW); in updateAnomalies_updateSuccessfully()
144 AnomalyDatabaseHelper.State.NEW, NOW); in queryAnomalies_removeDuplicateByUid()
146 AnomalyDatabaseHelper.State.NEW, NOW); in queryAnomalies_removeDuplicateByUid()
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/
H A DQualityOfServiceTests.cpp33 enum class DeadlineBoundType { NOW, UNLIMITED, SHORT }; enumerator
35 DeadlineBoundType::NOW, DeadlineBoundType::UNLIMITED, DeadlineBoundType::SHORT};
38 case DeadlineBoundType::NOW: in toString()
66 case DeadlineBoundType::NOW: in makeDeadline()
124 case DeadlineBoundType::NOW: in runPrepareModelTest()
239 case DeadlineBoundType::NOW: in runExecutionTest()
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/
H A DQualityOfServiceTests.cpp37 enum class DeadlineBoundType { NOW, UNLIMITED, SHORT }; enumerator
39 DeadlineBoundType::NOW, DeadlineBoundType::UNLIMITED, DeadlineBoundType::SHORT};
42 case DeadlineBoundType::NOW: in toString()
70 case DeadlineBoundType::NOW: in makeDeadline()
136 case DeadlineBoundType::NOW: in runPrepareModelTest()
233 case DeadlineBoundType::NOW: in runExecutionTest()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
H A DRecentAppOpsAccessesTest.java61 private static final long NOW = 1_000_000_000; // Approximately 9/8/2001 field in RecentAppOpsAccessesTest
62 private static final long ONE_MIN_AGO = NOW - TimeUnit.MINUTES.toMillis(1);
63 private static final long TWENTY_THREE_HOURS_AGO = NOW - TimeUnit.HOURS.toMillis(23);
64 private static final long TWO_DAYS_AGO = NOW - TimeUnit.DAYS.toMillis(2);
116 when(mClock.millis()).thenReturn(NOW); in setUp()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
H A DRecentLocationAppsTest.java38 private static final long NOW = System.currentTimeMillis(); field in RecentLocationAppsTest
41 private static final long ONE_MIN_AGO = NOW - TimeUnit.MINUTES.toMillis(1);
42 private static final long TWENTY_THREE_HOURS_AGO = NOW - TimeUnit.HOURS.toMillis(23);
43 private static final long TWO_DAYS_AGO = NOW - TimeUnit.DAYS.toMillis(2);
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DProcessCpuTracker.java759 proto.write(CpuUsageProto.NOW, now);
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkPolicyManagerServiceTest.java1090 final long NOW = parseTime("2007-03-10T00:00Z");
1094 setCurrentTimeMillis(NOW);
/aosp12/frameworks/proto_logging/stats/enums/app/
H A Dsettings_enums.proto390 // OPEN: Settings > Sound > Do Not Disturb > TURN ON NOW/TURN OFF NOW
/aosp12/frameworks/base/proto/src/metrics_constants/
H A Dmetrics_constants.proto5277 // OPEN: Settings > Sound > Do Not Disturb > TURN ON NOW/TURN OFF NOW
/aosp12/art/build/boot/hiddenapi/
H A Dhiddenapi-max-target-o-low-priority.txt7767 Ljava/util/concurrent/LinkedTransferQueue;->NOW:I
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...