Home
last modified time | relevance | path

Searched refs:isLoggable (Results 1 – 25 of 84) sorted by relevance

1234

/external/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/
DJDK14LoggerAdapter.java65 return logger.isLoggable(Level.FINEST); in isTraceEnabled()
75 if (logger.isLoggable(Level.FINEST)) { in trace()
95 if (logger.isLoggable(Level.FINEST)) { in trace()
118 if (logger.isLoggable(Level.FINEST)) { in trace()
139 if (logger.isLoggable(Level.FINEST)) { in trace()
154 if (logger.isLoggable(Level.FINEST)) { in trace()
165 return logger.isLoggable(Level.FINE); in isDebugEnabled()
175 if (logger.isLoggable(Level.FINE)) { in debug()
194 if (logger.isLoggable(Level.FINE)) { in debug()
217 if (logger.isLoggable(Level.FINE)) { in debug()
[all …]
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/
DLogger.java43 private static boolean VERBOSE = isLoggable(android.util.Log.VERBOSE);
44 private static boolean DEBUG = isLoggable(android.util.Log.DEBUG);
45 private static boolean INFO = isLoggable(android.util.Log.INFO);
46 private static boolean WARN = isLoggable(android.util.Log.WARN);
47 private static boolean ERROR = isLoggable(android.util.Log.ERROR);
85 DEBUG = isLoggable(android.util.Log.DEBUG); in setRcsTestMode()
86 INFO = isLoggable(android.util.Log.INFO); in setRcsTestMode()
87 VERBOSE = isLoggable(android.util.Log.VERBOSE); in setRcsTestMode()
88 WARN = isLoggable(android.util.Log.WARN); in setRcsTestMode()
89 ERROR = isLoggable(android.util.Log.ERROR); in setRcsTestMode()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DLogTest.java143 assertFalse(Log.isLoggable("FOO", Log.VERBOSE)); in infoIsDefaultLoggableLevel()
144 assertFalse(Log.isLoggable("FOO", Log.DEBUG)); in infoIsDefaultLoggableLevel()
146 assertTrue(Log.isLoggable("FOO", Log.INFO)); in infoIsDefaultLoggableLevel()
147 assertTrue(Log.isLoggable("FOO", Log.WARN)); in infoIsDefaultLoggableLevel()
148 assertTrue(Log.isLoggable("FOO", Log.ERROR)); in infoIsDefaultLoggableLevel()
149 assertTrue(Log.isLoggable("FOO", Log.ASSERT)); in infoIsDefaultLoggableLevel()
157 assertTrue(Log.isLoggable("FOO", Log.VERBOSE)); in shouldAlwaysBeLoggableIfStreamIsSpecified()
158 assertTrue(Log.isLoggable("FOO", Log.DEBUG)); in shouldAlwaysBeLoggableIfStreamIsSpecified()
159 assertTrue(Log.isLoggable("FOO", Log.INFO)); in shouldAlwaysBeLoggableIfStreamIsSpecified()
160 assertTrue(Log.isLoggable("FOO", Log.WARN)); in shouldAlwaysBeLoggableIfStreamIsSpecified()
[all …]
/external/droiddriver/src/io/appium/droiddriver/util/
DLogs.java33 if (Log.isLoggable(TAG, priority)) { in call()
42 if (Log.isLoggable(TAG, priority)) { in log()
48 if (Log.isLoggable(TAG, priority)) { in log()
54 if (Log.isLoggable(TAG, priority)) { in log()
60 if (Log.isLoggable(TAG, priority)) { in logfmt()
66 if (Log.isLoggable(TAG, priority)) { in logfmt()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java154 if (Log.isLoggable(TAG, Log.DEBUG)) { in getExifSegment()
165 if (Log.isLoggable(TAG, Log.DEBUG)) { in getExifSegment()
176 if (Log.isLoggable(TAG, Log.DEBUG)) { in getExifSegment()
185 if (Log.isLoggable(TAG, Log.DEBUG)) { in getExifSegment()
206 if (Log.isLoggable(TAG, Log.DEBUG)) { in parseExifSegment()
232 if (Log.isLoggable(TAG, Log.DEBUG)) { in parseExifSegment()
241 if (Log.isLoggable(TAG, Log.DEBUG)) { in parseExifSegment()
247 if (Log.isLoggable(TAG, Log.DEBUG)) { in parseExifSegment()
255 if (Log.isLoggable(TAG, Log.DEBUG)) { in parseExifSegment()
264 if (Log.isLoggable(TAG, Log.DEBUG)) { in parseExifSegment()
[all …]
DDownsampler.java118 if (Log.isLoggable(TAG, Log.WARN)) { in decode()
125 if (Log.isLoggable(TAG, Log.WARN)) { in decode()
218 if (Log.isLoggable(TAG, Log.WARN)) { in shouldUsePool()
225 if (Log.isLoggable(TAG, Log.WARN)) { in shouldUsePool()
245 if (Log.isLoggable(TAG, Log.WARN)) { in getConfig()
252 if (Log.isLoggable(TAG, Log.WARN)) { in getConfig()
314 if (Log.isLoggable(TAG, Log.ERROR)) { in decodeStream()
DTransformationUtils.java88 if (Log.isLoggable(TAG, Log.VERBOSE)) { in fitCenter()
104 if (Log.isLoggable(TAG, Log.VERBOSE)) { in fitCenter()
118 if (Log.isLoggable(TAG, Log.VERBOSE)) { in fitCenter()
166 if (Log.isLoggable(TAG, Log.ERROR)) { in getOrientation()
213 if (Log.isLoggable(TAG, Log.ERROR)) { in rotateImage()
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/
DAndroidLoggerAdapter.java99 return isLoggable(Log.VERBOSE); in isTraceEnabled()
186 return isLoggable(Log.DEBUG); in isDebugEnabled()
272 return isLoggable(Log.INFO); in isInfoEnabled()
360 return isLoggable(Log.WARN); in isWarnEnabled()
448 return isLoggable(Log.ERROR); in isErrorEnabled()
531 if (isLoggable(priority)) { in formatAndLog()
538 if (isLoggable(priority)) { in log()
543 private boolean isLoggable(int priority) { in isLoggable() method in AndroidLoggerAdapter
544 return Log.isLoggable(name, priority); in isLoggable()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DDecodeJob.java85 if (Log.isLoggable(TAG, Log.VERBOSE)) { in decodeResultFromCache()
90 if (Log.isLoggable(TAG, Log.VERBOSE)) { in decodeResultFromCache()
109 if (Log.isLoggable(TAG, Log.VERBOSE)) { in decodeSourceFromCache()
139 if (Log.isLoggable(TAG, Log.VERBOSE)) { in transformEncodeAndTranscode()
147 if (Log.isLoggable(TAG, Log.VERBOSE)) { in transformEncodeAndTranscode()
160 if (Log.isLoggable(TAG, Log.VERBOSE)) { in writeTransformedToCache()
170 if (Log.isLoggable(TAG, Log.VERBOSE)) { in decodeSource()
190 if (Log.isLoggable(TAG, Log.VERBOSE)) { in decodeFromSourceData()
201 if (Log.isLoggable(TAG, Log.VERBOSE)) { in cacheAndDecodeSourceData()
207 if (Log.isLoggable(TAG, Log.VERBOSE) && result != null) { in cacheAndDecodeSourceData()
[all …]
DCacheLoader.java30 if (Log.isLoggable(TAG, Log.DEBUG)) { in load()
35 if (Log.isLoggable(TAG, Log.DEBUG)) { in load()
DEngineRunnable.java60 if (Log.isLoggable(TAG, Log.VERBOSE)) { in run()
110 if (Log.isLoggable(TAG, Log.DEBUG)) { in decodeFromCache()
DEngine.java156 if (Log.isLoggable(TAG, Log.VERBOSE)) { in load()
168 if (Log.isLoggable(TAG, Log.VERBOSE)) { in load()
180 if (Log.isLoggable(TAG, Log.VERBOSE)) { in load()
194 if (Log.isLoggable(TAG, Log.VERBOSE)) { in load()
/external/apache-http/src/org/apache/commons/logging/impl/
DJdk14Logger.java90 if (logger.isLoggable(level)) { in log()
218 return (getLogger().isLoggable(Level.FINE)); in isDebugEnabled()
226 return (getLogger().isLoggable(Level.SEVERE)); in isErrorEnabled()
234 return (getLogger().isLoggable(Level.SEVERE)); in isFatalEnabled()
242 return (getLogger().isLoggable(Level.INFO)); in isInfoEnabled()
250 return (getLogger().isLoggable(Level.FINEST)); in isTraceEnabled()
258 return (getLogger().isLoggable(Level.WARNING)); in isWarnEnabled()
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DHandlerTest.java286 assertTrue(h.isLoggable(r)); in testIsLoggable_NoFilter()
289 assertTrue(h.isLoggable(r)); in testIsLoggable_NoFilter()
292 assertFalse(h.isLoggable(r)); in testIsLoggable_NoFilter()
296 assertFalse(h.isLoggable(r)); in testIsLoggable_NoFilter()
306 assertFalse(h.isLoggable(r)); in testIsLoggable_WithFilter()
309 assertFalse(h.isLoggable(r)); in testIsLoggable_WithFilter()
313 assertFalse(h.isLoggable(r)); in testIsLoggable_WithFilter()
323 h.isLoggable(null); in testIsLoggable_Null()
355 public boolean isLoggable(LogRecord record) { in isLoggable() method in HandlerTest.MockFilter
DMemoryHandlerTest.java113 assertFalse(handler.isLoggable(new LogRecord(Level.SEVERE, "test"))); in testClose()
128 assertTrue(handler.isLoggable(new LogRecord(Level.SEVERE, "test"))); in testFlush()
133 handler.isLoggable(null); in testIsLoggable()
139 assertFalse(handler.isLoggable(record)); in testIsLoggable()
142 assertTrue(handler.isLoggable(record)); in testIsLoggable()
145 assertTrue(handler.isLoggable(record)); in testIsLoggable()
148 assertFalse(handler.isLoggable(record)); in testIsLoggable()
152 assertTrue(handler.isLoggable(record)); in testIsLoggable()
301 assertTrue(handler.isLoggable(lr)); in testSetPushLevel()
360 public boolean isLoggable(LogRecord record) { in isLoggable() method in MemoryHandlerTest.MockFilter
DStreamHandlerTest.java381 assertFalse(h.isLoggable(r)); in testIsLoggable_NoOutputStream()
384 assertFalse(h.isLoggable(r)); in testIsLoggable_NoOutputStream()
387 assertFalse(h.isLoggable(r)); in testIsLoggable_NoOutputStream()
391 assertFalse(h.isLoggable(r)); in testIsLoggable_NoOutputStream()
401 assertTrue(h.isLoggable(r)); in testIsLoggable_NoFilter()
404 assertFalse(h.isLoggable(r)); in testIsLoggable_NoFilter()
407 assertTrue(h.isLoggable(r)); in testIsLoggable_NoFilter()
411 assertFalse(h.isLoggable(r)); in testIsLoggable_NoFilter()
422 assertFalse(h.isLoggable(r)); in testIsLoggable_WithFilter()
426 assertFalse(h.isLoggable(r)); in testIsLoggable_WithFilter()
[all …]
DFilterTest.java31 f.isLoggable(null); in testFilter()
39 public boolean isLoggable(LogRecord record) { in isLoggable() method in FilterTest.MockFilter
DConsoleHandlerTest.java365 assertTrue(h.isLoggable(r1)); in testPublish_AfterClose()
370 assertTrue(h.isLoggable(r2)); in testPublish_AfterClose()
425 public boolean isLoggable(LogRecord record) { in isLoggable() method in ConsoleHandlerTest.MockFilter
508 public boolean isLoggable(LogRecord r) { in isLoggable() method in ConsoleHandlerTest.MockStreamHandler
510 return super.isLoggable(r); in isLoggable()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
DLruBitmapPool.java66 if (Log.isLoggable(TAG, Log.VERBOSE)) { in put()
80 if (Log.isLoggable(TAG, Log.VERBOSE)) { in put()
113 if (Log.isLoggable(TAG, Log.DEBUG)) { in getDirty()
125 if (Log.isLoggable(TAG, Log.VERBOSE)) { in getDirty()
155 if (Log.isLoggable(TAG, Log.DEBUG)) { in trimToSize()
163 if (Log.isLoggable(TAG, Log.VERBOSE)) { in dump()
/external/jmdns/src/javax/jmdns/impl/tasks/
DResponder.java75 if (logger.isLoggable(Level.FINEST)) { in start()
87 if (logger.isLoggable(Level.FINEST)) { in start()
107 if (logger.isLoggable(Level.FINER)) { in run()
124 if (logger.isLoggable(Level.FINER)) { in run()
132 if (logger.isLoggable(Level.FINER)) { in run()
/external/jmdns/src/javax/jmdns/impl/
DJmDNSImpl.java394 if (logger.isLoggable(Level.FINER)) { in JmDNSImpl()
457 if (logger.isLoggable(Level.FINE)) { in openMulticastSocket()
469 if (logger.isLoggable(Level.FINER)) { in closeMulticastSocket()
492 if (logger.isLoggable(Level.FINER)) { in closeMulticastSocket()
1018 if (logger.isLoggable(Level.FINE)) { in registerService()
1036 if (logger.isLoggable(Level.FINE)) { in unregisterService()
1049 if (logger.isLoggable(Level.FINER)) { in unregisterAllServices()
1056 if (logger.isLoggable(Level.FINER)) { in unregisterAllServices()
1067 if (logger.isLoggable(Level.FINER)) { in unregisterAllServices()
1091 if (logger.isLoggable(Level.FINE)) { in registerServiceType()
[all …]
DSocketListener.java51 if (logger.isLoggable(Level.FINEST)) { in run()
72 if (logger.isLoggable(Level.FINEST)) { in run()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DDiskLruCacheWrapper.java76 if (Log.isLoggable(TAG, Log.WARN)) { in get()
100 if (Log.isLoggable(TAG, Log.WARN)) { in put()
112 if (Log.isLoggable(TAG, Log.WARN)) { in delete()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DGenericRequest.java265 if (Log.isLoggable(TAG, Log.VERBOSE)) { in begin()
398 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onSizeReady()
417 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onSizeReady()
424 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onSizeReady()
492 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onResourceReady()
503 if (Log.isLoggable(TAG, Log.DEBUG)) { in onException()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DImageVideoModelLoader.java72 if (Log.isLoggable(TAG, Log.VERBOSE)) { in loadData()
85 if (Log.isLoggable(TAG, Log.VERBOSE)) { in loadData()

1234