Searched refs:mFreezerStatsdSampleRate (Results 1 – 2 of 2) sorted by relevance
285 @VisibleForTesting volatile float mFreezerStatsdSampleRate = DEFAULT_STATSD_SAMPLE_RATE; field in CachedAppOptimizer420 pw.println(" " + KEY_FREEZER_STATSD_SAMPLE_RATE + "=" + mFreezerStatsdSampleRate); in dump()795 mFreezerStatsdSampleRate = DeviceConfig.getFloat(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in updateFreezerStatsdSampleRate()797 mFreezerStatsdSampleRate = Math.min(1.0f, Math.max(0.0f, mFreezerStatsdSampleRate)); in updateFreezerStatsdSampleRate()1397 if (mRandom.nextFloat() < mFreezerStatsdSampleRate) { in freezeProcess()1433 if (mRandom.nextFloat() < mFreezerStatsdSampleRate) { in reportUnfreeze()
166 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo( in init_setsDefaults()285 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo( in init_withDeviceConfigSetsParameters()638 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo( in statsdSampleRate_listensToDeviceConfigChanges()664 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo( in statsdSampleRate_listensToDeviceConfigChangesBadValues()700 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo(0.0f); in statsdSampleRate_listensToDeviceConfigChangesOutOfRangeValues()709 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo(1.0f); in statsdSampleRate_listensToDeviceConfigChangesOutOfRangeValues()