Home
last modified time | relevance | path

Searched refs:Log (Results 1 – 25 of 931) sorted by relevance

12345678910>>...38

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLogTest.java10 import android.util.Log;
25 Log.d("tag", "msg"); in d_shouldLogAppropriately()
27 assertLogged(Log.DEBUG, "tag", "msg", null); in d_shouldLogAppropriately()
34 Log.d("tag", "msg", throwable); in d_shouldLogAppropriately_withThrowable()
36 assertLogged(Log.DEBUG, "tag", "msg", throwable); in d_shouldLogAppropriately_withThrowable()
41 Log.e("tag", "msg"); in e_shouldLogAppropriately()
43 assertLogged(Log.ERROR, "tag", "msg", null); in e_shouldLogAppropriately()
50 Log.e("tag", "msg", throwable); in e_shouldLogAppropriately_withThrowable()
52 assertLogged(Log.ERROR, "tag", "msg", throwable); in e_shouldLogAppropriately_withThrowable()
57 Log.i("tag", "msg"); in i_shouldLogAppropriately()
[all …]
/external/v8/src/
Dlog-utils.cc19 const char* const Log::kLogToTemporaryFile = "&";
20 const char* const Log::kLogToConsole = "-";
23 FILE* Log::CreateOutputHandle(const char* file_name) { in CreateOutputHandle()
25 if (!Log::InitLogAtStart()) { in CreateOutputHandle()
36 Log::Log(Logger* logger, const char* file_name) in Log() function in v8::internal::Log
38 output_handle_(Log::CreateOutputHandle(file_name)), in Log()
56 Log::MessageBuilder msg(this); in Log()
68 FILE* Log::Close() { in Close()
86 Log::MessageBuilder::MessageBuilder(Log* log) in MessageBuilder()
91 void Log::MessageBuilder::AppendString(String* str, in AppendString()
[all …]
Dlog-utils.h29 class Log {
31 Log(Logger* log, const char* log_file_name);
65 explicit MessageBuilder(Log* log);
99 Log* log_;
136 Log::MessageBuilder& Log::MessageBuilder::operator<<<LogSeparator>(
139 Log::MessageBuilder& Log::MessageBuilder::operator<<<void*>(void* pointer);
141 Log::MessageBuilder& Log::MessageBuilder::operator<<<const char*>(
144 Log::MessageBuilder& Log::MessageBuilder::operator<<<char>(char c);
146 Log::MessageBuilder& Log::MessageBuilder::operator<<<String*>(String* string);
148 Log::MessageBuilder& Log::MessageBuilder::operator<<<Symbol*>(Symbol* symbol);
[all …]
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/
DAndroidLoggerAdapter.java27 import android.util.Log;
99 return isLoggable(Log.VERBOSE); in isTraceEnabled()
109 log(Log.VERBOSE, msg, null); in trace()
127 formatAndLog(Log.VERBOSE, format, arg); in trace()
147 formatAndLog(Log.VERBOSE, format, arg1, arg2); in trace()
165 formatAndLog(Log.VERBOSE, format, argArray); in trace()
177 log(Log.VERBOSE, msg, t); in trace()
186 return isLoggable(Log.DEBUG); in isDebugEnabled()
196 log(Log.DEBUG, msg, null); in debug()
213 formatAndLog(Log.DEBUG, format, arg); in debug()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java9 import android.util.Log;
154 if (Log.isLoggable(TAG, Log.DEBUG)) { in getExifSegment()
155 Log.d(TAG, "Unknown segmentId=" + segmentId); in getExifSegment()
165 if (Log.isLoggable(TAG, Log.DEBUG)) { in getExifSegment()
166 Log.d(TAG, "Found MARKER_EOI in exif segment"); in getExifSegment()
176 if (Log.isLoggable(TAG, Log.DEBUG)) { in getExifSegment()
177 Log.d(TAG, "Unable to skip enough data for type=" + segmentType); in getExifSegment()
185 if (Log.isLoggable(TAG, Log.DEBUG)) { in getExifSegment()
186Log.d(TAG, "Unable to read segment data for type=" + segmentType + " length=" + segmentLength); in getExifSegment()
206 if (Log.isLoggable(TAG, Log.DEBUG)) { in parseExifSegment()
[all …]
/external/libchrome/base/
Dlogging_unittest.cc88 MOCK_METHOD0(Log, const char*());
100 EXPECT_CALL(mock_log_source, Log()) in TEST_F()
110 LOG(INFO) << mock_log_source.Log(); in TEST_F()
111 LOG_IF(INFO, true) << mock_log_source.Log(); in TEST_F()
112 PLOG(INFO) << mock_log_source.Log(); in TEST_F()
113 PLOG_IF(INFO, true) << mock_log_source.Log(); in TEST_F()
114 VLOG(0) << mock_log_source.Log(); in TEST_F()
115 VLOG_IF(0, true) << mock_log_source.Log(); in TEST_F()
116 VPLOG(0) << mock_log_source.Log(); in TEST_F()
117 VPLOG_IF(0, true) << mock_log_source.Log(); in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/
DLogger.java18 import android.util.Log;
27 private static final int DEFAULT_MIN_LOG_LEVEL = Log.DEBUG;
95 return logLevel >= minLogLevel || Log.isLoggable(tag, logLevel); in isLoggable()
132 if (isLoggable(Log.VERBOSE)) { in v()
133 Log.v(tag, toMessage(format, args)); in v()
138 if (isLoggable(Log.VERBOSE)) { in v()
139 Log.v(tag, toMessage(format, args), t); in v()
144 if (isLoggable(Log.DEBUG)) { in d()
145 Log.d(tag, toMessage(format, args)); in d()
150 if (isLoggable(Log.DEBUG)) { in d()
[all …]
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DLogger.java18 import android.util.Log;
28 private static final int DEFAULT_MIN_LOG_LEVEL = Log.DEBUG;
96 return logLevel >= minLogLevel || Log.isLoggable(tag, logLevel); in isLoggable()
133 if (isLoggable(Log.VERBOSE)) { in v()
134 Log.v(tag, toMessage(format, args)); in v()
139 if (isLoggable(Log.VERBOSE)) { in v()
140 Log.v(tag, toMessage(format, args), t); in v()
145 if (isLoggable(Log.DEBUG)) { in d()
146 Log.d(tag, toMessage(format, args)); in d()
151 if (isLoggable(Log.DEBUG)) { in d()
[all …]
/external/droiddriver/src/io/appium/droiddriver/util/
DLogs.java20 import android.util.Log;
29 call(Log.DEBUG, self, method, args); in call()
33 if (Log.isLoggable(TAG, priority)) { in call()
34 Log.d( in call()
42 if (Log.isLoggable(TAG, priority)) { in log()
43 Log.println(priority, TAG, msg); in log()
48 if (Log.isLoggable(TAG, priority)) { in log()
49 Log.println(priority, TAG, Log.getStackTraceString(e)); in log()
54 if (Log.isLoggable(TAG, priority)) { in log()
55 Log.println(priority, TAG, msg + '\n' + Log.getStackTraceString(e)); in log()
[all …]
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/
DLogger.java32 import android.util.Log;
43 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()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DInCallServiceImpl.java34 import com.googlecode.android_scripting.Log;
63 Log.d("CallListener:onCallAdded()"); in onCallAdded()
72 Log.d("CallListener:onCallRemoved()"); in onCallRemoved()
185 Log.d("CallCallback:onStateChanged()"); in onStateChanged()
196 Log.d("CallCallback:onParentChanged()"); in onParentChanged()
207 Log.d("CallCallback:onChildrenChanged()"); in onChildrenChanged()
224 Log.d("CallCallback:onDetailsChanged()"); in onDetailsChanged()
236 Log.d("CallCallback:onCannedTextResponsesLoaded()"); in onCannedTextResponsesLoaded()
247 Log.d("CallCallback:onPostDialWait()"); in onPostDialWait()
265 Log.d("CallCallback:onVideoCallChanged()"); in onVideoCallChanged()
[all …]
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DLog.java28 public class Log { class
30 private Log() { in Log() method in Log
63 android.util.Log.v(getTag(), String.format("%s %s", contentTitle, message)); in notify()
84 android.util.Log.v(getTag(), String.format("%s %s", title, message)); in showDialog()
106 android.util.Log.v(getTag(), message); in v()
110 android.util.Log.v(getTag(), message, e); in v()
115 android.util.Log.v(getTag(), message); in v()
120 android.util.Log.v(getTag(), message, e); in v()
124 android.util.Log.e(getTag(), "Error", e); in e()
128 android.util.Log.e(getTag(), message); in e()
[all …]
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuideClient/
DProgram.cs45 Log("*** GetFeature: lat={0} lon={1}", lat, lon); in GetFeature()
52 Log("Found feature called \"{0}\" at {1}, {2}", in GetFeature()
57 Log("Found no feature at {0}, {1}", in GetFeature()
63 Log("RPC failed " + e); in GetFeature()
76Log("*** ListFeatures: lowLat={0} lowLon={1} hiLat={2} hiLon={3}", lowLat, lowLon, hiLat, in ListFeatures()
95 Log(responseLog.ToString()); in ListFeatures()
100 Log("RPC failed " + e); in ListFeatures()
113 Log("*** RecordRoute"); in RecordRoute()
123Log("Visiting point {0}, {1}", point.GetLatitude(), point.GetLongitude()); in RecordRoute()
133 Log("Finished trip with {0} points. Passed {1} features. " in RecordRoute()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DDecodeJob.java3 import android.util.Log;
85 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()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
DLruBitmapPool.java8 import android.util.Log;
66 if (Log.isLoggable(TAG, Log.VERBOSE)) { in put()
67 Log.v(TAG, "Reject bitmap from pool=" + strategy.logBitmap(bitmap) + " is mutable=" in put()
80 if (Log.isLoggable(TAG, Log.VERBOSE)) { in put()
81 Log.v(TAG, "Put bitmap in pool=" + strategy.logBitmap(bitmap)); in put()
113 if (Log.isLoggable(TAG, Log.DEBUG)) { in getDirty()
114 Log.d(TAG, "Missing bitmap=" + strategy.logBitmap(width, height, config)); in getDirty()
125 if (Log.isLoggable(TAG, Log.VERBOSE)) { in getDirty()
126 Log.v(TAG, "Get bitmap=" + strategy.logBitmap(width, height, config)); in getDirty()
155 if (Log.isLoggable(TAG, Log.DEBUG)) { in trimToSize()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/tools/
Dvideo_quality_measurement.cc132 int Log(const char* format, ...) { in Log() function
305 Log("Calculating SSIM...\n"); in CalculateSsimVideoMetrics()
309 Log(" Average: %3.2f\n", result->average); in CalculateSsimVideoMetrics()
310 Log(" Min : %3.2f (frame %d)\n", result->min, result->min_frame_number); in CalculateSsimVideoMetrics()
311 Log(" Max : %3.2f (frame %d)\n", result->max, result->max_frame_number); in CalculateSsimVideoMetrics()
316 Log("Calculating PSNR...\n"); in CalculatePsnrVideoMetrics()
320 Log(" Average: %3.2f\n", result->average); in CalculatePsnrVideoMetrics()
321 Log(" Min : %3.2f (frame %d)\n", result->min, result->min_frame_number); in CalculatePsnrVideoMetrics()
322 Log(" Max : %3.2f (frame %d)\n", result->max, result->max_frame_number); in CalculatePsnrVideoMetrics()
326 Log("Quality test with parameters:\n"); in PrintConfigurationSummary()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothMediaFacade.java32 import com.googlecode.android_scripting.Log;
130 Log.d(TAG + " Num Sessions " + mcl.size()); in BluetoothMediaFacade()
132 Log.d(TAG + "Active session : " + i + ((MediaController) (mcl.get( in BluetoothMediaFacade()
157 Log.d(TAG + " onActiveSessionsChanged : " + controllers.size()); in onActiveSessionsChanged()
159 Log.d(TAG + "Active session : " + i + ((MediaController) (controllers.get( in onActiveSessionsChanged()
185 Log.d(TAG + " onPlaybackStateChanged: " + state.getState()); in onPlaybackStateChanged()
190 Log.d(TAG + " onMetadataChanged "); in onMetadataChanged()
207 Log.d(classTag + " onConnected: session token " + mBrowser.getSessionToken());
216 Log.d(classTag + " onConnectionFailed");
231 Log.d(TAG + " Setting MediaController " + controller.getTag()); in setCurrentMediaController()
[all …]
DBluetoothSocketConnFacade.java25 import com.googlecode.android_scripting.Log;
76 Log.d("BluetoothConnection:getConnection: connID=" + connID); in getConnection()
83 Log.e("More than one available connections. Num=" + mConnections.size()); in getConnection()
158 Log.d("bluetoothSocketConnBeginConnectThreadPsm: Coc connecting to " + address + ", isBle=" in bluetoothSocketConnBeginConnectThreadPsm()
176 Log.d("bluetoothGetLastConnId from Accept Thread: connUuid=" + connUuid); in bluetoothGetLastConnId()
181 Log.d("bluetoothGetLastConnId from Connect Thread: connUuid=" + connUuid); in bluetoothGetLastConnId()
184 Log.e("bluetoothGetLastConnId: No active threads"); in bluetoothGetLastConnId()
197 Log.e("Interrupted Exception: " + e.toString()); in bluetoothSocketConnKillConnThread()
266 Log.d("bluetoothSocketConnBeginAcceptThreadUuid: uuid=" + uuid); in bluetoothSocketConnBeginAcceptThreadUuid()
293 Log.d("bluetoothSocketConnBeginAcceptThreadPsm: PSM value=" + psmValue); in bluetoothSocketConnBeginAcceptThreadPsm()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/net/
DIpSecManagerFacade.java32 import com.googlecode.android_scripting.Log;
88 Log.e("IpSec: Cannot create Transport mode transform" + e.toString()); in createTransportModeTransform()
97 Log.e("IpSec: Reserve SPI failure " + e.toString()); in allocateSpi()
106 Log.e("IpSec: Reserve SPI failure " + e.toString()); in allocateSpi()
116 Log.e("IpSec: Failed to open udp encap socket " + e.toString()); in openUdpEncapSocket()
125 Log.e("IpSec: Failed to open udp encap socket " + e.toString()); in openUdpEncapSocket()
155 Log.e("IpSec: Received null FileDescriptor key"); in ipSecApplyTransportModeTransformFileDescriptor()
161 Log.e("IpSec: Transform does not exist for the requested id"); in ipSecApplyTransportModeTransformFileDescriptor()
167 Log.e("IpSec: Cannot apply transform to socket " + e.toString()); in ipSecApplyTransportModeTransformFileDescriptor()
181 Log.e("IpSec: Received null FileDescriptor key"); in ipSecRemoveTransportModeTransformsFileDescriptor()
[all …]
DSocketFacade.java23 import com.googlecode.android_scripting.Log;
165 Log.e("Socket: Failed to open TCP client socket " + e.toString()); in openTcpSocket()
179 Log.e("Socket: Socket does not exist for the requested id"); in closeTcpSocket()
187 Log.e("Socket: Failed to close TCP client socket " + e.toString()); in closeTcpSocket()
207 Log.e("Socket: Failed to open TCP server socket " + e.toString()); in openTcpServerSocket()
221 Log.e("Socket: Server socket does not exist for the requested id"); in closeTcpServerSocket()
229 Log.e("Socket: Failed to close TCP server socket " + e.toString()); in closeTcpServerSocket()
246 Log.e("Socket: Server socket does not exist for the requested id"); in getTcpServerSocketPort()
266 Log.e("Socket: Failed to accept connection " + e.toString()); in acceptTcpSocket()
281 Log.e("Socket: Socket does not exist for the requested id"); in sendDataOverTcpSocket()
[all …]
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPeerConnectionClient.java16 import android.util.Log;
266 Log.e(TAG, "Creating peer connection without initializing factory."); in createPeerConnection()
301 Log.d(TAG, "Create peer connection factory. Use video: " + in createPeerConnectionFactoryInternal()
317 Log.d(TAG, "Pereferred video codec: " + preferredVideoCodec); in createPeerConnectionFactoryInternal()
328 Log.d(TAG, "Disable OpenSL ES audio even if device supports it"); in createPeerConnectionFactoryInternal()
331 Log.d(TAG, "Allow OpenSL ES audio if device supports it"); in createPeerConnectionFactoryInternal()
342 Log.d(TAG, "Factory networkIgnoreMask option: " + options.networkIgnoreMask); in createPeerConnectionFactoryInternal()
345 Log.d(TAG, "Peer connection factory created."); in createPeerConnectionFactoryInternal()
363 Log.w(TAG, "No camera on device. Switch to audio only call."); in createMediaConstraintsInternal()
410 Log.d(TAG, "Disabling audio processing"); in createMediaConstraintsInternal()
[all …]
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetClientStream.java24 import android.util.Log;
272 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in bytesRead()
273 Log.v(LOG_TAG, "BidirectionalStream.read"); in bytesRead()
348 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in streamWrite()
349 Log.v(LOG_TAG, "BidirectionalStream.write"); in streamWrite()
353 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in streamWrite()
354 Log.v(LOG_TAG, "BidirectionalStream.flush"); in streamWrite()
374 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in onStreamReady()
375 Log.v(LOG_TAG, "onStreamReady"); in onStreamReady()
388 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in onResponseHeadersReceived()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DDebugLog.java19 import android.util.Log;
35 result = Log.v(tag, msg); in v()
43 result = Log.v(tag, msg, tr); in v()
51 result = Log.d(tag, msg); in d()
59 result = Log.d(tag, msg, tr); in d()
67 result = Log.i(tag, msg); in i()
75 result = Log.i(tag, msg, tr); in i()
83 result = Log.w(tag, msg); in w()
91 result = Log.w(tag, msg, tr); in w()
99 result = Log.w(tag, tr); in w()
[all …]
/external/parameter-framework/upstream/test/functional-tests/include/
DStoreLogger.hpp49 struct Log struct in parameterFramework::StoreLogger
58 bool operator==(const Log &other) const in operator ==() argument
63 using Logs = std::vector<Log>;
67 logs.push_back({Log::Level::warning, strLog}); in warning()
69 void info(const std::string &strLog) override { logs.push_back({Log::Level::info, strLog}); } in info()
73 Logs filter(Log::Level level) const in filter()
75 return filter([&level](const Log &log) { return log.level == level; }); in filter()
81 [&pattern](const Log &log) { return log.msg.find(pattern) == std::string::npos; }); in match()
97 std::ostream &operator<<(std::ostream &os, const StoreLogger::Log::Level &level) in operator <<()
100 using L = StoreLogger::Log::Level; in operator <<()
[all …]
/external/slf4j/slf4j-migrator/jcl/
Djclcontent.java5 import org.apache.commons.logging.Log;
8 Log l = LogFactory.getLog(MyClass.class);
9 Log mylog=LogFactory.getLog(MyClass.class);
10 Log mylog1 = LogFactory.getLog(MyClass.class);
11 Log mylog2 = LogFactory.getLog(MyClass.class);
13 Log log3=LogFactory.getFactory().getInstance(MyClass.class);
14 Log mylog4 = LogFactory.getFactory().getInstance(MyClass.class);
15 Log mylog5 = LogFactory.getLog(MyClass.class);
17 Log myLog6;

12345678910>>...38