Home
last modified time | relevance | path

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

12345678910>>...27

/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticationService.java22 import android.util.Log;
36 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onCreate()
37 Log.v(TAG, "SampleSyncAdapter Authentication Service started."); in onCreate()
44 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onDestroy()
45 Log.v(TAG, "SampleSyncAdapter Authentication Service stopped."); in onDestroy()
51 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onBind()
52 Log.v(TAG, "getBinder()... returning the AccountAuthenticator binder for intent " in onBind()
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java26 import com.example.android.common.logger.Log;
86 Log.d(TAG, "Keys created"); in onOptionsItemSelected()
89 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected()
91 Log.w(TAG, "No such provider: AndroidKeyStore"); in onOptionsItemSelected()
93 Log.w(TAG, "Invalid Algorithm Parameter Exception", e); in onOptionsItemSelected()
100 Log.w(TAG, "KeyStore not Initialized", e); in onOptionsItemSelected()
102 Log.w(TAG, "KeyPair not recovered", e); in onOptionsItemSelected()
104 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected()
106 Log.w(TAG, "Invalid Key", e); in onOptionsItemSelected()
108 Log.w(TAG, "Invalid Signature", e); in onOptionsItemSelected()
[all …]
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceConfigListenerService.java20 import android.util.Log;
50 if (Log.isLoggable(TAG, Log.DEBUG)) { in onMessageReceived()
51 Log.d(TAG, "Received watch face config message: " + configKeysToOverwrite); in onMessageReceived()
63 Log.e(TAG, "Failed to connect to GoogleApiClient."); in onMessageReceived()
73 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnected()
74 Log.d(TAG, "onConnected: " + connectionHint); in onConnected()
80 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnectionSuspended()
81 Log.d(TAG, "onConnectionSuspended: " + cause); in onConnectionSuspended()
87 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnectionFailed()
88 Log.d(TAG, "onConnectionFailed: " + result); in onConnectionFailed()
DDigitalWatchFaceService.java35 import android.util.Log;
104 if (Log.isLoggable(TAG, Log.VERBOSE)) {
105 Log.v(TAG, "updating time");
165 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate()
166 Log.d(TAG, "onCreate"); in onCreate()
211 if (Log.isLoggable(TAG, Log.DEBUG)) { in onVisibilityChanged()
212 Log.d(TAG, "onVisibilityChanged: " + visible); in onVisibilityChanged()
257 if (Log.isLoggable(TAG, Log.DEBUG)) { in onApplyWindowInsets()
258 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets()
290 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPropertiesChanged()
[all …]
DCardBoundsWatchFaceService.java25 import android.util.Log;
50 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate()
51 Log.d(TAG, "onCreate"); in onCreate()
64 if (Log.isLoggable(TAG, Log.DEBUG)) { in onAmbientModeChanged()
65 Log.d(TAG, "onAmbientModeChanged: " + inAmbientMode); in onAmbientModeChanged()
74 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPeekCardPositionUpdate()
75 Log.d(TAG, "onPeekCardPositionUpdate: " + bounds); in onPeekCardPositionUpdate()
DTiltWatchFaceService.java28 import android.util.Log;
125 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate()
126 Log.d(TAG, "onCreate"); in onCreate()
140 if (Log.isLoggable(TAG, Log.DEBUG)) { in onGlContextCreated()
141 Log.d(TAG, "onGlContextCreated"); in onGlContextCreated()
221 if (Log.isLoggable(TAG, Log.DEBUG)) { in onGlSurfaceCreated()
222 Log.d(TAG, "onGlSurfaceCreated: " + width + " x " + height); in onGlSurfaceCreated()
364 if (Log.isLoggable(TAG, Log.DEBUG)) { in onAmbientModeChanged()
365 Log.d(TAG, "onAmbientModeChanged: " + inAmbientMode); in onAmbientModeChanged()
373 if (Log.isLoggable(TAG, Log.DEBUG)) { in onVisibilityChanged()
[all …]
DAnalogWatchFaceService.java37 import android.util.Log;
80 if (Log.isLoggable(TAG, Log.VERBOSE)) {
81 Log.v(TAG, "updating time");
115 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate()
116 Log.d(TAG, "onCreate"); in onCreate()
166 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPropertiesChanged()
167 Log.d(TAG, "onPropertiesChanged: low-bit ambient = " + mLowBitAmbient); in onPropertiesChanged()
174 if (Log.isLoggable(TAG, Log.DEBUG)) { in onTimeTick()
175 Log.d(TAG, "onTimeTick: ambient = " + isInAmbientMode()); in onTimeTick()
183 if (Log.isLoggable(TAG, Log.DEBUG)) { in onAmbientModeChanged()
[all …]
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
DGestureListener.java22 import com.example.android.common.logger.Log;
32 Log.i(TAG, "Single Tap Up"); in onSingleTapUp()
40 Log.i(TAG, "Long Press"); in onLongPress()
47 Log.i(TAG, "Scroll"); in onScroll()
55 Log.i(TAG, "Fling"); in onFling()
62 Log.i(TAG, "Show Press"); in onShowPress()
68 Log.i(TAG, "Down"); in onDown()
75 Log.i(TAG, "Double tap"); in onDoubleTap()
84 Log.i(TAG, "Event within double tap"); in onDoubleTapEvent()
92 Log.i(TAG, "Single tap confirmed"); in onSingleTapConfirmed()
/development/apps/Development/src/com/android/development/
DBadBehaviorActivity.java34 import android.util.Log;
51 Log.i(TAG, "in broadcast receiver -- about to hang"); in onReceive()
52 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onReceive()
53 Log.i(TAG, "broadcast receiver hang finished -- returning"); in onReceive()
65 Log.i(TAG, "in service start -- about to hang"); in onStartCommand()
66 try { Thread.sleep(30000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onStartCommand()
67 Log.i(TAG, "service hang finished -- stopping and returning"); in onStartCommand()
82 Log.e(TAG, "Can't call IActivityManager.setActivityController", e); in activityStarting()
86 Log.i(TAG, "in activity controller -- about to hang"); in activityStarting()
87 try { Thread.sleep(mDelay); } catch (InterruptedException e) { Log.wtf(TAG, e); } in activityStarting()
[all …]
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DChatConnection.java22 import android.util.Log;
80 Log.e(TAG, "Updating message: " + msg); in updateMessages()
98 Log.d(TAG, "setSocket being called."); in setSocket()
100 Log.d(TAG, "Setting a null socket."); in setSocket()
133 Log.e(TAG, "Error when closing server socket."); in tearDown()
149 Log.d(TAG, "ServerSocket Created, awaiting connection"); in run()
151 Log.d(TAG, "Connected."); in run()
159 Log.e(TAG, "Error creating ServerSocket: ", e); in run()
178 Log.d(CLIENT_TAG, "Creating chatClient"); in ChatClient()
200 Log.d(CLIENT_TAG, "Client-side socket initialized."); in run()
[all …]
DNsdHelper.java22 import android.util.Log;
57 Log.d(TAG, "Service discovery started"); in initializeDiscoveryListener()
62 Log.d(TAG, "Service discovery success" + service); in initializeDiscoveryListener()
64 Log.d(TAG, "Unknown Service Type: " + service.getServiceType()); in initializeDiscoveryListener()
66 Log.d(TAG, "Same machine: " + mServiceName); in initializeDiscoveryListener()
74 Log.e(TAG, "service lost" + service); in initializeDiscoveryListener()
82 Log.i(TAG, "Discovery stopped: " + serviceType); in initializeDiscoveryListener()
87 Log.e(TAG, "Discovery failed: Error code:" + errorCode); in initializeDiscoveryListener()
92 Log.e(TAG, "Discovery failed: Error code:" + errorCode); in initializeDiscoveryListener()
102 Log.e(TAG, "Resolve failed" + errorCode); in initializeResolveListener()
[all …]
DNsdChatActivity.java24 import android.util.Log;
46 Log.d(TAG, "Creating chat activity"); in onCreate()
65 Log.d(TAG, "ServerSocket isn't bound."); in clickAdvertise()
76 Log.d(TAG, "Connecting."); in clickConnect()
80 Log.d(TAG, "No service to connect to!"); in clickConnect()
101 Log.d(TAG, "Starting."); in onStart()
112 Log.d(TAG, "Pausing."); in onPause()
121 Log.d(TAG, "Resuming."); in onResume()
141 Log.d(TAG, "Being stopped."); in onStop()
151 Log.d(TAG, "Being destroyed."); in onDestroy()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DLogHelper.java18 import android.util.Log;
22 log(tag, Log.VERBOSE, null, messages); in v()
26 log(tag, Log.DEBUG, null, messages); in d()
30 log(tag, Log.INFO, null, messages); in i()
34 log(tag, Log.WARN, null, messages); in w()
38 log(tag, Log.WARN, t, messages); in w()
42 log(tag, Log.ERROR, null, messages); in e()
46 log(tag, Log.ERROR, t, messages); in e()
50 if (messages != null && Log.isLoggable(tag, level)) { in log()
60 sb.append("\n").append(Log.getStackTraceString(t)); in log()
[all …]
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPackageValidator.java27 import android.util.Log;
169 Log.i(TAG, "Allowing caller '"+callingPackage+" because app was built in debug mode."); in isCallerAllowed()
178 if (Log.isLoggable(TAG, Log.DEBUG)) { in isCallerAllowed()
179 Log.d(TAG, "Package manager can't find package " + callingPackage in isCallerAllowed()
185 Log.w(TAG, "Package manager can't find package: " + callingPackage); in isCallerAllowed()
190 Log.w(TAG, "Package has more than one signature."); in isCallerAllowed()
202 if (Log.isLoggable(TAG, Log.VERBOSE)) { in isCallerAllowed()
203 Log.v(TAG, "Signature not valid. Found: \n" + in isCallerAllowed()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/logging/
DLogger.java19 import android.util.Log;
69 Log.i(APP_TAG, getMsg(msg)); in i()
73 Log.i(APP_TAG, getMsg(msg), t); in i()
77 Log.d(APP_TAG, getMsg(msg)); in d()
81 Log.d(APP_TAG, getMsg(msg), t); in d()
85 Log.w(APP_TAG, getMsg(msg)); in w()
89 Log.w(APP_TAG, getMsg(msg), t); in w()
93 Log.e(APP_TAG, getMsg(msg)); in e()
97 Log.e(APP_TAG, getMsg(msg), t); in e()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java28 import com.example.android.common.logger.Log;
88 Log.d(TAG, "setState() " + mState + " -> " + state); in setState()
107 Log.d(TAG, "start"); in start()
141 Log.d(TAG, "connect to: " + device); in connect()
171 Log.d(TAG, "connected, Socket Type:" + socketType); in connected()
213 Log.d(TAG, "stop"); in stop()
309 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread()
315 Log.d(TAG, "Socket Type: " + mSocketType + in run()
328 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run()
348 Log.e(TAG, "Could not close unwanted socket", e); in run()
[all …]
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java32 import android.util.Log;
86 if (D) Log.d(TAG, "setState() " + mState + " -> " + state); in setState()
103 if (D) Log.d(TAG, "start"); in start()
130 if (D) Log.d(TAG, "connect to: " + device); in connect()
153 if (D) Log.d(TAG, "connected, Socket Type:" + socketType); in connected()
189 if (D) Log.d(TAG, "stop"); in stop()
284 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread()
290 if (D) Log.d(TAG, "Socket Type: " + mSocketType + in run()
303 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run()
323 Log.e(TAG, "Could not close unwanted socket", e); in run()
[all …]
/development/samples/browseable/ElizaChat/Application/src/com.example.android.wearable.elizachat/
DResponderService.java31 import android.util.Log;
58 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate()
59 Log.d(TAG, "Chat Service started"); in onCreate()
91 if (Log.isLoggable(TAG, Log.DEBUG)) { in showNotification()
92 Log.d(TAG, "Sent: " + mLastResponse); in showNotification()
117 if (Log.isLoggable(TAG, Log.DEBUG)) { in processIncoming()
118 Log.d(TAG, "Received: " + text); in processIncoming()
141 if (Log.isLoggable(TAG, Log.DEBUG)) { in onDestroy()
142 Log.d(TAG, "Chat Service stopped"); in onDestroy()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DBluetoothLeService.java33 import android.util.Log;
79 Log.i(TAG, "Connected to GATT server.");
81 Log.i(TAG, "Attempting to start service discovery:" +
87 Log.i(TAG, "Disconnected from GATT server.");
97 Log.w(TAG, "onServicesDiscovered received: " + status);
134 Log.d(TAG, "Heart rate format UINT16."); in broadcastUpdate()
137 Log.d(TAG, "Heart rate format UINT8."); in broadcastUpdate()
140 Log.d(TAG, String.format("Received heart rate: %d", heartRate)); in broadcastUpdate()
188 Log.e(TAG, "Unable to initialize BluetoothManager."); in initialize()
195 Log.e(TAG, "Unable to obtain a BluetoothAdapter."); in initialize()
[all …]
/development/samples/browseable/Timer/Wearable/src/com.example.android.wearable.timer/
DTimerNotificationService.java26 import android.util.Log;
48 if (Log.isLoggable(TAG, Log.DEBUG)) { in onHandleIntent()
49 Log.d(TAG, "onHandleIntent called with intent: " + intent); in onHandleIntent()
67 if (Log.isLoggable(TAG, Log.DEBUG)) { in restartAlarm()
68 Log.d(TAG, "Timer restarted."); in restartAlarm()
82 if (Log.isLoggable(TAG, Log.DEBUG)) { in deleteTimer()
83 Log.d(TAG, "Timer deleted."); in deleteTimer()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicRetriever.java24 import android.util.Log;
56 Log.i(TAG, "Querying media..."); in prepare()
57 Log.i(TAG, "URI: " + uri.toString()); in prepare()
63 Log.i(TAG, "Query finished. " + (cur == null ? "Returned NULL." : "Returned a cursor.")); in prepare()
67 Log.e(TAG, "Failed to retrieve music: cursor is null :-("); in prepare()
72 Log.e(TAG, "Failed to move cursor to first row (no query results)."); in prepare()
76 Log.i(TAG, "Listing..."); in prepare()
85 Log.i(TAG, "Title column index: " + String.valueOf(titleColumn)); in prepare()
86 Log.i(TAG, "ID column index: " + String.valueOf(titleColumn)); in prepare()
90 Log.i(TAG, "ID: " + cur.getString(idColumn) + " Title: " + cur.getString(titleColumn)); in prepare()
[all …]
/development/testrunner/
Dandroid_build.py45 logger.Log("Error: ANDROID_BUILD_TOP not defined. Please run "
64 logger.Log("Error: ANDROID_HOST_OUT not defined. Please run "
89 logger.Log("Error: Could not get host's OS and/or ARCH")
125 logger.Log("Error: Host bin path could not be found %s" % path)
146 logger.Log("Error: ANDROID_PRODUCT_OUT not defined. Please run "
166 logger.Log("Error: Target native test path could not be found")
187 logger.Log("Error: Target system bin path could not be found")
207 logger.Log("Error: Host library path could not be found %s" % path)
/development/samples/browseable/JumpingJack/Wearable/src/com.example.android.wearable.jumpingjack/
DMainActivity.java31 import android.util.Log;
130 if (Log.isLoggable(TAG, Log.DEBUG)) { in onResume()
131 Log.d(TAG, "Successfully registered for the sensor updates"); in onResume()
140 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPause()
141 Log.d(TAG, "Unregistered for sensor events"); in onPause()
213 if (Log.isLoggable(TAG, Log.DEBUG)) { in renewTimer()
214 Log.d(TAG, in renewTimer()
231 if (Log.isLoggable(TAG, Log.DEBUG)) { in resetFlag()
232 Log.d(TAG, "Resetting FLAG_KEEP_SCREEN_ON flag to allow going to background"); in resetFlag()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java34 import android.util.Log;
58 private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
90 Log.d(TAG, "connecting to: " + route); in connect()
97 Log.d(TAG, "releasing"); in release()
116 Log.d(TAG, "play: item=" + item); in play()
124 Log.e(TAG, "MediaPlayer throws IllegalStateException, uri=" + item.getUri()); in play()
126 Log.e(TAG, "MediaPlayer throws IOException, uri=" + item.getUri()); in play()
128 Log.e(TAG, "MediaPlayer throws IllegalArgumentException, uri=" + item.getUri()); in play()
130 Log.e(TAG, "MediaPlayer throws SecurityException, uri=" + item.getUri()); in play()
142 Log.d(TAG, "seek: item=" + item); in seek()
[all …]
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java30 import android.util.Log;
54 private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
92 Log.d(TAG, "connecting to: " + route); in connect()
99 Log.d(TAG, "releasing"); in release()
113 Log.d(TAG, "play: item=" + item); in play()
121 Log.e(TAG, "MediaPlayer throws IllegalStateException, uri=" + item.getUri()); in play()
123 Log.e(TAG, "MediaPlayer throws IOException, uri=" + item.getUri()); in play()
125 Log.e(TAG, "MediaPlayer throws IllegalArgumentException, uri=" + item.getUri()); in play()
127 Log.e(TAG, "MediaPlayer throws SecurityException, uri=" + item.getUri()); in play()
139 Log.d(TAG, "seek: item=" + item); in seek()
[all …]

12345678910>>...27