Home
last modified time | relevance | path

Searched refs:shouldLog (Results 1 – 15 of 15) sorted by relevance

/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/errorlogging/
DErrorCodeSamplerTest.java63 .that(errorCodeSampler.shouldLog(errorCode)) in testShouldLog_randomSampling_loggingSuccess()
68 .that(errorCodeSampler.shouldLog(errorCode)) in testShouldLog_randomSampling_loggingSuccess()
90 .that(errorCodeSampler.shouldLog(errorCode)) in testShouldLog_noSampling_errorCodeNotPresent()
95 .that(errorCodeSampler.shouldLog(errorCode)) in testShouldLog_noSampling_errorCodeNotPresent()
106 .that(errorCodeSampler.shouldLog(errorCode)) in testShouldLog_noSampling_emptyMap()
118 .that(errorCodeSampler.shouldLog(errorCode)) in testShouldLog_randomSampling_doesNotLog()
123 .that(errorCodeSampler.shouldLog(errorCode)) in testShouldLog_randomSampling_doesNotLog()
130 .that(errorCodeSampler.shouldLog(errorCode)) in testShouldLog_randomSampling_doesNotLog()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/logging/
DJobSchedulingLoggerTest.java138 doReturn(true).when(mSpyJobSchedulingLogger).shouldLog(); in testLogJobStatsHelper()
159 expect.that(mSpyJobSchedulingLogger.shouldLog()).isFalse(); in testShouldLog()
162 expect.that(mSpyJobSchedulingLogger.shouldLog()).isTrue(); in testShouldLog()
DJobServiceLoggerTest.java376 doReturn(true).when(mLogger).shouldLog(); in testLogJobStatsHelper()
406 doReturn(true).when(mLogger).shouldLog(); in testLogJobStatsHelper_overflowValues()
435 doReturn(true).when(mLogger).shouldLog(); in testLogJobStatsHelper_smallNegativePeriod()
464 expect.that(mLogger.shouldLog()).isFalse(); in testShouldLog()
467 expect.that(mLogger.shouldLog()).isTrue(); in testShouldLog()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/logging/
DJobSchedulingLogger.java94 if (!shouldLog()) { in logSchedulingStatsHelper()
122 boolean shouldLog() { in shouldLog() method in JobSchedulingLogger
DJobServiceLogger.java343 if (!shouldLog()) { in logJobStatsHelper()
528 boolean shouldLog() { in shouldLog() method in JobServiceLogger
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceServiceImpl.java248 boolean shouldLog = false; in doJoinCustomAudience()
262 shouldLog = true; in doJoinCustomAudience()
287 if (shouldLog) { in doJoinCustomAudience()
486 boolean shouldLog = false; in doLeaveCustomAudience()
500 shouldLog = true; in doLeaveCustomAudience()
531 if (shouldLog) { in doLeaveCustomAudience()
/packages/modules/AdServices/adservices/tests/unittest/service-core/common/src/com/android/adservices/errorlogging/
DAdServicesErrorLoggerImplTest.java173 when(mErrorCodeSampler.shouldLog(errorCode)).thenReturn(true); in testIsEnabled_customSamplerEnabled_returnsTrue()
186 when(mErrorCodeSampler.shouldLog(errorCode)).thenReturn(false); in testIsEnabled_customSamplerEnabled_returnsFalse()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/
DSearchModeListener.java29 void enterSearchMode(boolean shouldLog); in enterSearchMode() argument
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DProtectedSignalsServiceImpl.java278 boolean shouldLog = false; in doUpdateSignals()
295 shouldLog = true; in doUpdateSignals()
355 if (shouldLog) { in doUpdateSignals()
/packages/apps/Camera2/src/com/android/camera/debug/
DLog.java206 isDebugOsBuild() || shouldLog(tag, level); in isLoggable()
214 private static boolean shouldLog(Tag tag, int level) { in shouldLog() method in Log
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/errorlogging/
DAdServicesErrorLoggerImpl.java85 mErrorCodeSampler == null || mErrorCodeSampler.shouldLog(errorCode); in isEnabled()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/errorlogging/
DErrorCodeSampler.java90 public boolean shouldLog(int errorCode) { in shouldLog() method in ErrorCodeSampler
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java774 private void sendListOfCalls(boolean shouldLog) { in sendListOfCalls() argument
899 sendClccForCall(call, shouldLog); in sendListOfCalls()
913 private void sendClccForCall(BluetoothCall call, boolean shouldLog) { in sendClccForCall() argument
991 if (shouldLog) { in sendClccForCall()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java501 public void enterSearchMode(boolean shouldLog) { in enterSearchMode() argument
505 if (shouldLog) { in enterSearchMode()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1563 final boolean shouldLog = (msg.what != EVENT_NETLINK_LINKPROPERTIES_CHANGED); in recordLogRec()
1564 if (!shouldLog) { in recordLogRec()
1567 return shouldLog; in recordLogRec()