Home
last modified time | relevance | path

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

12345678910>>...31

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceConfigListenerService.java20 import android.util.Log;
44 if (Log.isLoggable(TAG, Log.DEBUG)) { in onMessageReceived()
45 Log.d(TAG, "onMessageReceived: " + messageEvent); in onMessageReceived()
55 if (Log.isLoggable(TAG, Log.DEBUG)) { in onMessageReceived()
56 Log.d(TAG, "Received watch face config message: " + configKeysToOverwrite); in onMessageReceived()
68 Log.e(TAG, "Failed to connect to GoogleApiClient."); in onMessageReceived()
78 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnected()
79 Log.d(TAG, "onConnected: " + connectionHint); in onConnected()
85 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnectionSuspended()
86 Log.d(TAG, "onConnectionSuspended: " + cause); in onConnectionSuspended()
[all …]
DFitStepsWatchFaceService.java47 import android.util.Log;
111 if (Log.isLoggable(TAG, Log.VERBOSE)) {
112 Log.v(TAG, "updating time");
180 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate()
181 Log.d(TAG, "onCreate"); in onCreate()
242 if (Log.isLoggable(TAG, Log.DEBUG)) { in onVisibilityChanged()
243 Log.d(TAG, "onVisibilityChanged: " + visible); in onVisibilityChanged()
287 if (Log.isLoggable(TAG, Log.DEBUG)) { in onApplyWindowInsets()
288 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets()
323 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPropertiesChanged()
[all …]
DInteractiveWatchFaceService.java28 import android.util.Log;
78 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate()
79 Log.d(TAG, "onCreate"); in onCreate()
109 if (Log.isLoggable(TAG, Log.DEBUG)) { in onApplyWindowInsets()
110 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets()
131 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPeekCardPositionUpdate()
132 Log.d(TAG, "onPeekCardPositionUpdate: " + bounds); in onPeekCardPositionUpdate()
150 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPropertiesChanged()
151 Log.d(TAG, "onPropertiesChanged: burn-in protection = " + burnInProtection in onPropertiesChanged()
159 if (Log.isLoggable(TAG, Log.DEBUG)) { in onAmbientModeChanged()
[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()
DDigitalWatchFaceService.java36 import android.util.Log;
109 if (Log.isLoggable(TAG, Log.VERBOSE)) {
110 Log.v(TAG, "updating time");
186 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate()
187 Log.d(TAG, "onCreate"); in onCreate()
239 if (Log.isLoggable(TAG, Log.DEBUG)) { in onVisibilityChanged()
240 Log.d(TAG, "onVisibilityChanged: " + visible); in onVisibilityChanged()
293 if (Log.isLoggable(TAG, Log.DEBUG)) { in onApplyWindowInsets()
294 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets()
327 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPropertiesChanged()
[all …]
DOpenGLWatchFaceService.java27 import android.util.Log;
128 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate()
129 Log.d(TAG, "onCreate"); in onCreate()
143 if (Log.isLoggable(TAG, Log.DEBUG)) { in onGlContextCreated()
144 Log.d(TAG, "onGlContextCreated"); in onGlContextCreated()
224 if (Log.isLoggable(TAG, Log.DEBUG)) { in onGlSurfaceCreated()
225 Log.d(TAG, "onGlSurfaceCreated: " + width + " x " + height); in onGlSurfaceCreated()
367 if (Log.isLoggable(TAG, Log.DEBUG)) { in onAmbientModeChanged()
368 Log.d(TAG, "onAmbientModeChanged: " + inAmbientMode); in onAmbientModeChanged()
376 if (Log.isLoggable(TAG, Log.DEBUG)) { in onVisibilityChanged()
[all …]
/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.java19 import com.example.android.common.logger.Log;
90 Log.d(TAG, "Keys created"); in onOptionsItemSelected()
93 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected()
95 Log.w(TAG, "No such provider: AndroidKeyStore"); in onOptionsItemSelected()
97 Log.w(TAG, "Invalid Algorithm Parameter Exception", e); in onOptionsItemSelected()
104 Log.w(TAG, "KeyStore not Initialized", e); in onOptionsItemSelected()
106 Log.w(TAG, "KeyPair not recovered", e); in onOptionsItemSelected()
108 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected()
110 Log.w(TAG, "Invalid Key", e); in onOptionsItemSelected()
112 Log.w(TAG, "Invalid Signature", e); in onOptionsItemSelected()
[all …]
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DDeleteService.java24 import android.util.Log;
65 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onHandleIntent()
66 Log.v(TAG, "DeleteService.onHandleIntent=" + dataItemUri); in onHandleIntent()
76 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onHandleIntent()
77 Log.v(TAG, "DeleteService.onHandleIntent: Failed to delete dataItem:" in onHandleIntent()
87 Log.e(TAG, "Failed to delete data item: " + dataItemUri in onHandleIntent()
108 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnected()
109 Log.d(TAG, "onConnected: " + connectionHint); in onConnected()
115 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnectionSuspended()
116 Log.d(TAG, "onConnectionSuspended: " + cause); in onConnectionSuspended()
[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/apps/Development/src/com/android/development/
DBadBehaviorActivity.java35 import android.util.Log;
56 Log.i(TAG, "in broadcast receiver -- about to hang"); in onReceive()
57 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onReceive()
58 Log.i(TAG, "broadcast receiver hang finished -- returning"); in onReceive()
70 Log.i(TAG, "in service start -- about to hang"); in onStartCommand()
71 try { Thread.sleep(30000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onStartCommand()
72 Log.i(TAG, "service hang finished -- stopping and returning"); in onStartCommand()
87 Log.e(TAG, "Can't call IActivityManager.setActivityController", e); in activityStarting()
91 Log.i(TAG, "in activity controller -- about to hang"); in activityStarting()
92 try { Thread.sleep(mDelay); } catch (InterruptedException e) { Log.wtf(TAG, e); } in activityStarting()
[all …]
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java31 import android.util.Log;
107 Log.i(TAG, "onGetEventsClicked(): Checking permission."); in onGetEventsClicked()
125 Log.i(TAG, "Permissions already granted. Starting service."); in onGetEventsClicked()
138 Log.i(TAG, "CALENDAR permission has NOT been granted. Requesting permission."); in requestCalendarAndContactPermissions()
155 Log.i(TAG, "Display calendar & contact permissions rationale for additional context."); in requestCalendarAndContactPermissions()
200 if (Log.isLoggable(TAG, Log.DEBUG)) { in onDeleteEventsClicked()
201 Log.d(TAG, "onDeleteEventsClicked(): failed to get Data " in onDeleteEventsClicked()
211 Log.e(TAG, "Failed to delete data items" in onDeleteEventsClicked()
238 Log.e(TAG, "Failed to delete data items" in deleteDataItems()
245 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnected()
[all …]
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/activities/
DLoggingActivity.java20 import com.example.android.common.logger.Log;
46 Log.d(mLogTag, "onCreate"); in onCreate()
54 Log.d(mLogTag, "onPostCreate"); in onPostCreate()
60 Log.d(mLogTag, "onPause"); in onPause()
66 Log.d(mLogTag, "onDestroy"); in onDestroy()
72 Log.d(mLogTag, "onResume"); in onResume()
78 Log.d(mLogTag, "onConfigurationChanged: " + newConfig.toString()); in onConfigurationChanged()
84 Log.d(mLogTag, "onPostCreate"); in onPostCreate()
93 Log.d(mLogTag, "onStart"); in onStart()
102 Log.d(mLogTag, "onStop"); in onStop()
[all …]
/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/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DLogHelper.java18 import android.util.Log;
47 log(tag, Log.VERBOSE, null, messages); in v()
54 log(tag, Log.DEBUG, null, messages); in d()
59 log(tag, Log.INFO, null, messages); in i()
63 log(tag, Log.WARN, null, messages); in w()
67 log(tag, Log.WARN, t, messages); in w()
71 log(tag, Log.ERROR, null, messages); in e()
75 log(tag, Log.ERROR, t, messages); in e()
79 if (Log.isLoggable(tag, level)) { in log()
90 sb.append("\n").append(Log.getStackTraceString(t)); in log()
[all …]
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainMobileActivity.java26 import android.util.Log;
97 Log.d(TAG, "onReceiveResult: " + resultCode);
130 Log.d(TAG, "onCreate()"); in onCreate()
156 Log.d(TAG, "onPause()"); in onPause()
172 Log.d(TAG, "onResume()"); in onResume()
181 Log.d(TAG, "onConnected()"); in onConnected()
201 Log.d(TAG, "onConnectionSuspended(): connection to location client suspended: " + i); in onConnectionSuspended()
206 Log.e(TAG, "onConnectionFailed(): " + connectionResult); in onConnectionFailed()
213 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged()
225 Log.d(TAG, "findWearDevicesWithApp()"); in findWearDevicesWithApp()
[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/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java28 import com.example.android.common.logger.Log;
89 Log.d(TAG, "updateUserInterfaceTitle() " + mNewState + " -> " + mState); in updateUserInterfaceTitle()
108 Log.d(TAG, "start"); in start()
142 Log.d(TAG, "connect to: " + device); in connect()
173 Log.d(TAG, "connected, Socket Type:" + socketType); in connected()
215 Log.d(TAG, "stop"); in stop()
321 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread()
328 Log.d(TAG, "Socket Type: " + mSocketType + in run()
341 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run()
361 Log.e(TAG, "Could not close unwanted socket", e); in run()
[all …]
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
DGestureListener.java24 import com.example.android.common.logger.Log;
34 Log.i(TAG, "Single Tap Up" + getTouchType(e)); in onSingleTapUp()
42 Log.i(TAG, "Long Press" + getTouchType(e)); in onLongPress()
49 Log.i(TAG, "Scroll" + getTouchType(e1)); in onScroll()
57 Log.i(TAG, "Fling" + getTouchType(e1)); in onFling()
64 Log.i(TAG, "Show Press" + getTouchType(e)); in onShowPress()
70 Log.i(TAG, "Down" + getTouchType(e)); in onDown()
77 Log.i(TAG, "Double tap" + getTouchType(e)); in onDoubleTap()
86 Log.i(TAG, "Event within double tap" + getTouchType(e)); in onDoubleTapEvent()
94 Log.i(TAG, "Single tap confirmed" + getTouchType(e)); in onSingleTapConfirmed()
/development/samples/browseable/ElizaChat/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/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 "
101 logger.Log("Error: Host bin path could not be found %s" % path)
122 logger.Log("Error: ANDROID_PRODUCT_OUT not defined. Please run "
142 logger.Log("Error: Target native test path could not be found")
163 logger.Log("Error: Target system bin path could not be found")
183 logger.Log("Error: Host library path could not be found %s" % path)
/development/samples/browseable/Timer/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/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 …]

12345678910>>...31