Searched refs:mFreezerStatsdSampleRate (Results 1 – 2 of 2) sorted by relevance
161 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo( in init_setsDefaults()262 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo( in init_withDeviceConfigSetsParameters()526 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo( in statsdSampleRate_listensToDeviceConfigChanges()552 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo( in statsdSampleRate_listensToDeviceConfigChangesBadValues()588 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo(0.0f); in statsdSampleRate_listensToDeviceConfigChangesOutOfRangeValues()597 assertThat(mCachedAppOptimizerUnderTest.mFreezerStatsdSampleRate).isEqualTo(1.0f); in statsdSampleRate_listensToDeviceConfigChangesOutOfRangeValues()
484 @VisibleForTesting volatile float mFreezerStatsdSampleRate = DEFAULT_STATSD_SAMPLE_RATE; field in CachedAppOptimizer816 pw.println(" " + KEY_FREEZER_STATSD_SAMPLE_RATE + "=" + mFreezerStatsdSampleRate); in dump()1250 mFreezerStatsdSampleRate = DeviceConfig.getFloat(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER, in updateFreezerStatsdSampleRate()1252 mFreezerStatsdSampleRate = Math.min(1.0f, Math.max(0.0f, mFreezerStatsdSampleRate)); in updateFreezerStatsdSampleRate()2443 if (mRandom.nextFloat() < mFreezerStatsdSampleRate) { in freezeProcess()2482 if (mRandom.nextFloat() < mFreezerStatsdSampleRate) { in reportUnfreeze()