Home
last modified time | relevance | path

Searched refs:DEFAULT_COOL_DOWN_MILLIS (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/lib/libstatspull/tests/
Dpull_atom_metadata_test.cpp23 static const int64_t DEFAULT_COOL_DOWN_MILLIS = 1000LL; // 1 second. variable
30 EXPECT_EQ(AStatsManager_PullAtomMetadata_getCoolDownMillis(metadata), DEFAULT_COOL_DOWN_MILLIS); in TEST()
40 EXPECT_EQ(AStatsManager_PullAtomMetadata_getCoolDownMillis(metadata), DEFAULT_COOL_DOWN_MILLIS); in TEST()
61 EXPECT_EQ(AStatsManager_PullAtomMetadata_getCoolDownMillis(metadata), DEFAULT_COOL_DOWN_MILLIS); in TEST()
/packages/modules/StatsD/framework/test/src/android/app/
DPullAtomMetadataTest.java37 assertThat(metadata.getCoolDownMillis()).isEqualTo(StatsManager.DEFAULT_COOL_DOWN_MILLIS); in testEmpty()
47 assertThat(metadata.getCoolDownMillis()).isEqualTo(StatsManager.DEFAULT_COOL_DOWN_MILLIS); in testSetTimeoutMillis()
67 assertThat(metadata.getCoolDownMillis()).isEqualTo(StatsManager.DEFAULT_COOL_DOWN_MILLIS); in testSetAdditiveFields()
/packages/modules/StatsD/lib/libstatspull/
Dstats_pull_atom_callback.cpp49 static const int64_t DEFAULT_COOL_DOWN_MILLIS = 1000LL; // 1 second. variable
60 metadata->cool_down_millis = DEFAULT_COOL_DOWN_MILLIS; in AStatsManager_PullAtomMetadata_obtain()
233 metadata == nullptr ? DEFAULT_COOL_DOWN_MILLIS : metadata->cool_down_millis; in AStatsManager_setPullAtomCallback()
/packages/modules/StatsD/framework/java/android/app/
DStatsManager.java118 @VisibleForTesting public static final long DEFAULT_COOL_DOWN_MILLIS = 1_000L; // 1 second. field in StatsManager
498 metadata == null ? DEFAULT_COOL_DOWN_MILLIS : metadata.mCoolDownMillis; in setPullAtomCallback()
611 mCoolDownMillis = DEFAULT_COOL_DOWN_MILLIS; in Builder()