/packages/modules/StatsD/framework/test/unittests/src/android/app/ |
D | PullAtomMetadataTest.java | 53 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/ |
D | pull_atom_metadata_test.cpp | 47 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/ |
D | stats_pull_helper.cpp | 50 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/ |
D | StatsManager.java | 643 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/ |
D | stats_pull_atom_callback.cpp | 107 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/ |
D | IStatsd.aidl | 197 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
|
D | IStatsManagerService.aidl | 133 oneway void registerPullAtomCallback(int atomTag, long coolDownMillis, long timeoutMillis, in registerPullAtomCallback() argument
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsManagerService.java | 189 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/ |
D | StatsService.h | 182 int32_t uid, int32_t atomTag, int64_t coolDownMillis, int64_t timeoutMillis, 190 int32_t atomTag, int64_t coolDownMillis, int64_t timeoutMillis,
|
D | StatsService.cpp | 1358 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/ |
D | LibStatsPullTests.java | 308 private native void setStatsPuller(int atomTag, long timeoutMillis, long coolDownMillis, in setStatsPuller() argument
|