Home
last modified time | relevance | path

Searched refs:logSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DLogdSizePreferenceControllerTest.java119 final String logSize = SystemProperties.get(SELECT_LOGD_SIZE_PROPERTY); in onPreferenceChange_noTagsSizeValueOff_shouldSetTagAndSnetTagAndSet64KSize() local
123 assertThat(logSize).isEqualTo(SELECT_LOGD_MINIMUM_SIZE_VALUE); in onPreferenceChange_noTagsSizeValueOff_shouldSetTagAndSnetTagAndSet64KSize()
132 final String logSize = SystemProperties.get(SELECT_LOGD_SIZE_PROPERTY); in onPreferenceChange_noTagsSizeValue64K_shouldNotSetTagAndSet64KSize() local
136 assertThat(logSize).isEqualTo(SELECT_LOGD_MINIMUM_SIZE_VALUE); in onPreferenceChange_noTagsSizeValue64K_shouldNotSetTagAndSet64KSize()
144 final String logSize = SystemProperties.get(SELECT_LOGD_SIZE_PROPERTY); in onPreferenceChange_set1M_shouldUpdateSettingLogSizeTo1M() local
146 assertThat(logSize).isEqualTo(mListValues[3]); in onPreferenceChange_set1M_shouldUpdateSettingLogSizeTo1M()
153 final String logSize = SystemProperties.get(SELECT_LOGD_SIZE_PROPERTY); in onPreferenceChange_noValue_shouldUpdateSettingToEmpty() local
155 assertThat(logSize).isEmpty(); in onPreferenceChange_noValue_shouldUpdateSettingToEmpty()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java461 final int logSize = mPendingLogs.size(); in notifyDeviceOwnerIfNeeded() local
462 if (logSize >= BUFFER_ENTRIES_NOTIFICATION_LEVEL || (force && logSize > 0)) { in notifyDeviceOwnerIfNeeded()
467 if (DEBUG) Slog.d(TAG, "Number of log entries over threshold: " + logSize); in notifyDeviceOwnerIfNeeded()
469 if (logSize > 0 && SystemClock.elapsedRealtime() >= mNextAllowedRetrievalTimeMillis) { in notifyDeviceOwnerIfNeeded()