Home
last modified time | relevance | path

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

/packages/modules/StatsD/framework/test/unittests/src/android/app/
DPullAtomMetadataTest.java53 long coolDownMillis = 10_000L; in testSetCoolDownMillis() local
55 new PullAtomMetadata.Builder().setCoolDownMillis(coolDownMillis).build(); in testSetCoolDownMillis()
57 assertThat(metadata.getCoolDownMillis()).isEqualTo(coolDownMillis); in testSetCoolDownMillis()
74 long coolDownMillis = 9572L; in testSetAllElements() local
78 .setCoolDownMillis(coolDownMillis) in testSetAllElements()
82 assertThat(metadata.getCoolDownMillis()).isEqualTo(coolDownMillis); in testSetAllElements()
/packages/modules/StatsD/lib/libstatspull/tests/
Dpull_atom_metadata_test.cpp47 int64_t coolDownMillis = 10000; in TEST() local
49 AStatsManager_PullAtomMetadata_setCoolDownMillis(metadata, coolDownMillis); in TEST()
50 EXPECT_EQ(AStatsManager_PullAtomMetadata_getCoolDownMillis(metadata), coolDownMillis); in TEST()
74 int64_t coolDownMillis = 10000; in TEST() local
80 AStatsManager_PullAtomMetadata_setCoolDownMillis(metadata, coolDownMillis); in TEST()
83 EXPECT_EQ(AStatsManager_PullAtomMetadata_getCoolDownMillis(metadata), coolDownMillis); in TEST()
/packages/modules/StatsD/apex/tests/libstatspull/jni/
Dstats_pull_helper.cpp50 jlong coolDownMillis, jint pullRetVal, jlong latencyMillis, int atomsPerPull) { in Java_com_android_internal_os_statsd_libstats_LibStatsPullTests_setStatsPuller() argument
57 AStatsManager_PullAtomMetadata_setCoolDownMillis(metadata, coolDownMillis); in Java_com_android_internal_os_statsd_libstats_LibStatsPullTests_setStatsPuller()
/packages/modules/StatsD/framework/java/android/app/
DStatsManager.java643 long coolDownMillis = in setPullAtomCallback() local
657 atomTag, coolDownMillis, timeoutMillis, additiveFields, rec); in setPullAtomCallback()
738 private PullAtomMetadata(long coolDownMillis, long timeoutMillis, int[] additiveFields) { in PullAtomMetadata() argument
739 mCoolDownMillis = coolDownMillis; in PullAtomMetadata()
768 public Builder setCoolDownMillis(long coolDownMillis) { in setCoolDownMillis() argument
769 mCoolDownMillis = coolDownMillis; in setCoolDownMillis()
/packages/modules/StatsD/lib/libstatspull/
Dstats_pull_atom_callback.cpp107 const int64_t coolDownMillis, const int64_t timeoutMillis, in StatsPullAtomCallbackInternal() argument
111 mCoolDownMillis(coolDownMillis), in StatsPullAtomCallbackInternal()
381 int64_t coolDownMillis = in AStatsManager_setPullAtomCallback() local
391 SharedRefBase::make<StatsPullAtomCallbackInternal>(callback, cookie, coolDownMillis, in AStatsManager_setPullAtomCallback()
/packages/modules/StatsD/aidl/android/os/
DIStatsd.aidl197 oneway void registerPullAtomCallback(int uid, int atomTag, long coolDownMillis, in registerPullAtomCallback() argument
207 oneway void registerNativePullAtomCallback(int atomTag, long coolDownMillis, long timeoutMillis, in registerNativePullAtomCallback() argument
DIStatsManagerService.aidl133 oneway void registerPullAtomCallback(int atomTag, long coolDownMillis, long timeoutMillis, in registerPullAtomCallback() argument
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsManagerService.java189 PullerValue(long coolDownMillis, long timeoutMillis, int[] additiveFields, in PullerValue() argument
191 mCoolDownMillis = coolDownMillis; in PullerValue()
217 public void registerPullAtomCallback(int atomTag, long coolDownMillis, long timeoutMillis, in registerPullAtomCallback() argument
227 new PullerValue(coolDownMillis, timeoutMillis, additiveFields, pullerCallback); in registerPullAtomCallback()
242 statsd.registerPullAtomCallback(callingUid, atomTag, coolDownMillis, timeoutMillis, in registerPullAtomCallback()
/packages/modules/StatsD/statsd/src/
DStatsService.h182 int32_t uid, int32_t atomTag, int64_t coolDownMillis, int64_t timeoutMillis,
190 int32_t atomTag, int64_t coolDownMillis, int64_t timeoutMillis,
DStatsService.cpp1358 Status StatsService::registerPullAtomCallback(int32_t uid, int32_t atomTag, int64_t coolDownMillis, in registerPullAtomCallback() argument
1365 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerPullAtomCallback()
1372 int32_t atomTag, int64_t coolDownMillis, int64_t timeoutMillis, in registerNativePullAtomCallback() argument
1384 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerNativePullAtomCallback()
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/
DLibStatsPullTests.java308 private native void setStatsPuller(int atomTag, long timeoutMillis, long coolDownMillis, in setStatsPuller() argument