Home
last modified time | relevance | path

Searched refs:isLoggable (Results 1 – 25 of 76) 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/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/
DLogger.java94 public boolean isLoggable(final int logLevel) { in isLoggable() method in Logger
95 return logLevel >= minLogLevel || Log.isLoggable(tag, logLevel); in isLoggable()
132 if (isLoggable(Log.VERBOSE)) { in v()
138 if (isLoggable(Log.VERBOSE)) { in v()
144 if (isLoggable(Log.DEBUG)) { in d()
150 if (isLoggable(Log.DEBUG)) { in d()
156 if (isLoggable(Log.INFO)) { in i()
162 if (isLoggable(Log.INFO)) { in i()
168 if (isLoggable(Log.WARN)) { in w()
174 if (isLoggable(Log.WARN)) { in w()
[all …]
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DLogger.java95 public boolean isLoggable(final int logLevel) { in isLoggable() method in Logger
96 return logLevel >= minLogLevel || Log.isLoggable(tag, logLevel); in isLoggable()
133 if (isLoggable(Log.VERBOSE)) { in v()
139 if (isLoggable(Log.VERBOSE)) { in v()
145 if (isLoggable(Log.DEBUG)) { in d()
151 if (isLoggable(Log.DEBUG)) { in d()
157 if (isLoggable(Log.INFO)) { in i()
163 if (isLoggable(Log.INFO)) { in i()
169 if (isLoggable(Log.WARN)) { in w()
175 if (isLoggable(Log.WARN)) { in w()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLogTest.java223 assertFalse(Log.isLoggable("FOO", Log.VERBOSE)); in infoIsDefaultLoggableLevel()
224 assertFalse(Log.isLoggable("FOO", Log.DEBUG)); in infoIsDefaultLoggableLevel()
226 assertTrue(Log.isLoggable("FOO", Log.INFO)); in infoIsDefaultLoggableLevel()
227 assertTrue(Log.isLoggable("FOO", Log.WARN)); in infoIsDefaultLoggableLevel()
228 assertTrue(Log.isLoggable("FOO", Log.ERROR)); in infoIsDefaultLoggableLevel()
229 assertTrue(Log.isLoggable("FOO", Log.ASSERT)); in infoIsDefaultLoggableLevel()
237 assertTrue(Log.isLoggable("FOO", Log.VERBOSE)); in shouldAlwaysBeLoggableIfStreamIsSpecified()
238 assertTrue(Log.isLoggable("FOO", Log.DEBUG)); in shouldAlwaysBeLoggableIfStreamIsSpecified()
239 assertTrue(Log.isLoggable("FOO", Log.INFO)); in shouldAlwaysBeLoggableIfStreamIsSpecified()
240 assertTrue(Log.isLoggable("FOO", Log.WARN)); in shouldAlwaysBeLoggableIfStreamIsSpecified()
[all …]
/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/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/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()
/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/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetClientStream.java272 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in bytesRead()
348 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in streamWrite()
353 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in streamWrite()
374 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in onStreamReady()
388 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in onResponseHeadersReceived()
400 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in onReadCompleted()
421 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in onWriteCompleted()
455 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in processTrailers()
462 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in onSucceeded()
481 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in onFailed()
[all …]
/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/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DInternalSubchannel.java243 if (log.isLoggable(Level.FINE)) { in startNewTransport()
290 if (log.isLoggable(Level.FINE)) { in scheduleBackoff()
404 if (log.isLoggable(Level.FINE)) { in shutdown()
547 if (log.isLoggable(Level.FINE)) { in transportReady()
581 if (log.isLoggable(Level.FINE)) { in transportShutdown()
617 if (log.isLoggable(Level.FINE)) { in transportTerminated()
627 if (log.isLoggable(Level.FINE)) { in transportTerminated()
DJndiResourceResolverFactory.java108 if (logger.isLoggable(Level.FINER)) { in resolveTxt()
114 if (logger.isLoggable(Level.FINER)) { in resolveTxt()
130 if (logger.isLoggable(Level.FINER)) { in resolveSrv()
136 if (logger.isLoggable(Level.FINER)) { in resolveSrv()

1234